From 513b189ef5e1b87aeca22fc7f5caebad988e4132 Mon Sep 17 00:00:00 2001 From: Martin Hloska Date: Mon, 8 Apr 2024 18:11:24 +0200 Subject: [PATCH 001/105] update versions in cargo file --- Cargo.toml | 631 ++++++++++++++--------------------------------------- 1 file changed, 168 insertions(+), 463 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 75d1c7174..19d40cff2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -99,483 +99,188 @@ scale-info = { version = "2.1.2", default-features = false, features = ["derive" primitive-types = { version = "0.12.0", default-features = false } # Frame -frame-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -frame-benchmarking-cli = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -frame-executive = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -frame-remote-externalities = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -frame-support = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -frame-system = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -frame-system-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -frame-try-runtime = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -sp-api = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -sp-arithmetic = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -sp-authority-discovery = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -sp-block-builder = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -sp-blockchain = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -sp-consensus = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -sp-consensus-aura = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -sp-consensus-babe = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -sp-core = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -sp-externalities = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -sp-inherents = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -sp-io = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -sp-keystore = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -sp-npos-elections = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -sp-offchain = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -sc-offchain = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -sp-rpc = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -sp-session = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -sp-staking = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -sp-std = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -sp-storage = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -sp-state-machine = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -sp-timestamp = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -sp-tracing = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -sp-transaction-pool = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -sp-trie = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -sp-version = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -sc-basic-authorship = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -sc-chain-spec = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -sc-cli = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -sc-client-api = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -sc-client-db = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -sc-consensus = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -sc-consensus-aura = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -sc-consensus-grandpa = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -sc-executor = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -sc-keystore = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -sc-network = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -sc-network-sync = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -sc-network-common = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -sc-rpc = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -sc-rpc-api = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -sc-service = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -sc-telemetry = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -sc-tracing = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -sc-transaction-pool = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -sc-transaction-pool-api = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -sc-sysinfo = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +frame-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +frame-benchmarking-cli = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +frame-executive = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +frame-remote-externalities = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +frame-support = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +frame-system = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +frame-system-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +frame-try-runtime = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +sp-api = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +sp-arithmetic = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +sp-authority-discovery = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +sp-block-builder = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +sp-blockchain = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +sp-consensus = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +sp-consensus-aura = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +sp-consensus-babe = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +sp-core = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +sp-externalities = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +sp-inherents = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +sp-io = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +sp-keystore = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +sp-npos-elections = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +sp-offchain = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +sc-offchain = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +sp-rpc = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +sp-session = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +sp-staking = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +sp-std = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +sp-storage = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +sp-state-machine = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +sp-timestamp = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +sp-tracing = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +sp-transaction-pool = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +sp-trie = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +sp-version = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +sc-basic-authorship = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +sc-chain-spec = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +sc-cli = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +sc-client-api = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +sc-client-db = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +sc-consensus = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +sc-consensus-aura = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +sc-consensus-grandpa = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +sc-executor = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +sc-keystore = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +sc-network = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +sc-network-sync = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +sc-network-common = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +sc-rpc = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +sc-rpc-api = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +sc-service = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +sc-telemetry = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +sc-tracing = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +sc-transaction-pool = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +sc-transaction-pool-api = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +sc-sysinfo = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } # Substrate Pallets -pallet-aura = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -pallet-authorship = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -pallet-collective = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -pallet-elections-phragmen = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -pallet-identity = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -pallet-multisig = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -pallet-preimage = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -pallet-proxy = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -pallet-scheduler = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -pallet-session = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -pallet-sudo = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -pallet-timestamp = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -pallet-tips = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -pallet-transaction-payment = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -pallet-treasury = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -pallet-uniques = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -pallet-utility = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -pallet-im-online = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } - -substrate-build-script-utils = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -substrate-frame-rpc-system = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -substrate-prometheus-endpoint = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -substrate-rpc-client = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -substrate-wasm-builder = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +pallet-aura = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +pallet-authorship = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +pallet-collective = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +pallet-elections-phragmen = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +pallet-identity = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +pallet-multisig = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +pallet-preimage = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +pallet-proxy = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +pallet-scheduler = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +pallet-session = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +pallet-sudo = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +pallet-timestamp = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +pallet-tips = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +pallet-transaction-payment = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +pallet-treasury = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +pallet-uniques = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +pallet-utility = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +pallet-im-online = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } + +substrate-build-script-utils = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +substrate-frame-rpc-system = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +substrate-prometheus-endpoint = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +substrate-rpc-client = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +substrate-wasm-builder = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } # ORML dependencies -orml-benchmarking = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "b3694e631df7f1ca16b1973122937753fcdee9d4", default-features = false } -orml-currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "b3694e631df7f1ca16b1973122937753fcdee9d4", default-features = false } -orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "b3694e631df7f1ca16b1973122937753fcdee9d4", default-features = false } -orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "b3694e631df7f1ca16b1973122937753fcdee9d4", default-features = false } -orml-utilities = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "b3694e631df7f1ca16b1973122937753fcdee9d4", default-features = false } -orml-vesting = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "b3694e631df7f1ca16b1973122937753fcdee9d4", default-features = false } +orml-benchmarking = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.7.0", default-features = false } +orml-currencies = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.7.0", default-features = false } +orml-tokens = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.7.0", default-features = false } +orml-traits = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.7.0", default-features = false } +orml-utilities = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.7.0", default-features = false } +orml-vesting = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.7.0", default-features = false } # orml XCM support -orml-unknown-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "b3694e631df7f1ca16b1973122937753fcdee9d4", default-features = false } -orml-xcm = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "b3694e631df7f1ca16b1973122937753fcdee9d4", default-features = false } -orml-xcm-support = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "b3694e631df7f1ca16b1973122937753fcdee9d4", default-features = false } -orml-xtokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", rev = "b3694e631df7f1ca16b1973122937753fcdee9d4", default-features = false } +orml-unknown-tokens = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.7.0", default-features = false } +orml-xcm = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.7.0", default-features = false } +orml-xcm-support = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.7.0", default-features = false } +orml-xtokens = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.7.0", default-features = false } # Cumulus dependencies -cumulus-client-cli = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -cumulus-client-collator = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -cumulus-client-consensus-aura = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -cumulus-client-consensus-common = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -cumulus-client-consensus-proposer = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -cumulus-client-network = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -cumulus-client-service = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -cumulus-pallet-aura-ext = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -cumulus-pallet-xcm = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -cumulus-primitives-core = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -cumulus-primitives-parachain-inherent = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -cumulus-primitives-timestamp = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -cumulus-primitives-utility = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -cumulus-relay-chain-inprocess-interface = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -cumulus-relay-chain-interface = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -cumulus-relay-chain-minimal-node = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -cumulus-test-relay-sproof-builder = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -pallet-collator-selection = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -parachain-info = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -xcm-emulator = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +cumulus-client-cli = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +cumulus-client-collator = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +cumulus-client-consensus-aura = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +cumulus-client-consensus-common = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +cumulus-client-consensus-proposer = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +cumulus-client-network = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +cumulus-client-service = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +cumulus-pallet-aura-ext = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +cumulus-pallet-xcm = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +cumulus-primitives-core = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +cumulus-primitives-parachain-inherent = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +cumulus-primitives-timestamp = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +cumulus-primitives-utility = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +cumulus-relay-chain-inprocess-interface = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +cumulus-relay-chain-interface = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +cumulus-relay-chain-minimal-node = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +cumulus-test-relay-sproof-builder = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +pallet-collator-selection = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +parachain-info = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +xcm-emulator = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } # Frontier -fc-consensus = { git = "https://github.com/moonbeam-foundation/frontier", rev = "bf5885a982041cc744ecbb62a2afc13d56d464dc", default-features = false } -fc-db = { git = "https://github.com/moonbeam-foundation/frontier", rev = "bf5885a982041cc744ecbb62a2afc13d56d464dc", default-features = false } -fc-mapping-sync = { git = "https://github.com/moonbeam-foundation/frontier", rev = "bf5885a982041cc744ecbb62a2afc13d56d464dc", default-features = false } -fc-rpc = { git = "https://github.com/moonbeam-foundation/frontier", rev = "bf5885a982041cc744ecbb62a2afc13d56d464dc", default-features = false } -fc-rpc-core = { git = "https://github.com/moonbeam-foundation/frontier", rev = "bf5885a982041cc744ecbb62a2afc13d56d464dc", default-features = false } - -fp-consensus = { git = "https://github.com/moonbeam-foundation/frontier", rev = "bf5885a982041cc744ecbb62a2afc13d56d464dc", default-features = false } -fp-evm = { git = "https://github.com/moonbeam-foundation/frontier", rev = "bf5885a982041cc744ecbb62a2afc13d56d464dc", default-features = false } -fp-rpc = { git = "https://github.com/moonbeam-foundation/frontier", rev = "bf5885a982041cc744ecbb62a2afc13d56d464dc", default-features = false } -fp-self-contained = { git = "https://github.com/moonbeam-foundation/frontier", rev = "bf5885a982041cc744ecbb62a2afc13d56d464dc", default-features = false } -fp-storage = { git = "https://github.com/moonbeam-foundation/frontier", rev = "bf5885a982041cc744ecbb62a2afc13d56d464dc", default-features = false } - -pallet-ethereum = { git = "https://github.com/moonbeam-foundation/frontier", rev = "bf5885a982041cc744ecbb62a2afc13d56d464dc", default-features = false } -pallet-evm = { git = "https://github.com/moonbeam-foundation/frontier", rev = "bf5885a982041cc744ecbb62a2afc13d56d464dc", default-features = false } -pallet-evm-chain-id = { git = "https://github.com/moonbeam-foundation/frontier", rev = "bf5885a982041cc744ecbb62a2afc13d56d464dc", default-features = false } -pallet-evm-precompile-dispatch = { git = "https://github.com/moonbeam-foundation/frontier", rev = "bf5885a982041cc744ecbb62a2afc13d56d464dc", default-features = false } -pallet-evm-precompile-simple = { git = "https://github.com/moonbeam-foundation/frontier", rev = "bf5885a982041cc744ecbb62a2afc13d56d464dc", default-features = false } -pallet-evm-precompile-modexp = { git = "https://github.com/moonbeam-foundation/frontier", rev = "bf5885a982041cc744ecbb62a2afc13d56d464dc", default-features = false } -pallet-evm-precompile-bn128 = { git = "https://github.com/moonbeam-foundation/frontier", rev = "bf5885a982041cc744ecbb62a2afc13d56d464dc", default-features = false } -pallet-evm-precompile-blake2 = { git = "https://github.com/moonbeam-foundation/frontier", rev = "bf5885a982041cc744ecbb62a2afc13d56d464dc", default-features = false } -evm = { git = "https://github.com/moonbeam-foundation/evm", rev = "a33ac87ad7462b7e7029d12c385492b2a8311d1c", default-features = false } - +fc-consensus = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.7.2", default-features = false } +fc-db = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.7.2", default-features = false } +fc-mapping-sync = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.7.2", default-features = false } +fc-rpc = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.7.2", default-features = false } +fc-rpc-core = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.7.2", default-features = false } + +fp-consensus = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.7.2", default-features = false } +fp-evm = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.7.2", default-features = false } +fp-rpc = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.7.2", default-features = false } +fp-self-contained = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.7.2", default-features = false } +fp-storage = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.7.2", default-features = false } + +pallet-ethereum = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.7.2", default-features = false } +pallet-evm = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.7.2", default-features = false } +pallet-evm-chain-id = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.7.2", default-features = false } +pallet-evm-precompile-dispatch = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.7.2", default-features = false } +pallet-evm-precompile-simple = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.7.2", default-features = false } +pallet-evm-precompile-modexp = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.7.2", default-features = false } +pallet-evm-precompile-bn128 = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.7.2", default-features = false } +pallet-evm-precompile-blake2 = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.7.2", default-features = false } +evm = { git = "https://github.com/moonbeam-foundation/evm", branch = "moonbeam-polkadot-v1.7.2", default-features = false } # EVM from acala module-evm-utility-macro = { path = "runtime/hydradx/src/evm/evm-utility/macro", default-features = false} # Polkadot dependencies -pallet-xcm = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -polkadot-cli = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901" } -polkadot-core-primitives = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -polkadot-parachain = { package = "polkadot-parachain-primitives", git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false, features = [ +pallet-xcm = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +polkadot-cli = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +polkadot-core-primitives = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +polkadot-parachain = { package = "polkadot-parachain-primitives", git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false, features = [ "wasm-api", ]} -polkadot-primitives = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -polkadot-runtime = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -polkadot-runtime-parachains = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -polkadot-service = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -polkadot-xcm = { package = "staging-xcm", git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -xcm = { package = "staging-xcm", git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -xcm-builder = { package = "staging-xcm-builder", git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } -xcm-executor = { package = "staging-xcm-executor", git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } - -kusama-runtime = { package = "staging-kusama-runtime", git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901" } -polkadot-client = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901" } -polkadot-node-core-pvf = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901" } -polkadot-node-network-protocol = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901" } -polkadot-node-primitives = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901" } -polkadot-node-subsystem = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901" } -polkadot-node-subsystem-util = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901" } -polkadot-overseer = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901" } -polkadot-runtime-common = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901" } -polkadot-statement-table = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901" } -rococo-runtime = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901" } -westend-runtime = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901" } - -cumulus-client-pov-recovery = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901" } -cumulus-pallet-parachain-system-proc-macro = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901" } -cumulus-relay-chain-rpc-interface = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901" } - -[patch."https://github.com/paritytech/polkadot-sdk"] -frame-benchmarking = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -frame-benchmarking-cli = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -frame-executive = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -frame-remote-externalities = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -frame-support = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -frame-system = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -frame-system-benchmarking = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -frame-system-rpc-runtime-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -frame-try-runtime = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sp-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sp-arithmetic = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sp-authority-discovery = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sp-block-builder = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sp-blockchain = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sp-consensus = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sp-consensus-aura = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sp-consensus-babe = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sp-core = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sp-externalities = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sp-inherents = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sp-io = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sp-keystore = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sp-npos-elections = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sp-offchain = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sc-offchain = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sp-rpc = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sp-runtime = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sp-runtime-interface = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sp-runtime-interface-proc-macro = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sp-wasm-interface = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sp-session = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sp-staking = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sp-std = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sp-storage = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sp-timestamp = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sp-tracing = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sp-transaction-pool = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sp-trie = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sp-version = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sc-basic-authorship = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sc-chain-spec = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sc-cli = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sc-client-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sc-client-db = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sc-consensus = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sc-consensus-aura = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sc-consensus-grandpa = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sc-executor = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sc-keystore = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sc-network = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sc-network-sync = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sc-network-common = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sc-rpc = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sc-rpc-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sc-service = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sc-telemetry = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sc-tracing = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sc-transaction-pool = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sc-transaction-pool-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sc-sysinfo = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } - -# Substrate Pallets -pallet-aura = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -pallet-authorship = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -pallet-balances = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -pallet-collective = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -pallet-elections-phragmen = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -pallet-identity = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -pallet-multisig = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -pallet-preimage = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -pallet-proxy = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -pallet-scheduler = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -pallet-session = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -pallet-sudo = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -pallet-timestamp = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -pallet-tips = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -pallet-transaction-payment = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -pallet-transaction-payment-rpc = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -pallet-treasury = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -pallet-uniques = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -pallet-utility = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -pallet-im-online = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } - -substrate-build-script-utils = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -substrate-frame-rpc-system = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -substrate-prometheus-endpoint = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -substrate-rpc-client = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -substrate-wasm-builder = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } - -# Cumulus dependencies -cumulus-client-cli = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -cumulus-client-collator = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -cumulus-client-consensus-aura = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -cumulus-client-consensus-common = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -cumulus-client-consensus-proposer = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -cumulus-client-network = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -cumulus-client-service = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -cumulus-pallet-aura-ext = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -cumulus-pallet-dmp-queue = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -cumulus-pallet-parachain-system = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -cumulus-pallet-xcm = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -cumulus-pallet-xcmp-queue = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -cumulus-primitives-core = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -cumulus-primitives-parachain-inherent = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -cumulus-primitives-timestamp = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -cumulus-primitives-utility = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -cumulus-relay-chain-inprocess-interface = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -cumulus-relay-chain-interface = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -cumulus-relay-chain-minimal-node = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -cumulus-test-relay-sproof-builder = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -pallet-collator-selection = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -parachain-info = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -xcm-emulator = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } - -# Polkadot dependencies -pallet-xcm = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -polkadot-cli = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -polkadot-core-primitives = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -polkadot-parachain = { package = "polkadot-parachain-primitives", git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3"} -polkadot-primitives = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -polkadot-runtime = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -polkadot-runtime-parachains = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -polkadot-service = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -xcm = { package = "staging-xcm", git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -xcm-builder = { package = "staging-xcm-builder", git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -xcm-executor = { package = "staging-xcm-executor", git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } - -kusama-runtime = { package = "staging-kusama-runtime", git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -polkadot-node-core-pvf = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -polkadot-node-network-protocol = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -polkadot-node-primitives = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -polkadot-node-subsystem = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -polkadot-node-subsystem-util = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -polkadot-overseer = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -polkadot-runtime-common = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -polkadot-statement-table = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -rococo-runtime = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -westend-runtime = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } - -cumulus-client-pov-recovery = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -cumulus-pallet-parachain-system-proc-macro = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -cumulus-relay-chain-rpc-interface = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } - -[patch."https://github.com/moonbeam-foundation/polkadot-sdk"] -frame-benchmarking = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -frame-benchmarking-cli = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -frame-executive = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -frame-remote-externalities = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -frame-support = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -frame-system = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -frame-system-benchmarking = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -frame-system-rpc-runtime-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -frame-try-runtime = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sp-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sp-arithmetic = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sp-authority-discovery = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sp-block-builder = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sp-blockchain = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sp-consensus = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sp-consensus-aura = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sp-consensus-babe = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sp-core = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sp-externalities = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sp-inherents = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sp-io = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sp-keystore = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sp-npos-elections = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sp-offchain = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sc-offchain = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sp-rpc = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sp-runtime = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sp-runtime-interface = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sp-runtime-interface-proc-macro = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sp-wasm-interface = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sp-panic-handler = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sp-database = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sp-session = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sp-staking = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sp-std = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sp-storage = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sp-timestamp = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sp-tracing = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sp-transaction-pool = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sp-trie = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sp-version = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sc-basic-authorship = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sc-chain-spec = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sc-cli = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sc-client-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sc-client-db = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sc-consensus = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sc-consensus-aura = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sc-consensus-grandpa = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sc-executor = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sc-keystore = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sc-network = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sc-network-sync = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sc-network-common = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sc-rpc = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sc-rpc-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sc-service = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sc-telemetry = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sc-tracing = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sc-transaction-pool = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sc-transaction-pool-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sc-sysinfo = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sc-utils = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -sp-state-machine = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } - -# Substrate Pallets -pallet-aura = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -pallet-authorship = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -pallet-balances = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -pallet-collective = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -pallet-elections-phragmen = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -pallet-identity = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -pallet-multisig = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -pallet-preimage = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -pallet-proxy = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -pallet-scheduler = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -pallet-session = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -pallet-sudo = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -pallet-timestamp = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -pallet-tips = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -pallet-transaction-payment = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -pallet-transaction-payment-rpc = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -pallet-treasury = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -pallet-uniques = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -pallet-utility = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -pallet-im-online = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } - -substrate-build-script-utils = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -substrate-frame-rpc-system = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -substrate-prometheus-endpoint = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -substrate-rpc-client = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -substrate-wasm-builder = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } - -# Cumulus dependencies -cumulus-client-cli = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -cumulus-client-collator = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -cumulus-client-consensus-aura = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -cumulus-client-consensus-common = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -cumulus-client-consensus-proposer = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -cumulus-client-network = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -cumulus-client-service = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -cumulus-pallet-aura-ext = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -cumulus-pallet-dmp-queue = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -cumulus-pallet-parachain-system = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -cumulus-pallet-xcm = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -cumulus-pallet-xcmp-queue = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -cumulus-primitives-core = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -cumulus-primitives-parachain-inherent = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -cumulus-primitives-timestamp = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -cumulus-primitives-utility = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -cumulus-relay-chain-inprocess-interface = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -cumulus-relay-chain-interface = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -cumulus-relay-chain-minimal-node = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -cumulus-test-relay-sproof-builder = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -pallet-collator-selection = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -parachain-info = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -xcm-emulator = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } - -# Polkadot dependencies -pallet-xcm = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -polkadot-cli = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -polkadot-core-primitives = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -polkadot-parachain = { package = "polkadot-parachain-primitives", git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3"} -polkadot-primitives = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -polkadot-runtime = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -polkadot-runtime-parachains = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -polkadot-service = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -xcm = { package = "staging-xcm", git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -xcm-builder = { package = "staging-xcm-builder", git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -xcm-executor = { package = "staging-xcm-executor", git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } - -kusama-runtime = { package = "staging-kusama-runtime", git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -polkadot-node-core-pvf = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -polkadot-node-network-protocol = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -polkadot-node-primitives = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -polkadot-node-subsystem = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -polkadot-node-subsystem-util = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -polkadot-overseer = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -polkadot-runtime-common = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -polkadot-statement-table = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -rococo-runtime = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -westend-runtime = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } - -cumulus-client-pov-recovery = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -cumulus-pallet-parachain-system-proc-macro = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -cumulus-relay-chain-rpc-interface = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } \ No newline at end of file +polkadot-primitives = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +polkadot-runtime = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +polkadot-runtime-parachains = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +polkadot-service = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +polkadot-xcm = { package = "staging-xcm", git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +xcm = { package = "staging-xcm", git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +xcm-builder = { package = "staging-xcm-builder", git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +xcm-executor = { package = "staging-xcm-executor", git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } + +kusama-runtime = { package = "staging-kusama-runtime", git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +polkadot-client = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +polkadot-node-core-pvf = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +polkadot-node-network-protocol = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +polkadot-node-primitives = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +polkadot-node-subsystem = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +polkadot-node-subsystem-util = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +polkadot-overseer = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +polkadot-runtime-common = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +polkadot-statement-table = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +rococo-runtime = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +westend-runtime = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } + +cumulus-client-pov-recovery = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +cumulus-pallet-parachain-system-proc-macro = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +cumulus-relay-chain-rpc-interface = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } From 5ca2ad82f55630c0df1b69bcd6399a965d09b18f Mon Sep 17 00:00:00 2001 From: Martin Hloska Date: Mon, 8 Apr 2024 18:14:33 +0200 Subject: [PATCH 002/105] use 1.7.2 branch --- Cargo.toml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 19d40cff2..f75fde18f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -188,18 +188,18 @@ substrate-rpc-client = { git = "https://github.com/paritytech/polkadot-sdk", bra substrate-wasm-builder = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } # ORML dependencies -orml-benchmarking = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.7.0", default-features = false } -orml-currencies = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.7.0", default-features = false } -orml-tokens = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.7.0", default-features = false } -orml-traits = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.7.0", default-features = false } -orml-utilities = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.7.0", default-features = false } -orml-vesting = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.7.0", default-features = false } +orml-benchmarking = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.7.2", default-features = false } +orml-currencies = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.7.2", default-features = false } +orml-tokens = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.7.2", default-features = false } +orml-traits = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.7.2", default-features = false } +orml-utilities = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.7.2", default-features = false } +orml-vesting = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.7.2", default-features = false } # orml XCM support -orml-unknown-tokens = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.7.0", default-features = false } -orml-xcm = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.7.0", default-features = false } -orml-xcm-support = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.7.0", default-features = false } -orml-xtokens = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.7.0", default-features = false } +orml-unknown-tokens = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.7.2", default-features = false } +orml-xcm = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.7.2", default-features = false } +orml-xcm-support = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.7.2", default-features = false } +orml-xtokens = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.7.2", default-features = false } # Cumulus dependencies cumulus-client-cli = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } From 6acb53b606748d5cf4d127d6988a6b4042259fa2 Mon Sep 17 00:00:00 2001 From: Martin Hloska Date: Mon, 8 Apr 2024 21:23:55 +0200 Subject: [PATCH 003/105] removed depedencies --- Cargo.lock | 10199 ++++++++++++++++++++------------- Cargo.toml | 6 +- integration-tests/Cargo.toml | 8 +- runtime/hydradx/Cargo.toml | 6 +- rust-toolchain | 2 +- 5 files changed, 6251 insertions(+), 3970 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 638e3049a..9a7cc51a9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -48,12 +48,12 @@ dependencies = [ [[package]] name = "aes" -version = "0.8.3" +version = "0.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac1f845298e95f983ff1944b728ae08b8cebab80d684f0a832ed0fc74dfa27e2" +checksum = "b169f7a6d4742236a0a00c541b845991d0ac43e546831af1249753ab4c3aa3a0" dependencies = [ "cfg-if", - "cipher", + "cipher 0.4.4", "cpufeatures", ] @@ -65,31 +65,31 @@ checksum = "831010a0f742e1209b3bcea8fab6a8e149051ba6099432c8cb2cc117dec3ead1" dependencies = [ "aead", "aes", - "cipher", + "cipher 0.4.4", "ctr", "ghash", - "subtle", + "subtle 2.5.0", ] [[package]] name = "ahash" -version = "0.7.7" +version = "0.7.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a824f2aa7e75a0c98c5a504fceb80649e9c35265d44525b5f94de4771a395cd" +checksum = "891477e0c6a8957309ee5c45a6368af3ae14bb510732d2684ffa19af310920f9" dependencies = [ - "getrandom 0.2.11", + "getrandom 0.2.14", "once_cell", "version_check", ] [[package]] name = "ahash" -version = "0.8.6" +version = "0.8.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91429305e9f0a25f6205c5b8e0d2db09e0708a7a6df0f42212bb56c32c8ac97a" +checksum = "e89da841a80418a9b391ebaea17f5c112ffaaa96f621d2c285b5174da76b9011" dependencies = [ "cfg-if", - "getrandom 0.2.11", + "getrandom 0.2.14", "once_cell", "version_check", "zerocopy", @@ -97,9 +97,9 @@ dependencies = [ [[package]] name = "aho-corasick" -version = "1.1.2" +version = "1.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2969dcb958b36655471fc61f7e416fa76033bdd4bfed0678d8fee1e2d07a1f0" +checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916" dependencies = [ "memchr", ] @@ -148,9 +148,9 @@ dependencies = [ [[package]] name = "anstream" -version = "0.6.5" +version = "0.6.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d664a92ecae85fd0a7392615844904654d1d5f5514837f471ddef4a057aba1b6" +checksum = "d96bd03f33fe50a863e394ee9718a706f988b9079b20c3784fb726e7678b62fb" dependencies = [ "anstyle", "anstyle-parse", @@ -162,9 +162,9 @@ dependencies = [ [[package]] name = "anstyle" -version = "1.0.4" +version = "1.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7079075b41f533b8c61d2a4d073c4676e1f8b249ff94a393b0595db304e0dd87" +checksum = "8901269c6307e8d93993578286ac0edf7f195079ffff5ebdeea6a59ffb7e36bc" [[package]] name = "anstyle-parse" @@ -196,9 +196,9 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.76" +version = "1.0.81" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59d2a3357dde987206219e78ecfbbb6e8dad06cbb65292758d3270e6254f7355" +checksum = "0952808a6c2afd1aa8947271f3a60f1a6763c7b912d210184c5149b5cf147247" [[package]] name = "approx" @@ -211,16 +211,39 @@ dependencies = [ [[package]] name = "aquamarine" -version = "0.3.3" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d1da02abba9f9063d786eab1509833ebb2fac0f966862ca59439c76b9c566760" +checksum = "21cc1548309245035eb18aa7f0967da6bc65587005170c56e6ef2788a4cf3f4e" dependencies = [ "include_dir", "itertools 0.10.5", "proc-macro-error", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.58", +] + +[[package]] +name = "ark-bls12-377" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fb00293ba84f51ce3bd026bd0de55899c4e68f0a39a5728cebae3a73ffdc0a4f" +dependencies = [ + "ark-ec", + "ark-ff", + "ark-std", +] + +[[package]] +name = "ark-bls12-377-ext" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "20c7021f180a0cbea0380eba97c2af3c57074cdaffe0eef7e840e1c9f2841e55" +dependencies = [ + "ark-bls12-377", + "ark-ec", + "ark-models-ext", + "ark-std", ] [[package]] @@ -235,6 +258,45 @@ dependencies = [ "ark-std", ] +[[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-ff", + "ark-models-ext", + "ark-serialize", + "ark-std", +] + +[[package]] +name = "ark-bw6-761" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2e0605daf0cc5aa2034b78d008aaf159f56901d92a52ee4f6ecdfdac4f426700" +dependencies = [ + "ark-bls12-377", + "ark-ec", + "ark-ff", + "ark-std", +] + +[[package]] +name = "ark-bw6-761-ext" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ccee5fba47266f460067588ee1bf070a9c760bf2050c1c509982c5719aadb4f2" +dependencies = [ + "ark-bw6-761", + "ark-ec", + "ark-ff", + "ark-models-ext", + "ark-std", +] + [[package]] name = "ark-ec" version = "0.4.2" @@ -249,9 +311,35 @@ dependencies = [ "hashbrown 0.13.2", "itertools 0.10.5", "num-traits", + "rayon", "zeroize", ] +[[package]] +name = "ark-ed-on-bls12-377" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b10d901b9ac4b38f9c32beacedfadcdd64e46f8d7f8e88c1ae1060022cf6f6c6" +dependencies = [ + "ark-bls12-377", + "ark-ec", + "ark-ff", + "ark-std", +] + +[[package]] +name = "ark-ed-on-bls12-377-ext" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "524a4fb7540df2e1a8c2e67a83ba1d1e6c3947f4f9342cc2359fc2e789ad731d" +dependencies = [ + "ark-ec", + "ark-ed-on-bls12-377", + "ark-ff", + "ark-models-ext", + "ark-std", +] + [[package]] name = "ark-ed-on-bls12-381-bandersnatch" version = "0.4.0" @@ -264,6 +352,19 @@ dependencies = [ "ark-std", ] +[[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-ff", + "ark-models-ext", + "ark-std", +] + [[package]] name = "ark-ff" version = "0.4.2" @@ -308,29 +409,29 @@ dependencies = [ ] [[package]] -name = "ark-poly" -version = "0.4.2" +name = "ark-models-ext" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d320bfc44ee185d899ccbadfa8bc31aab923ce1558716e1997a1e74057fe86bf" +checksum = "3e9eab5d4b5ff2f228b763d38442adc9b084b0a465409b059fac5c2308835ec2" dependencies = [ + "ark-ec", "ark-ff", "ark-serialize", "ark-std", "derivative", - "hashbrown 0.13.2", ] [[package]] -name = "ark-scale" -version = "0.0.10" +name = "ark-poly" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49b08346a3e38e2be792ef53ee168623c9244d968ff00cd70fb9932f6fe36393" +checksum = "d320bfc44ee185d899ccbadfa8bc31aab923ce1558716e1997a1e74057fe86bf" dependencies = [ - "ark-ec", "ark-ff", "ark-serialize", "ark-std", - "parity-scale-codec", + "derivative", + "hashbrown 0.13.2", ] [[package]] @@ -350,7 +451,7 @@ dependencies = [ [[package]] name = "ark-secret-scalar" version = "0.0.2" -source = "git+https://github.com/w3f/ring-vrf?rev=3119f51#3119f51b54b69308abfb0671f6176cb125ae1bf1" +source = "git+https://github.com/w3f/ring-vrf?rev=e9782f9#e9782f938629c90f3adb3fff2358bc8d1386af3e" dependencies = [ "ark-ec", "ark-ff", @@ -358,7 +459,7 @@ dependencies = [ "ark-std", "ark-transcript", "digest 0.10.7", - "rand_core 0.6.4", + "getrandom_or_panic", "zeroize", ] @@ -392,13 +493,14 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "94893f1e0c6eeab764ade8dc4c0db24caf4fe7cbbaafc0eba0a9030f447b5185" dependencies = [ "num-traits", - "rand 0.8.5", + "rand", + "rayon", ] [[package]] name = "ark-transcript" version = "0.0.2" -source = "git+https://github.com/w3f/ring-vrf?rev=3119f51#3119f51b54b69308abfb0671f6176cb125ae1bf1" +source = "git+https://github.com/w3f/ring-vrf?rev=e9782f9#e9782f938629c90f3adb3fff2358bc8d1386af3e" dependencies = [ "ark-ff", "ark-serialize", @@ -408,6 +510,12 @@ dependencies = [ "sha3", ] +[[package]] +name = "array-bytes" +version = "4.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f52f63c5c1316a16a4b35eaac8b76a98248961a533f061684cb2a7cb0eafb6c6" + [[package]] name = "array-bytes" version = "6.2.2" @@ -429,12 +537,6 @@ dependencies = [ "nodrop", ] -[[package]] -name = "arrayvec" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23b62fc65de8e4e7f52534fb52b0f3ed04746ae267519eef2a83941e8085068b" - [[package]] name = "arrayvec" version = "0.7.4" @@ -499,28 +601,28 @@ dependencies = [ [[package]] name = "async-channel" -version = "2.1.1" +version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ca33f4bc4ed1babef42cad36cc1f51fa88be00420404e5b1e80ab1b18f7678c" +checksum = "f28243a43d821d11341ab73c80bed182dc015c514b951616cf79bd4af39af0c3" dependencies = [ "concurrent-queue", - "event-listener 4.0.1", - "event-listener-strategy", + "event-listener 5.3.0", + "event-listener-strategy 0.5.1", "futures-core", - "pin-project-lite 0.2.13", + "pin-project-lite 0.2.14", ] [[package]] name = "async-executor" -version = "1.8.0" +version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "17ae5ebefcc48e7452b4987947920dac9450be1110cadf34d1b8c116bdbaf97c" +checksum = "5f98c37cf288e302c16ef6c8472aad1e034c6c84ce5ea7b8101c98eb4a802fee" dependencies = [ - "async-lock 3.2.0", + "async-lock 3.3.0", "async-task", "concurrent-queue", - "fastrand 2.0.1", - "futures-lite 2.1.0", + "fastrand 2.0.2", + "futures-lite 2.3.0", "slab", ] @@ -558,18 +660,18 @@ dependencies = [ [[package]] name = "async-io" -version = "2.2.2" +version = "2.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6afaa937395a620e33dc6a742c593c01aced20aa376ffb0f628121198578ccc7" +checksum = "dcccb0f599cfa2f8ace422d3555572f47424da5648a4382a9dd0310ff8210884" dependencies = [ - "async-lock 3.2.0", + "async-lock 3.3.0", "cfg-if", "concurrent-queue", "futures-io", - "futures-lite 2.1.0", + "futures-lite 2.3.0", "parking", - "polling 3.3.1", - "rustix 0.38.28", + "polling 3.6.0", + "rustix 0.38.32", "slab", "tracing", "windows-sys 0.52.0", @@ -586,13 +688,13 @@ dependencies = [ [[package]] name = "async-lock" -version = "3.2.0" +version = "3.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7125e42787d53db9dd54261812ef17e937c95a51e4d291373b670342fa44310c" +checksum = "d034b430882f8381900d3fe6f0aaa3ad94f2cb4ac519b429692a1bc2dda4ae7b" dependencies = [ - "event-listener 4.0.1", - "event-listener-strategy", - "pin-project-lite 0.2.13", + "event-listener 4.0.3", + "event-listener-strategy 0.4.0", + "pin-project-lite 0.2.14", ] [[package]] @@ -619,34 +721,23 @@ dependencies = [ "cfg-if", "event-listener 3.1.0", "futures-lite 1.13.0", - "rustix 0.38.28", + "rustix 0.38.32", "windows-sys 0.48.0", ] -[[package]] -name = "async-recursion" -version = "1.0.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5fd55a5ba1179988837d24ab4c7cc8ed6efdeff578ede0416b4225a5fca35bd0" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.42", -] - [[package]] name = "async-signal" version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9e47d90f65a225c4527103a8d747001fc56e375203592b25ad103e1ca13124c5" dependencies = [ - "async-io 2.2.2", + "async-io 2.3.2", "async-lock 2.8.0", "atomic-waker", "cfg-if", "futures-core", "futures-io", - "rustix 0.38.28", + "rustix 0.38.32", "signal-hook-registry", "slab", "windows-sys 0.48.0", @@ -654,19 +745,19 @@ dependencies = [ [[package]] name = "async-task" -version = "4.6.0" +version = "4.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e1d90cd0b264dfdd8eb5bad0a2c217c1f88fa96a8573f40e7b12de23fb468f46" +checksum = "fbb36e985947064623dbd357f727af08ffd077f93d696782f3c56365fa2e2799" [[package]] name = "async-trait" -version = "0.1.75" +version = "0.1.79" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fdf6721fb0140e4f897002dd086c06f6c27775df19cfe1fccb21181a48fd2c98" +checksum = "a507401cad91ec6a857ed5513a2073c82a9b9048762b885bb98655b306964681" dependencies = [ "proc-macro2", "quote", - "syn 2.0.42", + "syn 2.0.58", ] [[package]] @@ -679,7 +770,7 @@ dependencies = [ "futures-sink", "futures-util", "memchr", - "pin-project-lite 0.2.13", + "pin-project-lite 0.2.14", ] [[package]] @@ -707,21 +798,20 @@ dependencies = [ [[package]] name = "auto_impl" -version = "1.1.0" +version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fee3da8ef1276b0bee5dd1c7258010d8fffd31801447323115a25560e1327b89" +checksum = "3c87f3f15e7794432337fc718554eaa4dc8f04c9677a950ffe366f20a162ae42" dependencies = [ - "proc-macro-error", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.58", ] [[package]] name = "autocfg" -version = "1.1.0" +version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" +checksum = "f1fdabc7756949593fe60f30ec81974b613357de856987752631dea1e3394c80" [[package]] name = "az" @@ -731,38 +821,39 @@ checksum = "7b7e4c2464d97fe331d41de9d5db0def0a96f4d823b8b32a2efd503578988973" [[package]] name = "backtrace" -version = "0.3.69" +version = "0.3.71" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2089b7e3f35b9dd2d0ed921ead4f6d318c27680d4a5bd167b3ee120edb105837" +checksum = "26b05800d2e817c8b3b4b54abd461726265fa9789ae34330622f2db9ee696f9d" dependencies = [ "addr2line 0.21.0", "cc", "cfg-if", "libc", "miniz_oxide", - "object 0.32.1", + "object 0.32.2", "rustc-demangle", ] [[package]] name = "bandersnatch_vrfs" -version = "0.0.1" -source = "git+https://github.com/w3f/ring-vrf?rev=3119f51#3119f51b54b69308abfb0671f6176cb125ae1bf1" +version = "0.0.4" +source = "git+https://github.com/w3f/ring-vrf?rev=e9782f9#e9782f938629c90f3adb3fff2358bc8d1386af3e" dependencies = [ "ark-bls12-381", "ark-ec", "ark-ed-on-bls12-381-bandersnatch", "ark-ff", - "ark-scale 0.0.12", "ark-serialize", "ark-std", "dleq_vrf", "fflonk", - "merlin 3.0.0", + "merlin", "rand_chacha 0.3.1", "rand_core 0.6.4", "ring 0.1.0", "sha2 0.10.8", + "sp-ark-bls12-381", + "sp-ark-ed-on-bls12-381-bandersnatch", "zeroize", ] @@ -786,9 +877,9 @@ checksum = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8" [[package]] name = "base64" -version = "0.21.5" +version = "0.21.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35636a1494ede3b646cc98f74f8e62c773a38a659ebc777a2cf26b9b74171df9" +checksum = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567" [[package]] name = "base64ct" @@ -807,8 +898,8 @@ dependencies = [ [[package]] name = "binary-merkle-tree" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "13.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "hash-db 0.16.0", "log", @@ -835,13 +926,13 @@ dependencies = [ "lazy_static", "lazycell", "peeking_take_while", - "prettyplease 0.2.15", + "prettyplease 0.2.17", "proc-macro2", "quote", "regex", "rustc-hash", "shlex", - "syn 2.0.42", + "syn 2.0.58", ] [[package]] @@ -851,6 +942,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "93f2635620bf0b9d4576eb7bb9a38a55df78bd1205d26fa994b25911a69f212f" dependencies = [ "bitcoin_hashes", + "rand", + "rand_core 0.6.4", + "serde", + "unicode-normalization", ] [[package]] @@ -882,9 +977,9 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" [[package]] name = "bitflags" -version = "2.4.1" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "327762f6e5a765692301e5bb513e0d9fef63be86bbc14528052b1cd3e6f03e07" +checksum = "cf4b9d6a944f767f8e5e0db018570623c85f3d925ac718db4e06d0187adb21c1" [[package]] name = "bitvec" @@ -894,10 +989,23 @@ checksum = "1bc2832c24239b0141d5674bb9174f9d68a8b5b3f2753311927c172ca46f7e9c" dependencies = [ "funty", "radium", + "serde", "tap", "wyz", ] +[[package]] +name = "blake2" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "94cb07b0da6a73955f8fb85d24c466778e70cda767a568229b104f0264089330" +dependencies = [ + "byte-tools", + "crypto-mac 0.7.0", + "digest 0.8.1", + "opaque-debug 0.2.3", +] + [[package]] name = "blake2" version = "0.10.6" @@ -941,9 +1049,9 @@ dependencies = [ [[package]] name = "blake3" -version = "1.5.0" +version = "1.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0231f06152bf547e9c2b5194f247cd97aacf6dcd8b15d8e5ec0663f64580da87" +checksum = "30cca6d3674597c30ddf2c587bf8d9d65c9a84d2326d941cc79c9842dfe0ef52" dependencies = [ "arrayref", "arrayvec 0.7.4", @@ -952,18 +1060,6 @@ dependencies = [ "constant_time_eq 0.3.0", ] -[[package]] -name = "block-buffer" -version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0940dc441f31689269e10ac70eb1002a3a1d3ad1390e030043662eb7fe4688b" -dependencies = [ - "block-padding", - "byte-tools", - "byteorder", - "generic-array 0.12.4", -] - [[package]] name = "block-buffer" version = "0.9.0" @@ -982,36 +1078,27 @@ dependencies = [ "generic-array 0.14.7", ] -[[package]] -name = "block-padding" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa79dedbb091f449f1f39e53edf88d5dbe95f895dae6135a8d7b881fb5af73f5" -dependencies = [ - "byte-tools", -] - [[package]] name = "blocking" version = "1.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6a37913e8dc4ddcc604f0c6d3bf2887c995153af3611de9e23c352b44c1b9118" dependencies = [ - "async-channel 2.1.1", - "async-lock 3.2.0", + "async-channel 2.2.0", + "async-lock 3.3.0", "async-task", - "fastrand 2.0.1", + "fastrand 2.0.2", "futures-io", - "futures-lite 2.1.0", + "futures-lite 2.3.0", "piper", "tracing", ] [[package]] name = "bounded-collections" -version = "0.1.9" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca548b6163b872067dc5eb82fd130c56881435e30367d2073594a3d9744120dd" +checksum = "d32385ecb91a31bddaf908e8dcf4a15aef1bcd3913cc03ebfad02ff6d568abc1" dependencies = [ "log", "parity-scale-codec", @@ -1028,6 +1115,17 @@ dependencies = [ "thiserror", ] +[[package]] +name = "bp-xcm-bridge-hub-router" +version = "0.6.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" +dependencies = [ + "parity-scale-codec", + "scale-info", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", +] + [[package]] name = "bs58" version = "0.4.0" @@ -1036,18 +1134,18 @@ checksum = "771fe0050b883fcc3ea2359b1a96bcfbc090b7116eae7c3c512c7a083fdf23d3" [[package]] name = "bs58" -version = "0.5.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f5353f36341f7451062466f0b755b96ac3a9547e4d7f6b70d603fc721a7d7896" +checksum = "bf88ba1141d185c399bee5288d850d63b8369520c1eafc32a0430b5b6c287bf4" dependencies = [ "tinyvec", ] [[package]] name = "bstr" -version = "1.8.0" +version = "1.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "542f33a8835a0884b006a0c3df3dadd99c0c3f296ed26c2fdc8028e01ad6230c" +checksum = "05efc5cfd9110c8416e471df0e96702d58690178e206e61b7173706673c93706" dependencies = [ "memchr", "serde", @@ -1064,9 +1162,9 @@ dependencies = [ [[package]] name = "bumpalo" -version = "3.14.0" +version = "3.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f30e7476521f6f8af1a1c4c0b8cc94f0bee37d91763d0ca2665f299b6cd8aec" +checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c" [[package]] name = "byte-slice-cast" @@ -1082,9 +1180,9 @@ checksum = "e3b5ca7a04898ad4bcd41c90c5285445ff5b791899bb1b0abdd2a2aa791211d7" [[package]] name = "bytemuck" -version = "1.14.0" +version = "1.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "374d28ec25809ee0e23827c2ab573d729e293f281dfe393500e7ad618baa61c6" +checksum = "5d6d68c57235a3a081186990eca2867354726650f42f7516ca50c28d6281fd15" [[package]] name = "byteorder" @@ -1094,9 +1192,9 @@ checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" [[package]] name = "bytes" -version = "1.5.0" +version = "1.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2bd12c1caf447e69cd4528f47f94d203fd2582878ecb9e9465484c4148a8223" +checksum = "514de17de45fdb8dc022b1a7975556c53c86f9f0aa5f534b98977b171857c2c9" [[package]] name = "bzip2-sys" @@ -1109,6 +1207,16 @@ dependencies = [ "pkg-config", ] +[[package]] +name = "c2-chacha" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d27dae93fe7b1e0424dc57179ac396908c26b035a87234809f5c4dfd1b47dc80" +dependencies = [ + "cipher 0.2.5", + "ppv-lite86", +] + [[package]] name = "camino" version = "1.1.6" @@ -1124,7 +1232,7 @@ version = "9.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e11c675378efb449ed3ce8de78d75d0d80542fc98487c26aba28eb3b82feac72" dependencies = [ - "semver 1.0.20", + "semver 1.0.22", "serde", "toml 0.7.8", "url", @@ -1132,9 +1240,9 @@ dependencies = [ [[package]] name = "cargo-platform" -version = "0.1.5" +version = "0.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e34637b3140142bdf929fb439e8aa4ebad7651ebf7b1080b3930aa16ac1459ff" +checksum = "24b1f0365a6c6bb4020cd05806fd0d33c44d38046b8bd7f0e40814b9763cabfc" dependencies = [ "serde", ] @@ -1147,7 +1255,7 @@ checksum = "eee4243f1f26fc7a42710e7439c149e2b10b05472f88090acce52632f231a73a" dependencies = [ "camino", "cargo-platform", - "semver 1.0.20", + "semver 1.0.22", "serde", "serde_json", "thiserror", @@ -1161,9 +1269,9 @@ checksum = "37b2a672a2cb129a2e41c10b1224bb368f9f37a2b16b612598138befd7b37eb5" [[package]] name = "cc" -version = "1.0.83" +version = "1.0.92" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1174fb0b6ec23863f8b971027804a42614e347eafb0a95bf0b12cdae21fc4d0" +checksum = "2678b2e3449475e95b0aa6f9b506a28e61b3dc8996592b983695e8ebb58a8b41" dependencies = [ "jobserver", "libc", @@ -1180,9 +1288,9 @@ dependencies = [ [[package]] name = "cfg-expr" -version = "0.15.5" +version = "0.15.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03915af431787e6ffdcc74c645077518c6b6e01f80b761e0fbbfa288536311b3" +checksum = "fa50868b64a9a6fda9d593ce778849ea8715cd2a3d2cc17ffdb4a2f2f2f1961d" dependencies = [ "smallvec", ] @@ -1199,6 +1307,16 @@ version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fd16c4719339c4530435d38e511904438d07cce7950afa3718a84ac36c10e89e" +[[package]] +name = "chacha" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ddf3c081b5fba1e5615640aae998e0fbd10c24cbd897ee39ed754a77601a4862" +dependencies = [ + "byteorder", + "keystream", +] + [[package]] name = "chacha20" version = "0.9.1" @@ -1206,7 +1324,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c3613f74bd2eac03dad61bd53dbe620703d4371614fe0bc3b9f04dd36fe4e818" dependencies = [ "cfg-if", - "cipher", + "cipher 0.4.4", "cpufeatures", ] @@ -1218,30 +1336,30 @@ checksum = "10cd79432192d1c0f4e1a0fef9527696cc039165d729fb41b3f4f4f354c2dc35" dependencies = [ "aead", "chacha20", - "cipher", + "cipher 0.4.4", "poly1305", "zeroize", ] [[package]] name = "chrono" -version = "0.4.31" +version = "0.4.37" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f2c685bad3eb3d45a01354cedb7d5faa66194d1d58ba6e267a8de788f79db38" +checksum = "8a0d04d43504c61aa6c7531f1871dd0d418d91130162063b789da00fd7057a5e" dependencies = [ "android-tzdata", "iana-time-zone", "js-sys", "num-traits", "wasm-bindgen", - "windows-targets 0.48.5", + "windows-targets 0.52.4", ] [[package]] name = "ciborium" -version = "0.2.1" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "effd91f6c78e5a4ace8a5d3c0b6bfaec9e2baaef55f3efc00e45fb2e477ee926" +checksum = "42e69ffd6f0917f5c029256a24d0161db17cea3997d185db0d35926308770f0e" dependencies = [ "ciborium-io", "ciborium-ll", @@ -1250,18 +1368,18 @@ dependencies = [ [[package]] name = "ciborium-io" -version = "0.2.1" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cdf919175532b369853f5d5e20b26b43112613fd6fe7aee757e35f7a44642656" +checksum = "05afea1e0a06c9be33d539b876f1ce3692f4afea2cb41f740e7743225ed1c757" [[package]] name = "ciborium-ll" -version = "0.2.1" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "defaa24ecc093c77630e6c15e17c51f5e187bf35ee514f4e2d67baaa96dae22b" +checksum = "57663b653d948a338bfb3eeba9bb2fd5fcfaecb9e199e87e1eda4d9e8b240fd9" dependencies = [ "ciborium-io", - "half", + "half 2.4.1", ] [[package]] @@ -1272,11 +1390,20 @@ checksum = "b9b68e3193982cd54187d71afdb2a271ad4cf8af157858e9cb911b91321de143" dependencies = [ "core2", "multibase", - "multihash", + "multihash 0.17.0", "serde", "unsigned-varint", ] +[[package]] +name = "cipher" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "12f8e7987cbd042a63249497f41aed09f8e65add917ea6566effbc56578d6801" +dependencies = [ + "generic-array 0.14.7", +] + [[package]] name = "cipher" version = "0.4.4" @@ -1299,9 +1426,9 @@ dependencies = [ [[package]] name = "clang-sys" -version = "1.6.1" +version = "1.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c688fc74432808e3eb684cae8830a86be1d66a2bd58e1f248ed0960a590baf6f" +checksum = "67523a3b4be3ce1989d607a828d036249522dd9c1c8de7f4dd2dae43a37369d1" dependencies = [ "glob", "libc", @@ -1320,31 +1447,32 @@ dependencies = [ "clap_lex 0.2.4", "indexmap 1.9.3", "once_cell", - "strsim", + "strsim 0.10.0", "termcolor", "textwrap", ] [[package]] name = "clap" -version = "4.4.11" +version = "4.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bfaff671f6b22ca62406885ece523383b9b64022e341e53e009a62ebc47a45f2" +checksum = "90bc066a67923782aa8515dbaea16946c5bcc5addbd668bb80af688e53e548a0" dependencies = [ "clap_builder", - "clap_derive 4.4.7", + "clap_derive 4.5.4", ] [[package]] name = "clap_builder" -version = "4.4.11" +version = "4.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a216b506622bb1d316cd51328dce24e07bdff4a6128a47c7e7fad11878d5adbb" +checksum = "ae129e2e766ae0ec03484e609954119f123cc1fe650337e155d03b022f24f7b4" dependencies = [ "anstream", "anstyle", - "clap_lex 0.6.0", - "strsim", + "clap_lex 0.7.0", + "strsim 0.11.1", + "terminal_size", ] [[package]] @@ -1353,7 +1481,7 @@ version = "3.2.25" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ae6371b8bdc8b7d3959e9cf7b22d4435ef3e79e138688421ec654acf8c81b008" dependencies = [ - "heck", + "heck 0.4.1", "proc-macro-error", "proc-macro2", "quote", @@ -1362,14 +1490,14 @@ dependencies = [ [[package]] name = "clap_derive" -version = "4.4.7" +version = "4.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf9804afaaf59a91e75b022a30fb7229a7901f60c755489cc61c9b423b836442" +checksum = "528131438037fd55894f62d6e9f068b8f45ac57ffa77517819645d10aed04f64" dependencies = [ - "heck", + "heck 0.5.0", "proc-macro2", "quote", - "syn 2.0.42", + "syn 2.0.58", ] [[package]] @@ -1383,19 +1511,18 @@ dependencies = [ [[package]] name = "clap_lex" -version = "0.6.0" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "702fc72eb24e5a1e48ce58027a675bc24edd52096d5397d4aea7c6dd9eca0bd1" +checksum = "98cc8fbded0c607b7ba9dd60cd98df59af97e84d24e49c8557331cfc26d301ce" [[package]] name = "coarsetime" -version = "0.1.33" +version = "0.1.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "71367d3385c716342014ad17e3d19f7788ae514885a1f4c24f500260fb365e1a" +checksum = "13b3839cf01bb7960114be3ccf2340f541b6d0c81f8690b007b2b39f750f7e5d" dependencies = [ "libc", - "once_cell", - "wasi 0.11.0+wasi-snapshot-preview1", + "wasix", "wasm-bindgen", ] @@ -1417,19 +1544,19 @@ checksum = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7" [[package]] name = "comfy-table" -version = "7.1.0" +version = "7.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c64043d6c7b7a4c58e39e7efccfdea7b93d885a795d0c054a69dbbf4dd52686" +checksum = "b34115915337defe99b2aff5c2ce6771e5fbc4079f4b506301f5cf394c8452f7" dependencies = [ - "strum 0.25.0", - "strum_macros 0.25.3", + "strum 0.26.2", + "strum_macros 0.26.2", "unicode-width", ] [[package]] name = "common" version = "0.1.0" -source = "git+https://github.com/w3f/ring-proof?rev=0e948f3#0e948f3c28cbacecdd3020403c4841c0eb339213" +source = "git+https://github.com/w3f/ring-proof#b273d33f9981e2bb3375ab45faeb537f7ee35224" dependencies = [ "ark-ec", "ark-ff", @@ -1437,7 +1564,9 @@ dependencies = [ "ark-serialize", "ark-std", "fflonk", - "merlin 3.0.0", + "getrandom_or_panic", + "merlin", + "rand_chacha 0.3.1", ] [[package]] @@ -1457,15 +1586,15 @@ dependencies = [ [[package]] name = "console" -version = "0.15.7" +version = "0.15.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c926e00cc70edefdc64d3a5ff31cc65bb97a3460097762bd23afb4d8145fccf8" +checksum = "0e1f83fc076bd6dd27517eacdf25fef6c4dfe5f1d7448bafaaf3a26f13b5e4eb" dependencies = [ "encode_unicode", "lazy_static", "libc", "unicode-width", - "windows-sys 0.45.0", + "windows-sys 0.52.0", ] [[package]] @@ -1476,9 +1605,9 @@ checksum = "c2459377285ad874054d797f3ccebf984978aa39129f6eafde5cdc8315b612f8" [[package]] name = "const-random" -version = "0.1.17" +version = "0.1.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5aaf16c9c2c612020bcfd042e170f6e32de9b9d75adb5277cdbbd2e2c8c8299a" +checksum = "87e00182fe74b066627d63b85fd550ac2998d4b0bd86bfed477a0ae4c7c71359" dependencies = [ "const-random-macro", ] @@ -1489,7 +1618,7 @@ version = "0.1.16" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f9d839f2a20b0aee515dc581a6172f2321f96cab76c1a38a4c584a194955390e" dependencies = [ - "getrandom 0.2.11", + "getrandom 0.2.14", "once_cell", "tiny-keccak", ] @@ -1506,6 +1635,12 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f7144d30dcf0fafbce74250a3963025d8d52177934239851c917d29f1df280c2" +[[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" @@ -1558,9 +1693,9 @@ dependencies = [ [[package]] name = "cpufeatures" -version = "0.2.11" +version = "0.2.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce420fe07aecd3e67c5f910618fe65e94158f6dcc0adf44e00d69ce2bdfe0fd0" +checksum = "53fe5e26ff1b7aef8bca9c6080520cfb8d9333c7568e1829cef191a9723e5504" dependencies = [ "libc", ] @@ -1665,9 +1800,9 @@ dependencies = [ [[package]] name = "crc32fast" -version = "1.3.2" +version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b540bd8bc810d3885c6ea91e2018302f68baba2129ab3e88f32389ee9370880d" +checksum = "b3855a8a784b474f333699ef2bbca9db2c4a1f6d9088a90a2d25b1eb53111eaa" dependencies = [ "cfg-if", ] @@ -1710,45 +1845,37 @@ dependencies = [ [[package]] name = "crossbeam-deque" -version = "0.8.4" +version = "0.8.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fca89a0e215bab21874660c67903c5f143333cab1da83d041c7ded6053774751" +checksum = "613f8cc01fe9cf1a3eb3d7f488fd2fa8388403e97039e2f73692932e291a770d" dependencies = [ - "cfg-if", "crossbeam-epoch", "crossbeam-utils", ] [[package]] name = "crossbeam-epoch" -version = "0.9.16" +version = "0.9.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2d2fe95351b870527a5d09bf563ed3c97c0cffb87cf1c78a591bf48bb218d9aa" +checksum = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e" dependencies = [ - "autocfg", - "cfg-if", "crossbeam-utils", - "memoffset 0.9.0", ] [[package]] name = "crossbeam-queue" -version = "0.3.9" +version = "0.3.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9bcf5bdbfdd6030fb4a1c497b5d5fc5921aa2f60d359a17e249c0e6df3de153" +checksum = "df0346b5d5e76ac2fe4e327c5fd1118d6be7c51dfb18f9b7922923f287471e35" dependencies = [ - "cfg-if", "crossbeam-utils", ] [[package]] name = "crossbeam-utils" -version = "0.8.17" +version = "0.8.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c06d96137f14f244c37f989d9fff8f95e6c18b918e71f36638f8c49112e4c78f" -dependencies = [ - "cfg-if", -] +checksum = "248e3bacc7dc6baa3b21e405ee045c3047101a49145e7e9eca583ab4c2ca5345" [[package]] name = "crunchy" @@ -1764,7 +1891,7 @@ checksum = "0dc92fb57ca44df6db8059111ab3af99a63d5d0f8375d9972e319a379c6bab76" dependencies = [ "generic-array 0.14.7", "rand_core 0.6.4", - "subtle", + "subtle 2.5.0", "zeroize", ] @@ -1779,6 +1906,16 @@ dependencies = [ "typenum", ] +[[package]] +name = "crypto-mac" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4434400df11d95d556bac068ddfedd482915eb18fe8bea89bc80b6e4b1c179e5" +dependencies = [ + "generic-array 0.12.4", + "subtle 1.0.0", +] + [[package]] name = "crypto-mac" version = "0.8.0" @@ -1786,17 +1923,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b584a330336237c1eecd3e94266efb216c56ed91225d634cb2991c5f3fd1aeab" dependencies = [ "generic-array 0.14.7", - "subtle", + "subtle 2.5.0", ] [[package]] name = "crypto-mac" -version = "0.11.1" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1d1a86f49236c215f271d40892d5fc950490551400b02ef360692c29815c714" +checksum = "25fab6889090c8133f3deb8f73ba3c65a7f456f66436fc012a1b1e272b1e103e" dependencies = [ "generic-array 0.14.7", - "subtle", + "subtle 2.5.0", ] [[package]] @@ -1805,29 +1942,30 @@ version = "0.9.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0369ee1ad671834580515889b80f2ea915f23b8be8d0daa4bbaf2ac5c7590835" dependencies = [ - "cipher", + "cipher 0.4.4", ] [[package]] name = "cumulus-client-cli" -version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "clap 4.4.11", + "clap 4.5.4", "parity-scale-codec", - "sc-chain-spec", + "sc-chain-spec 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sc-cli", - "sc-client-api", - "sc-service", - "sp-core", - "sp-runtime", + "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-service 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "url", ] [[package]] name = "cumulus-client-collator" -version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "cumulus-client-consensus-common", "cumulus-client-network", @@ -1839,26 +1977,26 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-overseer", "polkadot-primitives", - "sc-client-api", - "sp-api", - "sp-consensus", - "sp-core", - "sp-runtime", + "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "tracing", ] [[package]] name = "cumulus-client-consensus-aura" -version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "async-trait", "cumulus-client-collator", "cumulus-client-consensus-common", "cumulus-client-consensus-proposer", + "cumulus-client-parachain-inherent", "cumulus-primitives-aura", "cumulus-primitives-core", - "cumulus-primitives-parachain-inherent", "cumulus-relay-chain-interface", "futures", "parity-scale-codec", @@ -1866,33 +2004,33 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-overseer", "polkadot-primitives", - "sc-client-api", - "sc-consensus", - "sc-consensus-aura", + "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-consensus 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-consensus-aura 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sc-consensus-babe", - "sc-consensus-slots", - "sc-telemetry", + "sc-consensus-slots 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-telemetry 15.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "schnellru", - "sp-api", - "sp-application-crypto", - "sp-block-builder", - "sp-blockchain", - "sp-consensus", - "sp-consensus-aura", - "sp-core", - "sp-inherents", - "sp-keystore", - "sp-runtime", - "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-timestamp", - "substrate-prometheus-endpoint", + "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-block-builder 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-consensus-aura 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-state-machine 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-timestamp 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "tracing", ] [[package]] name = "cumulus-client-consensus-common" -version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "async-trait", "cumulus-client-pov-recovery", @@ -1903,40 +2041,40 @@ dependencies = [ "log", "parity-scale-codec", "polkadot-primitives", - "sc-client-api", - "sc-consensus", + "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-consensus 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sc-consensus-babe", "schnellru", - "sp-blockchain", - "sp-consensus", - "sp-consensus-slots", - "sp-core", - "sp-runtime", - "sp-timestamp", - "sp-trie", - "substrate-prometheus-endpoint", + "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-consensus-slots 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-timestamp 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-trie 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "tracing", ] [[package]] name = "cumulus-client-consensus-proposer" -version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "anyhow", "async-trait", "cumulus-primitives-parachain-inherent", - "sp-consensus", - "sp-inherents", - "sp-runtime", - "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-state-machine 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "thiserror", ] [[package]] name = "cumulus-client-network" -version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "async-trait", "cumulus-relay-chain-interface", @@ -1947,19 +2085,43 @@ dependencies = [ "polkadot-node-primitives", "polkadot-parachain-primitives", "polkadot-primitives", - "sc-client-api", - "sp-blockchain", - "sp-consensus", - "sp-core", - "sp-runtime", - "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-state-machine 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "tracing", ] [[package]] -name = "cumulus-client-pov-recovery" +name = "cumulus-client-parachain-inherent" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" +dependencies = [ + "async-trait", + "cumulus-primitives-core", + "cumulus-primitives-parachain-inherent", + "cumulus-relay-chain-interface", + "cumulus-test-relay-sproof-builder", + "parity-scale-codec", + "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "scale-info", + "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-crypto-hashing 0.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-state-machine 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-trie 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "tracing", +] + +[[package]] +name = "cumulus-client-pov-recovery" +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -1971,19 +2133,19 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-overseer", "polkadot-primitives", - "rand 0.8.5", - "sc-client-api", - "sc-consensus", - "sp-consensus", - "sp-maybe-compressed-blob", - "sp-runtime", + "rand", + "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-consensus 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-maybe-compressed-blob 11.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "tracing", ] [[package]] name = "cumulus-client-service" -version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "cumulus-client-cli", "cumulus-client-collator", @@ -1991,224 +2153,237 @@ dependencies = [ "cumulus-client-network", "cumulus-client-pov-recovery", "cumulus-primitives-core", + "cumulus-primitives-proof-size-hostfunction", "cumulus-relay-chain-inprocess-interface", "cumulus-relay-chain-interface", "cumulus-relay-chain-minimal-node", "futures", "polkadot-primitives", - "sc-client-api", - "sc-consensus", - "sc-network", - "sc-network-sync", - "sc-network-transactions", - "sc-rpc", - "sc-service", - "sc-sysinfo", - "sc-telemetry", - "sc-transaction-pool", - "sc-utils", - "sp-api", - "sp-blockchain", - "sp-consensus", - "sp-core", - "sp-runtime", - "sp-transaction-pool", + "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-consensus 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-network 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-network-sync 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-network-transactions 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-rpc 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-service 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-sysinfo 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-telemetry 15.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-transaction-pool 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-utils 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-transaction-pool 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "cumulus-pallet-aura-ext" -version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "cumulus-pallet-parachain-system", - "frame-support", - "frame-system", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "pallet-aura", "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-application-crypto", - "sp-consensus-aura", - "sp-runtime", - "sp-std", + "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-consensus-aura 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "cumulus-pallet-dmp-queue" -version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "cumulus-primitives-core", - "frame-support", - "frame-system", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "log", "parity-scale-codec", "scale-info", - "sp-io", - "sp-runtime", - "sp-std", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "staging-xcm", ] [[package]] name = "cumulus-pallet-parachain-system" -version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "bytes", "cumulus-pallet-parachain-system-proc-macro", "cumulus-primitives-core", "cumulus-primitives-parachain-inherent", + "cumulus-primitives-proof-size-hostfunction", "environmental", - "frame-support", - "frame-system", + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "impl-trait-for-tuples", "log", + "pallet-message-queue", "parity-scale-codec", "polkadot-parachain-primitives", + "polkadot-runtime-parachains", "scale-info", - "sp-core", - "sp-externalities", - "sp-inherents", - "sp-io", - "sp-runtime", - "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std", - "sp-trie", - "sp-version", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-state-machine 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-trie 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-version 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "staging-xcm", "trie-db", ] [[package]] name = "cumulus-pallet-parachain-system-proc-macro" -version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.6.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "proc-macro-crate 1.3.1", + "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.42", + "syn 2.0.58", ] [[package]] name = "cumulus-pallet-xcm" -version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "cumulus-primitives-core", - "frame-support", - "frame-system", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "parity-scale-codec", "scale-info", - "sp-io", - "sp-runtime", - "sp-std", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "staging-xcm", ] [[package]] name = "cumulus-pallet-xcmp-queue" -version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ + "bounded-collections", + "bp-xcm-bridge-hub-router", "cumulus-primitives-core", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "log", + "pallet-message-queue", "parity-scale-codec", "polkadot-runtime-common", - "rand_chacha 0.3.1", + "polkadot-runtime-parachains", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "staging-xcm", "staging-xcm-executor", ] [[package]] name = "cumulus-primitives-aura" -version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "parity-scale-codec", "polkadot-core-primitives", "polkadot-primitives", - "sp-api", - "sp-consensus-aura", - "sp-runtime", - "sp-std", + "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-consensus-aura 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "cumulus-primitives-core" -version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "parity-scale-codec", "polkadot-core-primitives", "polkadot-parachain-primitives", "polkadot-primitives", "scale-info", - "sp-api", - "sp-runtime", - "sp-std", - "sp-trie", + "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-trie 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "staging-xcm", ] [[package]] name = "cumulus-primitives-parachain-inherent" -version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "async-trait", "cumulus-primitives-core", - "cumulus-relay-chain-interface", - "cumulus-test-relay-sproof-builder", "parity-scale-codec", - "sc-client-api", "scale-info", - "sp-api", - "sp-core", - "sp-inherents", - "sp-runtime", - "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std", - "sp-storage", - "sp-trie", - "tracing", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-trie 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", +] + +[[package]] +name = "cumulus-primitives-proof-size-hostfunction" +version = "0.2.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" +dependencies = [ + "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-trie 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "cumulus-primitives-timestamp" -version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "cumulus-primitives-core", "futures", "parity-scale-codec", - "sp-inherents", - "sp-std", - "sp-timestamp", + "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-timestamp 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "cumulus-primitives-utility" -version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "cumulus-primitives-core", - "frame-support", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "log", + "pallet-asset-conversion", + "pallet-xcm-benchmarks", "parity-scale-codec", "polkadot-runtime-common", - "sp-io", - "sp-runtime", - "sp-std", + "polkadot-runtime-parachains", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", @@ -2216,8 +2391,8 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-inprocess-interface" -version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2227,74 +2402,80 @@ dependencies = [ "polkadot-cli", "polkadot-service", "sc-cli", - "sc-client-api", - "sc-sysinfo", - "sc-telemetry", - "sc-tracing", - "sp-api", - "sp-consensus", - "sp-core", - "sp-runtime", - "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-sysinfo 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-telemetry 15.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-tracing 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-state-machine 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "cumulus-relay-chain-interface" -version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "async-trait", "cumulus-primitives-core", "futures", - "jsonrpsee-core 0.16.3", + "jsonrpsee-core 0.20.3", "parity-scale-codec", "polkadot-overseer", - "sc-client-api", - "sp-api", - "sp-blockchain", - "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-state-machine 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "thiserror", ] [[package]] name = "cumulus-relay-chain-minimal-node" -version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "array-bytes", + "array-bytes 6.2.2", "async-trait", "cumulus-primitives-core", "cumulus-relay-chain-interface", "cumulus-relay-chain-rpc-interface", "futures", + "parking_lot 0.12.1", "polkadot-availability-recovery", "polkadot-collator-protocol", "polkadot-core-primitives", "polkadot-network-bridge", "polkadot-node-collation-generation", + "polkadot-node-core-chain-api", + "polkadot-node-core-prospective-parachains", "polkadot-node-core-runtime-api", "polkadot-node-network-protocol", "polkadot-node-subsystem-util", "polkadot-overseer", "polkadot-primitives", "sc-authority-discovery", - "sc-network", - "sc-network-common", - "sc-service", - "sc-tracing", - "sc-utils", - "schnellru", - "sp-api", - "sp-consensus", + "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-network 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-network-common 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-service 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-tracing 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-utils 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-consensus-babe", - "sp-runtime", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "tokio", "tracing", ] [[package]] name = "cumulus-relay-chain-rpc-interface" -version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2302,26 +2483,27 @@ dependencies = [ "either", "futures", "futures-timer", - "jsonrpsee 0.16.3", + "jsonrpsee 0.20.3", "parity-scale-codec", "pin-project", "polkadot-overseer", - "rand 0.8.5", - "sc-client-api", - "sc-rpc-api", - "sc-service", + "rand", + "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-rpc-api 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-service 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "schnellru", "serde", "serde_json", "smoldot", "smoldot-light", - "sp-api", + "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-authority-discovery", "sp-consensus-babe", - "sp-core", - "sp-runtime", - "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-storage", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-state-machine 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-version 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "thiserror", "tokio", "tokio-util", @@ -2331,29 +2513,16 @@ dependencies = [ [[package]] name = "cumulus-test-relay-sproof-builder" -version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "cumulus-primitives-core", "parity-scale-codec", "polkadot-primitives", - "sp-runtime", - "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std", - "sp-trie", -] - -[[package]] -name = "curve25519-dalek" -version = "2.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a9b85542f99a2dfa2a1b8e192662741c9859a846b296bef1c92ef9b58b5a216" -dependencies = [ - "byteorder", - "digest 0.8.1", - "rand_core 0.5.1", - "subtle", - "zeroize", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-state-machine 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-trie 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] @@ -2365,24 +2534,24 @@ dependencies = [ "byteorder", "digest 0.9.0", "rand_core 0.5.1", - "subtle", + "subtle 2.5.0", "zeroize", ] [[package]] name = "curve25519-dalek" -version = "4.1.1" +version = "4.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e89b8c6a2e4b1f45971ad09761aafb85514a84744b67a95e32c3cc1352d1f65c" +checksum = "0a677b8922c94e01bdbb12126b0bc852f00447528dee1782229af9c720c3f348" dependencies = [ "cfg-if", "cpufeatures", "curve25519-dalek-derive", "digest 0.10.7", "fiat-crypto", - "platforms 3.2.0", + "platforms 3.4.0", "rustc_version", - "subtle", + "subtle 2.5.0", "zeroize", ] @@ -2394,7 +2563,7 @@ checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" dependencies = [ "proc-macro2", "quote", - "syn 2.0.42", + "syn 2.0.58", ] [[package]] @@ -2412,9 +2581,9 @@ dependencies = [ [[package]] name = "cxx" -version = "1.0.111" +version = "1.0.120" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e9fc0c733f71e58dedf4f034cd2a266f80b94cc9ed512729e1798651b68c2cba" +checksum = "ff4dc7287237dd438b926a81a1a5605dad33d286870e5eee2db17bf2bcd9e92a" dependencies = [ "cc", "cxxbridge-flags", @@ -2424,9 +2593,9 @@ dependencies = [ [[package]] name = "cxx-build" -version = "1.0.111" +version = "1.0.120" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "51bc81d2664db24cf1d35405f66e18a85cffd4d49ab930c71a5c6342a410f38c" +checksum = "f47c6c8ad7c1a10d3ef0fe3ff6733f4db0d78f08ef0b13121543163ef327058b" dependencies = [ "cc", "codespan-reporting", @@ -2434,24 +2603,24 @@ dependencies = [ "proc-macro2", "quote", "scratch", - "syn 2.0.42", + "syn 2.0.58", ] [[package]] name = "cxxbridge-flags" -version = "1.0.111" +version = "1.0.120" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8511afbe34ea242697784da5cb2c5d4a0afb224ca8b136bdf93bfe180cbe5884" +checksum = "701a1ac7a697e249cdd8dc026d7a7dafbfd0dbcd8bd24ec55889f2bc13dd6287" [[package]] name = "cxxbridge-macro" -version = "1.0.111" +version = "1.0.120" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c6888cd161769d65134846d4d4981d5a6654307cc46ec83fb917e530aea5f84" +checksum = "b404f596046b0bb2d903a9c786b875a126261b52b7c3a64bbb66382c41c771df" dependencies = [ "proc-macro2", "quote", - "syn 2.0.42", + "syn 2.0.58", ] [[package]] @@ -2482,9 +2651,9 @@ dependencies = [ [[package]] name = "der" -version = "0.7.8" +version = "0.7.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fffa369a668c8af7dbf8b5e56c9f744fbd399949ed171606040001947de40b1c" +checksum = "f55bf8e7b65898637379c1b74eb1551107c8294ed26d855ceb9fd1a09cfc9bc0" dependencies = [ "const-oid", "zeroize", @@ -2506,9 +2675,9 @@ dependencies = [ [[package]] name = "deranged" -version = "0.3.10" +version = "0.3.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8eb30d70a07a3b04884d2677f06bec33509dc67ca60d92949e5535352d3191dc" +checksum = "b42b6fa04a440b495c8b04d0e71b707c585f83cb9cb28cf8cd0d976c315e31b4" dependencies = [ "powerfmt", ] @@ -2535,6 +2704,17 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "derive-syn-parse" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d65d7ce8132b7c0e54497a4d9a55a1c2a0912a0d786cf894472ba818fba45762" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.58", +] + [[package]] name = "derive_more" version = "0.99.17" @@ -2587,14 +2767,14 @@ dependencies = [ "block-buffer 0.10.4", "const-oid", "crypto-common", - "subtle", + "subtle 2.5.0", ] [[package]] name = "directories" -version = "4.0.1" +version = "5.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f51c5d4ddabd36886dd3e1438cb358cdcb0d7c499cb99cb4ac2e38e18b5cb210" +checksum = "9a49173b84e034382284f27f1af4dcbbd231ffa358c0fe316541a7337f376a35" dependencies = [ "dirs-sys", ] @@ -2611,13 +2791,14 @@ dependencies = [ [[package]] name = "dirs-sys" -version = "0.3.7" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b1d1d91c932ef41c0f2663aa8b0ca0342d444d842c06914aa0a7e352d0bada6" +checksum = "520f05a5cbd335fae5a99ff7a6ab8627577660ee5cfd6a94a6a929b52ff0321c" dependencies = [ "libc", + "option-ext", "redox_users", - "winapi", + "windows-sys 0.48.0", ] [[package]] @@ -2639,50 +2820,49 @@ checksum = "487585f4d0c6655fe74905e2504d8ad6908e4db67f744eb140876906c2f3175d" dependencies = [ "proc-macro2", "quote", - "syn 2.0.42", + "syn 2.0.58", ] [[package]] name = "dleq_vrf" version = "0.0.2" -source = "git+https://github.com/w3f/ring-vrf?rev=3119f51#3119f51b54b69308abfb0671f6176cb125ae1bf1" +source = "git+https://github.com/w3f/ring-vrf?rev=e9782f9#e9782f938629c90f3adb3fff2358bc8d1386af3e" dependencies = [ "ark-ec", "ark-ff", - "ark-scale 0.0.10", + "ark-scale", "ark-secret-scalar", "ark-serialize", "ark-std", "ark-transcript", "arrayvec 0.7.4", - "rand_core 0.6.4", "zeroize", ] [[package]] name = "docify" -version = "0.2.7" +version = "0.2.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7cc4fd38aaa9fb98ac70794c82a00360d1e165a87fbf96a8a91f9dfc602aaee2" +checksum = "43a2f138ad521dc4a2ced1a4576148a6a610b4c5923933b062a263130a6802ce" dependencies = [ "docify_macros", ] [[package]] name = "docify_macros" -version = "0.2.7" +version = "0.2.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "63fa215f3a0d40fb2a221b3aa90d8e1fbb8379785a990cb60d62ac71ebdc6460" +checksum = "1a081e51fb188742f5a7a1164ad752121abcb22874b21e2c3b0dd040c515fdad" dependencies = [ "common-path", - "derive-syn-parse", + "derive-syn-parse 0.2.0", "once_cell", "proc-macro2", "quote", "regex", - "syn 2.0.42", + "syn 2.0.58", "termcolor", - "toml 0.8.2", + "toml 0.8.12", "walkdir", ] @@ -2694,9 +2874,9 @@ checksum = "1435fa1053d8b2fbbe9be7e97eca7f33d37b28409959813daefc1446a14247f1" [[package]] name = "downcast-rs" -version = "1.2.0" +version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ea835d29036a4087793836fa931b08837ad5e957da9e23886b29586fb9b6650" +checksum = "75b325c5dbd37f80359721ad39aca5a29fb04c89279657cffdda8736d0c0b9d2" [[package]] name = "dtoa" @@ -2727,9 +2907,9 @@ dependencies = [ [[package]] name = "dyn-clone" -version = "1.0.16" +version = "1.0.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "545b22097d44f8a9581187cdf93de7a71e4722bf51200cfaba810865b49a495d" +checksum = "0d6ef0072f8a535281e4876be788938b528e9a1d43900b82c2569af7da799125" [[package]] name = "ecdsa" @@ -2757,16 +2937,16 @@ dependencies = [ [[package]] name = "ed25519-dalek" -version = "2.1.0" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f628eaec48bfd21b865dc2950cfa014450c01d2fa2b69a86c2fd5844ec523c0" +checksum = "4a3daa8e81a3963a60642bcc1f90a670680bd4a77535faa384e9d1c79d620871" dependencies = [ - "curve25519-dalek 4.1.1", + "curve25519-dalek 4.1.2", "ed25519", "rand_core 0.6.4", "serde", "sha2 0.10.8", - "subtle", + "subtle 2.5.0", "zeroize", ] @@ -2790,7 +2970,7 @@ version = "4.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7d9ce6874da5d4415896cd45ffbc4d1cfc0c4f9c079427bd870742c30f2f65a9" dependencies = [ - "curve25519-dalek 4.1.1", + "curve25519-dalek 4.1.2", "ed25519", "hashbrown 0.14.3", "hex", @@ -2801,9 +2981,9 @@ dependencies = [ [[package]] name = "either" -version = "1.9.0" +version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a26ae43d7bcc3b814de94796a5e736d4029efb0ee900c12e2d54c993ad1a1e07" +checksum = "11157ac094ffbdde99aa67b23417ebdd801842852b500e395a45a9c0aac03e4a" [[package]] name = "elliptic-curve" @@ -2820,7 +3000,7 @@ dependencies = [ "pkcs8", "rand_core 0.6.4", "sec1", - "subtle", + "subtle 2.5.0", "zeroize", ] @@ -2836,7 +3016,7 @@ version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c9720bba047d567ffc8a3cba48bf19126600e249ab7f128e9233e6376976a116" dependencies = [ - "heck", + "heck 0.4.1", "proc-macro2", "quote", "syn 1.0.109", @@ -2844,53 +3024,40 @@ dependencies = [ [[package]] name = "enumflags2" -version = "0.7.8" +version = "0.7.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5998b4f30320c9d93aed72f63af821bfdac50465b75428fce77b48ec482c3939" +checksum = "3278c9d5fb675e0a51dabcf4c0d355f692b064171535ba72361be1528a9d8e8d" dependencies = [ "enumflags2_derive", ] [[package]] name = "enumflags2_derive" -version = "0.7.8" +version = "0.7.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f95e2801cd355d4a1a3e3953ce6ee5ae9603a5c833455343a8bfe3f44d418246" +checksum = "5c785274071b1b420972453b306eeca06acf4633829db4223b58a2a8c5953bc4" dependencies = [ "proc-macro2", "quote", - "syn 2.0.42", + "syn 2.0.58", ] [[package]] name = "enumn" -version = "0.1.12" +version = "0.1.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2ad8cef1d801a4686bfd8919f0b30eac4c8e48968c437a6405ded4fb5272d2b" +checksum = "6fd000fd6988e73bbe993ea3db9b1aa64906ab88766d654973924340c8cddb42" dependencies = [ "proc-macro2", "quote", - "syn 2.0.42", -] - -[[package]] -name = "env_logger" -version = "0.9.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a12e6657c4c97ebab115a42dcee77225f7f482cdd841cf7088c657a42e9e00e7" -dependencies = [ - "atty", - "humantime", - "log", - "regex", - "termcolor", + "syn 2.0.58", ] [[package]] name = "env_logger" -version = "0.10.1" +version = "0.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95b3f3e67048839cb0d0781f445682a35113da7121f7c949db0e2be96a4fbece" +checksum = "4cd405aab171cb85d6735e5c8d9db038c17d3ca007a4d2c25f337935c3d90580" dependencies = [ "humantime", "is-terminal", @@ -2965,6 +3132,24 @@ dependencies = [ "triehash", ] +[[package]] +name = "ethereum" +version = "0.15.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2e04d24d20b8ff2235cffbf242d5092de3aa45f77c5270ddbfadd2778ca13fea" +dependencies = [ + "bytes", + "ethereum-types", + "hash-db 0.16.0", + "hash256-std-hasher", + "parity-scale-codec", + "rlp", + "scale-info", + "serde", + "sha3", + "trie-root", +] + [[package]] name = "ethereum-types" version = "0.14.1" @@ -2995,18 +3180,29 @@ checksum = "d93877bcde0eb80ca09131a08d23f0a5c18a620b01db137dba666d18cd9b30c2" dependencies = [ "concurrent-queue", "parking", - "pin-project-lite 0.2.13", + "pin-project-lite 0.2.14", +] + +[[package]] +name = "event-listener" +version = "4.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67b215c49b2b248c855fb73579eb1f4f26c38ffdc12973e20e07b91d78d5646e" +dependencies = [ + "concurrent-queue", + "parking", + "pin-project-lite 0.2.14", ] [[package]] name = "event-listener" -version = "4.0.1" +version = "5.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84f2cdcf274580f2d63697192d744727b3198894b1bf02923643bf59e2c26712" +checksum = "6d9944b8ca13534cdfb2800775f8dd4902ff3fc75a50101466decadfdf322a24" dependencies = [ "concurrent-queue", "parking", - "pin-project-lite 0.2.13", + "pin-project-lite 0.2.14", ] [[package]] @@ -3015,8 +3211,18 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "958e4d70b6d5e81971bebec42271ec641e7ff4e170a6fa605f2b8a8b65cb97d3" dependencies = [ - "event-listener 4.0.1", - "pin-project-lite 0.2.13", + "event-listener 4.0.3", + "pin-project-lite 0.2.14", +] + +[[package]] +name = "event-listener-strategy" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "332f51cb23d20b0de8458b86580878211da09bcd4503cb579c225b3d124cabb3" +dependencies = [ + "event-listener 5.3.0", + "pin-project-lite 0.2.14", ] [[package]] @@ -3026,7 +3232,7 @@ source = "git+https://github.com/rust-blockchain/evm?rev=13240a8a551586fdef0b502 dependencies = [ "auto_impl", "environmental", - "ethereum", + "ethereum 0.14.0", "evm-core 0.36.0", "evm-gasometer 0.36.0", "evm-runtime 0.36.0", @@ -3041,15 +3247,15 @@ dependencies = [ [[package]] name = "evm" -version = "0.39.1" -source = "git+https://github.com/moonbeam-foundation/evm?rev=a33ac87ad7462b7e7029d12c385492b2a8311d1c#a33ac87ad7462b7e7029d12c385492b2a8311d1c" +version = "0.41.1" +source = "git+https://github.com/moonbeam-foundation/evm?branch=moonbeam-polkadot-v1.7.2#d8991ec727ad0fb64fe9957a3cd307387a6701e4" dependencies = [ "auto_impl", "environmental", - "ethereum", - "evm-core 0.39.0", - "evm-gasometer 0.39.0", - "evm-runtime 0.39.0", + "ethereum 0.15.0", + "evm-core 0.41.0", + "evm-gasometer 0.41.0", + "evm-runtime 0.41.0", "log", "parity-scale-codec", "primitive-types", @@ -3072,8 +3278,8 @@ dependencies = [ [[package]] name = "evm-core" -version = "0.39.0" -source = "git+https://github.com/moonbeam-foundation/evm?rev=a33ac87ad7462b7e7029d12c385492b2a8311d1c#a33ac87ad7462b7e7029d12c385492b2a8311d1c" +version = "0.41.0" +source = "git+https://github.com/moonbeam-foundation/evm?branch=moonbeam-polkadot-v1.7.2#d8991ec727ad0fb64fe9957a3cd307387a6701e4" dependencies = [ "parity-scale-codec", "primitive-types", @@ -3094,12 +3300,12 @@ dependencies = [ [[package]] name = "evm-gasometer" -version = "0.39.0" -source = "git+https://github.com/moonbeam-foundation/evm?rev=a33ac87ad7462b7e7029d12c385492b2a8311d1c#a33ac87ad7462b7e7029d12c385492b2a8311d1c" +version = "0.41.0" +source = "git+https://github.com/moonbeam-foundation/evm?branch=moonbeam-polkadot-v1.7.2#d8991ec727ad0fb64fe9957a3cd307387a6701e4" dependencies = [ "environmental", - "evm-core 0.39.0", - "evm-runtime 0.39.0", + "evm-core 0.41.0", + "evm-runtime 0.41.0", "primitive-types", ] @@ -3117,12 +3323,12 @@ dependencies = [ [[package]] name = "evm-runtime" -version = "0.39.0" -source = "git+https://github.com/moonbeam-foundation/evm?rev=a33ac87ad7462b7e7029d12c385492b2a8311d1c#a33ac87ad7462b7e7029d12c385492b2a8311d1c" +version = "0.41.0" +source = "git+https://github.com/moonbeam-foundation/evm?branch=moonbeam-polkadot-v1.7.2#d8991ec727ad0fb64fe9957a3cd307387a6701e4" dependencies = [ "auto_impl", "environmental", - "evm-core 0.39.0", + "evm-core 0.41.0", "primitive-types", "sha3", ] @@ -3150,35 +3356,18 @@ dependencies = [ [[package]] name = "expander" -version = "0.0.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3774182a5df13c3d1690311ad32fbe913feef26baba609fa2dd5f72042bd2ab6" -dependencies = [ - "blake2", - "fs-err", - "proc-macro2", - "quote", -] - -[[package]] -name = "expander" -version = "2.0.0" +version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f86a749cf851891866c10515ef6c299b5c69661465e9c3bbe7e07a2b77fb0f7" +checksum = "00e83c02035136f1592a47964ea60c05a50e4ed8b5892cfac197063850898d4d" dependencies = [ - "blake2", + "blake2 0.10.6", "fs-err", + "prettier-please", "proc-macro2", "quote", - "syn 2.0.42", + "syn 2.0.58", ] -[[package]] -name = "fake-simd" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e88a8acf291dafb59c2d96e8f59828f3838bb1a70398823ade51a84de6a6deed" - [[package]] name = "fallible-iterator" version = "0.2.0" @@ -3196,9 +3385,9 @@ dependencies = [ [[package]] name = "fastrand" -version = "2.0.1" +version = "2.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25cbce373ec4653f1a01a31e8a5e5ec0c622dc27ff9c4e6606eefef5cbbed4a5" +checksum = "658bd65b1cf4c852a3cc96f18a8ce7b5640f6b703f905c7d74532294c2a63984" [[package]] name = "fatality" @@ -3225,46 +3414,59 @@ dependencies = [ "thiserror", ] +[[package]] +name = "fc-api" +version = "1.0.0-dev" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#101e61fba183bcfd1e75d0d6f9fc5bec0020dd3a" +dependencies = [ + "async-trait", + "fp-storage", + "parity-scale-codec", + "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", +] + [[package]] name = "fc-consensus" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?rev=bf5885a982041cc744ecbb62a2afc13d56d464dc#bf5885a982041cc744ecbb62a2afc13d56d464dc" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#101e61fba183bcfd1e75d0d6f9fc5bec0020dd3a" dependencies = [ "async-trait", "fp-consensus", "fp-rpc", - "sc-consensus", - "sp-api", - "sp-block-builder", - "sp-consensus", - "sp-runtime", + "sc-consensus 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-block-builder 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-consensus 0.32.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", "thiserror", ] [[package]] name = "fc-db" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?rev=bf5885a982041cc744ecbb62a2afc13d56d464dc#bf5885a982041cc744ecbb62a2afc13d56d464dc" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#101e61fba183bcfd1e75d0d6f9fc5bec0020dd3a" dependencies = [ "async-trait", + "fc-api", "fp-storage", "kvdb-rocksdb", "log", "parity-db", "parity-scale-codec", "parking_lot 0.12.1", - "sc-client-db", + "sc-client-db 0.35.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", "smallvec", - "sp-blockchain", - "sp-core", - "sp-database", - "sp-runtime", + "sp-blockchain 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-database 10.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", ] [[package]] name = "fc-mapping-sync" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?rev=bf5885a982041cc744ecbb62a2afc13d56d464dc#bf5885a982041cc744ecbb62a2afc13d56d464dc" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#101e61fba183bcfd1e75d0d6f9fc5bec0020dd3a" dependencies = [ "fc-db", "fc-storage", @@ -3274,65 +3476,65 @@ dependencies = [ "futures-timer", "log", "parking_lot 0.12.1", - "sc-client-api", - "sc-utils", - "sp-api", - "sp-blockchain", - "sp-consensus", - "sp-runtime", + "sc-client-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-utils 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-blockchain 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-consensus 0.32.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", ] [[package]] name = "fc-rpc" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?rev=bf5885a982041cc744ecbb62a2afc13d56d464dc#bf5885a982041cc744ecbb62a2afc13d56d464dc" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#101e61fba183bcfd1e75d0d6f9fc5bec0020dd3a" dependencies = [ - "ethereum", + "ethereum 0.15.0", "ethereum-types", - "evm 0.39.1", - "fc-db", + "evm 0.41.1", + "fc-api", "fc-mapping-sync", "fc-rpc-core", "fc-storage", - "fp-ethereum", "fp-evm", "fp-rpc", "fp-storage", "futures", "hex", - "jsonrpsee 0.16.3", + "jsonrpsee 0.20.3", "libsecp256k1", "log", "pallet-evm", "parity-scale-codec", "prometheus", - "rand 0.8.5", + "rand", "rlp", - "sc-client-api", - "sc-consensus-aura", - "sc-network", - "sc-network-common", - "sc-network-sync", - "sc-rpc", - "sc-service", - "sc-transaction-pool", - "sc-transaction-pool-api", - "sc-utils", + "sc-client-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-consensus-aura 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-network 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-network-common 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-network-sync 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-rpc 29.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-service 0.35.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-transaction-pool 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-transaction-pool-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-utils 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", "schnellru", "serde", - "sp-api", - "sp-block-builder", - "sp-blockchain", - "sp-consensus", - "sp-consensus-aura", - "sp-core", - "sp-inherents", - "sp-io", - "sp-runtime", - "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-storage", - "sp-timestamp", - "substrate-prometheus-endpoint", + "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-block-builder 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-blockchain 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-consensus 0.32.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-consensus-aura 0.32.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-externalities 0.25.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-inherents 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-state-machine 0.35.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-storage 19.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-timestamp 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", "thiserror", "tokio", ] @@ -3340,41 +3542,44 @@ dependencies = [ [[package]] name = "fc-rpc-core" version = "1.1.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?rev=bf5885a982041cc744ecbb62a2afc13d56d464dc#bf5885a982041cc744ecbb62a2afc13d56d464dc" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#101e61fba183bcfd1e75d0d6f9fc5bec0020dd3a" dependencies = [ - "ethereum", + "ethereum 0.15.0", "ethereum-types", - "jsonrpsee 0.16.3", + "jsonrpsee 0.20.3", + "rlp", "rustc-hex", "serde", "serde_json", + "sp-core-hashing", ] [[package]] name = "fc-storage" version = "1.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?rev=bf5885a982041cc744ecbb62a2afc13d56d464dc#bf5885a982041cc744ecbb62a2afc13d56d464dc" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#101e61fba183bcfd1e75d0d6f9fc5bec0020dd3a" dependencies = [ - "ethereum", + "ethereum 0.15.0", "ethereum-types", "fp-rpc", "fp-storage", "parity-scale-codec", - "sc-client-api", - "sp-api", - "sp-blockchain", - "sp-io", - "sp-runtime", - "sp-storage", + "sc-client-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-blockchain 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-storage 19.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", ] [[package]] name = "fdlimit" -version = "0.2.1" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c4c9e43643f5a3be4ca5b67d26b98031ff9db6806c3440ae32e02e3ceac3f1b" +checksum = "e182f7dbc2ef73d9ef67351c5fbbea084729c48362d3ce9dd44c28e32e277fe5" dependencies = [ "libc", + "thiserror", ] [[package]] @@ -3384,7 +3589,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ded41244b729663b1e574f1b4fb731469f69f79c17667b5d776b16cda0479449" dependencies = [ "rand_core 0.6.4", - "subtle", + "subtle 2.5.0", ] [[package]] @@ -3397,14 +3602,14 @@ dependencies = [ "ark-poly", "ark-serialize", "ark-std", - "merlin 3.0.0", + "merlin", ] [[package]] name = "fiat-crypto" -version = "0.2.5" +version = "0.2.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "27573eac26f4dd11e2b1916c3fe1baa56407c83c71a773a8ba17ec0bca03b6b7" +checksum = "c007b1ae3abe1cb6f85a16305acd418b7ca6343b953633fee2b76d8f108b830f" [[package]] name = "file-per-thread-logger" @@ -3412,7 +3617,7 @@ version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "84f2e425d9790201ba4af4630191feac6dcc98765b118d4d18e91d23c2353866" dependencies = [ - "env_logger 0.10.1", + "env_logger", "log", ] @@ -3452,7 +3657,7 @@ checksum = "36a65312835c1097a0c926ff3702df965285fadc33d948b87397ff8961bad881" dependencies = [ "az", "bytemuck", - "half", + "half 1.8.3", "num-traits", "typenum", ] @@ -3464,7 +3669,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "835c052cb0c08c1acf6ffd71c022172e18723949c8282f2b9f27efbc51e64534" dependencies = [ "byteorder", - "rand 0.8.5", + "rand", "rustc-hex", "static_assertions", ] @@ -3503,8 +3708,16 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "fork-tree" -version = "3.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "12.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" +dependencies = [ + "parity-scale-codec", +] + +[[package]] +name = "fork-tree" +version = "12.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "parity-scale-codec", ] @@ -3521,7 +3734,7 @@ dependencies = [ [[package]] name = "fp-account" version = "1.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?rev=bf5885a982041cc744ecbb62a2afc13d56d464dc#bf5885a982041cc744ecbb62a2afc13d56d464dc" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#101e61fba183bcfd1e75d0d6f9fc5bec0020dd3a" dependencies = [ "hex", "impl-serde", @@ -3530,87 +3743,87 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-runtime-interface", - "sp-std", + "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-runtime-interface 24.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", ] [[package]] name = "fp-consensus" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?rev=bf5885a982041cc744ecbb62a2afc13d56d464dc#bf5885a982041cc744ecbb62a2afc13d56d464dc" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#101e61fba183bcfd1e75d0d6f9fc5bec0020dd3a" dependencies = [ - "ethereum", + "ethereum 0.15.0", "parity-scale-codec", - "sp-core", - "sp-runtime", - "sp-std", + "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", ] [[package]] name = "fp-ethereum" version = "1.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?rev=bf5885a982041cc744ecbb62a2afc13d56d464dc#bf5885a982041cc744ecbb62a2afc13d56d464dc" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#101e61fba183bcfd1e75d0d6f9fc5bec0020dd3a" dependencies = [ - "ethereum", + "ethereum 0.15.0", "ethereum-types", "fp-evm", - "frame-support", - "num_enum 0.6.1", + "frame-support 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", "parity-scale-codec", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", ] [[package]] name = "fp-evm" version = "3.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?rev=bf5885a982041cc744ecbb62a2afc13d56d464dc#bf5885a982041cc744ecbb62a2afc13d56d464dc" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#101e61fba183bcfd1e75d0d6f9fc5bec0020dd3a" dependencies = [ - "evm 0.39.1", - "frame-support", + "evm 0.41.1", + "frame-support 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "num_enum 0.7.2", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-runtime", - "sp-std", + "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", ] [[package]] name = "fp-rpc" version = "3.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?rev=bf5885a982041cc744ecbb62a2afc13d56d464dc#bf5885a982041cc744ecbb62a2afc13d56d464dc" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#101e61fba183bcfd1e75d0d6f9fc5bec0020dd3a" dependencies = [ - "ethereum", + "ethereum 0.15.0", "ethereum-types", "fp-evm", "parity-scale-codec", "scale-info", - "sp-api", - "sp-core", - "sp-runtime", - "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std", + "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-state-machine 0.35.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", ] [[package]] name = "fp-self-contained" version = "1.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?rev=bf5885a982041cc744ecbb62a2afc13d56d464dc#bf5885a982041cc744ecbb62a2afc13d56d464dc" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#101e61fba183bcfd1e75d0d6f9fc5bec0020dd3a" dependencies = [ - "frame-support", + "frame-support 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", "parity-scale-codec", "scale-info", "serde", - "sp-runtime", + "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", ] [[package]] name = "fp-storage" version = "2.0.0" -source = "git+https://github.com/moonbeam-foundation/frontier?rev=bf5885a982041cc744ecbb62a2afc13d56d464dc#bf5885a982041cc744ecbb62a2afc13d56d464dc" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#101e61fba183bcfd1e75d0d6f9fc5bec0020dd3a" dependencies = [ "parity-scale-codec", "serde", @@ -3624,42 +3837,67 @@ checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa" [[package]] name = "frame-benchmarking" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" +dependencies = [ + "frame-support 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "frame-support-procedural 23.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "linregress", + "log", + "parity-scale-codec", + "paste", + "scale-info", + "serde", + "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-application-crypto 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-runtime-interface 24.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-storage 19.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "static_assertions", +] + +[[package]] +name = "frame-benchmarking" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-support", - "frame-support-procedural", - "frame-system", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support-procedural 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "linregress", "log", "parity-scale-codec", "paste", "scale-info", "serde", - "sp-api", - "sp-application-crypto", - "sp-core", - "sp-io", - "sp-runtime", - "sp-runtime-interface", - "sp-std", - "sp-storage", + "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "static_assertions", ] [[package]] name = "frame-benchmarking-cli" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "32.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "Inflector", - "array-bytes", + "array-bytes 6.2.2", "chrono", - "clap 4.4.11", + "clap 4.5.4", "comfy-table", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "gethostname", "handlebars", "itertools 0.10.5", @@ -3667,78 +3905,78 @@ dependencies = [ "linked-hash-map", "log", "parity-scale-codec", - "rand 0.8.5", + "rand", "rand_pcg", - "sc-block-builder", + "sc-block-builder 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sc-cli", - "sc-client-api", - "sc-client-db", - "sc-executor", - "sc-service", - "sc-sysinfo", + "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-client-db 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-executor 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-service 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-sysinfo 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "serde", "serde_json", - "sp-api", - "sp-blockchain", - "sp-core", - "sp-database", - "sp-externalities", - "sp-inherents", - "sp-io", - "sp-keystore", - "sp-runtime", - "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-storage", - "sp-trie", - "sp-wasm-interface", + "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-database 10.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-state-machine 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-trie 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-wasm-interface 20.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "thiserror", "thousands", ] [[package]] name = "frame-election-provider-solution-type" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "13.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "proc-macro-crate 1.3.1", + "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.42", + "syn 2.0.58", ] [[package]] name = "frame-election-provider-support" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "frame-election-provider-solution-type", - "frame-support", - "frame-system", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "parity-scale-codec", "scale-info", - "sp-arithmetic", - "sp-core", + "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-npos-elections", - "sp-runtime", - "sp-std", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "frame-executive" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-support", - "frame-system", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "frame-try-runtime", "log", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", - "sp-tracing", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] @@ -3755,20 +3993,20 @@ dependencies = [ [[package]] name = "frame-remote-externalities" -version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.35.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "async-recursion", "futures", "indicatif", - "jsonrpsee 0.16.3", + "jsonrpsee 0.20.3", "log", "parity-scale-codec", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-crypto-hashing 0.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-state-machine 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "spinners", "substrate-rpc-client", "tokio", @@ -3777,15 +4015,16 @@ dependencies = [ [[package]] name = "frame-support" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" dependencies = [ "aquamarine", + "array-bytes 6.2.2", "bitflags 1.3.2", "docify", "environmental", "frame-metadata", - "frame-support-procedural", + "frame-support-procedural 23.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", "impl-trait-for-tuples", "k256", "log", @@ -3796,118 +4035,222 @@ dependencies = [ "serde", "serde_json", "smallvec", - "sp-api", - "sp-arithmetic", - "sp-core", - "sp-core-hashing-proc-macro", - "sp-debug-derive", - "sp-genesis-builder", - "sp-inherents", - "sp-io", - "sp-metadata-ir", - "sp-runtime", - "sp-staking", - "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std", - "sp-tracing", - "sp-weights", + "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-arithmetic 23.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-crypto-hashing-proc-macro 0.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-debug-derive 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-genesis-builder 0.7.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-inherents 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-metadata-ir 0.6.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-staking 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-state-machine 0.35.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-tracing 16.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-weights 27.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", "static_assertions", "tt-call", ] [[package]] -name = "frame-support-procedural" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +name = "frame-support" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "Inflector", - "cfg-expr", - "derive-syn-parse", - "expander 2.0.0", - "frame-support-procedural-tools", - "itertools 0.10.5", + "aquamarine", + "array-bytes 6.2.2", + "bitflags 1.3.2", + "docify", + "environmental", + "frame-metadata", + "frame-support-procedural 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "impl-trait-for-tuples", + "k256", + "log", "macro_magic", - "proc-macro-warning", - "proc-macro2", + "parity-scale-codec", + "paste", + "scale-info", + "serde", + "serde_json", + "smallvec", + "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-crypto-hashing-proc-macro 0.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-debug-derive 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-genesis-builder 0.7.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-metadata-ir 0.6.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-staking 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-state-machine 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-weights 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "static_assertions", + "tt-call", +] + +[[package]] +name = "frame-support-procedural" +version = "23.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" +dependencies = [ + "Inflector", + "cfg-expr", + "derive-syn-parse 0.1.5", + "expander 2.1.0", + "frame-support-procedural-tools 10.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "itertools 0.10.5", + "macro_magic", + "proc-macro-warning", + "proc-macro2", + "quote", + "sp-crypto-hashing 0.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "syn 2.0.58", +] + +[[package]] +name = "frame-support-procedural" +version = "23.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" +dependencies = [ + "Inflector", + "cfg-expr", + "derive-syn-parse 0.1.5", + "expander 2.1.0", + "frame-support-procedural-tools 10.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "itertools 0.10.5", + "macro_magic", + "proc-macro-warning", + "proc-macro2", "quote", - "syn 2.0.42", + "sp-crypto-hashing 0.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "syn 2.0.58", ] [[package]] name = "frame-support-procedural-tools" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "10.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" dependencies = [ - "frame-support-procedural-tools-derive", - "proc-macro-crate 1.3.1", + "frame-support-procedural-tools-derive 11.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "proc-macro-crate 3.1.0", + "proc-macro2", + "quote", + "syn 2.0.58", +] + +[[package]] +name = "frame-support-procedural-tools" +version = "10.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" +dependencies = [ + "frame-support-procedural-tools-derive 11.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.42", + "syn 2.0.58", ] [[package]] name = "frame-support-procedural-tools-derive" -version = "3.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "11.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.58", +] + +[[package]] +name = "frame-support-procedural-tools-derive" +version = "11.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "proc-macro2", "quote", - "syn 2.0.42", + "syn 2.0.58", ] [[package]] name = "frame-system" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" +dependencies = [ + "cfg-if", + "docify", + "frame-support 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "log", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-version 29.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-weights 27.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", +] + +[[package]] +name = "frame-system" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "cfg-if", - "frame-support", + "docify", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "log", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", - "sp-version", - "sp-weights", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-version 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-weights 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "frame-system-benchmarking" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "parity-scale-codec", "scale-info", - "sp-core", - "sp-runtime", - "sp-std", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "frame-system-rpc-runtime-api" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "26.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "parity-scale-codec", - "sp-api", + "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "frame-try-runtime" -version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.34.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-support", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "parity-scale-codec", - "sp-api", - "sp-runtime", - "sp-std", + "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] @@ -3931,11 +4274,11 @@ dependencies = [ [[package]] name = "fs4" -version = "0.6.6" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2eeb4ed9e12f43b7fa0baae3f9cdda28352770132ef2e09a23760c29cae8bd47" +checksum = "29f9df8a11882c4e3335eb2d18a0137c505d9ca927470b0cac9c6f0ae07d28f7" dependencies = [ - "rustix 0.38.28", + "rustix 0.38.32", "windows-sys 0.48.0", ] @@ -3947,9 +4290,9 @@ checksum = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c" [[package]] name = "futures" -version = "0.3.29" +version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da0290714b38af9b4a7b094b8a37086d1b4e61f2df9122c3cad2577669145335" +checksum = "645c6916888f6cb6350d2550b80fb63e734897a8498abe35cfb732b6487804b0" dependencies = [ "futures-channel", "futures-core", @@ -3962,9 +4305,9 @@ dependencies = [ [[package]] name = "futures-channel" -version = "0.3.29" +version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff4dd66668b557604244583e3e1e1eada8c5c2e96a6d0d6653ede395b78bbacb" +checksum = "eac8f7d7865dcb88bd4373ab671c8cf4508703796caa2b1985a9ca867b3fcb78" dependencies = [ "futures-core", "futures-sink", @@ -3972,15 +4315,15 @@ dependencies = [ [[package]] name = "futures-core" -version = "0.3.29" +version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb1d22c66e66d9d72e1758f0bd7d4fd0bee04cad842ee34587d68c07e45d088c" +checksum = "dfc6580bb841c5a68e9ef15c77ccc837b40a7504914d52e47b8b0e9bbda25a1d" [[package]] name = "futures-executor" -version = "0.3.29" +version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f4fb8693db0cf099eadcca0efe2a5a22e4550f98ed16aba6c48700da29597bc" +checksum = "a576fc72ae164fca6b9db127eaa9a9dda0d61316034f33a0a0d4eda41f02b01d" dependencies = [ "futures-core", "futures-task", @@ -3990,9 +4333,9 @@ dependencies = [ [[package]] name = "futures-io" -version = "0.3.29" +version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8bf34a163b5c4c52d0478a4d757da8fb65cabef42ba90515efee0f6f9fa45aaa" +checksum = "a44623e20b9681a318efdd71c299b6b222ed6f231972bfe2f224ebad6311f0c1" [[package]] name = "futures-lite" @@ -4005,32 +4348,32 @@ dependencies = [ "futures-io", "memchr", "parking", - "pin-project-lite 0.2.13", + "pin-project-lite 0.2.14", "waker-fn", ] [[package]] name = "futures-lite" -version = "2.1.0" +version = "2.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aeee267a1883f7ebef3700f262d2d54de95dfaf38189015a74fdc4e0c7ad8143" +checksum = "52527eb5074e35e9339c6b4e8d12600c7128b68fb25dcb9fa9dec18f7c25f3a5" dependencies = [ - "fastrand 2.0.1", + "fastrand 2.0.2", "futures-core", "futures-io", "parking", - "pin-project-lite 0.2.13", + "pin-project-lite 0.2.14", ] [[package]] name = "futures-macro" -version = "0.3.29" +version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53b153fd91e4b0147f4aced87be237c98248656bb01050b96bf3ee89220a8ddb" +checksum = "87750cf4b7a4c0625b1529e4c543c2182106e4dedc60a2a6455e00d212c489ac" dependencies = [ "proc-macro2", "quote", - "syn 2.0.42", + "syn 2.0.58", ] [[package]] @@ -4046,27 +4389,27 @@ dependencies = [ [[package]] name = "futures-sink" -version = "0.3.29" +version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e36d3378ee38c2a36ad710c5d30c2911d752cb941c00c72dbabfb786a7970817" +checksum = "9fb8e00e87438d937621c1c6269e53f536c14d3fbd6a042bb24879e57d474fb5" [[package]] name = "futures-task" -version = "0.3.29" +version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "efd193069b0ddadc69c46389b740bbccdd97203899b48d09c5f7969591d6bae2" +checksum = "38d84fa142264698cdce1a9f9172cf383a0c82de1bddcf3092901442c4097004" [[package]] name = "futures-timer" -version = "3.0.2" +version = "3.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e64b03909df88034c26dc1547e8970b91f98bdb65165d6a4e9110d94263dbb2c" +checksum = "f288b0a4f20f9a56b5d1da57e2227c661b7b16168e2f72365f57b63326e29b24" [[package]] name = "futures-util" -version = "0.3.29" +version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a19526d624e703a3179b3d322efec918b6246ea0fa51d41124525f00f1cc8104" +checksum = "3d6401deb83407ab3da39eba7e33987a73c3df0c82b4bb5813ee871c19c41d48" dependencies = [ "futures-channel", "futures-core", @@ -4075,7 +4418,7 @@ dependencies = [ "futures-sink", "futures-task", "memchr", - "pin-project-lite 0.2.13", + "pin-project-lite 0.2.14", "pin-utils", "slab", ] @@ -4132,22 +4475,32 @@ dependencies = [ [[package]] name = "getrandom" -version = "0.2.11" +version = "0.2.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fe9006bed769170c11f845cf00c7c1e9092aeb3f268e007c3e760ac68008070f" +checksum = "94b22e06ecb0110981051723910cbf0b5f5e09a2062dd7663334ee79a9d1286c" dependencies = [ "cfg-if", "libc", "wasi 0.11.0+wasi-snapshot-preview1", ] +[[package]] +name = "getrandom_or_panic" +version = "0.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ea1015b5a70616b688dc230cfe50c8af89d972cb132d5a622814d29773b10b9" +dependencies = [ + "rand", + "rand_core 0.6.4", +] + [[package]] name = "ghash" -version = "0.5.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d930750de5717d2dd0b8c0d42c076c0e884c81a73e6cab859bbd2339c71e3e40" +checksum = "f0d8a4362ccb29cb0b265253fb0a2728f592895ee6854fd9bc13f2ffda266ff1" dependencies = [ - "opaque-debug 0.3.0", + "opaque-debug 0.3.1", "polyval", ] @@ -4183,18 +4536,18 @@ dependencies = [ "aho-corasick", "bstr", "log", - "regex-automata 0.4.3", - "regex-syntax 0.8.2", + "regex-automata 0.4.6", + "regex-syntax 0.8.3", ] [[package]] name = "gmp-mpfr-sys" -version = "1.6.1" +version = "1.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19c5c67d8c29fe87e3266e691dd60948e6e4df4496c53355ef3551142945721b" +checksum = "362a6cc3cbe9f41aebe49c03b91aee8fa8fc69d32fb90533f6ed965a882e08e3" dependencies = [ "libc", - "windows-sys 0.42.0", + "windows-sys 0.52.0", ] [[package]] @@ -4205,14 +4558,14 @@ checksum = "f0f9ef7462f7c099f518d754361858f86d8a07af53ba9af0fe635bbccb151a63" dependencies = [ "ff", "rand_core 0.6.4", - "subtle", + "subtle 2.5.0", ] [[package]] name = "h2" -version = "0.3.22" +version = "0.3.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d6250322ef6e60f93f9a2162799302cd6f68f79f6e5d85c8c16f14d1d958178" +checksum = "81fe527a889e1532da5c525686d96d4c2e74cdd345badf8dfef9f6b39dd5f5e8" dependencies = [ "bytes", "fnv", @@ -4220,7 +4573,7 @@ dependencies = [ "futures-sink", "futures-util", "http", - "indexmap 2.1.0", + "indexmap 2.2.6", "slab", "tokio", "tokio-util", @@ -4229,9 +4582,19 @@ dependencies = [ [[package]] name = "half" -version = "1.8.2" +version = "1.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1b43ede17f21864e81be2fa654110bf1e793774238d86ef8555c37e6519c0403" + +[[package]] +name = "half" +version = "2.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eabb4a44450da02c90444cf74558da904edde8fb4e9035a9a6a4e15445af0bd7" +checksum = "6dd08c532ae367adf81c312a4580bc67f1d0fe8bc9c460520283f4c0ff277888" +dependencies = [ + "cfg-if", + "crunchy", +] [[package]] name = "handlebars" @@ -4274,7 +4637,7 @@ version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" dependencies = [ - "ahash 0.7.7", + "ahash 0.7.8", ] [[package]] @@ -4283,7 +4646,7 @@ version = "0.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e" dependencies = [ - "ahash 0.8.6", + "ahash 0.8.11", ] [[package]] @@ -4292,17 +4655,32 @@ version = "0.14.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "290f1a1d9242c78d09ce40a5e87e7554ee637af1351968159f4952f028f75604" dependencies = [ - "ahash 0.8.6", + "ahash 0.8.11", "allocator-api2", "serde", ] +[[package]] +name = "hashlink" +version = "0.8.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e8094feaf31ff591f651a2664fb9cfd92bba7a60ce3197265e9482ebe753c8f7" +dependencies = [ + "hashbrown 0.14.3", +] + [[package]] name = "heck" version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" +[[package]] +name = "heck" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" + [[package]] name = "hermit-abi" version = "0.1.19" @@ -4314,9 +4692,9 @@ dependencies = [ [[package]] name = "hermit-abi" -version = "0.3.3" +version = "0.3.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d77f7ec81a6d05a3abb01ab6eb7590f6083d08449fe5a1c8b1e620283546ccb7" +checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024" [[package]] name = "hex" @@ -4361,7 +4739,7 @@ version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2a2a2320eb7ec0ebe8da8f744d7812d9fc4cb4d09344ac01898dbcb6a20ae69b" dependencies = [ - "crypto-mac 0.11.1", + "crypto-mac 0.11.0", "digest 0.9.0", ] @@ -4407,9 +4785,9 @@ dependencies = [ [[package]] name = "http" -version = "0.2.11" +version = "0.2.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8947b1a6fad4393052c7ba1f4cd97bed3e953a95c79c92ad9b051a04611d9fbb" +checksum = "601cbb57e577e2f5ef5be8e7b83f0f63994f25aa94d673e54a92d5c516d101f1" dependencies = [ "bytes", "fnv", @@ -4424,7 +4802,7 @@ checksum = "7ceab25649e9960c0311ea418d17bee82c0dcec1bd053b5f9a66e265a693bed2" dependencies = [ "bytes", "http", - "pin-project-lite 0.2.13", + "pin-project-lite 0.2.14", ] [[package]] @@ -4470,13 +4848,13 @@ dependencies = [ "parity-scale-codec", "primitive-types", "proptest", - "rand 0.8.5", + "rand", "rand_xoshiro", "rug", "scale-info", "serde", - "sp-arithmetic", - "sp-std", + "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "test-case 2.2.2", ] @@ -4485,7 +4863,7 @@ name = "hydradx" version = "12.1.0" dependencies = [ "async-trait", - "clap 4.4.11", + "clap 4.5.4", "cumulus-client-cli", "cumulus-client-collator", "cumulus-client-consensus-aura", @@ -4507,7 +4885,7 @@ dependencies = [ "fp-consensus", "fp-rpc", "fp-storage", - "frame-benchmarking", + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "frame-benchmarking-cli", "frame-system-rpc-runtime-api", "frame-try-runtime", @@ -4526,47 +4904,47 @@ dependencies = [ "polkadot-service", "primitives", "sc-basic-authorship", - "sc-chain-spec", + "sc-chain-spec 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sc-cli", - "sc-client-api", - "sc-client-db", - "sc-consensus", - "sc-consensus-aura", - "sc-executor", - "sc-keystore", - "sc-network", - "sc-network-common", - "sc-network-sync", + "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-client-db 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-consensus 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-consensus-aura 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-executor 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-keystore 25.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-network 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-network-common 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-network-sync 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sc-offchain", - "sc-rpc", - "sc-rpc-api", - "sc-service", - "sc-sysinfo", - "sc-telemetry", - "sc-tracing", - "sc-transaction-pool", - "sc-transaction-pool-api", + "sc-rpc 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-rpc-api 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-service 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-sysinfo 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-telemetry 15.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-tracing 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-transaction-pool 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-transaction-pool-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "serde", "serde_json", - "sp-api", + "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-authority-discovery", - "sp-block-builder", - "sp-blockchain", - "sp-consensus", - "sp-consensus-aura", - "sp-core", - "sp-inherents", - "sp-io", - "sp-keystore", - "sp-offchain", - "sp-runtime", - "sp-session", - "sp-storage", - "sp-timestamp", - "sp-transaction-pool", - "sp-trie", + "sp-block-builder 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-consensus-aura 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-offchain 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-session 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-timestamp 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-transaction-pool 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-trie 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "substrate-frame-rpc-system", - "substrate-prometheus-endpoint", + "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] @@ -4575,8 +4953,8 @@ version = "1.2.5" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-primitives-core", - "frame-support", - "frame-system", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "hydra-dx-math", "hydradx-traits", "lazy_static", @@ -4610,10 +4988,10 @@ dependencies = [ "primitive-types", "primitives", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", @@ -4633,14 +5011,14 @@ dependencies = [ "cumulus-primitives-timestamp", "cumulus-primitives-utility", "ethabi", - "evm 0.39.1", + "evm 0.41.1", "fp-evm", "fp-rpc", "fp-self-contained", - "frame-benchmarking", + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "frame-executive", - "frame-support", - "frame-system", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "frame-system-benchmarking", "frame-system-rpc-runtime-api", "frame-try-runtime", @@ -4716,7 +5094,6 @@ dependencies = [ "pallet-xcm", "pallet-xcm-rate-limiter", "pallet-xyk", - "parachain-info", "parity-scale-codec", "polkadot-parachain-primitives", "primitive-types", @@ -4724,21 +5101,22 @@ dependencies = [ "scale-info", "serde", "smallvec", - "sp-api", - "sp-block-builder", - "sp-consensus-aura", - "sp-core", - "sp-externalities", - "sp-inherents", - "sp-io", - "sp-offchain", - "sp-runtime", - "sp-session", - "sp-staking", - "sp-std", - "sp-transaction-pool", - "sp-trie", - "sp-version", + "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-block-builder 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-consensus-aura 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-offchain 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-session 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-staking 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-transaction-pool 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-trie 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-version 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "staging-parachain-info", "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", @@ -4749,13 +5127,13 @@ dependencies = [ name = "hydradx-traits" version = "3.1.1" dependencies = [ - "frame-support", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "impl-trait-for-tuples", "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic", - "sp-std", + "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] @@ -4774,8 +5152,8 @@ dependencies = [ "httparse", "httpdate", "itoa", - "pin-project-lite 0.2.13", - "socket2 0.5.5", + "pin-project-lite 0.2.14", + "socket2 0.5.6", "tokio", "tower-service", "tracing", @@ -4796,21 +5174,20 @@ dependencies = [ "rustls-native-certs", "tokio", "tokio-rustls", - "webpki-roots 0.25.3", ] [[package]] name = "iana-time-zone" -version = "0.1.58" +version = "0.1.60" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8326b86b6cff230b97d0d312a6c40a60726df3332e721f72a1b035f451663b20" +checksum = "e7ffbb5a1b541ea2561f8c41c087286cc091e21e556a4f09a8f6cbf17b69b141" dependencies = [ "android_system_properties", "core-foundation-sys", "iana-time-zone-haiku", "js-sys", "wasm-bindgen", - "windows-core", + "windows-core 0.52.0", ] [[package]] @@ -4859,7 +5236,7 @@ version = "3.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d6b0422c86d7ce0e97169cc42e04ae643caf278874a7a3c87b8150a220dc7e1e" dependencies = [ - "async-io 2.2.2", + "async-io 2.3.2", "core-foundation", "fnv", "futures", @@ -4942,9 +5319,9 @@ dependencies = [ [[package]] name = "indexmap" -version = "2.1.0" +version = "2.2.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d530e1a18b1cb4c484e6e34556a0d948706958449fca0cab753d649f2bce3d1f" +checksum = "168fb715dda47215e360912c096649d23d58bf392ac62f73919e831745e40f26" dependencies = [ "equivalent", "hashbrown 0.14.3", @@ -4958,9 +5335,9 @@ checksum = "8e04e2fd2b8188ea827b32ef11de88377086d690286ab35747ef7f9bf3ccb590" [[package]] name = "indicatif" -version = "0.17.7" +version = "0.17.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb28741c9db9a713d93deb3bb9515c20788cef5815265bee4980e87bde7e0f25" +checksum = "763a5a8f45087d6bcea4222e7b72c291a054edf80e4ef6efd2a4979878c7bea3" dependencies = [ "console", "instant", @@ -5008,7 +5385,7 @@ version = "1.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "eae7b9aee968036d54dce06cebaefd919e4472e753296daccd6d344e3e2df0c2" dependencies = [ - "hermit-abi 0.3.3", + "hermit-abi 0.3.9", "libc", "windows-sys 0.48.0", ] @@ -5025,7 +5402,7 @@ version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b58db92f96b720de98181bbbe63c831e87005ab460c1bf306eb2622b4707997f" dependencies = [ - "socket2 0.5.5", + "socket2 0.5.6", "widestring", "windows-sys 0.48.0", "winreg", @@ -5039,13 +5416,13 @@ checksum = "8f518f335dce6725a761382244631d86cf0ccb2863413590b31338feb467f9c3" [[package]] name = "is-terminal" -version = "0.4.9" +version = "0.4.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb0889898416213fab133e1d33a0e5858a48177452750691bde3666d0fdbaf8b" +checksum = "f23ff5ef2b80d608d61efee834934d862cd92461afc0560dedf493e4c033738b" dependencies = [ - "hermit-abi 0.3.3", - "rustix 0.38.28", - "windows-sys 0.48.0", + "hermit-abi 0.3.9", + "libc", + "windows-sys 0.52.0", ] [[package]] @@ -5075,26 +5452,35 @@ dependencies = [ "either", ] +[[package]] +name = "itertools" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ba291022dbbd398a455acf126c1e341954079855bc60dfdda641363bd6922569" +dependencies = [ + "either", +] + [[package]] name = "itoa" -version = "1.0.10" +version = "1.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1a46d1a171d865aa5f83f92695765caa047a9b4cbae2cbf37dbd613a793fd4c" +checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b" [[package]] name = "jobserver" -version = "0.1.27" +version = "0.1.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c37f63953c4c63420ed5fd3d6d398c719489b9f872b9fa683262f8edd363c7d" +checksum = "ab46a6e9526ddef3ae7f787c06f0f2600639ba80ea3eade3d8e670a2230f51d6" dependencies = [ "libc", ] [[package]] name = "js-sys" -version = "0.3.66" +version = "0.3.69" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cee9c64da59eae3b50095c18d3e74f8b73c0b86d2792824ff01bbce68ba229ca" +checksum = "29c15563dc2726973df627357ce0c9ddddbea194836909d655df6a75d2cf296d" dependencies = [ "wasm-bindgen", ] @@ -5120,24 +5506,37 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "367a292944c07385839818bb71c8d76611138e2dedb0677d035b8da21d29c78b" dependencies = [ "jsonrpsee-core 0.16.3", - "jsonrpsee-http-client", "jsonrpsee-proc-macros 0.16.3", - "jsonrpsee-server", + "jsonrpsee-server 0.16.3", "jsonrpsee-types 0.16.3", + "tracing", +] + +[[package]] +name = "jsonrpsee" +version = "0.20.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "affdc52f7596ccb2d7645231fc6163bb314630c989b64998f3699a28b4d5d4dc" +dependencies = [ + "jsonrpsee-core 0.20.3", + "jsonrpsee-http-client", + "jsonrpsee-proc-macros 0.20.3", + "jsonrpsee-server 0.20.3", + "jsonrpsee-types 0.20.3", "jsonrpsee-ws-client", + "tokio", "tracing", ] [[package]] name = "jsonrpsee-client-transport" -version = "0.16.3" +version = "0.20.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8b3815d9f5d5de348e5f162b316dc9cdf4548305ebb15b4eb9328e66cf27d7a" +checksum = "b5b005c793122d03217da09af68ba9383363caa950b90d3436106df8cabce935" dependencies = [ "futures-util", "http", - "jsonrpsee-core 0.16.3", - "jsonrpsee-types 0.16.3", + "jsonrpsee-core 0.20.3", "pin-project", "rustls-native-certs", "soketto", @@ -5146,7 +5545,7 @@ dependencies = [ "tokio-rustls", "tokio-util", "tracing", - "webpki-roots 0.25.3", + "url", ] [[package]] @@ -5167,7 +5566,7 @@ dependencies = [ "jsonrpsee-types 0.15.1", "lazy_static", "parking_lot 0.12.1", - "rand 0.8.5", + "rand", "rustc-hash", "serde", "serde_json", @@ -5186,17 +5585,40 @@ checksum = "2b5dde66c53d6dcdc8caea1874a45632ec0fcf5b437789f1e45766a1512ce803" dependencies = [ "anyhow", "arrayvec 0.7.4", - "async-lock 2.8.0", "async-trait", "beef", "futures-channel", - "futures-timer", "futures-util", "globset", "hyper", "jsonrpsee-types 0.16.3", "parking_lot 0.12.1", - "rand 0.8.5", + "rand", + "rustc-hash", + "serde", + "serde_json", + "soketto", + "thiserror", + "tokio", + "tracing", +] + +[[package]] +name = "jsonrpsee-core" +version = "0.20.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "da2327ba8df2fdbd5e897e2b5ed25ce7f299d345b9736b6828814c3dbd1fd47b" +dependencies = [ + "anyhow", + "async-lock 2.8.0", + "async-trait", + "beef", + "futures-timer", + "futures-util", + "hyper", + "jsonrpsee-types 0.20.3", + "parking_lot 0.12.1", + "rand", "rustc-hash", "serde", "serde_json", @@ -5208,21 +5630,22 @@ dependencies = [ [[package]] name = "jsonrpsee-http-client" -version = "0.16.3" +version = "0.20.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e5f9fabdd5d79344728521bb65e3106b49ec405a78b66fbff073b72b389fa43" +checksum = "5f80c17f62c7653ce767e3d7288b793dfec920f97067ceb189ebdd3570f2bc20" dependencies = [ "async-trait", "hyper", "hyper-rustls", - "jsonrpsee-core 0.16.3", - "jsonrpsee-types 0.16.3", - "rustc-hash", + "jsonrpsee-core 0.20.3", + "jsonrpsee-types 0.20.3", "serde", "serde_json", "thiserror", "tokio", + "tower", "tracing", + "url", ] [[package]] @@ -5261,7 +5684,20 @@ version = "0.16.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "44e8ab85614a08792b9bff6c8feee23be78c98d0182d4c622c05256ab553892a" dependencies = [ - "heck", + "heck 0.4.1", + "proc-macro-crate 1.3.1", + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "jsonrpsee-proc-macros" +version = "0.20.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "29110019693a4fa2dbda04876499d098fa16d70eba06b1e6e2b3f1b251419515" +dependencies = [ + "heck 0.4.1", "proc-macro-crate 1.3.1", "proc-macro2", "quote", @@ -5290,6 +5726,29 @@ dependencies = [ "tracing", ] +[[package]] +name = "jsonrpsee-server" +version = "0.20.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "82c39a00449c9ef3f50b84fc00fc4acba20ef8f559f07902244abf4c15c5ab9c" +dependencies = [ + "futures-util", + "http", + "hyper", + "jsonrpsee-core 0.20.3", + "jsonrpsee-types 0.20.3", + "route-recognizer", + "serde", + "serde_json", + "soketto", + "thiserror", + "tokio", + "tokio-stream", + "tokio-util", + "tower", + "tracing", +] + [[package]] name = "jsonrpsee-types" version = "0.15.1" @@ -5318,16 +5777,31 @@ dependencies = [ "tracing", ] +[[package]] +name = "jsonrpsee-types" +version = "0.20.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5be0be325642e850ed0bdff426674d2e66b2b7117c9be23a7caef68a2902b7d9" +dependencies = [ + "anyhow", + "beef", + "serde", + "serde_json", + "thiserror", + "tracing", +] + [[package]] name = "jsonrpsee-ws-client" -version = "0.16.3" +version = "0.20.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e1b3975ed5d73f456478681a417128597acd6a2487855fdb7b4a3d4d195bf5e" +checksum = "bca9cb3933ccae417eb6b08c3448eb1cb46e39834e5b503e395e5e5bd08546c0" dependencies = [ "http", "jsonrpsee-client-transport", - "jsonrpsee-core 0.16.3", - "jsonrpsee-types 0.16.3", + "jsonrpsee-core 0.20.3", + "jsonrpsee-types 0.20.3", + "url", ] [[package]] @@ -5352,9 +5826,9 @@ dependencies = [ [[package]] name = "k256" -version = "0.13.2" +version = "0.13.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f01b677d82ef7a676aa37e099defd83a28e15687112cafdd112d60236b6115b" +checksum = "956ff9b67e26e1a6a866cb758f12c6f8746208489e3e4a4b5580802f2f0a587b" dependencies = [ "cfg-if", "ecdsa", @@ -5365,26 +5839,18 @@ dependencies = [ [[package]] name = "keccak" -version = "0.1.4" +version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f6d5ed8676d904364de097082f4e7d240b571b67989ced0240f08b7f966f940" +checksum = "ecc2af9a1119c51f12a14607e783cb977bde58bc069ff0c3da1095e635d70654" dependencies = [ "cpufeatures", ] [[package]] -name = "kusama-runtime-constants" +name = "keystream" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" -dependencies = [ - "frame-support", - "polkadot-primitives", - "polkadot-runtime-common", - "smallvec", - "sp-core", - "sp-runtime", - "sp-weights", -] +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c33070833c9ee02266356de0c43f723152bd38bd96ddf52c82b3af10c9138b28" [[package]] name = "kvdb" @@ -5421,9 +5887,9 @@ dependencies = [ [[package]] name = "landlock" -version = "0.2.0" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "520baa32708c4e957d2fc3a186bc5bd8d26637c33137f399ddfc202adb240068" +checksum = "9baa9eeb6e315942429397e617a190f4fdc696ef1ee0342939d641029cbb4ea7" dependencies = [ "enumflags2", "libc", @@ -5447,18 +5913,18 @@ checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55" [[package]] name = "libc" -version = "0.2.151" +version = "0.2.153" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "302d7ab3130588088d277783b1e2d2e10c9e9e4a16dd9050e6ec93fb3e7048f4" +checksum = "9c198f91728a82281a64e1f4f9eeb25d82cb32a5de251c6bd1b5154d63a8e7bd" [[package]] name = "libloading" -version = "0.7.4" +version = "0.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b67380fd3b2fbe7527a606e18729d21c6f3951633d0500574c4dc22d2d638b9f" +checksum = "0c2a198fb6b0eada2a8df47933734e6d35d350665a33a3593d7164fa52c75c19" dependencies = [ "cfg-if", - "winapi", + "windows-targets 0.52.4", ] [[package]] @@ -5476,7 +5942,7 @@ dependencies = [ "bytes", "futures", "futures-timer", - "getrandom 0.2.11", + "getrandom 0.2.14", "instant", "libp2p-allow-block-list", "libp2p-connection-limits", @@ -5538,13 +6004,13 @@ dependencies = [ "libp2p-identity", "log", "multiaddr", - "multihash", + "multihash 0.17.0", "multistream-select", "once_cell", "parking_lot 0.12.1", "pin-project", "quick-protobuf", - "rand 0.8.5", + "rand", "rw-stream-sink", "smallvec", "thiserror", @@ -5598,9 +6064,9 @@ dependencies = [ "ed25519-dalek", "log", "multiaddr", - "multihash", + "multihash 0.17.0", "quick-protobuf", - "rand 0.8.5", + "rand", "sha2 0.10.8", "thiserror", "zeroize", @@ -5625,7 +6091,7 @@ dependencies = [ "libp2p-swarm", "log", "quick-protobuf", - "rand 0.8.5", + "rand", "sha2 0.10.8", "smallvec", "thiserror", @@ -5647,7 +6113,7 @@ dependencies = [ "libp2p-identity", "libp2p-swarm", "log", - "rand 0.8.5", + "rand", "smallvec", "socket2 0.4.10", "tokio", @@ -5683,7 +6149,7 @@ dependencies = [ "log", "once_cell", "quick-protobuf", - "rand 0.8.5", + "rand", "sha2 0.10.8", "snow", "static_assertions", @@ -5705,7 +6171,7 @@ dependencies = [ "libp2p-core", "libp2p-swarm", "log", - "rand 0.8.5", + "rand", "void", ] @@ -5725,7 +6191,7 @@ dependencies = [ "log", "parking_lot 0.12.1", "quinn-proto", - "rand 0.8.5", + "rand", "rustls 0.20.9", "thiserror", "tokio", @@ -5743,7 +6209,7 @@ dependencies = [ "libp2p-core", "libp2p-identity", "libp2p-swarm", - "rand 0.8.5", + "rand", "smallvec", ] @@ -5762,7 +6228,7 @@ dependencies = [ "libp2p-identity", "libp2p-swarm-derive", "log", - "rand 0.8.5", + "rand", "smallvec", "tokio", "void", @@ -5774,7 +6240,7 @@ version = "0.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0fba456131824ab6acd4c7bf61e9c0f0a3014b5fc9868ccb8e10d344594cdc4f" dependencies = [ - "heck", + "heck 0.4.1", "quote", "syn 1.0.109", ] @@ -5844,7 +6310,7 @@ dependencies = [ "rw-stream-sink", "soketto", "url", - "webpki-roots 0.22.6", + "webpki-roots", ] [[package]] @@ -5862,13 +6328,12 @@ dependencies = [ [[package]] name = "libredox" -version = "0.0.1" +version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85c833ca1e66078851dba29046874e38f08b2c883700aa29a03ddd3b23814ee8" +checksum = "c0ff37bd590ca25063e35af745c343cb7a0271906fb7b37e4813e8f79f00268d" dependencies = [ - "bitflags 2.4.1", + "bitflags 2.5.0", "libc", - "redox_syscall 0.4.1", ] [[package]] @@ -5899,7 +6364,7 @@ dependencies = [ "libsecp256k1-core", "libsecp256k1-gen-ecmult", "libsecp256k1-gen-genmult", - "rand 0.8.5", + "rand", "serde", "sha2 0.9.9", "typenum", @@ -5913,7 +6378,7 @@ checksum = "5be9b9bb642d8522a44d533eab56c16c738301965504753b03ad1de3425d5451" dependencies = [ "crunchy", "digest 0.9.0", - "subtle", + "subtle 2.5.0", ] [[package]] @@ -5936,9 +6401,9 @@ dependencies = [ [[package]] name = "libz-sys" -version = "1.1.12" +version = "1.1.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d97137b25e321a73eef1418d1d5d2eda4d77e12813f8e6dead84bc52c5870a7b" +checksum = "5e143b5e666b2695d28f6bca6497720813f699c9602dd7f5cac91008b8ada7f9" dependencies = [ "cc", "pkg-config", @@ -5992,9 +6457,21 @@ checksum = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519" [[package]] name = "linux-raw-sys" -version = "0.4.12" +version = "0.4.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "01cda141df6706de531b6c46c3a33ecca755538219bd484262fa09410c13539c" + +[[package]] +name = "lioness" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4cd1a83af159aa67994778be9070f0ae1bd732942279cabb14f86f986a21456" +checksum = "4ae926706ba42c425c9457121178330d75e273df2e82e28b758faf3de3a9acb9" +dependencies = [ + "arrayref", + "blake2 0.8.1", + "chacha", + "keystream", +] [[package]] name = "lock_api" @@ -6008,9 +6485,9 @@ dependencies = [ [[package]] name = "log" -version = "0.4.20" +version = "0.4.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f" +checksum = "90ed8c1e510134f979dbc4f070f87d4313098b704861a105fe34231c70a3901c" [[package]] name = "lru" @@ -6067,50 +6544,50 @@ dependencies = [ [[package]] name = "macro_magic" -version = "0.4.2" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aee866bfee30d2d7e83835a4574aad5b45adba4cc807f2a3bbba974e5d4383c9" +checksum = "e03844fc635e92f3a0067e25fa4bf3e3dbf3f2927bf3aa01bb7bc8f1c428949d" dependencies = [ "macro_magic_core", "macro_magic_macros", "quote", - "syn 2.0.42", + "syn 2.0.58", ] [[package]] name = "macro_magic_core" -version = "0.4.2" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e766a20fd9c72bab3e1e64ed63f36bd08410e75803813df210d1ce297d7ad00" +checksum = "468155613a44cfd825f1fb0ffa532b018253920d404e6fca1e8d43155198a46d" dependencies = [ "const-random", - "derive-syn-parse", + "derive-syn-parse 0.1.5", "macro_magic_core_macros", "proc-macro2", "quote", - "syn 2.0.42", + "syn 2.0.58", ] [[package]] name = "macro_magic_core_macros" -version = "0.4.3" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d710e1214dffbab3b5dacb21475dde7d6ed84c69ff722b3a47a782668d44fbac" +checksum = "9ea73aa640dc01d62a590d48c0c3521ed739d53b27f919b25c3551e233481654" dependencies = [ "proc-macro2", "quote", - "syn 2.0.42", + "syn 2.0.58", ] [[package]] name = "macro_magic_macros" -version = "0.4.2" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8fb85ec1620619edf2984a7693497d4ec88a9665d8b87e942856884c92dbf2a" +checksum = "ef9d79ae96aaba821963320eb2b6e34d17df1e5a83d8a1985c29cc5be59577b3" dependencies = [ "macro_magic_core", "quote", - "syn 2.0.42", + "syn 2.0.58", ] [[package]] @@ -6134,6 +6611,15 @@ dependencies = [ "regex-automata 0.1.10", ] +[[package]] +name = "matchers" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8263075bb86c5a1b1427b5ae862e8889656f126e9f77c484496e8b47cf5c5558" +dependencies = [ + "regex-automata 0.1.10", +] + [[package]] name = "matches" version = "0.1.10" @@ -6152,9 +6638,9 @@ dependencies = [ [[package]] name = "memchr" -version = "2.6.4" +version = "2.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f665ee40bc4a3c5590afb1e9677db74a508659dfd71e126420da8274909a0167" +checksum = "6c8640c5d730cb13ebd907d8d04b52f55ac9a2eec55b440c8892f40d56c76c1d" [[package]] name = "memfd" @@ -6162,7 +6648,7 @@ version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b2cffa4ad52c6f791f4f8b15f0c05f9824b2ced1160e88cc393d64fff9a8ac64" dependencies = [ - "rustix 0.38.28", + "rustix 0.38.32", ] [[package]] @@ -6175,19 +6661,19 @@ dependencies = [ ] [[package]] -name = "memoffset" -version = "0.8.0" +name = "memmap2" +version = "0.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d61c719bcfbcf5d62b3a09efa6088de8c54bc0bfcd3ea7ae39fcc186108b8de1" +checksum = "fe751422e4a8caa417e13c3ea66452215d7d63e19e604f4980461212f3ae1322" dependencies = [ - "autocfg", + "libc", ] [[package]] name = "memoffset" -version = "0.9.0" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a634b1c61a95585bd15607c6ab0c4e5b226e695ff2800ba0cdccddf208c406c" +checksum = "d61c719bcfbcf5d62b3a09efa6088de8c54bc0bfcd3ea7ae39fcc186108b8de1" dependencies = [ "autocfg", ] @@ -6201,18 +6687,6 @@ dependencies = [ "hash-db 0.16.0", ] -[[package]] -name = "merlin" -version = "2.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e261cf0f8b3c42ded9f7d2bb59dea03aa52bc8a1cbc7482f9fc3fd1229d3b42" -dependencies = [ - "byteorder", - "keccak", - "rand_core 0.5.1", - "zeroize", -] - [[package]] name = "merlin" version = "3.0.0" @@ -6232,7 +6706,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "69672161530e8aeca1d1400fbf3f1a1747ff60ea604265a4e906c2442df20532" dependencies = [ "futures", - "rand 0.8.5", + "rand", "thrift", ] @@ -6244,57 +6718,81 @@ checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" [[package]] name = "miniz_oxide" -version = "0.7.1" +version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7810e0be55b428ada41041c41f32c9f1a42817901b4ccf45fa3d4b6561e74c7" +checksum = "9d811f3e15f28568be3407c8e7fdb6514c1cda3cb30683f15b6a1a1dc4ea14a7" dependencies = [ "adler", ] [[package]] name = "mio" -version = "0.8.10" +version = "0.8.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f3d0b296e374a4e6f3c7b0a1f5a51d748a0d34c85e7dc48fc3fa9a87657fe09" +checksum = "a4a650543ca06a924e8b371db273b2756685faae30f8487da1b56505a8f78b0c" dependencies = [ "libc", "wasi 0.11.0+wasi-snapshot-preview1", "windows-sys 0.48.0", ] +[[package]] +name = "mixnet" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "daa3eb39495d8e2e2947a1d862852c90cc6a4a8845f8b41c8829cb9fcc047f4a" +dependencies = [ + "arrayref", + "arrayvec 0.7.4", + "bitflags 1.3.2", + "blake2 0.10.6", + "c2-chacha", + "curve25519-dalek 4.1.2", + "either", + "hashlink", + "lioness", + "log", + "parking_lot 0.12.1", + "rand", + "rand_chacha 0.3.1", + "rand_distr", + "subtle 2.5.0", + "thiserror", + "zeroize", +] + [[package]] name = "mmr-gadget" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "29.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "futures", "log", "parity-scale-codec", - "sc-client-api", + "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sc-offchain", - "sp-api", - "sp-blockchain", - "sp-consensus", + "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-consensus-beefy", - "sp-core", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-mmr-primitives", - "sp-runtime", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "mmr-rpc" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "anyhow", - "jsonrpsee 0.16.3", + "jsonrpsee 0.20.3", "parity-scale-codec", "serde", - "sp-api", - "sp-blockchain", - "sp-core", + "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-mmr-primitives", - "sp-runtime", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] @@ -6328,12 +6826,12 @@ dependencies = [ name = "module-evm-utility" version = "2.21.0" dependencies = [ - "ethereum", + "ethereum 0.14.0", "evm 0.36.0", "evm-gasometer 0.36.0", "evm-runtime 0.36.0", "sha3", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] @@ -6357,7 +6855,7 @@ dependencies = [ "data-encoding", "log", "multibase", - "multihash", + "multihash 0.17.0", "percent-encoding", "serde", "static_assertions", @@ -6387,12 +6885,55 @@ dependencies = [ "blake3", "core2", "digest 0.10.7", - "multihash-derive", + "multihash-derive 0.8.0", "sha2 0.10.8", "sha3", "unsigned-varint", ] +[[package]] +name = "multihash" +version = "0.18.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cfd8a792c1694c6da4f68db0a9d707c72bd260994da179e6030a5dcee00bb815" +dependencies = [ + "core2", + "digest 0.10.7", + "multihash-derive 0.8.0", + "sha2 0.10.8", + "unsigned-varint", +] + +[[package]] +name = "multihash" +version = "0.19.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "076d548d76a0e2a0d4ab471d0b1c36c577786dfc4471242035d97a12a735c492" +dependencies = [ + "core2", + "unsigned-varint", +] + +[[package]] +name = "multihash-codetable" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f6d815ecb3c8238d00647f8630ede7060a642c9f704761cd6082cb4028af6935" +dependencies = [ + "blake2b_simd", + "blake2s_simd", + "blake3", + "core2", + "digest 0.10.7", + "multihash-derive 0.9.0", + "ripemd", + "serde", + "sha1", + "sha2 0.10.8", + "sha3", + "strobe-rs", +] + [[package]] name = "multihash-derive" version = "0.8.0" @@ -6407,6 +6948,31 @@ dependencies = [ "synstructure", ] +[[package]] +name = "multihash-derive" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "890e72cb7396cb99ed98c1246a97b243cc16394470d94e0bc8b0c2c11d84290e" +dependencies = [ + "core2", + "multihash 0.19.1", + "multihash-derive-impl", +] + +[[package]] +name = "multihash-derive-impl" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d38685e08adb338659871ecfc6ee47ba9b22dcc8abcf6975d379cc49145c3040" +dependencies = [ + "proc-macro-crate 1.3.1", + "proc-macro-error", + "proc-macro2", + "quote", + "syn 1.0.109", + "synstructure", +] + [[package]] name = "multimap" version = "0.8.3" @@ -6429,9 +6995,9 @@ dependencies = [ [[package]] name = "nalgebra" -version = "0.32.3" +version = "0.32.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "307ed9b18cc2423f29e83f84fd23a8e73628727990181f18641a8b5dc2ab1caa" +checksum = "3ea4908d4f23254adda3daa60ffef0f1ac7b8c3e9a864cf3cc154b251908a2ef" dependencies = [ "approx", "matrixmultiply", @@ -6456,11 +7022,11 @@ dependencies = [ [[package]] name = "names" -version = "0.13.0" +version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7d66043b25d4a6cccb23619d10c19c25304b355a7dccd4a8e11423dd2382146" +checksum = "7bddcd3bf5144b6392de80e04c347cd7fab2508f6df16a85fc496ecd5cec39bc" dependencies = [ - "rand 0.8.5", + "rand", ] [[package]] @@ -6524,9 +7090,9 @@ dependencies = [ [[package]] name = "netlink-sys" -version = "0.8.5" +version = "0.8.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6471bf08e7ac0135876a9581bf3217ef0333c191c128d34878079f42ee150411" +checksum = "416060d346fbaf1f23f9512963e3e878f1a78e707cb699ba9215761754244307" dependencies = [ "bytes", "futures", @@ -6546,6 +7112,17 @@ dependencies = [ "libc", ] +[[package]] +name = "nix" +version = "0.27.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2eb04e9c688eff1c89d72b407f168cf79bb9e867a9d3323ed6c01519eb9cc053" +dependencies = [ + "bitflags 2.5.0", + "cfg-if", + "libc", +] + [[package]] name = "no-std-net" version = "0.6.0" @@ -6580,6 +7157,16 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "61807f77802ff30975e01f4f071c8ba10c022052f98b3294119f3e615d13e5be" +[[package]] +name = "nu-ansi-term" +version = "0.46.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77a8165726e8236064dbb45459242600304b42a5ea24ee2948e18e023bf7ba84" +dependencies = [ + "overload", + "winapi", +] + [[package]] name = "num" version = "0.4.1" @@ -6607,13 +7194,19 @@ dependencies = [ [[package]] name = "num-complex" -version = "0.4.4" +version = "0.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ba157ca0885411de85d6ca030ba7e2a83a28636056c7c699b07c8b6f7383214" +checksum = "23c6602fda94a57c990fe0df199a035d83576b496aa29f4e634a8ac6004e68a6" dependencies = [ "num-traits", ] +[[package]] +name = "num-conv" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9" + [[package]] name = "num-format" version = "0.4.4" @@ -6626,11 +7219,10 @@ dependencies = [ [[package]] name = "num-integer" -version = "0.1.45" +version = "0.1.46" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "225d3389fb3509a24c93f5c29eb6bde2586b98d9f016636dff58d7c6f7569cd9" +checksum = "7969661fd2958a5cb096e56c8e1ad0444ac2bbcd0061bd28660485a44879858f" dependencies = [ - "autocfg", "num-traits", ] @@ -6659,9 +7251,9 @@ dependencies = [ [[package]] name = "num-traits" -version = "0.2.17" +version = "0.2.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "39e3200413f237f41ab11ad6d161bc7239c84dcb631773ccd7de3dfe4b5c267c" +checksum = "da0df0e5185db44f69b44f26786fe401b6c293d1907744beaa7fa62b2e5a517a" dependencies = [ "autocfg", "libm", @@ -6673,7 +7265,7 @@ version = "1.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43" dependencies = [ - "hermit-abi 0.3.3", + "hermit-abi 0.3.9", "libc", ] @@ -6688,11 +7280,11 @@ dependencies = [ [[package]] name = "num_enum" -version = "0.6.1" +version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a015b430d3c108a207fd776d2e2196aaf8b1cf8cf93253e3a097ff3085076a1" +checksum = "02339744ee7253741199f897151b38e72257d13802d4ee837285cc2990a90845" dependencies = [ - "num_enum_derive 0.6.1", + "num_enum_derive 0.7.2", ] [[package]] @@ -6708,14 +7300,14 @@ dependencies = [ [[package]] name = "num_enum_derive" -version = "0.6.1" +version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96667db765a921f7b295ffee8b60472b686a51d4f21c2ee4ffdb94c7013b65a6" +checksum = "681030a937600a36906c185595136d26abfebb4aa9c65701cefcaf8578bb982b" dependencies = [ - "proc-macro-crate 1.3.1", + "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.42", + "syn 2.0.58", ] [[package]] @@ -6738,9 +7330,9 @@ dependencies = [ [[package]] name = "object" -version = "0.32.1" +version = "0.32.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9cf5f9dd3933bd50a9e1f149ec995f39ae2c496d31fd772c1fd45ebc27e902b0" +checksum = "a6a622008b6e321afc04970976f62ee297fdbaa6f95318ca343e3eebb9648441" dependencies = [ "memchr", ] @@ -6774,9 +7366,9 @@ checksum = "2839e79665f131bdb5782e51f2c6c9599c133c6098982a54c794358bf432529c" [[package]] name = "opaque-debug" -version = "0.3.0" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "624a8340c38c1b80fd549087862da4ba43e08858af025b236e509b6649fc13d5" +checksum = "c08d65885ee38876c4f86fa503fb49d7b507c2b62552df7c70b2fce627e06381" [[package]] name = "openssl-probe" @@ -6784,11 +7376,17 @@ version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" +[[package]] +name = "option-ext" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "04744f49eae99ab78e0d5c0b603ab218f515ea8cfe5a456d7629ad883a3b6e7d" + [[package]] name = "orchestra" -version = "0.0.5" +version = "0.3.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "227585216d05ba65c7ab0a0450a3cf2cbd81a98862a54c4df8e14d5ac6adb015" +checksum = "2356622ffdfe72362a45a1e5e87bb113b8327e596e39b91f11f0ef4395c8da79" dependencies = [ "async-trait", "dyn-clonable", @@ -6803,12 +7401,13 @@ dependencies = [ [[package]] name = "orchestra-proc-macro" -version = "0.0.5" +version = "0.3.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2871aadd82a2c216ee68a69837a526dfe788ecbe74c4c5038a6acdbff6653066" +checksum = "eedb646674596266dc9bb2b5c7eea7c36b32ecc7777eba0d510196972d72c4fd" dependencies = [ - "expander 0.0.6", - "itertools 0.10.5", + "expander 2.1.0", + "indexmap 2.2.6", + "itertools 0.11.0", "petgraph", "proc-macro-crate 1.3.1", "proc-macro2", @@ -6827,47 +7426,47 @@ dependencies = [ [[package]] name = "orml-benchmarking" -version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack/open-runtime-module-library?rev=b3694e631df7f1ca16b1973122937753fcdee9d4#b3694e631df7f1ca16b1973122937753fcdee9d4" +version = "0.8.0" +source = "git+https://github.com/galacticcouncil/open-runtime-module-library?branch=polkadot-v1.7.2#c1fbd5a34168830e3614a1cd4724135e7a3c1236" dependencies = [ - "frame-benchmarking", - "frame-support", + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "log", "parity-scale-codec", "paste", "scale-info", "serde", - "sp-api", - "sp-io", - "sp-runtime", - "sp-runtime-interface", - "sp-std", - "sp-storage", + "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "orml-tokens" -version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack/open-runtime-module-library?rev=b3694e631df7f1ca16b1973122937753fcdee9d4#b3694e631df7f1ca16b1973122937753fcdee9d4" +version = "0.8.0" +source = "git+https://github.com/galacticcouncil/open-runtime-module-library?branch=polkadot-v1.7.2#c1fbd5a34168830e3614a1cd4724135e7a3c1236" dependencies = [ - "frame-support", - "frame-system", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "log", "orml-traits", "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic", - "sp-runtime", - "sp-std", + "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "orml-traits" -version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack/open-runtime-module-library?rev=b3694e631df7f1ca16b1973122937753fcdee9d4#b3694e631df7f1ca16b1973122937753fcdee9d4" +version = "0.8.0" +source = "git+https://github.com/galacticcouncil/open-runtime-module-library?branch=polkadot-v1.7.2#c1fbd5a34168830e3614a1cd4724135e7a3c1236" dependencies = [ - "frame-support", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "impl-trait-for-tuples", "num-traits", "orml-utilities", @@ -6875,94 +7474,93 @@ dependencies = [ "paste", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "staging-xcm", ] [[package]] name = "orml-unknown-tokens" -version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack/open-runtime-module-library?rev=b3694e631df7f1ca16b1973122937753fcdee9d4#b3694e631df7f1ca16b1973122937753fcdee9d4" +version = "0.8.0" +source = "git+https://github.com/galacticcouncil/open-runtime-module-library?branch=polkadot-v1.7.2#c1fbd5a34168830e3614a1cd4724135e7a3c1236" dependencies = [ - "frame-support", - "frame-system", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "orml-xcm-support", "parity-scale-codec", "scale-info", "serde", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "staging-xcm", ] [[package]] name = "orml-utilities" -version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack/open-runtime-module-library?rev=b3694e631df7f1ca16b1973122937753fcdee9d4#b3694e631df7f1ca16b1973122937753fcdee9d4" +version = "0.8.0" +source = "git+https://github.com/galacticcouncil/open-runtime-module-library?branch=polkadot-v1.7.2#c1fbd5a34168830e3614a1cd4724135e7a3c1236" dependencies = [ - "frame-support", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "orml-vesting" -version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack/open-runtime-module-library?rev=b3694e631df7f1ca16b1973122937753fcdee9d4#b3694e631df7f1ca16b1973122937753fcdee9d4" +version = "0.8.0" +source = "git+https://github.com/galacticcouncil/open-runtime-module-library?branch=polkadot-v1.7.2#c1fbd5a34168830e3614a1cd4724135e7a3c1236" dependencies = [ - "frame-support", - "frame-system", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "parity-scale-codec", "scale-info", "serde", - "sp-io", - "sp-runtime", - "sp-std", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "orml-xcm" -version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack/open-runtime-module-library?rev=b3694e631df7f1ca16b1973122937753fcdee9d4#b3694e631df7f1ca16b1973122937753fcdee9d4" +version = "0.8.0" +source = "git+https://github.com/galacticcouncil/open-runtime-module-library?branch=polkadot-v1.7.2#c1fbd5a34168830e3614a1cd4724135e7a3c1236" dependencies = [ - "frame-support", - "frame-system", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "pallet-xcm", "parity-scale-codec", "scale-info", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "staging-xcm", ] [[package]] name = "orml-xcm-support" -version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack/open-runtime-module-library?rev=b3694e631df7f1ca16b1973122937753fcdee9d4#b3694e631df7f1ca16b1973122937753fcdee9d4" +version = "0.8.0" +source = "git+https://github.com/galacticcouncil/open-runtime-module-library?branch=polkadot-v1.7.2#c1fbd5a34168830e3614a1cd4724135e7a3c1236" dependencies = [ - "frame-support", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "orml-traits", "parity-scale-codec", - "sp-runtime", - "sp-std", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "staging-xcm", "staging-xcm-executor", ] [[package]] name = "orml-xtokens" -version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack/open-runtime-module-library?rev=b3694e631df7f1ca16b1973122937753fcdee9d4#b3694e631df7f1ca16b1973122937753fcdee9d4" +version = "0.8.0" +source = "git+https://github.com/galacticcouncil/open-runtime-module-library?branch=polkadot-v1.7.2#c1fbd5a34168830e3614a1cd4724135e7a3c1236" dependencies = [ - "cumulus-primitives-core", - "frame-support", - "frame-system", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "log", "orml-traits", "orml-xcm-support", @@ -6970,9 +7568,9 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-io", - "sp-runtime", - "sp-std", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "staging-xcm", "staging-xcm-executor", ] @@ -6983,13 +7581,52 @@ version = "6.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e2355d85b9a3786f481747ced0e0ff2ba35213a1f9bd406ed906554d7af805a1" +[[package]] +name = "overload" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b15813163c1d831bf4a13c3610c05c0d03b39feb07f7e09fa234dac9b15aaf39" + +[[package]] +name = "pallet-asset-conversion" +version = "10.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" +dependencies = [ + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "parity-scale-codec", + "scale-info", + "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", +] + +[[package]] +name = "pallet-asset-rate" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" +dependencies = [ + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "parity-scale-codec", + "scale-info", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", +] + [[package]] name = "pallet-asset-registry" version = "3.1.1" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "hydradx-traits", "log", "orml-tokens", @@ -6999,12 +7636,12 @@ dependencies = [ "primitive-types", "scale-info", "serde", - "sp-api", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "staging-xcm", "substrate-wasm-builder", "test-utils", @@ -7012,153 +7649,154 @@ dependencies = [ [[package]] name = "pallet-asset-tx-payment" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "pallet-transaction-payment", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-assets" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "29.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "log", "parity-scale-codec", "scale-info", - "sp-core", - "sp-runtime", - "sp-std", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-aura" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-support", - "frame-system", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "log", "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-application-crypto", - "sp-consensus-aura", - "sp-runtime", - "sp-std", + "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-consensus-aura 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-authority-discovery" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-support", - "frame-system", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "pallet-session", "parity-scale-codec", "scale-info", - "sp-application-crypto", + "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-authority-discovery", - "sp-runtime", - "sp-std", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-authorship" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-support", - "frame-system", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "impl-trait-for-tuples", "parity-scale-codec", "scale-info", - "sp-runtime", - "sp-std", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-babe" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "log", "pallet-authorship", "pallet-session", "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-application-crypto", + "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-consensus-babe", - "sp-core", - "sp-io", - "sp-runtime", - "sp-session", - "sp-staking", - "sp-std", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-session 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-staking 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-bags-list" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "aquamarine", "docify", - "frame-benchmarking", + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "frame-election-provider-support", - "frame-support", - "frame-system", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "log", "pallet-balances", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", - "sp-tracing", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-balances" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "docify", + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "log", "parity-scale-codec", "scale-info", - "sp-runtime", - "sp-std", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-beefy" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-support", - "frame-system", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "log", "pallet-authorship", "pallet-session", @@ -7166,21 +7804,21 @@ dependencies = [ "scale-info", "serde", "sp-consensus-beefy", - "sp-runtime", - "sp-session", - "sp-staking", - "sp-std", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-session 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-staking 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-beefy-mmr" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "array-bytes", + "array-bytes 6.2.2", "binary-merkle-tree", - "frame-support", - "frame-system", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "log", "pallet-beefy", "pallet-mmr", @@ -7188,22 +7826,22 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api", + "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-consensus-beefy", - "sp-core", - "sp-io", - "sp-runtime", - "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-state-machine 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-bonds" version = "2.2.0" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "hydradx-traits", "log", "orml-tokens", @@ -7214,57 +7852,74 @@ dependencies = [ "primitive-types", "primitives", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", - "sp-tracing", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-bounties" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "log", "pallet-treasury", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", +] + +[[package]] +name = "pallet-broker" +version = "0.6.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" +dependencies = [ + "bitvec", + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "parity-scale-codec", + "scale-info", + "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-child-bounties" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "log", "pallet-bounties", "pallet-treasury", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-circuit-breaker" version = "1.1.20" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "hydra-dx-math", "hydradx-traits", "orml-tokens", @@ -7275,10 +7930,10 @@ dependencies = [ "pretty_assertions", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "test-case 3.3.1", "test-utils", ] @@ -7287,9 +7942,9 @@ dependencies = [ name = "pallet-claims" version = "3.4.8" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "hex", "hex-literal 0.3.4", "lazy_static", @@ -7299,19 +7954,19 @@ dependencies = [ "rustc-hex", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-collator-rewards" version = "1.0.6" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "log", "orml-tokens", "orml-traits", @@ -7320,74 +7975,74 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-staking", - "sp-std", + "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-staking 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "substrate-wasm-builder", ] [[package]] name = "pallet-collator-selection" -version = "3.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "9.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "log", "pallet-authorship", "pallet-session", "parity-scale-codec", - "rand 0.8.5", + "rand", "scale-info", - "sp-runtime", - "sp-staking", - "sp-std", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-staking 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-collective" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "log", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-conviction-voting" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "assert_matches", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "parity-scale-codec", "scale-info", "serde", - "sp-io", - "sp-runtime", - "sp-std", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-currencies" version = "2.1.0" dependencies = [ - "frame-support", - "frame-system", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "orml-tokens", "orml-traits", "orml-utilities", @@ -7395,10 +8050,10 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] @@ -7407,9 +8062,9 @@ version = "1.4.1" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-primitives-core", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "hydra-dx-math", "hydradx-adapters", "hydradx-traits", @@ -7426,64 +8081,64 @@ dependencies = [ "pretty_assertions", "primitive-types", "primitives", - "rand 0.8.5", + "rand", "scale-info", "smallvec", - "sp-api", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", - "sp-tracing", + "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "test-case 2.2.2", "test-utils", ] [[package]] name = "pallet-democracy" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "4.1.0" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "log", + "pallet-balances", + "pallet-preimage", + "pallet-scheduler", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-democracy" -version = "4.1.0" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "log", - "pallet-balances", - "pallet-preimage", - "pallet-scheduler", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-duster" version = "3.2.4" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "hydradx-traits", "lazy_static", "log", @@ -7494,10 +8149,10 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "substrate-wasm-builder", ] @@ -7505,9 +8160,9 @@ dependencies = [ name = "pallet-dynamic-evm-fee" version = "1.0.0" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "hydra-dx-math", "hydradx-traits", "log", @@ -7520,11 +8175,11 @@ dependencies = [ "parity-scale-codec", "primitives", "scale-info", - "sp-api", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "test-utils", ] @@ -7532,84 +8187,84 @@ dependencies = [ name = "pallet-dynamic-fees" version = "1.0.2" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "hydra-dx-math", "orml-traits", "parity-scale-codec", "proptest", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-election-provider-multi-phase" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-benchmarking", + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "frame-election-provider-support", - "frame-support", - "frame-system", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "log", "pallet-election-provider-support-benchmarking", "parity-scale-codec", - "rand 0.8.5", + "rand", "scale-info", - "sp-arithmetic", - "sp-core", - "sp-io", + "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-npos-elections", - "sp-runtime", - "sp-std", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "strum 0.24.1", ] [[package]] name = "pallet-election-provider-support-benchmarking" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-benchmarking", + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "frame-election-provider-support", - "frame-system", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "parity-scale-codec", "sp-npos-elections", - "sp-runtime", - "sp-std", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-elections-phragmen" -version = "5.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "29.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "log", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-npos-elections", - "sp-runtime", - "sp-staking", - "sp-std", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-staking 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-ema-oracle" version = "1.2.1" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "hydra-dx-math", "hydradx-traits", "log", @@ -7619,49 +8274,50 @@ dependencies = [ "rug", "scale-info", "serde", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-ethereum" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?rev=bf5885a982041cc744ecbb62a2afc13d56d464dc#bf5885a982041cc744ecbb62a2afc13d56d464dc" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#101e61fba183bcfd1e75d0d6f9fc5bec0020dd3a" dependencies = [ "environmental", - "ethereum", + "ethereum 0.15.0", "ethereum-types", - "evm 0.39.1", + "evm 0.41.1", "fp-consensus", "fp-ethereum", "fp-evm", "fp-rpc", "fp-storage", - "frame-support", - "frame-system", + "frame-support 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", "pallet-evm", "parity-scale-codec", "scale-info", - "sp-io", - "sp-runtime", - "sp-std", + "sp-io 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", ] [[package]] name = "pallet-evm" version = "6.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?rev=bf5885a982041cc744ecbb62a2afc13d56d464dc#bf5885a982041cc744ecbb62a2afc13d56d464dc" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#101e61fba183bcfd1e75d0d6f9fc5bec0020dd3a" dependencies = [ "environmental", - "evm 0.39.1", + "evm 0.41.1", "fp-account", "fp-evm", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "frame-support 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "hash-db 0.16.0", "hex", "hex-literal 0.4.1", "impl-trait-for-tuples", @@ -7669,28 +8325,28 @@ dependencies = [ "parity-scale-codec", "rlp", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", ] [[package]] name = "pallet-evm-accounts" version = "1.1.1" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "hex-literal 0.4.1", "hydradx-traits", "orml-tokens", "orml-traits", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-std", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "test-utils", ] @@ -7699,25 +8355,24 @@ name = "pallet-evm-accounts-rpc-runtime-api" version = "1.0.0" dependencies = [ "parity-scale-codec", - "sp-api", + "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-evm-chain-id" version = "1.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?rev=bf5885a982041cc744ecbb62a2afc13d56d464dc#bf5885a982041cc744ecbb62a2afc13d56d464dc" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#101e61fba183bcfd1e75d0d6f9fc5bec0020dd3a" dependencies = [ - "frame-support", - "frame-system", + "frame-support 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", "parity-scale-codec", "scale-info", - "sp-runtime", ] [[package]] name = "pallet-evm-precompile-blake2" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?rev=bf5885a982041cc744ecbb62a2afc13d56d464dc#bf5885a982041cc744ecbb62a2afc13d56d464dc" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#101e61fba183bcfd1e75d0d6f9fc5bec0020dd3a" dependencies = [ "fp-evm", ] @@ -7725,29 +8380,29 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-bn128" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?rev=bf5885a982041cc744ecbb62a2afc13d56d464dc#bf5885a982041cc744ecbb62a2afc13d56d464dc" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#101e61fba183bcfd1e75d0d6f9fc5bec0020dd3a" dependencies = [ "fp-evm", - "sp-core", + "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", "substrate-bn", ] [[package]] name = "pallet-evm-precompile-dispatch" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?rev=bf5885a982041cc744ecbb62a2afc13d56d464dc#bf5885a982041cc744ecbb62a2afc13d56d464dc" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#101e61fba183bcfd1e75d0d6f9fc5bec0020dd3a" dependencies = [ "fp-evm", - "frame-support", + "frame-support 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", "pallet-evm", "parity-scale-codec", - "sp-runtime", + "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", ] [[package]] name = "pallet-evm-precompile-modexp" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?rev=bf5885a982041cc744ecbb62a2afc13d56d464dc#bf5885a982041cc744ecbb62a2afc13d56d464dc" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#101e61fba183bcfd1e75d0d6f9fc5bec0020dd3a" dependencies = [ "fp-evm", "num", @@ -7756,30 +8411,30 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-simple" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?rev=bf5885a982041cc744ecbb62a2afc13d56d464dc#bf5885a982041cc744ecbb62a2afc13d56d464dc" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#101e61fba183bcfd1e75d0d6f9fc5bec0020dd3a" dependencies = [ "fp-evm", "ripemd", - "sp-io", + "sp-io 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", ] [[package]] name = "pallet-fast-unstake" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "docify", - "frame-benchmarking", + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "frame-election-provider-support", - "frame-support", - "frame-system", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "log", "parity-scale-codec", "scale-info", - "sp-io", - "sp-runtime", - "sp-staking", - "sp-std", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-staking 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] @@ -7787,102 +8442,103 @@ name = "pallet-genesis-history" version = "2.1.1" dependencies = [ "derive_more", - "frame-support", - "frame-system", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "hex-literal 0.4.1", "log", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-grandpa" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "log", "pallet-authorship", "pallet-session", "parity-scale-codec", "scale-info", - "sp-application-crypto", - "sp-consensus-grandpa", - "sp-core", - "sp-io", - "sp-runtime", - "sp-session", - "sp-staking", - "sp-std", + "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-consensus-grandpa 13.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-session 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-staking 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-identity" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "enumflags2", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "log", "parity-scale-codec", "scale-info", - "sp-io", - "sp-runtime", - "sp-std", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-im-online" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "log", "pallet-authorship", "parity-scale-codec", "scale-info", - "sp-application-crypto", - "sp-core", - "sp-io", - "sp-runtime", - "sp-staking", - "sp-std", + "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-staking 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-indices" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-keyring", - "sp-runtime", - "sp-std", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-lbp" version = "4.7.4" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "hydra-dx-math", "hydradx-traits", "orml-tokens", @@ -7893,10 +8549,10 @@ dependencies = [ "rug", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "substrate-wasm-builder", "test-utils", ] @@ -7906,8 +8562,8 @@ name = "pallet-liquidity-mining" version = "4.3.0" dependencies = [ "fixed", - "frame-support", - "frame-system", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "hydra-dx-math", "hydradx-traits", "orml-tokens", @@ -7916,93 +8572,94 @@ dependencies = [ "parity-scale-codec", "pretty_assertions", "proptest", - "rand 0.8.5", + "rand", "scale-info", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "test-utils", ] [[package]] name = "pallet-membership" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "log", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-message-queue" -version = "7.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "31.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "environmental", + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "log", "parity-scale-codec", "scale-info", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", - "sp-weights", + "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-weights 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-mmr" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "log", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-mmr-primitives", - "sp-runtime", - "sp-std", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-multisig" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "log", "parity-scale-codec", "scale-info", - "sp-io", - "sp-runtime", - "sp-std", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-nft" version = "7.1.2" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "hydradx-traits", "log", "pallet-balances", @@ -8010,104 +8667,104 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-nis" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "parity-scale-codec", "scale-info", - "sp-arithmetic", - "sp-core", - "sp-runtime", - "sp-std", + "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-nomination-pools" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "25.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-support", - "frame-system", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "log", "pallet-balances", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-staking", - "sp-std", - "sp-tracing", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-staking 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-nomination-pools-benchmarking" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "26.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-benchmarking", + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "frame-election-provider-support", - "frame-support", - "frame-system", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "pallet-bags-list", "pallet-nomination-pools", - "pallet-staking 4.0.0-dev", + "pallet-staking 28.0.0", "parity-scale-codec", "scale-info", - "sp-runtime", - "sp-runtime-interface", - "sp-staking", - "sp-std", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-staking 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-nomination-pools-runtime-api" -version = "1.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "23.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "pallet-nomination-pools", "parity-scale-codec", - "sp-api", - "sp-std", + "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-offences" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-support", - "frame-system", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "log", "pallet-balances", "parity-scale-codec", "scale-info", "serde", - "sp-runtime", - "sp-staking", - "sp-std", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-staking 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-offences-benchmarking" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-benchmarking", + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "frame-election-provider-support", - "frame-support", - "frame-system", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "log", "pallet-babe", "pallet-balances", @@ -8115,12 +8772,12 @@ dependencies = [ "pallet-im-online", "pallet-offences", "pallet-session", - "pallet-staking 4.0.0-dev", + "pallet-staking 28.0.0", "parity-scale-codec", "scale-info", - "sp-runtime", - "sp-staking", - "sp-std", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-staking 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] @@ -8128,9 +8785,9 @@ name = "pallet-omnipool" version = "4.1.4" dependencies = [ "bitflags 1.3.2", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "hydra-dx-math", "hydradx-traits", "impl-trait-for-tuples", @@ -8143,20 +8800,20 @@ dependencies = [ "primitive-types", "proptest", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", - "sp-tracing", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-omnipool-liquidity-mining" version = "2.1.2" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "hydra-dx-math", "hydradx-traits", "log", @@ -8171,19 +8828,19 @@ dependencies = [ "primitive-types", "primitives", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-otc" version = "1.1.0" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "hydradx-traits", "orml-tokens", "orml-traits", @@ -8191,105 +8848,106 @@ dependencies = [ "pretty_assertions", "proptest", "scale-info", - "sp-api", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "test-utils", ] [[package]] name = "pallet-preimage" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "log", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-proxy" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "parity-scale-codec", "scale-info", - "sp-io", - "sp-runtime", - "sp-std", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-ranked-collective" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "impl-trait-for-tuples", "log", "parity-scale-codec", "scale-info", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-recovery" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "parity-scale-codec", "scale-info", - "sp-io", - "sp-runtime", - "sp-std", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-referenda" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "assert_matches", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "log", "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic", - "sp-io", - "sp-runtime", - "sp-std", + "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-referrals" version = "1.2.3" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "hex-literal 0.3.4", "hydra-dx-math", "hydradx-traits", @@ -8298,11 +8956,11 @@ dependencies = [ "parity-scale-codec", "pretty_assertions", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", - "sp-tracing", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] @@ -8311,21 +8969,36 @@ version = "0.3.4" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-primitives-core", - "frame-support", - "frame-system", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "parity-scale-codec", + "scale-info", + "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", +] + +[[package]] +name = "pallet-root-testing" +version = "4.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" +dependencies = [ + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "parity-scale-codec", "scale-info", - "sp-api", - "sp-std", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-route-executor" version = "2.2.0" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "hydradx-adapters", "hydradx-traits", "orml-tokens", @@ -8336,86 +9009,86 @@ dependencies = [ "pretty_assertions", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "test-utils", ] [[package]] name = "pallet-scheduler" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "29.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "docify", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "log", "parity-scale-codec", "scale-info", - "sp-io", - "sp-runtime", - "sp-std", - "sp-weights", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-weights 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-session" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-support", - "frame-system", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "impl-trait-for-tuples", "log", "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-session", - "sp-staking", - "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std", - "sp-trie", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-session 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-staking 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-state-machine 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-trie 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-session-benchmarking" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "pallet-session", - "pallet-staking 4.0.0-dev", + "pallet-staking 28.0.0", "parity-scale-codec", - "rand 0.8.5", - "sp-runtime", - "sp-session", - "sp-std", + "rand", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-session 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-society" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "log", "parity-scale-codec", "rand_chacha 0.2.2", "scale-info", - "sp-arithmetic", - "sp-io", - "sp-runtime", - "sp-std", + "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] @@ -8423,9 +9096,9 @@ name = "pallet-stableswap" version = "3.5.0" dependencies = [ "bitflags 1.3.2", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "hydra-dx-math", "hydradx-traits", "orml-tokens", @@ -8434,21 +9107,21 @@ dependencies = [ "proptest", "scale-info", "serde", - "sp-api", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", - "sp-tracing", + "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-staking" version = "3.0.0" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "hydra-dx-math", "log", "orml-tokens", @@ -8460,21 +9133,21 @@ dependencies = [ "pretty_assertions", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-staking" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-benchmarking", + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "frame-election-provider-support", - "frame-support", - "frame-system", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "log", "pallet-authorship", "pallet-session", @@ -8482,118 +9155,121 @@ dependencies = [ "rand_chacha 0.2.2", "scale-info", "serde", - "sp-application-crypto", - "sp-io", - "sp-runtime", - "sp-staking", - "sp-std", + "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-staking 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-staking-reward-curve" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "11.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "proc-macro-crate 1.3.1", + "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.42", + "syn 2.0.58", ] [[package]] name = "pallet-staking-reward-fn" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "19.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "log", - "sp-arithmetic", + "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-staking-runtime-api" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "14.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "parity-scale-codec", - "sp-api", + "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-staking 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-state-trie-migration" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "29.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "log", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-sudo" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "docify", + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "parity-scale-codec", "scale-info", - "sp-io", - "sp-runtime", - "sp-std", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-timestamp" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "docify", + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "log", "parity-scale-codec", "scale-info", - "sp-inherents", - "sp-io", - "sp-runtime", - "sp-std", - "sp-storage", - "sp-timestamp", + "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-timestamp 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-tips" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "log", "pallet-treasury", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-transaction-multi-payment" version = "9.5.0" dependencies = [ - "frame-support", - "frame-system", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "hydra-dx-math", "hydradx-traits", "orml-tokens", @@ -8607,11 +9283,11 @@ dependencies = [ "parity-scale-codec", "primitives", "scale-info", - "sp-api", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "test-utils", ] @@ -8619,9 +9295,9 @@ dependencies = [ name = "pallet-transaction-pause" version = "1.0.1" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "log", "orml-tokens", "orml-traits", @@ -8629,170 +9305,174 @@ dependencies = [ "parity-scale-codec", "scale-info", "smallvec", - "sp-api", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-transaction-payment" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-support", - "frame-system", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-transaction-payment-rpc" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "30.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "jsonrpsee 0.16.3", + "jsonrpsee 0.20.3", "pallet-transaction-payment-rpc-runtime-api", "parity-scale-codec", - "sp-api", - "sp-blockchain", - "sp-core", - "sp-rpc", - "sp-runtime", - "sp-weights", + "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-rpc 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-weights 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-transaction-payment-rpc-runtime-api" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", - "sp-api", - "sp-runtime", - "sp-weights", + "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-weights 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-treasury" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "docify", + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "impl-trait-for-tuples", "pallet-balances", "parity-scale-codec", "scale-info", "serde", - "sp-runtime", - "sp-std", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-uniques" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "log", "parity-scale-codec", "scale-info", - "sp-runtime", - "sp-std", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-utility" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-vesting" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "log", "parity-scale-codec", "scale-info", - "sp-runtime", - "sp-std", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-whitelist" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "parity-scale-codec", "scale-info", - "sp-api", - "sp-runtime", - "sp-std", + "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-xcm" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "bounded-collections", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "log", + "pallet-balances", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "staging-xcm", + "staging-xcm-builder", "staging-xcm-executor", ] [[package]] name = "pallet-xcm-benchmarks" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "log", "parity-scale-codec", "scale-info", - "sp-io", - "sp-runtime", - "sp-std", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", @@ -8803,9 +9483,9 @@ name = "pallet-xcm-rate-limiter" version = "0.1.5" dependencies = [ "cumulus-pallet-xcmp-queue", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "hydra-dx-math", "hydradx-traits", "orml-tokens", @@ -8818,10 +9498,10 @@ dependencies = [ "pretty_assertions", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "staging-xcm", ] @@ -8829,9 +9509,9 @@ dependencies = [ name = "pallet-xyk" version = "6.4.0" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "hydra-dx-math", "hydradx-traits", "log", @@ -8843,82 +9523,64 @@ dependencies = [ "proptest", "scale-info", "serde", - "sp-api", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "substrate-wasm-builder", ] -[[package]] -name = "parachain-info" -version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" -dependencies = [ - "cumulus-primitives-core", - "frame-support", - "frame-system", - "parity-scale-codec", - "scale-info", - "sp-runtime", - "sp-std", -] - [[package]] name = "parachains-common" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "cumulus-primitives-core", "cumulus-primitives-utility", - "frame-support", - "frame-system", - "kusama-runtime-constants", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "log", - "num-traits", "pallet-asset-tx-payment", "pallet-assets", "pallet-authorship", "pallet-balances", "pallet-collator-selection", + "pallet-message-queue", + "pallet-xcm", "parity-scale-codec", - "polkadot-core-primitives", "polkadot-primitives", - "polkadot-runtime-constants", - "rococo-runtime-constants", "scale-info", - "smallvec", - "sp-consensus-aura", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-consensus-aura 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "staging-parachain-info", "staging-xcm", - "staging-xcm-builder", "staging-xcm-executor", "substrate-wasm-builder", - "westend-runtime-constants", ] [[package]] name = "parity-db" -version = "0.4.12" +version = "0.4.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59e9ab494af9e6e813c72170f0d3c1de1500990d62c97cc05cc7576f91aa402f" +checksum = "592a28a24b09c9dc20ac8afaa6839abc417c720afe42c12e1e4a9d6aa2508d2e" dependencies = [ - "blake2", + "blake2 0.10.6", "crc32fast", "fs2", "hex", "libc", "log", "lz4", - "memmap2", + "memmap2 0.5.10", "parking_lot 0.12.1", - "rand 0.8.5", + "rand", "siphasher", "snap", + "winapi", ] [[package]] @@ -8942,7 +9604,7 @@ version = "3.6.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "be30eaf4b0a9fba5336683b38de57bb86d179a35862ba6bfcf57625d006bde5b" dependencies = [ - "proc-macro-crate 2.0.1", + "proc-macro-crate 2.0.0", "proc-macro2", "quote", "syn 1.0.109", @@ -9032,16 +9694,7 @@ version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d95f5254224e617595d2cc3cc73ff0a5eaf2637519e25f03388154e9378b6ffa" dependencies = [ - "crypto-mac 0.11.1", -] - -[[package]] -name = "pbkdf2" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83a0692ec44e4cf1ef28ca317f14f8f07da2d95ec3fa01f86e4467b725e60917" -dependencies = [ - "digest 0.10.7", + "crypto-mac 0.11.0", ] [[package]] @@ -9076,9 +9729,9 @@ checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" [[package]] name = "pest" -version = "2.7.5" +version = "2.7.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae9cee2a55a544be8b89dc6848072af97a20f2422603c10865be2a42b580fff5" +checksum = "311fb059dee1a7b802f036316d790138c613a4e8b180c822e3925a662e9f0c95" dependencies = [ "memchr", "thiserror", @@ -9087,9 +9740,9 @@ dependencies = [ [[package]] name = "pest_derive" -version = "2.7.5" +version = "2.7.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81d78524685f5ef2a3b3bd1cafbc9fcabb036253d9b1463e726a91cd16e2dfc2" +checksum = "f73541b156d32197eecda1a4014d7f868fd2bcb3c550d5386087cfba442bf69c" dependencies = [ "pest", "pest_generator", @@ -9097,22 +9750,22 @@ dependencies = [ [[package]] name = "pest_generator" -version = "2.7.5" +version = "2.7.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68bd1206e71118b5356dae5ddc61c8b11e28b09ef6a31acbd15ea48a28e0c227" +checksum = "c35eeed0a3fab112f75165fdc026b3913f4183133f19b49be773ac9ea966e8bd" dependencies = [ "pest", "pest_meta", "proc-macro2", "quote", - "syn 2.0.42", + "syn 2.0.58", ] [[package]] name = "pest_meta" -version = "2.7.5" +version = "2.7.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c747191d4ad9e4a4ab9c8798f1e82a39affe7ef9648390b7e5548d18e099de6" +checksum = "2adbf29bb9776f28caece835398781ab24435585fe0d4dc1374a61db5accedca" dependencies = [ "once_cell", "pest", @@ -9126,27 +9779,27 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e1d3afd2628e69da2be385eb6f2fd57c8ac7977ceeff6dc166ff1657b0e386a9" dependencies = [ "fixedbitset", - "indexmap 2.1.0", + "indexmap 2.2.6", ] [[package]] name = "pin-project" -version = "1.1.3" +version = "1.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fda4ed1c6c173e3fc7a83629421152e01d7b1f9b7f65fb301e490e8cfc656422" +checksum = "b6bf43b791c5b9e34c3d182969b4abb522f9343702850a2e57f460d00d09b4b3" dependencies = [ "pin-project-internal", ] [[package]] name = "pin-project-internal" -version = "1.1.3" +version = "1.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4359fd9c9171ec6e8c62926d6faaf553a8dc3f64e1507e76da7911b4f6a04405" +checksum = "2f38a4412a78282e09a2cf38d195ea5420d15ba0602cb375210efbc877243965" dependencies = [ "proc-macro2", "quote", - "syn 2.0.42", + "syn 2.0.58", ] [[package]] @@ -9157,9 +9810,9 @@ checksum = "257b64915a082f7811703966789728173279bdebb956b143dbcd23f6f970a777" [[package]] name = "pin-project-lite" -version = "0.2.13" +version = "0.2.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8afb450f006bf6385ca15ef45d71d2288452bc3683ce2e2cacc0d18e4be60b58" +checksum = "bda66fc9667c18cb2758a2ac84d1167245054bcf85d5d1aaa6923f45801bdd02" [[package]] name = "pin-utils" @@ -9174,7 +9827,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "668d31b1c4eba19242f2088b2bf3316b82ca31082a8335764db4e083db7485d4" dependencies = [ "atomic-waker", - "fastrand 2.0.1", + "fastrand 2.0.2", "futures-io", ] @@ -9190,9 +9843,9 @@ dependencies = [ [[package]] name = "pkg-config" -version = "0.3.28" +version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "69d3587f8a9e599cc7ec2c00e331f71c4e69a5f9a4b8a6efd5b07466b9736f9a" +checksum = "d231b230927b5e4ad203db57bbcbee2802f6bce620b1e4a9024a07d94e2907ec" [[package]] name = "platforms" @@ -9202,9 +9855,9 @@ checksum = "989d43012e2ca1c4a02507c67282691a0a3207f9dc67cec596b43fe925b3d325" [[package]] name = "platforms" -version = "3.2.0" +version = "3.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "14e6ab3f592e6fb464fc9712d8d6e6912de6473954635fd76a589d832cffcbb0" +checksum = "db23d408679286588f4d4644f965003d056e3dd5abcaaa938116871d7ce2fee7" [[package]] name = "plotters" @@ -9236,11 +9889,13 @@ dependencies = [ [[package]] name = "polkadot-approval-distribution" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ + "bitvec", "futures", "futures-timer", + "itertools 0.10.5", "polkadot-node-jaeger", "polkadot-node-metrics", "polkadot-node-network-protocol", @@ -9248,14 +9903,14 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "rand 0.8.5", + "rand", "tracing-gum", ] [[package]] name = "polkadot-availability-bitfield-distribution" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "always-assert", "futures", @@ -9264,14 +9919,14 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "rand 0.8.5", + "rand", "tracing-gum", ] [[package]] name = "polkadot-availability-distribution" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "derive_more", "fatality", @@ -9283,19 +9938,20 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "rand 0.8.5", + "rand", "schnellru", - "sp-core", - "sp-keystore", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "thiserror", "tracing-gum", ] [[package]] name = "polkadot-availability-recovery" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ + "async-trait", "fatality", "futures", "parity-scale-codec", @@ -9305,35 +9961,37 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "rand 0.8.5", - "sc-network", + "rand", + "sc-network 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "schnellru", "thiserror", + "tokio", "tracing-gum", ] [[package]] name = "polkadot-cli" -version = "1.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "clap 4.4.11", + "cfg-if", + "clap 4.5.4", "frame-benchmarking-cli", "futures", "log", "polkadot-node-metrics", - "polkadot-performance-test", + "polkadot-node-primitives", "polkadot-service", "sc-cli", - "sc-executor", - "sc-service", + "sc-executor 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-service 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sc-storage-monitor", - "sc-sysinfo", - "sc-tracing", - "sp-core", - "sp-io", + "sc-sysinfo 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-tracing 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-keyring", - "sp-maybe-compressed-blob", + "sp-maybe-compressed-blob 11.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "substrate-build-script-utils", "thiserror", "try-runtime-cli", @@ -9341,8 +9999,8 @@ dependencies = [ [[package]] name = "polkadot-collator-protocol" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "bitvec", "fatality", @@ -9353,9 +10011,9 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "sp-core", - "sp-keystore", - "sp-runtime", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "thiserror", "tokio-util", "tracing-gum", @@ -9363,26 +10021,26 @@ dependencies = [ [[package]] name = "polkadot-core-primitives" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "parity-scale-codec", "scale-info", - "sp-core", - "sp-runtime", - "sp-std", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "polkadot-dispute-distribution" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "derive_more", "fatality", "futures", "futures-timer", - "indexmap 1.9.3", + "indexmap 2.2.6", "parity-scale-codec", "polkadot-erasure-coding", "polkadot-node-network-protocol", @@ -9390,32 +10048,32 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "sc-network", + "sc-network 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "schnellru", - "sp-application-crypto", - "sp-keystore", + "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "thiserror", "tracing-gum", ] [[package]] name = "polkadot-erasure-coding" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "parity-scale-codec", "polkadot-node-primitives", "polkadot-primitives", "reed-solomon-novelpoly", - "sp-core", - "sp-trie", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-trie 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "thiserror", ] [[package]] name = "polkadot-gossip-support" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "futures", "futures-timer", @@ -9423,20 +10081,21 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "rand 0.8.5", + "rand", "rand_chacha 0.3.1", - "sc-network", - "sc-network-common", - "sp-application-crypto", - "sp-core", - "sp-keystore", + "sc-network 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-network-common 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-crypto-hashing 0.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "tracing-gum", ] [[package]] name = "polkadot-network-bridge" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "always-assert", "async-trait", @@ -9450,16 +10109,16 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-overseer", "polkadot-primitives", - "sc-network", - "sp-consensus", + "sc-network 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "thiserror", "tracing-gum", ] [[package]] name = "polkadot-node-collation-generation" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "futures", "parity-scale-codec", @@ -9468,23 +10127,24 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "sp-core", - "sp-maybe-compressed-blob", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-maybe-compressed-blob 11.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "thiserror", "tracing-gum", ] [[package]] name = "polkadot-node-core-approval-voting" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "bitvec", "derive_more", "futures", "futures-timer", + "itertools 0.10.5", "kvdb", - "merlin 2.0.1", + "merlin", "parity-scale-codec", "polkadot-node-jaeger", "polkadot-node-primitives", @@ -9492,21 +10152,24 @@ dependencies = [ "polkadot-node-subsystem-util", "polkadot-overseer", "polkadot-primitives", - "sc-keystore", + "rand", + "rand_chacha 0.3.1", + "rand_core 0.6.4", + "sc-keystore 25.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "schnellru", - "schnorrkel 0.9.1", - "sp-application-crypto", - "sp-consensus", - "sp-consensus-slots", - "sp-runtime", + "schnorrkel 0.11.4", + "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-consensus-slots 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "thiserror", "tracing-gum", ] [[package]] name = "polkadot-node-core-av-store" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "bitvec", "futures", @@ -9520,15 +10183,15 @@ dependencies = [ "polkadot-node-subsystem-util", "polkadot-overseer", "polkadot-primitives", - "sp-consensus", + "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "thiserror", "tracing-gum", ] [[package]] name = "polkadot-node-core-backing" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "bitvec", "fatality", @@ -9539,21 +10202,22 @@ dependencies = [ "polkadot-node-subsystem-util", "polkadot-primitives", "polkadot-statement-table", - "sp-keystore", + "schnellru", + "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "thiserror", "tracing-gum", ] [[package]] name = "polkadot-node-core-bitfield-signing" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "futures", "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "sp-keystore", + "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "thiserror", "tracing-gum", "wasm-timer", @@ -9561,8 +10225,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-candidate-validation" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "async-trait", "futures", @@ -9576,29 +10240,28 @@ dependencies = [ "polkadot-overseer", "polkadot-parachain-primitives", "polkadot-primitives", - "sp-maybe-compressed-blob", + "sp-maybe-compressed-blob 11.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "tracing-gum", ] [[package]] name = "polkadot-node-core-chain-api" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "futures", "polkadot-node-metrics", "polkadot-node-subsystem", - "polkadot-primitives", - "sc-client-api", + "polkadot-node-subsystem-types", + "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sc-consensus-babe", - "sp-blockchain", "tracing-gum", ] [[package]] name = "polkadot-node-core-chain-selection" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "futures", "futures-timer", @@ -9614,8 +10277,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-dispute-coordinator" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "fatality", "futures", @@ -9625,7 +10288,7 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "sc-keystore", + "sc-keystore 25.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "schnellru", "thiserror", "tracing-gum", @@ -9633,8 +10296,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-parachains-inherent" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "async-trait", "futures", @@ -9642,16 +10305,16 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-overseer", "polkadot-primitives", - "sp-blockchain", - "sp-inherents", + "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "thiserror", "tracing-gum", ] [[package]] name = "polkadot-node-core-prospective-parachains" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "6.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "bitvec", "fatality", @@ -9667,8 +10330,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-provisioner" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "bitvec", "fatality", @@ -9684,12 +10347,16 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "always-assert", + "array-bytes 6.2.2", + "blake3", + "cfg-if", "futures", "futures-timer", + "is_executable", "libc", "parity-scale-codec", "pin-project", @@ -9697,23 +10364,24 @@ dependencies = [ "polkadot-node-core-pvf-common", "polkadot-node-metrics", "polkadot-node-primitives", + "polkadot-node-subsystem", "polkadot-parachain-primitives", "polkadot-primitives", - "rand 0.8.5", + "rand", "slotmap", - "sp-core", - "sp-maybe-compressed-blob", - "sp-wasm-interface", - "substrate-build-script-utils", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-maybe-compressed-blob 11.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-wasm-interface 20.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "tempfile", + "thiserror", "tokio", "tracing-gum", ] [[package]] name = "polkadot-node-core-pvf-checker" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "futures", "polkadot-node-primitives", @@ -9721,61 +10389,42 @@ dependencies = [ "polkadot-node-subsystem-util", "polkadot-overseer", "polkadot-primitives", - "sp-keystore", + "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "thiserror", "tracing-gum", ] [[package]] name = "polkadot-node-core-pvf-common" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ + "cfg-if", "cpu-time", "futures", "landlock", "libc", + "nix 0.27.1", "parity-scale-codec", "polkadot-parachain-primitives", "polkadot-primitives", - "sc-executor", - "sc-executor-common", - "sc-executor-wasmtime", - "sp-core", - "sp-externalities", - "sp-io", - "sp-tracing", - "tokio", - "tracing-gum", -] - -[[package]] -name = "polkadot-node-core-pvf-prepare-worker" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" -dependencies = [ - "futures", - "libc", - "parity-scale-codec", - "polkadot-node-core-pvf-common", - "polkadot-parachain-primitives", - "polkadot-primitives", - "rayon", - "sc-executor", - "sc-executor-common", - "sc-executor-wasmtime", - "sp-io", - "sp-maybe-compressed-blob", - "sp-tracing", - "tikv-jemalloc-ctl", - "tokio", + "sc-executor 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-executor-common 0.29.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-executor-wasmtime 0.29.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "seccompiler", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-crypto-hashing 0.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "thiserror", "tracing-gum", ] [[package]] name = "polkadot-node-core-runtime-api" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "futures", "polkadot-node-metrics", @@ -9789,8 +10438,8 @@ dependencies = [ [[package]] name = "polkadot-node-jaeger" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "lazy_static", "log", @@ -9799,18 +10448,18 @@ dependencies = [ "parking_lot 0.12.1", "polkadot-node-primitives", "polkadot-primitives", - "sc-network", - "sp-core", + "sc-network 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "thiserror", "tokio", ] [[package]] name = "polkadot-node-metrics" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "bs58 0.5.0", + "bs58 0.5.1", "futures", "futures-timer", "log", @@ -9818,16 +10467,16 @@ dependencies = [ "polkadot-primitives", "prioritized-metered-channel", "sc-cli", - "sc-service", - "sc-tracing", - "substrate-prometheus-endpoint", + "sc-service 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-tracing 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "tracing-gum", ] [[package]] name = "polkadot-node-network-protocol" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "async-channel 1.9.0", "async-trait", @@ -9840,9 +10489,9 @@ dependencies = [ "polkadot-node-jaeger", "polkadot-node-primitives", "polkadot-primitives", - "rand 0.8.5", + "rand", "sc-authority-discovery", - "sc-network", + "sc-network 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "strum 0.24.1", "thiserror", "tracing-gum", @@ -9850,30 +10499,31 @@ dependencies = [ [[package]] name = "polkadot-node-primitives" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ + "bitvec", "bounded-vec", "futures", "parity-scale-codec", "polkadot-parachain-primitives", "polkadot-primitives", - "schnorrkel 0.9.1", + "schnorrkel 0.11.4", "serde", - "sp-application-crypto", + "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-consensus-babe", - "sp-core", - "sp-keystore", - "sp-maybe-compressed-blob", - "sp-runtime", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-maybe-compressed-blob 11.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "thiserror", "zstd 0.12.4", ] [[package]] name = "polkadot-node-subsystem" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "polkadot-node-jaeger", "polkadot-node-subsystem-types", @@ -9882,10 +10532,11 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-types" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "async-trait", + "bitvec", "derive_more", "futures", "orchestra", @@ -9894,20 +10545,23 @@ dependencies = [ "polkadot-node-primitives", "polkadot-primitives", "polkadot-statement-table", - "sc-network", - "sc-transaction-pool-api", + "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-network 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-transaction-pool-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "smallvec", - "sp-api", + "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-authority-discovery", + "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-consensus-babe", - "substrate-prometheus-endpoint", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "thiserror", ] [[package]] name = "polkadot-node-subsystem-util" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "async-trait", "derive_more", @@ -9918,29 +10572,31 @@ dependencies = [ "kvdb", "parity-db", "parity-scale-codec", - "parking_lot 0.11.2", + "parking_lot 0.12.1", "pin-project", "polkadot-node-jaeger", "polkadot-node-metrics", "polkadot-node-network-protocol", "polkadot-node-primitives", "polkadot-node-subsystem", + "polkadot-node-subsystem-types", "polkadot-overseer", "polkadot-primitives", "prioritized-metered-channel", - "rand 0.8.5", + "rand", + "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "schnellru", - "sp-application-crypto", - "sp-core", - "sp-keystore", + "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "thiserror", "tracing-gum", ] [[package]] name = "polkadot-overseer" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "async-trait", "futures", @@ -9952,86 +10608,68 @@ dependencies = [ "polkadot-node-primitives", "polkadot-node-subsystem-types", "polkadot-primitives", - "sc-client-api", - "schnellru", - "sp-api", - "sp-core", + "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "tikv-jemalloc-ctl", "tracing-gum", ] [[package]] name = "polkadot-parachain-primitives" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "6.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "bounded-collections", "derive_more", - "frame-support", "parity-scale-codec", "polkadot-core-primitives", "scale-info", "serde", - "sp-core", - "sp-runtime", - "sp-std", -] - -[[package]] -name = "polkadot-performance-test" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" -dependencies = [ - "env_logger 0.9.3", - "log", - "polkadot-erasure-coding", - "polkadot-node-core-pvf-prepare-worker", - "polkadot-node-primitives", - "polkadot-primitives", - "quote", - "sc-executor-common", - "sp-maybe-compressed-blob", - "staging-kusama-runtime", - "thiserror", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-weights 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "polkadot-primitives" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "bitvec", "hex-literal 0.4.1", + "log", "parity-scale-codec", "polkadot-core-primitives", "polkadot-parachain-primitives", "scale-info", "serde", - "sp-api", - "sp-application-crypto", - "sp-arithmetic", + "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-authority-discovery", - "sp-consensus-slots", - "sp-core", - "sp-inherents", - "sp-io", - "sp-keystore", - "sp-runtime", - "sp-staking", - "sp-std", + "sp-consensus-slots 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-staking 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "polkadot-rpc" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "jsonrpsee 0.16.3", + "jsonrpsee 0.20.3", "mmr-rpc", "pallet-transaction-payment-rpc", "polkadot-primitives", - "sc-chain-spec", - "sc-client-api", + "sc-chain-spec 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sc-consensus-babe", "sc-consensus-babe-rpc", "sc-consensus-beefy", @@ -10039,142 +10677,50 @@ dependencies = [ "sc-consensus-epochs", "sc-consensus-grandpa", "sc-consensus-grandpa-rpc", - "sc-rpc", + "sc-rpc 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-rpc-spec-v2 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sc-sync-state-rpc", - "sc-transaction-pool-api", - "sp-api", - "sp-block-builder", - "sp-blockchain", - "sp-consensus", + "sc-transaction-pool-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-block-builder 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-consensus-babe", - "sp-keystore", - "sp-runtime", + "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "substrate-frame-rpc-system", "substrate-state-trie-migration-rpc", ] -[[package]] -name = "polkadot-runtime" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" -dependencies = [ - "bitvec", - "frame-benchmarking", - "frame-election-provider-support", - "frame-executive", - "frame-support", - "frame-system", - "frame-system-benchmarking", - "frame-system-rpc-runtime-api", - "frame-try-runtime", - "hex-literal 0.4.1", - "log", - "pallet-authority-discovery", - "pallet-authorship", - "pallet-babe", - "pallet-bags-list", - "pallet-balances", - "pallet-bounties", - "pallet-child-bounties", - "pallet-collective", - "pallet-conviction-voting", - "pallet-democracy 4.0.0-dev", - "pallet-election-provider-multi-phase", - "pallet-election-provider-support-benchmarking", - "pallet-elections-phragmen", - "pallet-fast-unstake", - "pallet-grandpa", - "pallet-identity", - "pallet-im-online", - "pallet-indices", - "pallet-membership", - "pallet-message-queue", - "pallet-multisig", - "pallet-nomination-pools", - "pallet-nomination-pools-benchmarking", - "pallet-nomination-pools-runtime-api", - "pallet-offences", - "pallet-offences-benchmarking", - "pallet-preimage", - "pallet-proxy", - "pallet-referenda", - "pallet-scheduler", - "pallet-session", - "pallet-session-benchmarking", - "pallet-staking 4.0.0-dev", - "pallet-staking-reward-curve", - "pallet-staking-runtime-api", - "pallet-timestamp", - "pallet-tips", - "pallet-transaction-payment", - "pallet-transaction-payment-rpc-runtime-api", - "pallet-treasury", - "pallet-utility", - "pallet-vesting", - "pallet-whitelist", - "pallet-xcm", - "pallet-xcm-benchmarks", - "parity-scale-codec", - "polkadot-primitives", - "polkadot-runtime-common", - "polkadot-runtime-constants", - "polkadot-runtime-parachains", - "rustc-hex", - "scale-info", - "serde", - "serde_derive", - "smallvec", - "sp-api", - "sp-arithmetic", - "sp-authority-discovery", - "sp-block-builder", - "sp-consensus-babe", - "sp-consensus-beefy", - "sp-core", - "sp-inherents", - "sp-io", - "sp-mmr-primitives", - "sp-npos-elections", - "sp-offchain", - "sp-runtime", - "sp-session", - "sp-staking", - "sp-std", - "sp-storage", - "sp-transaction-pool", - "sp-version", - "staging-xcm", - "staging-xcm-builder", - "staging-xcm-executor", - "static_assertions", - "substrate-wasm-builder", -] - [[package]] name = "polkadot-runtime-common" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "bitvec", - "frame-benchmarking", + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "frame-election-provider-support", - "frame-support", - "frame-system", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "impl-trait-for-tuples", "libsecp256k1", "log", + "pallet-asset-rate", "pallet-authorship", "pallet-babe", "pallet-balances", + "pallet-broker", "pallet-election-provider-multi-phase", "pallet-fast-unstake", + "pallet-identity", "pallet-session", - "pallet-staking 4.0.0-dev", + "pallet-staking 28.0.0", "pallet-staking-reward-fn", "pallet-timestamp", "pallet-transaction-payment", "pallet-treasury", "pallet-vesting", + "pallet-xcm-benchmarks", "parity-scale-codec", "polkadot-primitives", "polkadot-runtime-parachains", @@ -10183,87 +10729,78 @@ dependencies = [ "serde", "serde_derive", "slot-range-helper", - "sp-api", - "sp-core", - "sp-inherents", - "sp-io", + "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-npos-elections", - "sp-runtime", - "sp-session", - "sp-staking", - "sp-std", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-session 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-staking 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "staging-xcm", + "staging-xcm-builder", + "staging-xcm-executor", "static_assertions", ] -[[package]] -name = "polkadot-runtime-constants" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" -dependencies = [ - "frame-support", - "polkadot-primitives", - "polkadot-runtime-common", - "smallvec", - "sp-core", - "sp-runtime", - "sp-weights", -] - [[package]] name = "polkadot-runtime-metrics" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "bs58 0.5.0", - "frame-benchmarking", + "bs58 0.5.1", + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "parity-scale-codec", "polkadot-primitives", - "sp-std", - "sp-tracing", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "polkadot-runtime-parachains" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "bitflags 1.3.2", "bitvec", "derive_more", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "impl-trait-for-tuples", "log", "pallet-authority-discovery", "pallet-authorship", "pallet-babe", "pallet-balances", + "pallet-broker", "pallet-message-queue", "pallet-session", - "pallet-staking 4.0.0-dev", + "pallet-staking 28.0.0", "pallet-timestamp", "pallet-vesting", "parity-scale-codec", + "polkadot-core-primitives", "polkadot-parachain-primitives", "polkadot-primitives", "polkadot-runtime-metrics", - "rand 0.8.5", + "rand", "rand_chacha 0.3.1", "rustc-hex", "scale-info", "serde", - "sp-api", - "sp-application-crypto", - "sp-core", - "sp-inherents", - "sp-io", - "sp-keystore", - "sp-runtime", - "sp-session", - "sp-staking", - "sp-std", + "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-session 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-staking 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "staging-xcm", "staging-xcm-executor", "static_assertions", @@ -10271,14 +10808,14 @@ dependencies = [ [[package]] name = "polkadot-service" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "async-trait", - "frame-benchmarking", + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "frame-benchmarking-cli", - "frame-support", - "frame-system", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "frame-system-rpc-runtime-api", "futures", "hex-literal 0.4.1", @@ -10289,11 +10826,12 @@ dependencies = [ "mmr-gadget", "pallet-babe", "pallet-im-online", - "pallet-staking 4.0.0-dev", + "pallet-staking 28.0.0", "pallet-transaction-payment", "pallet-transaction-payment-rpc-runtime-api", "parity-db", "parity-scale-codec", + "parking_lot 0.12.1", "polkadot-approval-distribution", "polkadot-availability-bitfield-distribution", "polkadot-availability-distribution", @@ -10327,62 +10865,59 @@ dependencies = [ "polkadot-parachain-primitives", "polkadot-primitives", "polkadot-rpc", - "polkadot-runtime", - "polkadot-runtime-common", "polkadot-runtime-parachains", "polkadot-statement-distribution", "rococo-runtime", "sc-authority-discovery", "sc-basic-authorship", - "sc-block-builder", - "sc-chain-spec", - "sc-client-api", - "sc-client-db", - "sc-consensus", + "sc-block-builder 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-chain-spec 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-client-db 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-consensus 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sc-consensus-babe", "sc-consensus-beefy", "sc-consensus-grandpa", - "sc-consensus-slots", - "sc-executor", - "sc-keystore", - "sc-network", - "sc-network-common", - "sc-network-sync", + "sc-consensus-slots 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-executor 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-keystore 25.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-network 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-network-common 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-network-sync 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sc-offchain", - "sc-service", + "sc-service 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sc-sync-state-rpc", - "sc-sysinfo", - "sc-telemetry", - "sc-transaction-pool", - "sc-transaction-pool-api", + "sc-sysinfo 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-telemetry 15.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-transaction-pool 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-transaction-pool-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "schnellru", "serde", "serde_json", - "sp-api", + "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-authority-discovery", - "sp-block-builder", - "sp-blockchain", - "sp-consensus", + "sp-block-builder 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-consensus-babe", "sp-consensus-beefy", - "sp-consensus-grandpa", - "sp-core", - "sp-inherents", - "sp-io", + "sp-consensus-grandpa 13.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-keyring", - "sp-keystore", + "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-mmr-primitives", - "sp-offchain", - "sp-runtime", - "sp-session", - "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-storage", - "sp-timestamp", - "sp-transaction-pool", - "sp-version", - "sp-weights", - "staging-kusama-runtime", - "substrate-prometheus-endpoint", + "sp-offchain 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-session 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-state-machine 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-timestamp 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-transaction-pool 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-version 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-weights 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "thiserror", "tracing-gum", "westend-runtime", @@ -10390,36 +10925,73 @@ dependencies = [ [[package]] name = "polkadot-statement-distribution" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "arrayvec 0.7.4", "bitvec", "fatality", "futures", "futures-timer", - "indexmap 1.9.3", + "indexmap 2.2.6", "parity-scale-codec", "polkadot-node-network-protocol", "polkadot-node-primitives", "polkadot-node-subsystem", - "polkadot-node-subsystem-types", "polkadot-node-subsystem-util", "polkadot-primitives", - "sp-keystore", - "sp-staking", + "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-staking 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "thiserror", "tracing-gum", ] [[package]] name = "polkadot-statement-table" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "parity-scale-codec", "polkadot-primitives", - "sp-core", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "tracing-gum", +] + +[[package]] +name = "polkavm-common" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d9428a5cfcc85c5d7b9fc4b6a18c4b802d0173d768182a51cc7751640f08b92" + +[[package]] +name = "polkavm-derive" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae8c4bea6f3e11cd89bb18bcdddac10bd9a24015399bd1c485ad68a985a19606" +dependencies = [ + "polkavm-derive-impl-macro", +] + +[[package]] +name = "polkavm-derive-impl" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c4fdfc49717fb9a196e74a5d28e0bc764eb394a2c803eb11133a31ac996c60c" +dependencies = [ + "polkavm-common", + "proc-macro2", + "quote", + "syn 2.0.58", +] + +[[package]] +name = "polkavm-derive-impl-macro" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8ba81f7b5faac81e528eb6158a6f3c9e0bb1008e0ffa19653bc8dea925ecb429" +dependencies = [ + "polkavm-derive-impl", + "syn 2.0.58", ] [[package]] @@ -10434,20 +11006,21 @@ dependencies = [ "concurrent-queue", "libc", "log", - "pin-project-lite 0.2.13", + "pin-project-lite 0.2.14", "windows-sys 0.48.0", ] [[package]] name = "polling" -version = "3.3.1" +version = "3.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf63fa624ab313c11656b4cda960bfc46c410187ad493c41f6ba2d8c1e991c9e" +checksum = "e0c976a60b2d7e99d6f229e414670a9b85d13ac305cc6d1e9c134de58c5aaaf6" dependencies = [ "cfg-if", "concurrent-queue", - "pin-project-lite 0.2.13", - "rustix 0.38.28", + "hermit-abi 0.3.9", + "pin-project-lite 0.2.14", + "rustix 0.38.32", "tracing", "windows-sys 0.52.0", ] @@ -10459,19 +11032,19 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8159bd90725d2df49889a078b54f4f79e87f1f8a8444194cdca81d38f5393abf" dependencies = [ "cpufeatures", - "opaque-debug 0.3.0", + "opaque-debug 0.3.1", "universal-hash", ] [[package]] name = "polyval" -version = "0.6.1" +version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d52cff9d1d4dee5fe6d03729099f4a310a41179e0a10dbf542039873f2e826fb" +checksum = "9d1fe60d06143b2430aa532c94cfe9e29783047f06c0d7fd359a9a51b729fa25" dependencies = [ "cfg-if", "cpufeatures", - "opaque-debug 0.3.0", + "opaque-debug 0.3.1", "universal-hash", ] @@ -10523,6 +11096,16 @@ dependencies = [ "termtree", ] +[[package]] +name = "prettier-please" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "22020dfcf177fcc7bf5deaf7440af371400c67c0de14c399938d8ed4fb4645d3" +dependencies = [ + "proc-macro2", + "syn 2.0.58", +] + [[package]] name = "pretty_assertions" version = "1.4.0" @@ -10535,9 +11118,9 @@ dependencies = [ [[package]] name = "prettyplease" -version = "0.1.25" +version = "0.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c8646e95016a7a6c4adea95bafa8a16baab64b583356217f2c85db4a39d9a86" +checksum = "f28f53e8b192565862cf99343194579a022eb9c7dd3a8d03134734803c7b3125" dependencies = [ "proc-macro2", "syn 1.0.109", @@ -10545,12 +11128,12 @@ dependencies = [ [[package]] name = "prettyplease" -version = "0.2.15" +version = "0.2.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae005bd773ab59b4725093fd7df83fd7892f7d8eafb48dbd7de6e024e4215f9d" +checksum = "8d3928fb5db768cb86f891ff014f0144589297e3c6a1aba6ed7cecfdace270c7" dependencies = [ "proc-macro2", - "syn 2.0.42", + "syn 2.0.58", ] [[package]] @@ -10571,22 +11154,22 @@ dependencies = [ name = "primitives" version = "6.0.2" dependencies = [ - "frame-support", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "hex-literal 0.3.4", "parity-scale-codec", "polkadot-primitives", "scale-info", "serde", - "sp-core", - "sp-std", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "static_assertions", ] [[package]] name = "prioritized-metered-channel" -version = "0.2.0" +version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "382698e48a268c832d0b181ed438374a6bb708a82a8ca273bb0f61c74cf209c4" +checksum = "a172e6cc603231f2cf004232eabcecccc0da53ba576ab286ef7baa0cfc7927ad" dependencies = [ "coarsetime", "crossbeam-queue", @@ -10610,12 +11193,20 @@ dependencies = [ [[package]] name = "proc-macro-crate" -version = "2.0.1" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97dc5fea232fc28d2f597b37c4876b348a40e33f3b02cc975c8d006d78d94b1a" +checksum = "7e8366a6159044a37876a2b9817124296703c586a5c92e2c53751fa06d8d43e8" dependencies = [ - "toml_datetime", - "toml_edit 0.20.2", + "toml_edit 0.20.7", +] + +[[package]] +name = "proc-macro-crate" +version = "3.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d37c51ca738a55da99dc0c4a34860fd675453b8b36209178c2249bb13651284" +dependencies = [ + "toml_edit 0.21.1", ] [[package]] @@ -10644,20 +11235,20 @@ dependencies = [ [[package]] name = "proc-macro-warning" -version = "0.4.2" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d1eaa7fa0aa1929ffdf7eeb6eac234dde6268914a14ad44d23521ab6a9b258e" +checksum = "834da187cfe638ae8abb0203f0b33e5ccdb02a28e7199f2f47b3e2754f50edca" dependencies = [ "proc-macro2", "quote", - "syn 2.0.42", + "syn 2.0.58", ] [[package]] name = "proc-macro2" -version = "1.0.71" +version = "1.0.79" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75cb1540fadbd5b8fbccc4dddad2734eba435053f725621c070711a14bb5f4b8" +checksum = "e835ff2298f5721608eb1a980ecaee1aef2c132bf95ecc026a11b7bf3c01c02e" dependencies = [ "unicode-ident", ] @@ -10696,7 +11287,7 @@ checksum = "440f724eba9f6996b75d63681b0a92b06947f1457076d503a4d2e2c8f56442b8" dependencies = [ "proc-macro2", "quote", - "syn 2.0.42", + "syn 2.0.58", ] [[package]] @@ -10707,13 +11298,13 @@ checksum = "31b476131c3c86cb68032fdc5cb6d5a1045e3e42d96b69fa599fd77701e1f5bf" dependencies = [ "bit-set", "bit-vec", - "bitflags 2.4.1", + "bitflags 2.5.0", "lazy_static", "num-traits", - "rand 0.8.5", + "rand", "rand_chacha 0.3.1", "rand_xorshift", - "regex-syntax 0.8.2", + "regex-syntax 0.8.3", "rusty-fork", "tempfile", "unarray", @@ -10726,7 +11317,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0b82eaa1d779e9a4bc1c3217db8ffbeabaae1dca241bf70183242128d48681cd" dependencies = [ "bytes", - "prost-derive", + "prost-derive 0.11.9", +] + +[[package]] +name = "prost" +version = "0.12.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d0f5d036824e4761737860779c906171497f6d55681139d8312388f8fe398922" +dependencies = [ + "bytes", + "prost-derive 0.12.4", ] [[package]] @@ -10736,14 +11337,14 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "119533552c9a7ffacc21e099c24a0ac8bb19c2a2a3f363de84cd9b844feab270" dependencies = [ "bytes", - "heck", + "heck 0.4.1", "itertools 0.10.5", "lazy_static", "log", "multimap", "petgraph", - "prettyplease 0.1.25", - "prost", + "prettyplease 0.1.11", + "prost 0.11.9", "prost-types", "regex", "syn 1.0.109", @@ -10764,13 +11365,26 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "prost-derive" +version = "0.12.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "19de2de2a00075bf566bee3bd4db014b11587e84184d3f7a791bc17f1a8e9e48" +dependencies = [ + "anyhow", + "itertools 0.12.1", + "proc-macro2", + "quote", + "syn 2.0.58", +] + [[package]] name = "prost-types" version = "0.11.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "213622a1460818959ac1181aaeb2dc9c7f63df720db7d788b3e24eacd1983e13" dependencies = [ - "prost", + "prost 0.11.9", ] [[package]] @@ -10828,7 +11442,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "94b0b33c13a79f669c85defaf4c275dc86a0c0372807d0ca3d78e0bb87274863" dependencies = [ "bytes", - "rand 0.8.5", + "rand", "ring 0.16.20", "rustc-hash", "rustls 0.20.9", @@ -10841,9 +11455,9 @@ dependencies = [ [[package]] name = "quote" -version = "1.0.33" +version = "1.0.35" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5267fca4496028628a95160fc423a33e8b2e6af8a5302579e322e4b520293cae" +checksum = "291ec9ab5efd934aaf503a6466c5d5251535d108ee747472c3977cc5acc868ef" dependencies = [ "proc-macro2", ] @@ -10854,19 +11468,6 @@ version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dc33ff2d4973d518d823d61aa239014831e521c75da58e3df4840d3f47749d09" -[[package]] -name = "rand" -version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03" -dependencies = [ - "getrandom 0.1.16", - "libc", - "rand_chacha 0.2.2", - "rand_core 0.5.1", - "rand_hc", -] - [[package]] name = "rand" version = "0.8.5" @@ -10913,16 +11514,17 @@ version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" dependencies = [ - "getrandom 0.2.11", + "getrandom 0.2.14", ] [[package]] -name = "rand_hc" -version = "0.2.0" +name = "rand_distr" +version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c" +checksum = "32cb0b9bc82b0a0876c2dd994a7e7a2683d3e7390ca40e6886785ef0c7e3ee31" dependencies = [ - "rand_core 0.5.1", + "num-traits", + "rand", ] [[package]] @@ -10960,9 +11562,9 @@ checksum = "60a357793950651c4ed0f3f52338f53b2f809f32d83a07f72909fa13e4c6c1e3" [[package]] name = "rayon" -version = "1.8.0" +version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c27db03db7734835b3f53954b534c91069375ce6ccaa2e065441e07d9b6cdb1" +checksum = "b418a60154510ca1a002a752ca9714984e21e4241e804d32555251faf8b78ffa" dependencies = [ "either", "rayon-core", @@ -10970,9 +11572,9 @@ dependencies = [ [[package]] name = "rayon-core" -version = "1.12.0" +version = "1.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ce3fb6ad83f861aac485e76e1985cd109d9a3713802152be56c3b1f0e0658ed" +checksum = "1465873a3dfdaa8ae7cb14b4383657caab0b3e8a0aa9ae8e04b044854c8dfce2" dependencies = [ "crossbeam-deque", "crossbeam-utils", @@ -11010,46 +11612,45 @@ dependencies = [ [[package]] name = "redox_users" -version = "0.4.4" +version = "0.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a18479200779601e498ada4e8c1e1f50e3ee19deb0259c25825a98b5603b2cb4" +checksum = "bd283d9651eeda4b2a83a43c1c91b266c40fd76ecd39a50a8c630ae69dc72891" dependencies = [ - "getrandom 0.2.11", + "getrandom 0.2.14", "libredox", "thiserror", ] [[package]] name = "reed-solomon-novelpoly" -version = "1.0.2" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58130877ca403ab42c864fbac74bb319a0746c07a634a92a5cfc7f54af272582" +checksum = "87413ebb313323d431e85d0afc5a68222aaed972843537cbfe5f061cf1b4bcab" dependencies = [ "derive_more", "fs-err", - "itertools 0.11.0", "static_init", "thiserror", ] [[package]] name = "ref-cast" -version = "1.0.21" +version = "1.0.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53313ec9f12686aeeffb43462c3ac77aa25f590a5f630eb2cde0de59417b29c7" +checksum = "c4846d4c50d1721b1a3bef8af76924eef20d5e723647333798c1b519b3a9473f" dependencies = [ "ref-cast-impl", ] [[package]] name = "ref-cast-impl" -version = "1.0.21" +version = "1.0.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2566c4bf6845f2c2e83b27043c3f5dfcd5ba8f2937d6c00dc009bfb51a079dc4" +checksum = "5fddb4f8d99b0a2ebafc65a87a69a7b9875e4b1ae1f00db265d300ef7f28bccc" dependencies = [ "proc-macro2", "quote", - "syn 2.0.42", + "syn 2.0.58", ] [[package]] @@ -11066,14 +11667,14 @@ dependencies = [ [[package]] name = "regex" -version = "1.10.2" +version = "1.10.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "380b951a9c5e80ddfd6136919eef32310721aa4aacd4889a8d39124b026ab343" +checksum = "c117dbdfde9c8308975b6a18d71f3f385c89461f7b3fb054288ecf2a2058ba4c" dependencies = [ "aho-corasick", "memchr", - "regex-automata 0.4.3", - "regex-syntax 0.8.2", + "regex-automata 0.4.6", + "regex-syntax 0.8.3", ] [[package]] @@ -11087,13 +11688,13 @@ dependencies = [ [[package]] name = "regex-automata" -version = "0.4.3" +version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f804c7828047e88b2d32e2d7fe5a105da8ee3264f01902f796c8e067dc2483f" +checksum = "86b83b8b9847f9bf95ef68afb0b8e6cdb80f498442f5179a29fad448fcc1eaea" dependencies = [ "aho-corasick", "memchr", - "regex-syntax 0.8.2", + "regex-syntax 0.8.3", ] [[package]] @@ -11104,9 +11705,9 @@ checksum = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1" [[package]] name = "regex-syntax" -version = "0.8.2" +version = "0.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c08c74e62047bb2de4ff487b251e4a92e24f48745648451635cec7d591162d9f" +checksum = "adad44e29e4c806119491a7f06f03de4d1af22c3a680dd47f1e6e179439d1f56" [[package]] name = "resolv-conf" @@ -11125,22 +11726,23 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f8dd2a808d456c4a54e300a23e9f5a67e122c3024119acbfd73e3bf664491cb2" dependencies = [ "hmac 0.12.1", - "subtle", + "subtle 2.5.0", ] [[package]] name = "ring" version = "0.1.0" -source = "git+https://github.com/w3f/ring-proof?rev=0e948f3#0e948f3c28cbacecdd3020403c4841c0eb339213" +source = "git+https://github.com/w3f/ring-proof#b273d33f9981e2bb3375ab45faeb537f7ee35224" dependencies = [ "ark-ec", "ark-ff", "ark-poly", "ark-serialize", "ark-std", + "blake2 0.10.6", "common", "fflonk", - "merlin 3.0.0", + "merlin", ] [[package]] @@ -11160,16 +11762,17 @@ dependencies = [ [[package]] name = "ring" -version = "0.17.7" +version = "0.17.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "688c63d65483050968b2a8937f7995f443e27041a0f7700aa59b0822aedebb74" +checksum = "c17fa4cb658e3583423e915b9f3acc01cceaee1860e33d59ebae66adc3a2dc0d" dependencies = [ "cc", - "getrandom 0.2.11", + "cfg-if", + "getrandom 0.2.14", "libc", "spin 0.9.8", "untrusted 0.9.0", - "windows-sys 0.48.0", + "windows-sys 0.52.0", ] [[package]] @@ -11215,19 +11818,20 @@ dependencies = [ [[package]] name = "rococo-runtime" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "binary-merkle-tree", - "frame-benchmarking", + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "frame-executive", - "frame-support", - "frame-system", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "frame-system-benchmarking", "frame-system-rpc-runtime-api", "frame-try-runtime", "hex-literal 0.4.1", "log", + "pallet-asset-rate", "pallet-authority-discovery", "pallet-authorship", "pallet-babe", @@ -11237,7 +11841,8 @@ dependencies = [ "pallet-bounties", "pallet-child-bounties", "pallet-collective", - "pallet-democracy 4.0.0-dev", + "pallet-conviction-voting", + "pallet-democracy 28.0.0", "pallet-elections-phragmen", "pallet-grandpa", "pallet-identity", @@ -11251,11 +11856,14 @@ dependencies = [ "pallet-offences", "pallet-preimage", "pallet-proxy", + "pallet-ranked-collective", "pallet-recovery", + "pallet-referenda", + "pallet-root-testing", "pallet-scheduler", "pallet-session", "pallet-society", - "pallet-staking 4.0.0-dev", + "pallet-staking 28.0.0", "pallet-state-trie-migration", "pallet-sudo", "pallet-timestamp", @@ -11265,6 +11873,7 @@ dependencies = [ "pallet-treasury", "pallet-utility", "pallet-vesting", + "pallet-whitelist", "pallet-xcm", "pallet-xcm-benchmarks", "parity-scale-codec", @@ -11277,23 +11886,25 @@ dependencies = [ "serde", "serde_derive", "smallvec", - "sp-api", + "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-authority-discovery", - "sp-block-builder", + "sp-block-builder 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-consensus-babe", "sp-consensus-beefy", - "sp-core", - "sp-inherents", - "sp-io", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-genesis-builder 0.7.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-mmr-primitives", - "sp-offchain", - "sp-runtime", - "sp-session", - "sp-staking", - "sp-std", - "sp-storage", - "sp-transaction-pool", - "sp-version", + "sp-offchain 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-session 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-staking 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-transaction-pool 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-version 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", @@ -11303,18 +11914,26 @@ dependencies = [ [[package]] name = "rococo-runtime-constants" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-support", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "polkadot-primitives", "polkadot-runtime-common", "smallvec", - "sp-core", - "sp-runtime", - "sp-weights", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-weights 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "staging-xcm", + "staging-xcm-builder", ] +[[package]] +name = "route-recognizer" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "afab94fb28594581f62d981211a9a4d53cc8130bbcbbb89a0440d9b8e81a7746" + [[package]] name = "rpassword" version = "7.3.1" @@ -11336,7 +11955,7 @@ dependencies = [ "log", "netlink-packet-route", "netlink-proto", - "nix", + "nix 0.24.3", "thiserror", "tokio", ] @@ -11353,13 +11972,14 @@ dependencies = [ [[package]] name = "rug" -version = "1.22.0" +version = "1.24.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a118f8296241f6952511e8f9ab5b8a759c0d9ed902159b0aeed82d902e84ca6" +checksum = "a8df4099c6fa90a1a7f5ddc0c7fba50991080fa2084d5a78808a5a3cab406bb9" dependencies = [ "az", "gmp-mpfr-sys", "libc", + "libm", "num-integer", "num-traits", ] @@ -11380,11 +12000,11 @@ dependencies = [ "cumulus-test-relay-sproof-builder", "fp-evm", "fp-rpc", - "frame-benchmarking", + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "frame-executive", "frame-remote-externalities", - "frame-support", - "frame-system", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "frame-system-benchmarking", "frame-system-rpc-runtime-api", "hex-literal 0.4.1", @@ -11439,33 +12059,32 @@ dependencies = [ "pallet-utility", "pallet-xcm", "pallet-xyk", - "parachain-info", "polkadot-parachain-primitives", "polkadot-primitives", - "polkadot-runtime", "polkadot-runtime-parachains", "polkadot-service", "pretty_assertions", "primitives", "sc-consensus-grandpa", "scraper", - "sp-api", + "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-authority-discovery", - "sp-block-builder", - "sp-consensus-aura", + "sp-block-builder 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-consensus-aura 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-consensus-babe", - "sp-core", - "sp-externalities", - "sp-inherents", - "sp-io", - "sp-offchain", - "sp-runtime", - "sp-session", - "sp-staking", - "sp-std", - "sp-transaction-pool", - "sp-trie", - "sp-version", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-offchain 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-session 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-staking 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-transaction-pool 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-trie 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-version 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "staging-parachain-info", "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", @@ -11498,7 +12117,7 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366" dependencies = [ - "semver 1.0.20", + "semver 1.0.22", ] [[package]] @@ -11540,14 +12159,14 @@ dependencies = [ [[package]] name = "rustix" -version = "0.38.28" +version = "0.38.32" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72e572a5e8ca657d7366229cdde4bd14c4eb5499a9573d4d366fe1b599daa316" +checksum = "65e04861e65f21776e67888bfbea442b3642beaa0138fdb1dd7a84a52dffdb89" dependencies = [ - "bitflags 2.4.1", + "bitflags 2.5.0", "errno", "libc", - "linux-raw-sys 0.4.12", + "linux-raw-sys 0.4.13", "windows-sys 0.52.0", ] @@ -11570,7 +12189,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f9d5a6813c0759e4609cd494e8e725babae6a2ca7b62a5536a13daaec6fcb7ba" dependencies = [ "log", - "ring 0.17.7", + "ring 0.17.8", "rustls-webpki", "sct", ] @@ -11593,7 +12212,7 @@ version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1c74cae0a4cf6ccbbf5f359f08efdf8ee7e1dc532573bf0db71968cb56b1448c" dependencies = [ - "base64 0.21.5", + "base64 0.21.7", ] [[package]] @@ -11602,15 +12221,15 @@ version = "0.101.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8b6275d1ee7a1cd780b64aca7726599a1dbc893b1e64144529e55c3c2f745765" dependencies = [ - "ring 0.17.7", + "ring 0.17.8", "untrusted 0.9.0", ] [[package]] name = "rustversion" -version = "1.0.14" +version = "1.0.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ffc183a10b4478d04cbbbfc96d0873219d962dd5accaff2ffbd4ceb7df837f4" +checksum = "80af6f9131f277a45a3fba6ce8e2258037bb0477a67e610d3c1fe046ab31de47" [[package]] name = "rusty-fork" @@ -11648,9 +12267,9 @@ dependencies = [ [[package]] name = "ryu" -version = "1.0.16" +version = "1.0.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f98d2aa92eebf49b69786be48e4477826b256916e84a57ff2a4f21923b48eb4c" +checksum = "e86697c916019a8588c99b5fac3cead74ec0b4b819707a682fd4d23fa0ce1ba1" [[package]] name = "safe_arch" @@ -11672,19 +12291,30 @@ dependencies = [ [[package]] name = "sc-allocator" -version = "4.1.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "23.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" +dependencies = [ + "log", + "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-wasm-interface 20.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "thiserror", +] + +[[package]] +name = "sc-allocator" +version = "23.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "log", - "sp-core", - "sp-wasm-interface", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-wasm-interface 20.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "thiserror", ] [[package]] name = "sc-authority-discovery" -version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.34.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "async-trait", "futures", @@ -11692,160 +12322,275 @@ dependencies = [ "ip_network", "libp2p", "log", - "multihash", + "multihash 0.18.1", + "multihash-codetable", "parity-scale-codec", - "prost", + "prost 0.12.4", "prost-build", - "rand 0.8.5", - "sc-client-api", - "sc-network", - "sp-api", + "rand", + "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-network 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-authority-discovery", - "sp-blockchain", - "sp-core", - "sp-keystore", - "sp-runtime", - "substrate-prometheus-endpoint", + "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "thiserror", ] [[package]] name = "sc-basic-authorship" -version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.34.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "futures", "futures-timer", "log", "parity-scale-codec", - "sc-block-builder", - "sc-client-api", + "sc-block-builder 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sc-proposer-metrics", - "sc-telemetry", - "sc-transaction-pool-api", - "sp-api", - "sp-blockchain", - "sp-consensus", - "sp-core", - "sp-inherents", - "sp-runtime", - "substrate-prometheus-endpoint", + "sc-telemetry 15.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-transaction-pool-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", +] + +[[package]] +name = "sc-block-builder" +version = "0.33.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" +dependencies = [ + "parity-scale-codec", + "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-block-builder 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-blockchain 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-inherents 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-trie 29.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", ] [[package]] name = "sc-block-builder" -version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.33.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "parity-scale-codec", - "sc-client-api", - "sp-api", - "sp-block-builder", - "sp-blockchain", - "sp-core", - "sp-inherents", - "sp-runtime", + "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-block-builder 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-trie 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "sc-chain-spec" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" -dependencies = [ - "memmap2", - "sc-chain-spec-derive", - "sc-client-api", - "sc-executor", - "sc-network", - "sc-telemetry", +version = "27.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" +dependencies = [ + "array-bytes 6.2.2", + "docify", + "log", + "memmap2 0.9.4", + "parity-scale-codec", + "sc-chain-spec-derive 11.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-client-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-executor 0.32.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-network 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-telemetry 15.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "serde", + "serde_json", + "sp-blockchain 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-crypto-hashing 0.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-genesis-builder 0.7.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-state-machine 0.35.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", +] + +[[package]] +name = "sc-chain-spec" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" +dependencies = [ + "array-bytes 6.2.2", + "docify", + "log", + "memmap2 0.9.4", + "parity-scale-codec", + "sc-chain-spec-derive 11.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-executor 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-network 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-telemetry 15.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "serde", "serde_json", - "sp-blockchain", - "sp-core", - "sp-runtime", - "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-crypto-hashing 0.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-genesis-builder 0.7.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-state-machine 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "sc-chain-spec-derive" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "11.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" dependencies = [ - "proc-macro-crate 1.3.1", + "proc-macro-crate 3.1.0", + "proc-macro2", + "quote", + "syn 2.0.58", +] + +[[package]] +name = "sc-chain-spec-derive" +version = "11.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" +dependencies = [ + "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.42", + "syn 2.0.58", ] [[package]] name = "sc-cli" -version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.36.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "array-bytes", + "array-bytes 6.2.2", + "bip39", "chrono", - "clap 4.4.11", + "clap 4.5.4", "fdlimit", "futures", + "itertools 0.10.5", "libp2p-identity", "log", "names", "parity-scale-codec", - "rand 0.8.5", + "rand", "regex", "rpassword", - "sc-client-api", - "sc-client-db", - "sc-keystore", - "sc-network", - "sc-service", - "sc-telemetry", - "sc-tracing", - "sc-utils", + "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-client-db 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-keystore 25.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-mixnet 0.4.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-network 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-service 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-telemetry 15.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-tracing 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-utils 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "serde", "serde_json", - "sp-blockchain", - "sp-core", + "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-keyring", - "sp-keystore", - "sp-panic-handler 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime", - "sp-version", + "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-panic-handler 13.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-version 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "thiserror", - "tiny-bip39", "tokio", ] [[package]] name = "sc-client-api" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" +dependencies = [ + "fnv", + "futures", + "log", + "parity-scale-codec", + "parking_lot 0.12.1", + "sc-executor 0.32.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-transaction-pool-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-utils 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-blockchain 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-consensus 0.32.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-database 10.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-externalities 0.25.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-state-machine 0.35.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-statement-store 10.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-storage 19.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-trie 29.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", +] + +[[package]] +name = "sc-client-api" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "fnv", "futures", "log", "parity-scale-codec", "parking_lot 0.12.1", - "sc-executor", - "sc-transaction-pool-api", - "sc-utils", - "sp-api", - "sp-blockchain", - "sp-consensus", - "sp-core", - "sp-database", - "sp-externalities", - "sp-runtime", - "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-statement-store", - "sp-storage", - "substrate-prometheus-endpoint", + "sc-executor 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-transaction-pool-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-utils 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-database 10.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-state-machine 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-statement-store 10.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-trie 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", +] + +[[package]] +name = "sc-client-db" +version = "0.35.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" +dependencies = [ + "hash-db 0.16.0", + "kvdb", + "kvdb-memorydb", + "kvdb-rocksdb", + "linked-hash-map", + "log", + "parity-db", + "parity-scale-codec", + "parking_lot 0.12.1", + "sc-client-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-state-db 0.30.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "schnellru", + "sp-arithmetic 23.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-blockchain 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-database 10.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-state-machine 0.35.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-trie 29.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", ] [[package]] name = "sc-client-db" -version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.35.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "hash-db 0.16.0", "kvdb", @@ -11856,22 +12601,47 @@ dependencies = [ "parity-db", "parity-scale-codec", "parking_lot 0.12.1", - "sc-client-api", - "sc-state-db", + "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-state-db 0.30.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "schnellru", - "sp-arithmetic", - "sp-blockchain", - "sp-core", - "sp-database", - "sp-runtime", - "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-trie", + "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-database 10.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-state-machine 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-trie 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", +] + +[[package]] +name = "sc-consensus" +version = "0.33.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" +dependencies = [ + "async-trait", + "futures", + "futures-timer", + "libp2p-identity", + "log", + "mockall", + "parking_lot 0.12.1", + "sc-client-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-utils 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "serde", + "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-blockchain 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-consensus 0.32.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-state-machine 0.35.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "thiserror", ] [[package]] name = "sc-consensus" -version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.33.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "async-trait", "futures", @@ -11880,55 +12650,84 @@ dependencies = [ "log", "mockall", "parking_lot 0.12.1", - "sc-client-api", - "sc-utils", + "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-utils 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "serde", - "sp-api", - "sp-blockchain", - "sp-consensus", - "sp-core", - "sp-runtime", - "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "substrate-prometheus-endpoint", + "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-state-machine 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "thiserror", +] + +[[package]] +name = "sc-consensus-aura" +version = "0.34.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" +dependencies = [ + "async-trait", + "futures", + "log", + "parity-scale-codec", + "sc-block-builder 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-client-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-consensus 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-consensus-slots 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-telemetry 15.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-application-crypto 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-block-builder 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-blockchain 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-consensus 0.32.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-consensus-aura 0.32.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-consensus-slots 0.32.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-inherents 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-keystore 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", "thiserror", ] [[package]] name = "sc-consensus-aura" -version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.34.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "async-trait", "futures", "log", "parity-scale-codec", - "sc-block-builder", - "sc-client-api", - "sc-consensus", - "sc-consensus-slots", - "sc-telemetry", - "sp-api", - "sp-application-crypto", - "sp-block-builder", - "sp-blockchain", - "sp-consensus", - "sp-consensus-aura", - "sp-consensus-slots", - "sp-core", - "sp-inherents", - "sp-keystore", - "sp-runtime", - "substrate-prometheus-endpoint", + "sc-block-builder 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-consensus 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-consensus-slots 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-telemetry 15.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-block-builder 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-consensus-aura 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-consensus-slots 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "thiserror", ] [[package]] name = "sc-consensus-babe" -version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.34.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "async-trait", - "fork-tree", + "fork-tree 12.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "futures", "log", "num-bigint", @@ -11936,56 +12735,56 @@ dependencies = [ "num-traits", "parity-scale-codec", "parking_lot 0.12.1", - "sc-client-api", - "sc-consensus", + "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-consensus 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sc-consensus-epochs", - "sc-consensus-slots", - "sc-telemetry", - "sc-transaction-pool-api", - "scale-info", - "sp-api", - "sp-application-crypto", - "sp-block-builder", - "sp-blockchain", - "sp-consensus", + "sc-consensus-slots 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-telemetry 15.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-transaction-pool-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-block-builder 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-consensus-babe", - "sp-consensus-slots", - "sp-core", - "sp-inherents", - "sp-keystore", - "sp-runtime", - "substrate-prometheus-endpoint", + "sp-consensus-slots 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-crypto-hashing 0.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "thiserror", ] [[package]] name = "sc-consensus-babe-rpc" -version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.34.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "futures", - "jsonrpsee 0.16.3", + "jsonrpsee 0.20.3", "sc-consensus-babe", "sc-consensus-epochs", - "sc-rpc-api", + "sc-rpc-api 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "serde", - "sp-api", - "sp-application-crypto", - "sp-blockchain", - "sp-consensus", + "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-consensus-babe", - "sp-core", - "sp-keystore", - "sp-runtime", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "thiserror", ] [[package]] name = "sc-consensus-beefy" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "13.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "array-bytes", + "array-bytes 6.2.2", "async-channel 1.9.0", "async-trait", "fnv", @@ -11993,240 +12792,457 @@ dependencies = [ "log", "parity-scale-codec", "parking_lot 0.12.1", - "sc-client-api", - "sc-consensus", - "sc-network", + "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-consensus 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-network 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sc-network-gossip", - "sc-network-sync", - "sc-utils", - "sp-api", - "sp-application-crypto", - "sp-arithmetic", - "sp-blockchain", - "sp-consensus", + "sc-network-sync 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-utils 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-consensus-beefy", - "sp-core", - "sp-keystore", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-crypto-hashing 0.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-mmr-primitives", - "sp-runtime", - "substrate-prometheus-endpoint", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "thiserror", + "tokio", "wasm-timer", ] [[package]] name = "sc-consensus-beefy-rpc" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "13.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "futures", - "jsonrpsee 0.16.3", + "jsonrpsee 0.20.3", "log", "parity-scale-codec", "parking_lot 0.12.1", "sc-consensus-beefy", - "sc-rpc", + "sc-rpc 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "serde", "sp-consensus-beefy", - "sp-core", - "sp-runtime", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "thiserror", ] [[package]] name = "sc-consensus-epochs" -version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.33.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "fork-tree", + "fork-tree 12.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "parity-scale-codec", - "sc-client-api", - "sc-consensus", - "sp-blockchain", - "sp-runtime", + "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-consensus 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "sc-consensus-grandpa" -version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.19.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "ahash 0.8.6", - "array-bytes", + "ahash 0.8.11", + "array-bytes 6.2.2", "async-trait", "dyn-clone", "finality-grandpa", - "fork-tree", + "fork-tree 12.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "futures", "futures-timer", "log", "parity-scale-codec", "parking_lot 0.12.1", - "rand 0.8.5", - "sc-block-builder", - "sc-chain-spec", - "sc-client-api", - "sc-consensus", - "sc-network", - "sc-network-common", + "rand", + "sc-block-builder 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-chain-spec 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-consensus 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-network 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-network-common 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sc-network-gossip", - "sc-telemetry", - "sc-transaction-pool-api", - "sc-utils", + "sc-network-sync 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-telemetry 15.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-transaction-pool-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-utils 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "serde_json", - "sp-api", - "sp-application-crypto", - "sp-arithmetic", - "sp-blockchain", - "sp-consensus", - "sp-consensus-grandpa", - "sp-core", - "sp-keystore", - "sp-runtime", - "substrate-prometheus-endpoint", + "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-consensus-grandpa 13.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-crypto-hashing 0.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "thiserror", ] [[package]] name = "sc-consensus-grandpa-rpc" -version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.19.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "finality-grandpa", "futures", - "jsonrpsee 0.16.3", + "jsonrpsee 0.20.3", "log", "parity-scale-codec", - "sc-client-api", + "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sc-consensus-grandpa", - "sc-rpc", + "sc-rpc 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "serde", - "sp-blockchain", - "sp-core", - "sp-runtime", + "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "thiserror", ] [[package]] name = "sc-consensus-slots" -version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.33.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" +dependencies = [ + "async-trait", + "futures", + "futures-timer", + "log", + "parity-scale-codec", + "sc-client-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-consensus 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-telemetry 15.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-arithmetic 23.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-blockchain 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-consensus 0.32.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-consensus-slots 0.32.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-inherents 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-state-machine 0.35.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", +] + +[[package]] +name = "sc-consensus-slots" +version = "0.33.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "async-trait", "futures", "futures-timer", "log", "parity-scale-codec", - "sc-client-api", - "sc-consensus", - "sc-telemetry", - "sp-arithmetic", - "sp-blockchain", - "sp-consensus", - "sp-consensus-slots", - "sp-core", - "sp-inherents", - "sp-runtime", - "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-consensus 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-telemetry 15.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-consensus-slots 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-state-machine 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", +] + +[[package]] +name = "sc-executor" +version = "0.32.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" +dependencies = [ + "log", + "parity-scale-codec", + "parking_lot 0.12.1", + "sc-executor-common 0.29.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-executor-wasmtime 0.29.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "schnellru", + "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-externalities 0.25.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-panic-handler 13.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-runtime-interface 24.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-trie 29.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-version 29.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-wasm-interface 20.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "tracing", ] [[package]] name = "sc-executor" -version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.32.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "parity-scale-codec", "parking_lot 0.12.1", - "sc-executor-common", - "sc-executor-wasmtime", + "sc-executor-common 0.29.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-executor-wasmtime 0.29.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "schnellru", - "sp-api", - "sp-core", - "sp-externalities", - "sp-io", - "sp-panic-handler 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime-interface", - "sp-trie", - "sp-version", - "sp-wasm-interface", + "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-panic-handler 13.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-trie 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-version 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-wasm-interface 20.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "tracing", ] [[package]] name = "sc-executor-common" -version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.29.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" +dependencies = [ + "parity-scale-codec", + "sc-allocator 23.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-maybe-compressed-blob 11.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-wasm-interface 20.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "thiserror", + "wasm-instrument", +] + +[[package]] +name = "sc-executor-common" +version = "0.29.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "sc-allocator", - "sp-maybe-compressed-blob", - "sp-wasm-interface", + "sc-allocator 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-maybe-compressed-blob 11.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-wasm-interface 20.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "thiserror", "wasm-instrument", ] [[package]] name = "sc-executor-wasmtime" -version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.29.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" +dependencies = [ + "anyhow", + "cfg-if", + "libc", + "log", + "parity-scale-codec", + "parking_lot 0.12.1", + "rustix 0.36.17", + "sc-allocator 23.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-executor-common 0.29.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-runtime-interface 24.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-wasm-interface 20.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "wasmtime", +] + +[[package]] +name = "sc-executor-wasmtime" +version = "0.29.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "anyhow", "cfg-if", "libc", "log", + "parking_lot 0.12.1", "rustix 0.36.17", - "sc-allocator", - "sc-executor-common", - "sp-runtime-interface", - "sp-wasm-interface", + "sc-allocator 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-executor-common 0.29.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-wasm-interface 20.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "wasmtime", ] [[package]] name = "sc-informant" -version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.33.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" +dependencies = [ + "ansi_term", + "futures", + "futures-timer", + "log", + "sc-client-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-network 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-network-common 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-network-sync 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-blockchain 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", +] + +[[package]] +name = "sc-informant" +version = "0.33.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "ansi_term", "futures", "futures-timer", "log", - "sc-client-api", - "sc-network", - "sc-network-common", - "sp-blockchain", - "sp-runtime", + "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-network 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-network-common 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-network-sync 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "sc-keystore" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "25.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" dependencies = [ - "array-bytes", + "array-bytes 6.2.2", "parking_lot 0.12.1", "serde_json", - "sp-application-crypto", - "sp-core", - "sp-keystore", + "sp-application-crypto 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-keystore 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", "thiserror", ] [[package]] -name = "sc-network" -version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +name = "sc-keystore" +version = "25.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "array-bytes", - "async-channel 1.9.0", - "async-trait", - "asynchronous-codec", - "bytes", - "either", - "fnv", - "futures", - "futures-timer", - "ip_network", - "libp2p", + "array-bytes 6.2.2", + "parking_lot 0.12.1", + "serde_json", + "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "thiserror", +] + +[[package]] +name = "sc-mixnet" +version = "0.4.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" +dependencies = [ + "array-bytes 4.2.0", + "arrayvec 0.7.4", + "blake2 0.10.6", + "bytes", + "futures", + "futures-timer", + "libp2p-identity", + "log", + "mixnet", + "multiaddr", + "parity-scale-codec", + "parking_lot 0.12.1", + "sc-client-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-network 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-transaction-pool-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-consensus 0.32.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-keystore 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-mixnet 0.4.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "thiserror", +] + +[[package]] +name = "sc-mixnet" +version = "0.4.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" +dependencies = [ + "array-bytes 4.2.0", + "arrayvec 0.7.4", + "blake2 0.10.6", + "bytes", + "futures", + "futures-timer", + "libp2p-identity", + "log", + "mixnet", + "multiaddr", + "parity-scale-codec", + "parking_lot 0.12.1", + "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-network 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-transaction-pool-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-mixnet 0.4.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "thiserror", +] + +[[package]] +name = "sc-network" +version = "0.34.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" +dependencies = [ + "array-bytes 6.2.2", + "async-channel 1.9.0", + "async-trait", + "asynchronous-codec", + "bytes", + "either", + "fnv", + "futures", + "futures-timer", + "ip_network", + "libp2p", + "linked_hash_set", + "log", + "mockall", + "parity-scale-codec", + "parking_lot 0.12.1", + "partial_sort", + "pin-project", + "rand", + "sc-client-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-network-common 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-utils 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "serde", + "serde_json", + "smallvec", + "sp-arithmetic 23.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-blockchain 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "thiserror", + "tokio", + "tokio-stream", + "unsigned-varint", + "wasm-timer", + "zeroize", +] + +[[package]] +name = "sc-network" +version = "0.34.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" +dependencies = [ + "array-bytes 6.2.2", + "async-channel 1.9.0", + "async-trait", + "asynchronous-codec", + "bytes", + "either", + "fnv", + "futures", + "futures-timer", + "ip_network", + "libp2p", "linked_hash_set", "log", "mockall", @@ -12234,19 +13250,21 @@ dependencies = [ "parking_lot 0.12.1", "partial_sort", "pin-project", - "rand 0.8.5", - "sc-client-api", - "sc-network-common", - "sc-utils", + "rand", + "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-network-common 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-utils 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "serde", "serde_json", "smallvec", - "sp-arithmetic", - "sp-blockchain", - "sp-core", - "sp-runtime", - "substrate-prometheus-endpoint", + "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "thiserror", + "tokio", + "tokio-stream", "unsigned-varint", "wasm-timer", "zeroize", @@ -12254,28 +13272,65 @@ dependencies = [ [[package]] name = "sc-network-bitswap" -version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.33.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" +dependencies = [ + "async-channel 1.9.0", + "cid", + "futures", + "libp2p-identity", + "log", + "prost 0.12.4", + "prost-build", + "sc-client-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-network 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-blockchain 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "thiserror", + "unsigned-varint", +] + +[[package]] +name = "sc-network-bitswap" +version = "0.33.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "async-channel 1.9.0", "cid", "futures", "libp2p-identity", "log", - "prost", + "prost 0.12.4", "prost-build", - "sc-client-api", - "sc-network", - "sp-blockchain", - "sp-runtime", + "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-network 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "thiserror", "unsigned-varint", ] [[package]] name = "sc-network-common" -version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.33.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" +dependencies = [ + "async-trait", + "bitflags 1.3.2", + "futures", + "libp2p-identity", + "parity-scale-codec", + "prost-build", + "sc-consensus 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-consensus 0.32.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-consensus-grandpa 13.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", +] + +[[package]] +name = "sc-network-common" +version = "0.33.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "async-trait", "bitflags 1.3.2", @@ -12283,109 +13338,189 @@ dependencies = [ "libp2p-identity", "parity-scale-codec", "prost-build", - "sc-consensus", - "sp-consensus", - "sp-consensus-grandpa", - "sp-runtime", + "sc-consensus 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-consensus-grandpa 13.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "sc-network-gossip" -version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.34.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "ahash 0.8.6", + "ahash 0.8.11", "futures", "futures-timer", "libp2p", "log", - "sc-network", - "sc-network-common", + "sc-network 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-network-common 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-network-sync 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "schnellru", - "sp-runtime", - "substrate-prometheus-endpoint", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "tracing", ] [[package]] name = "sc-network-light" -version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.33.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" +dependencies = [ + "array-bytes 6.2.2", + "async-channel 1.9.0", + "futures", + "libp2p-identity", + "log", + "parity-scale-codec", + "prost 0.12.4", + "prost-build", + "sc-client-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-network 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-blockchain 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "thiserror", +] + +[[package]] +name = "sc-network-light" +version = "0.33.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "array-bytes", + "array-bytes 6.2.2", "async-channel 1.9.0", "futures", "libp2p-identity", "log", "parity-scale-codec", - "prost", + "prost 0.12.4", + "prost-build", + "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-network 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "thiserror", +] + +[[package]] +name = "sc-network-sync" +version = "0.33.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" +dependencies = [ + "array-bytes 6.2.2", + "async-channel 1.9.0", + "async-trait", + "fork-tree 12.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "futures", + "futures-timer", + "libp2p", + "log", + "mockall", + "parity-scale-codec", + "prost 0.12.4", "prost-build", - "sc-client-api", - "sc-network", - "sp-blockchain", - "sp-core", - "sp-runtime", + "sc-client-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-consensus 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-network 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-network-common 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-utils 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "schnellru", + "smallvec", + "sp-arithmetic 23.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-blockchain 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-consensus 0.32.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-consensus-grandpa 13.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", "thiserror", + "tokio", + "tokio-stream", ] [[package]] name = "sc-network-sync" -version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.33.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "array-bytes", + "array-bytes 6.2.2", "async-channel 1.9.0", "async-trait", - "fork-tree", + "fork-tree 12.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "futures", "futures-timer", "libp2p", "log", "mockall", "parity-scale-codec", - "prost", + "prost 0.12.4", "prost-build", - "sc-client-api", - "sc-consensus", - "sc-network", - "sc-network-common", - "sc-utils", + "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-consensus 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-network 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-network-common 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-utils 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "schnellru", "smallvec", - "sp-arithmetic", - "sp-blockchain", - "sp-consensus", - "sp-consensus-grandpa", - "sp-core", - "sp-runtime", - "substrate-prometheus-endpoint", + "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-consensus-grandpa 13.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "thiserror", + "tokio", + "tokio-stream", +] + +[[package]] +name = "sc-network-transactions" +version = "0.33.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" +dependencies = [ + "array-bytes 6.2.2", + "futures", + "libp2p", + "log", + "parity-scale-codec", + "sc-network 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-network-common 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-network-sync 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-utils 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-consensus 0.32.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", ] [[package]] name = "sc-network-transactions" -version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.33.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "array-bytes", + "array-bytes 6.2.2", "futures", "libp2p", "log", "parity-scale-codec", - "sc-network", - "sc-network-common", - "sc-utils", - "sp-consensus", - "sp-runtime", - "substrate-prometheus-endpoint", + "sc-network 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-network-common 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-network-sync 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-utils 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "sc-offchain" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "29.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "array-bytes", + "array-bytes 6.2.2", "bytes", "fnv", "futures", @@ -12398,91 +13533,160 @@ dependencies = [ "once_cell", "parity-scale-codec", "parking_lot 0.12.1", - "rand 0.8.5", - "sc-client-api", - "sc-network", - "sc-network-common", - "sc-transaction-pool-api", - "sc-utils", - "sp-api", - "sp-core", - "sp-externalities", - "sp-keystore", - "sp-offchain", - "sp-runtime", + "rand", + "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-network 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-network-common 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-transaction-pool-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-utils 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-offchain 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "threadpool", "tracing", ] [[package]] name = "sc-proposer-metrics" -version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.17.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "log", - "substrate-prometheus-endpoint", + "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "sc-rpc" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "29.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" dependencies = [ "futures", - "jsonrpsee 0.16.3", + "jsonrpsee 0.20.3", + "log", + "parity-scale-codec", + "parking_lot 0.12.1", + "sc-block-builder 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-chain-spec 27.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-client-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-mixnet 0.4.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-rpc-api 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-tracing 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-transaction-pool-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-utils 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "serde_json", + "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-blockchain 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-keystore 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-offchain 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-rpc 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-session 27.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-statement-store 10.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-version 29.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "tokio", +] + +[[package]] +name = "sc-rpc" +version = "29.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" +dependencies = [ + "futures", + "jsonrpsee 0.20.3", "log", "parity-scale-codec", "parking_lot 0.12.1", - "sc-block-builder", - "sc-chain-spec", - "sc-client-api", - "sc-rpc-api", - "sc-tracing", - "sc-transaction-pool-api", - "sc-utils", + "sc-block-builder 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-chain-spec 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-mixnet 0.4.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-rpc-api 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-tracing 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-transaction-pool-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-utils 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "serde_json", - "sp-api", - "sp-blockchain", - "sp-core", - "sp-keystore", - "sp-offchain", - "sp-rpc", - "sp-runtime", - "sp-session", - "sp-statement-store", - "sp-version", + "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-offchain 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-rpc 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-session 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-statement-store 10.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-version 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "tokio", ] [[package]] name = "sc-rpc-api" -version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.33.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" dependencies = [ - "jsonrpsee 0.16.3", + "jsonrpsee 0.20.3", + "parity-scale-codec", + "sc-chain-spec 27.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-mixnet 0.4.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-transaction-pool-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "scale-info", + "serde", + "serde_json", + "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-rpc 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-version 29.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "thiserror", +] + +[[package]] +name = "sc-rpc-api" +version = "0.33.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" +dependencies = [ + "jsonrpsee 0.20.3", "parity-scale-codec", - "sc-chain-spec", - "sc-transaction-pool-api", + "sc-chain-spec 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-mixnet 0.4.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-transaction-pool-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "scale-info", "serde", "serde_json", - "sp-core", - "sp-rpc", - "sp-runtime", - "sp-version", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-rpc 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-version 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "thiserror", ] [[package]] name = "sc-rpc-server" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "11.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" dependencies = [ "http", - "jsonrpsee 0.16.3", + "jsonrpsee 0.20.3", "log", "serde_json", - "substrate-prometheus-endpoint", + "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "tokio", + "tower", + "tower-http", +] + +[[package]] +name = "sc-rpc-server" +version = "11.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" +dependencies = [ + "http", + "jsonrpsee 0.20.3", + "log", + "serde_json", + "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "tokio", "tower", "tower-http", @@ -12490,27 +13694,59 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" -version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.34.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" dependencies = [ - "array-bytes", + "array-bytes 6.2.2", "futures", "futures-util", "hex", - "jsonrpsee 0.16.3", + "jsonrpsee 0.20.3", + "log", + "parity-scale-codec", + "parking_lot 0.12.1", + "sc-chain-spec 27.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-client-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-rpc 29.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-transaction-pool-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-utils 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "serde", + "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-blockchain 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-rpc 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-version 29.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "thiserror", + "tokio", + "tokio-stream", +] + +[[package]] +name = "sc-rpc-spec-v2" +version = "0.34.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" +dependencies = [ + "array-bytes 6.2.2", + "futures", + "futures-util", + "hex", + "jsonrpsee 0.20.3", "log", "parity-scale-codec", "parking_lot 0.12.1", - "sc-chain-spec", - "sc-client-api", - "sc-transaction-pool-api", - "sc-utils", + "sc-chain-spec 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-rpc 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-transaction-pool-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-utils 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "serde", - "sp-api", - "sp-blockchain", - "sp-core", - "sp-runtime", - "sp-version", + "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-rpc 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-version 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "thiserror", "tokio", "tokio-stream", @@ -12518,61 +13754,123 @@ dependencies = [ [[package]] name = "sc-service" -version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.35.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" dependencies = [ "async-trait", "directories", "exit-future", "futures", "futures-timer", - "jsonrpsee 0.16.3", + "jsonrpsee 0.20.3", + "log", + "parity-scale-codec", + "parking_lot 0.12.1", + "pin-project", + "rand", + "sc-chain-spec 27.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-client-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-client-db 0.35.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-consensus 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-executor 0.32.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-informant 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-keystore 25.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-network 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-network-bitswap 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-network-common 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-network-light 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-network-sync 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-network-transactions 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-rpc 29.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-rpc-server 11.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-rpc-spec-v2 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-sysinfo 27.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-telemetry 15.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-tracing 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-transaction-pool 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-transaction-pool-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-utils 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "serde", + "serde_json", + "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-blockchain 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-consensus 0.32.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-externalities 0.25.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-keystore 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-session 27.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-state-machine 0.35.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-storage 19.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-transaction-pool 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-transaction-storage-proof 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-trie 29.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-version 29.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "static_init", + "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "tempfile", + "thiserror", + "tokio", + "tracing", + "tracing-futures", +] + +[[package]] +name = "sc-service" +version = "0.35.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" +dependencies = [ + "async-trait", + "directories", + "exit-future", + "futures", + "futures-timer", + "jsonrpsee 0.20.3", "log", "parity-scale-codec", "parking_lot 0.12.1", "pin-project", - "rand 0.8.5", - "sc-block-builder", - "sc-chain-spec", - "sc-client-api", - "sc-client-db", - "sc-consensus", - "sc-executor", - "sc-informant", - "sc-keystore", - "sc-network", - "sc-network-bitswap", - "sc-network-common", - "sc-network-light", - "sc-network-sync", - "sc-network-transactions", - "sc-rpc", - "sc-rpc-server", - "sc-rpc-spec-v2", - "sc-sysinfo", - "sc-telemetry", - "sc-tracing", - "sc-transaction-pool", - "sc-transaction-pool-api", - "sc-utils", + "rand", + "sc-chain-spec 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-client-db 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-consensus 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-executor 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-informant 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-keystore 25.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-network 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-network-bitswap 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-network-common 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-network-light 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-network-sync 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-network-transactions 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-rpc 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-rpc-server 11.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-rpc-spec-v2 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-sysinfo 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-telemetry 15.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-tracing 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-transaction-pool 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-transaction-pool-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-utils 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "serde", "serde_json", - "sp-api", - "sp-blockchain", - "sp-consensus", - "sp-core", - "sp-externalities", - "sp-keystore", - "sp-runtime", - "sp-session", - "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-storage", - "sp-transaction-pool", - "sp-transaction-storage-proof", - "sp-trie", - "sp-version", + "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-session 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-state-machine 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-transaction-pool 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-transaction-storage-proof 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-trie 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-version 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "static_init", - "substrate-prometheus-endpoint", + "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "tempfile", "thiserror", "tokio", @@ -12582,71 +13880,104 @@ dependencies = [ [[package]] name = "sc-state-db" -version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.30.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" +dependencies = [ + "log", + "parity-scale-codec", + "parking_lot 0.12.1", + "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", +] + +[[package]] +name = "sc-state-db" +version = "0.30.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "log", "parity-scale-codec", "parking_lot 0.12.1", - "sp-core", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "sc-storage-monitor" -version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.16.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "clap 4.4.11", + "clap 4.5.4", "fs4", "log", - "sc-client-db", - "sp-core", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "thiserror", "tokio", ] [[package]] name = "sc-sync-state-rpc" -version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.34.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "jsonrpsee 0.16.3", + "jsonrpsee 0.20.3", "parity-scale-codec", - "sc-chain-spec", - "sc-client-api", + "sc-chain-spec 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sc-consensus-babe", "sc-consensus-epochs", "sc-consensus-grandpa", "serde", "serde_json", - "sp-blockchain", - "sp-runtime", + "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "thiserror", ] [[package]] name = "sc-sysinfo" -version = "6.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "27.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" +dependencies = [ + "derive_more", + "futures", + "libc", + "log", + "rand", + "rand_pcg", + "regex", + "sc-telemetry 15.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "serde", + "serde_json", + "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-crypto-hashing 0.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", +] + +[[package]] +name = "sc-sysinfo" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ + "derive_more", "futures", "libc", "log", - "rand 0.8.5", + "rand", "rand_pcg", "regex", - "sc-telemetry", + "sc-telemetry 15.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "serde", "serde_json", - "sp-core", - "sp-io", - "sp-std", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-crypto-hashing 0.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "sc-telemetry" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "15.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" dependencies = [ "chrono", "futures", @@ -12654,8 +13985,8 @@ dependencies = [ "log", "parking_lot 0.12.1", "pin-project", - "rand 0.8.5", - "sc-utils", + "rand", + "sc-utils 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", "serde", "serde_json", "thiserror", @@ -12663,49 +13994,137 @@ dependencies = [ ] [[package]] -name = "sc-tracing" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +name = "sc-telemetry" +version = "15.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" +dependencies = [ + "chrono", + "futures", + "libp2p", + "log", + "parking_lot 0.12.1", + "pin-project", + "rand", + "sc-utils 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "serde", + "serde_json", + "thiserror", + "wasm-timer", +] + +[[package]] +name = "sc-tracing" +version = "28.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" +dependencies = [ + "ansi_term", + "chrono", + "is-terminal", + "lazy_static", + "libc", + "log", + "parity-scale-codec", + "parking_lot 0.12.1", + "regex", + "rustc-hash", + "sc-client-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-tracing-proc-macro 11.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "serde", + "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-blockchain 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-rpc 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-tracing 16.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "thiserror", + "tracing", + "tracing-log 0.1.4", + "tracing-subscriber 0.2.25", +] + +[[package]] +name = "sc-tracing" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "ansi_term", - "atty", "chrono", + "is-terminal", "lazy_static", "libc", "log", + "parity-scale-codec", "parking_lot 0.12.1", "regex", "rustc-hash", - "sc-client-api", - "sc-tracing-proc-macro", + "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-tracing-proc-macro 11.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "serde", - "sp-api", - "sp-blockchain", - "sp-core", - "sp-rpc", - "sp-runtime", - "sp-tracing", + "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-rpc 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "thiserror", "tracing", - "tracing-log", - "tracing-subscriber", + "tracing-log 0.1.4", + "tracing-subscriber 0.2.25", ] [[package]] name = "sc-tracing-proc-macro" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "11.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" dependencies = [ - "proc-macro-crate 1.3.1", + "proc-macro-crate 3.1.0", + "proc-macro2", + "quote", + "syn 2.0.58", +] + +[[package]] +name = "sc-tracing-proc-macro" +version = "11.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" +dependencies = [ + "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.42", + "syn 2.0.58", ] [[package]] name = "sc-transaction-pool" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" +dependencies = [ + "async-trait", + "futures", + "futures-timer", + "linked-hash-map", + "log", + "parity-scale-codec", + "parking_lot 0.12.1", + "sc-client-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-transaction-pool-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-utils 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "serde", + "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-blockchain 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-crypto-hashing 0.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-tracing 16.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-transaction-pool 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "thiserror", +] + +[[package]] +name = "sc-transaction-pool" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "async-trait", "futures", @@ -12714,40 +14133,72 @@ dependencies = [ "log", "parity-scale-codec", "parking_lot 0.12.1", - "sc-client-api", - "sc-transaction-pool-api", - "sc-utils", + "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-transaction-pool-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-utils 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "serde", - "sp-api", - "sp-blockchain", - "sp-core", - "sp-runtime", - "sp-tracing", - "sp-transaction-pool", - "substrate-prometheus-endpoint", + "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-crypto-hashing 0.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-transaction-pool 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "thiserror", ] [[package]] name = "sc-transaction-pool-api" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" dependencies = [ "async-trait", "futures", "log", "parity-scale-codec", "serde", - "sp-blockchain", - "sp-core", - "sp-runtime", + "sp-blockchain 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "thiserror", +] + +[[package]] +name = "sc-transaction-pool-api" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" +dependencies = [ + "async-trait", + "futures", + "log", + "parity-scale-codec", + "serde", + "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "thiserror", ] [[package]] name = "sc-utils" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "14.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" +dependencies = [ + "async-channel 1.9.0", + "futures", + "futures-timer", + "lazy_static", + "log", + "parking_lot 0.12.1", + "prometheus", + "sp-arithmetic 23.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", +] + +[[package]] +name = "sc-utils" +version = "14.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "async-channel 1.9.0", "futures", @@ -12756,14 +14207,14 @@ dependencies = [ "log", "parking_lot 0.12.1", "prometheus", - "sp-arithmetic", + "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "scale-info" -version = "2.10.0" +version = "2.11.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f7d66a1128282b7ef025a8ead62a4a9fcf017382ec53b8ffbf4d7bf77bd3c60" +checksum = "7c453e59a955f81fb62ee5d596b450383d699f152d350e9d23a0db2adb78e4c0" dependencies = [ "bitvec", "cfg-if", @@ -12775,9 +14226,9 @@ dependencies = [ [[package]] name = "scale-info-derive" -version = "2.10.0" +version = "2.11.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "abf2c68b89cafb3b8d918dd07b42be0da66ff202cf1155c5739a4e0c1ea0dc19" +checksum = "18cf6c6447f813ef19eb450e985bcce6705f9ce7660db221b59093d15c79c4b7" dependencies = [ "proc-macro-crate 1.3.1", "proc-macro2", @@ -12787,11 +14238,11 @@ dependencies = [ [[package]] name = "schannel" -version = "0.1.22" +version = "0.1.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c3733bf4cf7ea0880754e19cb5a462007c4a8c1914bff372ccc95b464f1df88" +checksum = "fbc91545643bcf3a0bbb6569265615222618bdf33ce4ffbbd13c4bbd4c093534" dependencies = [ - "windows-sys 0.48.0", + "windows-sys 0.52.0", ] [[package]] @@ -12800,42 +14251,43 @@ version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "772575a524feeb803e5b0fcbc6dd9f367e579488197c94c6e4023aad2305774d" dependencies = [ - "ahash 0.8.6", + "ahash 0.8.11", "cfg-if", "hashbrown 0.13.2", ] [[package]] name = "schnorrkel" -version = "0.9.1" +version = "0.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "021b403afe70d81eea68f6ea12f6b3c9588e5d536a94c3bf80f15e7faa267862" +checksum = "844b7645371e6ecdf61ff246ba1958c29e802881a749ae3fb1993675d210d28d" dependencies = [ "arrayref", - "arrayvec 0.5.2", - "curve25519-dalek 2.1.3", - "getrandom 0.1.16", - "merlin 2.0.1", - "rand 0.7.3", - "rand_core 0.5.1", - "sha2 0.8.2", - "subtle", + "arrayvec 0.7.4", + "curve25519-dalek-ng", + "merlin", + "rand_core 0.6.4", + "sha2 0.9.9", + "subtle-ng", "zeroize", ] [[package]] name = "schnorrkel" -version = "0.10.2" +version = "0.11.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "844b7645371e6ecdf61ff246ba1958c29e802881a749ae3fb1993675d210d28d" +checksum = "8de18f6d8ba0aad7045f5feae07ec29899c1112584a38509a84ad7b04451eaa0" dependencies = [ + "aead", "arrayref", "arrayvec 0.7.4", - "curve25519-dalek-ng", - "merlin 3.0.0", + "curve25519-dalek 4.1.2", + "getrandom_or_panic", + "merlin", "rand_core 0.6.4", - "sha2 0.9.9", - "subtle-ng", + "serde_bytes", + "sha2 0.10.8", + "subtle 2.5.0", "zeroize", ] @@ -12851,16 +14303,16 @@ version = "1.2.1" dependencies = [ "clap 3.2.25", "frame-remote-externalities", - "frame-support", - "frame-system", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "hydradx-runtime", "jsonrpsee 0.15.1", "pallet-balances", "parity-scale-codec", "serde", - "sp-core", - "sp-rpc", - "sp-state-machine 0.28.0 (git+https://github.com/paritytech/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-rpc 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-state-machine 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "substrate-rpc-client", "tokio", ] @@ -12877,7 +14329,7 @@ version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "da046153aa2352493d6cb7da4b6e5c0c057d8a1d0a9aa8560baffdd945acd414" dependencies = [ - "ring 0.17.7", + "ring 0.17.8", "untrusted 0.9.0", ] @@ -12891,24 +14343,33 @@ dependencies = [ "der", "generic-array 0.14.7", "pkcs8", - "subtle", + "subtle 2.5.0", "zeroize", ] +[[package]] +name = "seccompiler" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "345a3e4dddf721a478089d4697b83c6c0a8f5bf16086f6c13397e4534eb6e2e5" +dependencies = [ + "libc", +] + [[package]] name = "secp256k1" -version = "0.24.3" +version = "0.28.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b1629c9c557ef9b293568b338dddfc8208c98a18c59d722a9d53f859d9c9b62" +checksum = "d24b59d129cdadea20aea4fb2352fa053712e5d713eee47d700cd4b2bc002f10" dependencies = [ "secp256k1-sys", ] [[package]] name = "secp256k1-sys" -version = "0.6.1" +version = "0.9.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83080e2c2fc1006e625be82e5d1eb6a43b7fd9578b617fcc55814daf286bba4b" +checksum = "e5d1746aae42c19d583c3c1a8c646bfad910498e2051c551a7f2e3c0c9fbb7eb" dependencies = [ "cc", ] @@ -12924,9 +14385,9 @@ dependencies = [ [[package]] name = "security-framework" -version = "2.9.2" +version = "2.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05b64fb303737d99b81884b2c63433e9ae28abebe5eb5045dcdd175dc2ecf4de" +checksum = "770452e37cad93e0a50d5abc3990d2bc351c36d0328f86cefec2f2fb206eaef6" dependencies = [ "bitflags 1.3.2", "core-foundation", @@ -12937,9 +14398,9 @@ dependencies = [ [[package]] name = "security-framework-sys" -version = "2.9.1" +version = "2.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e932934257d3b408ed8f30db49d85ea163bfe74961f017f405b025af298f0c7a" +checksum = "41f3cc463c0ef97e11c3461a9d3787412d30e8e7eb907c79180c4a57bf7c04ef" dependencies = [ "core-foundation-sys", "libc", @@ -12956,9 +14417,9 @@ dependencies = [ [[package]] name = "semver" -version = "1.0.20" +version = "1.0.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "836fa6a3e1e547f9a2c4040802ec865b5d85f4014efe00555d7090a3dcaa1090" +checksum = "92d43fe69e652f3df9bdc2b85b2854a0825b86e4fb76bc44d945137d053639ca" dependencies = [ "serde", ] @@ -12971,29 +14432,38 @@ checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3" [[package]] name = "serde" -version = "1.0.193" +version = "1.0.197" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25dd9975e68d0cb5aa1120c288333fc98731bd1dd12f561e468ea4728c042b89" +checksum = "3fb1c873e1b9b056a4dc4c0c198b24c3ffa059243875552b2bd0933b1aee4ce2" dependencies = [ "serde_derive", ] +[[package]] +name = "serde_bytes" +version = "0.11.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b8497c313fd43ab992087548117643f6fcd935cbf36f176ffda0aacf9591734" +dependencies = [ + "serde", +] + [[package]] name = "serde_derive" -version = "1.0.193" +version = "1.0.197" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43576ca501357b9b071ac53cdc7da8ef0cbd9493d8df094cd821777ea6e894d3" +checksum = "7eb0b34b42edc17f6b7cac84a52a1c5f0e1bb2227e997ca9011ea3dd34e8610b" dependencies = [ "proc-macro2", "quote", - "syn 2.0.42", + "syn 2.0.58", ] [[package]] name = "serde_json" -version = "1.0.108" +version = "1.0.115" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d1c7e3eac408d115102c4c24ad393e0821bb3a5df4d506a80f85f7a742a526b" +checksum = "12dc5c46daa8e9fdf4f5e71b6cf9a53f2487da0e86e55808e2d35539666497dd" dependencies = [ "itoa", "ryu", @@ -13019,19 +14489,18 @@ dependencies = [ "cfg-if", "cpufeatures", "digest 0.9.0", - "opaque-debug 0.3.0", + "opaque-debug 0.3.1", ] [[package]] -name = "sha2" -version = "0.8.2" +name = "sha1" +version = "0.10.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a256f46ea78a0c0d9ff00077504903ac881a1dafdc20da66545699e7776b3e69" +checksum = "e3bf829a2d51ab4a5ddf1352d8470c140cadc8301b2ae1789db023f01cedd6ba" dependencies = [ - "block-buffer 0.7.3", - "digest 0.8.1", - "fake-simd", - "opaque-debug 0.2.3", + "cfg-if", + "cpufeatures", + "digest 0.10.7", ] [[package]] @@ -13044,7 +14513,7 @@ dependencies = [ "cfg-if", "cpufeatures", "digest 0.9.0", - "opaque-debug 0.3.0", + "opaque-debug 0.3.1", ] [[package]] @@ -13079,9 +14548,9 @@ dependencies = [ [[package]] name = "shlex" -version = "1.2.0" +version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a7cee0529a6d40f580e7a5e6c495c8fbfe21b7b52795ed4bb5e62cdf92bc6380" +checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" [[package]] name = "signal-hook-registry" @@ -13115,6 +14584,11 @@ dependencies = [ "wide", ] +[[package]] +name = "simple-mermaid" +version = "0.1.0" +source = "git+https://github.com/kianenigma/simple-mermaid.git?rev=e48b187bcfd5cc75111acd9d241f1bd36604344b#e48b187bcfd5cc75111acd9d241f1bd36604344b" + [[package]] name = "siphasher" version = "0.3.11" @@ -13138,14 +14612,14 @@ checksum = "826167069c09b99d56f31e9ae5c99049e932a98c9dc2dac47645b08dbbf76ba7" [[package]] name = "slot-range-helper" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "enumn", "parity-scale-codec", "paste", - "sp-runtime", - "sp-std", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] @@ -13159,9 +14633,9 @@ dependencies = [ [[package]] name = "smallvec" -version = "1.11.2" +version = "1.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4dccd0940a2dcdf68d092b8cbab7dc0ad8fa938bf95787e1b916b0e3d0e8e970" +checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" [[package]] name = "smol" @@ -13189,10 +14663,10 @@ dependencies = [ "arrayvec 0.7.4", "async-lock 2.8.0", "atomic-take", - "base64 0.21.5", + "base64 0.21.7", "bip39", "blake2-rfc", - "bs58 0.5.0", + "bs58 0.5.1", "chacha20", "crossbeam-queue", "derive_more", @@ -13207,7 +14681,7 @@ dependencies = [ "hmac 0.12.1", "itertools 0.11.0", "libsecp256k1", - "merlin 3.0.0", + "merlin", "no-std-net", "nom", "num-bigint", @@ -13216,7 +14690,7 @@ dependencies = [ "pbkdf2 0.12.2", "pin-project", "poly1305", - "rand 0.8.5", + "rand", "rand_chacha 0.3.1", "ruzstd", "schnorrkel 0.10.2", @@ -13230,7 +14704,7 @@ dependencies = [ "soketto", "twox-hash", "wasmi", - "x25519-dalek 2.0.0", + "x25519-dalek 2.0.1", "zeroize", ] @@ -13242,7 +14716,7 @@ checksum = "256b5bad1d6b49045e95fe87492ce73d5af81545d8b4d8318a872d2007024c33" dependencies = [ "async-channel 1.9.0", "async-lock 2.8.0", - "base64 0.21.5", + "base64 0.21.7", "blake2-rfc", "derive_more", "either", @@ -13259,7 +14733,7 @@ dependencies = [ "no-std-net", "parking_lot 0.12.1", "pin-project", - "rand 0.8.5", + "rand", "rand_chacha 0.3.1", "serde", "serde_json", @@ -13278,19 +14752,19 @@ checksum = "1b6b67fb9a61334225b5b790716f609cd58395f895b3fe8b328786812a40bc3b" [[package]] name = "snow" -version = "0.9.4" +version = "0.9.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58021967fd0a5eeeb23b08df6cc244a4d4a5b4aec1d27c9e02fad1a58b4cd74e" +checksum = "850948bee068e713b8ab860fe1adc4d109676ab4c3b621fd8147f06b261f2f85" dependencies = [ "aes-gcm", - "blake2", + "blake2 0.10.6", "chacha20poly1305", - "curve25519-dalek 4.1.1", + "curve25519-dalek 4.1.2", "rand_core 0.6.4", - "ring 0.17.7", + "ring 0.17.8", "rustc_version", "sha2 0.10.8", - "subtle", + "subtle 2.5.0", ] [[package]] @@ -13305,12 +14779,12 @@ dependencies = [ [[package]] name = "socket2" -version = "0.5.5" +version = "0.5.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b5fac59a5cb5dd637972e5fca70daf0523c9067fcdc4842f053dae04a18f8e9" +checksum = "05ffd9c0a93b7543e062e759284fcf5f5e3b098501104bfbdde4d404db792871" dependencies = [ "libc", - "windows-sys 0.48.0", + "windows-sys 0.52.0", ] [[package]] @@ -13326,265 +14800,510 @@ dependencies = [ "http", "httparse", "log", - "rand 0.8.5", + "rand", "sha-1", ] [[package]] name = "sp-api" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "26.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" +dependencies = [ + "hash-db 0.16.0", + "log", + "parity-scale-codec", + "scale-info", + "sp-api-proc-macro 15.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-externalities 0.25.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-metadata-ir 0.6.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-state-machine 0.35.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-trie 29.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-version 29.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "thiserror", +] + +[[package]] +name = "sp-api" +version = "26.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "hash-db 0.16.0", "log", "parity-scale-codec", "scale-info", - "sp-api-proc-macro", - "sp-core", - "sp-externalities", - "sp-metadata-ir", - "sp-runtime", - "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std", - "sp-trie", - "sp-version", + "sp-api-proc-macro 15.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-metadata-ir 0.6.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-state-machine 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-trie 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-version 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "thiserror", ] [[package]] name = "sp-api-proc-macro" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "15.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" dependencies = [ "Inflector", - "blake2", - "expander 2.0.0", - "proc-macro-crate 1.3.1", + "blake2 0.10.6", + "expander 2.1.0", + "proc-macro-crate 3.1.0", + "proc-macro2", + "quote", + "syn 2.0.58", +] + +[[package]] +name = "sp-api-proc-macro" +version = "15.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" +dependencies = [ + "Inflector", + "blake2 0.10.6", + "expander 2.1.0", + "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.42", + "syn 2.0.58", +] + +[[package]] +name = "sp-application-crypto" +version = "30.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" +dependencies = [ + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", ] [[package]] name = "sp-application-crypto" +version = "30.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" +dependencies = [ + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", +] + +[[package]] +name = "sp-arithmetic" version = "23.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" dependencies = [ + "integer-sqrt", + "num-traits", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "static_assertions", ] [[package]] name = "sp-arithmetic" -version = "16.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "23.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "integer-sqrt", "num-traits", "parity-scale-codec", "scale-info", "serde", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "static_assertions", ] +[[package]] +name = "sp-ark-bls12-381" +version = "0.4.2" +source = "git+https://github.com/paritytech/arkworks-substrate#caa2eed74beb885dd07c7db5f916f2281dad818f" +dependencies = [ + "ark-bls12-381-ext", + "sp-crypto-ec-utils", +] + +[[package]] +name = "sp-ark-ed-on-bls12-381-bandersnatch" +version = "0.4.2" +source = "git+https://github.com/paritytech/arkworks-substrate#caa2eed74beb885dd07c7db5f916f2281dad818f" +dependencies = [ + "ark-ed-on-bls12-381-bandersnatch-ext", + "sp-crypto-ec-utils", +] + [[package]] name = "sp-authority-discovery" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "26.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "parity-scale-codec", "scale-info", - "sp-api", - "sp-application-crypto", - "sp-runtime", - "sp-std", + "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "sp-block-builder" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "26.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" +dependencies = [ + "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-inherents 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", +] + +[[package]] +name = "sp-block-builder" +version = "26.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "sp-api", - "sp-inherents", - "sp-runtime", - "sp-std", + "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "sp-blockchain" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" +dependencies = [ + "futures", + "log", + "parity-scale-codec", + "parking_lot 0.12.1", + "schnellru", + "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-consensus 0.32.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-database 10.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-state-machine 0.35.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "thiserror", +] + +[[package]] +name = "sp-blockchain" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "futures", "log", "parity-scale-codec", "parking_lot 0.12.1", "schnellru", - "sp-api", - "sp-consensus", - "sp-database", - "sp-runtime", - "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-database 10.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-state-machine 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "thiserror", +] + +[[package]] +name = "sp-consensus" +version = "0.32.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" +dependencies = [ + "async-trait", + "futures", + "log", + "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-inherents 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-state-machine 0.35.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", "thiserror", ] [[package]] name = "sp-consensus" -version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.32.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "async-trait", "futures", "log", - "sp-core", - "sp-inherents", - "sp-runtime", - "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-state-machine 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "thiserror", ] [[package]] name = "sp-consensus-aura" -version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.32.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" +dependencies = [ + "async-trait", + "parity-scale-codec", + "scale-info", + "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-application-crypto 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-consensus-slots 0.32.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-inherents 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-timestamp 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", +] + +[[package]] +name = "sp-consensus-aura" +version = "0.32.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "async-trait", "parity-scale-codec", "scale-info", - "sp-api", - "sp-application-crypto", - "sp-consensus-slots", - "sp-inherents", - "sp-runtime", - "sp-std", - "sp-timestamp", + "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-consensus-slots 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-timestamp 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "sp-consensus-babe" -version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.32.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "async-trait", "parity-scale-codec", "scale-info", "serde", - "sp-api", - "sp-application-crypto", - "sp-consensus-slots", - "sp-core", - "sp-inherents", - "sp-runtime", - "sp-std", - "sp-timestamp", + "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-consensus-slots 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-timestamp 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "sp-consensus-beefy" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "13.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "lazy_static", "parity-scale-codec", "scale-info", "serde", - "sp-api", - "sp-application-crypto", - "sp-core", - "sp-io", + "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-crypto-hashing 0.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-mmr-primitives", - "sp-runtime", - "sp-std", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "strum 0.24.1", ] [[package]] name = "sp-consensus-grandpa" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "13.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" dependencies = [ "finality-grandpa", "log", "parity-scale-codec", "scale-info", "serde", - "sp-api", - "sp-application-crypto", - "sp-core", - "sp-keystore", - "sp-runtime", - "sp-std", + "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-application-crypto 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-keystore 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", ] [[package]] -name = "sp-consensus-slots" -version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +name = "sp-consensus-grandpa" +version = "13.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ + "finality-grandpa", + "log", "parity-scale-codec", "scale-info", "serde", - "sp-std", - "sp-timestamp", + "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] -name = "sp-core" -version = "21.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +name = "sp-consensus-slots" +version = "0.32.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" dependencies = [ - "array-bytes", - "arrayvec 0.7.4", + "parity-scale-codec", + "scale-info", + "serde", + "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-timestamp 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", +] + +[[package]] +name = "sp-consensus-slots" +version = "0.32.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" +dependencies = [ + "parity-scale-codec", + "scale-info", + "serde", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-timestamp 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", +] + +[[package]] +name = "sp-core" +version = "28.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" +dependencies = [ + "array-bytes 6.2.2", "bandersnatch_vrfs", + "bip39", "bitflags 1.3.2", - "blake2", + "blake2 0.10.6", "bounded-collections", - "bs58 0.5.0", + "bs58 0.5.1", "dyn-clonable", "ed25519-zebra 3.1.0", "futures", "hash-db 0.16.0", "hash256-std-hasher", "impl-serde", - "lazy_static", + "itertools 0.10.5", "libsecp256k1", "log", - "merlin 2.0.1", + "merlin", "parity-scale-codec", "parking_lot 0.12.1", "paste", "primitive-types", - "rand 0.8.5", - "regex", + "rand", "scale-info", - "schnorrkel 0.9.1", + "schnorrkel 0.11.4", "secp256k1", "secrecy", "serde", - "sp-core-hashing", - "sp-debug-derive", - "sp-externalities", - "sp-runtime-interface", - "sp-std", - "sp-storage", + "sp-crypto-hashing 0.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-debug-derive 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-externalities 0.25.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-runtime-interface 24.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-storage 19.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "ss58-registry", + "substrate-bip39", + "thiserror", + "tracing", + "w3f-bls", + "zeroize", +] + +[[package]] +name = "sp-core" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" +dependencies = [ + "array-bytes 6.2.2", + "bandersnatch_vrfs", + "bip39", + "bitflags 1.3.2", + "blake2 0.10.6", + "bounded-collections", + "bs58 0.5.1", + "dyn-clonable", + "ed25519-zebra 3.1.0", + "futures", + "hash-db 0.16.0", + "hash256-std-hasher", + "impl-serde", + "itertools 0.10.5", + "libsecp256k1", + "log", + "merlin", + "parity-scale-codec", + "parking_lot 0.12.1", + "paste", + "primitive-types", + "rand", + "scale-info", + "schnorrkel 0.11.4", + "secp256k1", + "secrecy", + "serde", + "sp-crypto-hashing 0.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-debug-derive 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "ss58-registry", "substrate-bip39", "thiserror", - "tiny-bip39", "tracing", + "w3f-bls", "zeroize", ] [[package]] name = "sp-core-hashing" -version = "9.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "15.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" +dependencies = [ + "sp-crypto-hashing 0.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", +] + +[[package]] +name = "sp-crypto-ec-utils" +version = "0.10.0" +source = "git+https://github.com/paritytech/polkadot-sdk#80616f6d03661106326b621e9cc3ee1d2fa283ed" +dependencies = [ + "ark-bls12-377", + "ark-bls12-377-ext", + "ark-bls12-381", + "ark-bls12-381-ext", + "ark-bw6-761", + "ark-bw6-761-ext", + "ark-ec", + "ark-ed-on-bls12-377", + "ark-ed-on-bls12-377-ext", + "ark-ed-on-bls12-381-bandersnatch", + "ark-ed-on-bls12-381-bandersnatch-ext", + "ark-scale", + "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk)", +] + +[[package]] +name = "sp-crypto-hashing" +version = "0.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" dependencies = [ "blake2b_simd", "byteorder", @@ -13595,19 +15314,51 @@ dependencies = [ ] [[package]] -name = "sp-core-hashing-proc-macro" -version = "9.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +name = "sp-crypto-hashing" +version = "0.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" +dependencies = [ + "blake2b_simd", + "byteorder", + "digest 0.10.7", + "sha2 0.10.8", + "sha3", + "twox-hash", +] + +[[package]] +name = "sp-crypto-hashing-proc-macro" +version = "0.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" dependencies = [ "quote", - "sp-core-hashing", - "syn 2.0.42", + "sp-crypto-hashing 0.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "syn 2.0.58", +] + +[[package]] +name = "sp-crypto-hashing-proc-macro" +version = "0.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" +dependencies = [ + "quote", + "sp-crypto-hashing 0.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "syn 2.0.58", ] [[package]] name = "sp-database" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "10.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" +dependencies = [ + "kvdb", + "parking_lot 0.12.1", +] + +[[package]] +name = "sp-database" +version = "10.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -13615,54 +15366,145 @@ dependencies = [ [[package]] name = "sp-debug-derive" -version = "8.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "14.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.58", +] + +[[package]] +name = "sp-debug-derive" +version = "14.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.58", +] + +[[package]] +name = "sp-debug-derive" +version = "14.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk#80616f6d03661106326b621e9cc3ee1d2fa283ed" dependencies = [ "proc-macro2", "quote", - "syn 2.0.42", + "syn 2.0.58", ] [[package]] name = "sp-externalities" -version = "0.19.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.25.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" +dependencies = [ + "environmental", + "parity-scale-codec", + "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-storage 19.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", +] + +[[package]] +name = "sp-externalities" +version = "0.25.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" +dependencies = [ + "environmental", + "parity-scale-codec", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", +] + +[[package]] +name = "sp-externalities" +version = "0.25.0" +source = "git+https://github.com/paritytech/polkadot-sdk#80616f6d03661106326b621e9cc3ee1d2fa283ed" dependencies = [ "environmental", "parity-scale-codec", - "sp-std", - "sp-storage", + "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk)", ] [[package]] name = "sp-genesis-builder" -version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.7.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" +dependencies = [ + "serde_json", + "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", +] + +[[package]] +name = "sp-genesis-builder" +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "serde_json", - "sp-api", - "sp-runtime", - "sp-std", + "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "sp-inherents" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "26.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" +dependencies = [ + "async-trait", + "impl-trait-for-tuples", + "parity-scale-codec", + "scale-info", + "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "thiserror", +] + +[[package]] +name = "sp-inherents" +version = "26.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "async-trait", "impl-trait-for-tuples", "parity-scale-codec", "scale-info", - "sp-runtime", - "sp-std", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "thiserror", ] [[package]] name = "sp-io" -version = "23.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "30.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" +dependencies = [ + "bytes", + "ed25519-dalek", + "libsecp256k1", + "log", + "parity-scale-codec", + "rustversion", + "secp256k1", + "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-crypto-hashing 0.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-externalities 0.25.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-keystore 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-runtime-interface 24.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-state-machine 0.35.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-tracing 16.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-trie 29.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "tracing", + "tracing-core", +] + +[[package]] +name = "sp-io" +version = "30.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "bytes", "ed25519-dalek", @@ -13671,45 +15513,66 @@ dependencies = [ "parity-scale-codec", "rustversion", "secp256k1", - "sp-core", - "sp-externalities", - "sp-keystore", - "sp-runtime-interface", - "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std", - "sp-tracing", - "sp-trie", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-crypto-hashing 0.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-state-machine 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-trie 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "tracing", "tracing-core", ] [[package]] name = "sp-keyring" -version = "24.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "31.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "lazy_static", - "sp-core", - "sp-runtime", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "strum 0.24.1", ] [[package]] name = "sp-keystore" -version = "0.27.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.34.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" +dependencies = [ + "parity-scale-codec", + "parking_lot 0.12.1", + "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-externalities 0.25.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "thiserror", +] + +[[package]] +name = "sp-keystore" +version = "0.34.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "parity-scale-codec", "parking_lot 0.12.1", - "sp-core", - "sp-externalities", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "thiserror", +] + +[[package]] +name = "sp-maybe-compressed-blob" +version = "11.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" +dependencies = [ "thiserror", + "zstd 0.12.4", ] [[package]] name = "sp-maybe-compressed-blob" -version = "4.1.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "11.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "thiserror", "zstd 0.12.4", @@ -13717,61 +15580,106 @@ dependencies = [ [[package]] name = "sp-metadata-ir" -version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.6.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" +dependencies = [ + "frame-metadata", + "parity-scale-codec", + "scale-info", + "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", +] + +[[package]] +name = "sp-metadata-ir" +version = "0.6.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "frame-metadata", "parity-scale-codec", "scale-info", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", +] + +[[package]] +name = "sp-mixnet" +version = "0.4.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" +dependencies = [ + "parity-scale-codec", + "scale-info", + "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-application-crypto 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", +] + +[[package]] +name = "sp-mixnet" +version = "0.4.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" +dependencies = [ + "parity-scale-codec", + "scale-info", + "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "sp-mmr-primitives" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "26.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "ckb-merkle-mountain-range", "log", "parity-scale-codec", "scale-info", "serde", - "sp-api", - "sp-core", - "sp-debug-derive", - "sp-runtime", - "sp-std", + "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-debug-derive 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "thiserror", ] [[package]] name = "sp-npos-elections" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "26.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic", - "sp-core", - "sp-runtime", - "sp-std", + "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "sp-offchain" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "26.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" +dependencies = [ + "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", +] + +[[package]] +name = "sp-offchain" +version = "26.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "sp-api", - "sp-core", - "sp-runtime", + "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "sp-panic-handler" -version = "8.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "13.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" dependencies = [ "backtrace", "lazy_static", @@ -13780,8 +15688,8 @@ dependencies = [ [[package]] name = "sp-panic-handler" -version = "8.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901#c8d2251cafadc108ba2f1f8a3208dc547ff38901" +version = "13.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "backtrace", "lazy_static", @@ -13790,111 +15698,240 @@ dependencies = [ [[package]] name = "sp-rpc" -version = "6.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "26.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" +dependencies = [ + "rustc-hash", + "serde", + "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", +] + +[[package]] +name = "sp-rpc" +version = "26.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "rustc-hash", "serde", - "sp-core", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "sp-runtime" -version = "24.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "31.0.1" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" +dependencies = [ + "docify", + "either", + "hash256-std-hasher", + "impl-trait-for-tuples", + "log", + "parity-scale-codec", + "paste", + "rand", + "scale-info", + "serde", + "simple-mermaid", + "sp-application-crypto 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-arithmetic 23.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-weights 27.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", +] + +[[package]] +name = "sp-runtime" +version = "31.0.1" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ + "docify", "either", "hash256-std-hasher", "impl-trait-for-tuples", "log", "parity-scale-codec", "paste", - "rand 0.8.5", + "rand", "scale-info", "serde", - "sp-application-crypto", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-std", - "sp-weights", + "simple-mermaid", + "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-weights 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "sp-runtime-interface" -version = "17.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "24.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" dependencies = [ "bytes", "impl-trait-for-tuples", "parity-scale-codec", "primitive-types", - "sp-externalities", - "sp-runtime-interface-proc-macro", - "sp-std", - "sp-storage", - "sp-tracing", - "sp-wasm-interface", + "sp-externalities 0.25.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-runtime-interface-proc-macro 17.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-storage 19.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-tracing 16.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-wasm-interface 20.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", "static_assertions", ] [[package]] -name = "sp-runtime-interface-proc-macro" -version = "11.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +name = "sp-runtime-interface" +version = "24.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "Inflector", - "proc-macro-crate 1.3.1", - "proc-macro2", - "quote", - "syn 2.0.42", -] - -[[package]] -name = "sp-session" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" + "bytes", + "impl-trait-for-tuples", + "parity-scale-codec", + "primitive-types", + "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime-interface-proc-macro 17.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-wasm-interface 20.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "static_assertions", +] + +[[package]] +name = "sp-runtime-interface" +version = "24.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk#80616f6d03661106326b621e9cc3ee1d2fa283ed" +dependencies = [ + "bytes", + "impl-trait-for-tuples", + "parity-scale-codec", + "polkavm-derive", + "primitive-types", + "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk)", + "sp-runtime-interface-proc-macro 17.0.0 (git+https://github.com/paritytech/polkadot-sdk)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk)", + "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk)", + "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk)", + "sp-wasm-interface 20.0.0 (git+https://github.com/paritytech/polkadot-sdk)", + "static_assertions", +] + +[[package]] +name = "sp-runtime-interface-proc-macro" +version = "17.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" +dependencies = [ + "Inflector", + "expander 2.1.0", + "proc-macro-crate 3.1.0", + "proc-macro2", + "quote", + "syn 2.0.58", +] + +[[package]] +name = "sp-runtime-interface-proc-macro" +version = "17.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" +dependencies = [ + "Inflector", + "expander 2.1.0", + "proc-macro-crate 3.1.0", + "proc-macro2", + "quote", + "syn 2.0.58", +] + +[[package]] +name = "sp-runtime-interface-proc-macro" +version = "17.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk#80616f6d03661106326b621e9cc3ee1d2fa283ed" +dependencies = [ + "Inflector", + "expander 2.1.0", + "proc-macro-crate 3.1.0", + "proc-macro2", + "quote", + "syn 2.0.58", +] + +[[package]] +name = "sp-session" +version = "27.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" +dependencies = [ + "parity-scale-codec", + "scale-info", + "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-keystore 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-staking 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", +] + +[[package]] +name = "sp-session" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "parity-scale-codec", "scale-info", - "sp-api", - "sp-core", - "sp-keystore", - "sp-runtime", - "sp-staking", - "sp-std", + "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-staking 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "sp-staking" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "26.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-runtime", - "sp-std", + "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", +] + +[[package]] +name = "sp-staking" +version = "26.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" +dependencies = [ + "impl-trait-for-tuples", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "sp-state-machine" -version = "0.28.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.35.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" dependencies = [ "hash-db 0.16.0", "log", "parity-scale-codec", "parking_lot 0.12.1", - "rand 0.8.5", + "rand", "smallvec", - "sp-core", - "sp-externalities", - "sp-panic-handler 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std", - "sp-trie", + "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-externalities 0.25.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-panic-handler 13.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-trie 29.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", "thiserror", "tracing", "trie-db", @@ -13902,20 +15939,20 @@ dependencies = [ [[package]] name = "sp-state-machine" -version = "0.28.0" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901#c8d2251cafadc108ba2f1f8a3208dc547ff38901" +version = "0.35.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "hash-db 0.16.0", "log", "parity-scale-codec", "parking_lot 0.12.1", - "rand 0.8.5", + "rand", "smallvec", - "sp-core", - "sp-externalities", - "sp-panic-handler 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-std", - "sp-trie", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-panic-handler 13.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-trie 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "thiserror", "tracing", "trie-db", @@ -13923,172 +15960,384 @@ dependencies = [ [[package]] name = "sp-statement-store" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "10.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" +dependencies = [ + "aes-gcm", + "curve25519-dalek 4.1.2", + "ed25519-dalek", + "hkdf", + "parity-scale-codec", + "rand", + "scale-info", + "sha2 0.10.8", + "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-application-crypto 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-crypto-hashing 0.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-externalities 0.25.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-runtime-interface 24.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "thiserror", + "x25519-dalek 2.0.1", +] + +[[package]] +name = "sp-statement-store" +version = "10.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "aes-gcm", - "curve25519-dalek 4.1.1", + "curve25519-dalek 4.1.2", "ed25519-dalek", "hkdf", "parity-scale-codec", - "rand 0.8.5", + "rand", "scale-info", "sha2 0.10.8", - "sp-api", - "sp-application-crypto", - "sp-core", - "sp-externalities", - "sp-runtime", - "sp-runtime-interface", - "sp-std", + "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-crypto-hashing 0.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "thiserror", - "x25519-dalek 2.0.0", + "x25519-dalek 2.0.1", ] [[package]] name = "sp-std" -version = "8.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "14.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" + +[[package]] +name = "sp-std" +version = "14.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" + +[[package]] +name = "sp-std" +version = "14.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk#80616f6d03661106326b621e9cc3ee1d2fa283ed" [[package]] name = "sp-storage" -version = "13.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "19.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" +dependencies = [ + "impl-serde", + "parity-scale-codec", + "ref-cast", + "serde", + "sp-debug-derive 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", +] + +[[package]] +name = "sp-storage" +version = "19.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" +dependencies = [ + "impl-serde", + "parity-scale-codec", + "ref-cast", + "serde", + "sp-debug-derive 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", +] + +[[package]] +name = "sp-storage" +version = "19.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk#80616f6d03661106326b621e9cc3ee1d2fa283ed" dependencies = [ "impl-serde", "parity-scale-codec", "ref-cast", "serde", - "sp-debug-derive", - "sp-std", + "sp-debug-derive 14.0.0 (git+https://github.com/paritytech/polkadot-sdk)", ] [[package]] name = "sp-timestamp" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "26.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" +dependencies = [ + "async-trait", + "parity-scale-codec", + "sp-inherents 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "thiserror", +] + +[[package]] +name = "sp-timestamp" +version = "26.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "async-trait", "parity-scale-codec", - "sp-inherents", - "sp-runtime", - "sp-std", + "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "thiserror", ] [[package]] name = "sp-tracing" -version = "10.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "16.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" +dependencies = [ + "parity-scale-codec", + "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "tracing", + "tracing-core", + "tracing-subscriber 0.2.25", +] + +[[package]] +name = "sp-tracing" +version = "16.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" +dependencies = [ + "parity-scale-codec", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "tracing", + "tracing-core", + "tracing-subscriber 0.2.25", +] + +[[package]] +name = "sp-tracing" +version = "16.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk#80616f6d03661106326b621e9cc3ee1d2fa283ed" dependencies = [ "parity-scale-codec", - "sp-std", "tracing", "tracing-core", - "tracing-subscriber", + "tracing-subscriber 0.3.18", ] [[package]] name = "sp-transaction-pool" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "26.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" +dependencies = [ + "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", +] + +[[package]] +name = "sp-transaction-pool" +version = "26.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "sp-api", - "sp-runtime", + "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "sp-transaction-storage-proof" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "26.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" dependencies = [ "async-trait", "parity-scale-codec", "scale-info", - "sp-core", - "sp-inherents", - "sp-runtime", - "sp-std", - "sp-trie", + "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-inherents 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-trie 29.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", +] + +[[package]] +name = "sp-transaction-storage-proof" +version = "26.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" +dependencies = [ + "async-trait", + "parity-scale-codec", + "scale-info", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-trie 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "sp-trie" -version = "22.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "29.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" dependencies = [ - "ahash 0.8.6", + "ahash 0.8.11", "hash-db 0.16.0", - "hashbrown 0.13.2", "lazy_static", "memory-db", "nohash-hasher", "parity-scale-codec", "parking_lot 0.12.1", + "rand", "scale-info", "schnellru", - "sp-core", - "sp-std", + "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-externalities 0.25.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", "thiserror", "tracing", "trie-db", "trie-root", ] +[[package]] +name = "sp-trie" +version = "29.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" +dependencies = [ + "ahash 0.8.11", + "hash-db 0.16.0", + "lazy_static", + "memory-db", + "nohash-hasher", + "parity-scale-codec", + "parking_lot 0.12.1", + "rand", + "scale-info", + "schnellru", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "thiserror", + "tracing", + "trie-db", + "trie-root", +] + +[[package]] +name = "sp-version" +version = "29.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" +dependencies = [ + "impl-serde", + "parity-scale-codec", + "parity-wasm", + "scale-info", + "serde", + "sp-crypto-hashing-proc-macro 0.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-version-proc-macro 13.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "thiserror", +] + [[package]] name = "sp-version" -version = "22.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "29.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "impl-serde", "parity-scale-codec", "parity-wasm", "scale-info", "serde", - "sp-core-hashing-proc-macro", - "sp-runtime", - "sp-std", - "sp-version-proc-macro", + "sp-crypto-hashing-proc-macro 0.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-version-proc-macro 13.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "thiserror", ] [[package]] name = "sp-version-proc-macro" -version = "8.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "13.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" +dependencies = [ + "parity-scale-codec", + "proc-macro2", + "quote", + "syn 2.0.58", +] + +[[package]] +name = "sp-version-proc-macro" +version = "13.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "parity-scale-codec", "proc-macro2", "quote", - "syn 2.0.42", + "syn 2.0.58", ] [[package]] name = "sp-wasm-interface" -version = "14.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "20.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" dependencies = [ "anyhow", "impl-trait-for-tuples", "log", "parity-scale-codec", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", "wasmtime", ] [[package]] -name = "sp-weights" +name = "sp-wasm-interface" version = "20.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ + "anyhow", + "impl-trait-for-tuples", + "log", + "parity-scale-codec", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "wasmtime", +] + +[[package]] +name = "sp-wasm-interface" +version = "20.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk#80616f6d03661106326b621e9cc3ee1d2fa283ed" +dependencies = [ + "impl-trait-for-tuples", + "log", + "parity-scale-codec", +] + +[[package]] +name = "sp-weights" +version = "27.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" +dependencies = [ + "bounded-collections", "parity-scale-codec", "scale-info", "serde", "smallvec", - "sp-arithmetic", - "sp-core", - "sp-debug-derive", - "sp-std", + "sp-arithmetic 23.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-debug-derive 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", +] + +[[package]] +name = "sp-weights" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" +dependencies = [ + "bounded-collections", + "parity-scale-codec", + "scale-info", + "serde", + "smallvec", + "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-debug-derive 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] @@ -14117,145 +16366,54 @@ dependencies = [ [[package]] name = "spki" version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d91ed6c858b01f942cd56b37a94b3e0a1798290327d1236e4d9cf4eaca44d29d" -dependencies = [ - "base64ct", - "der", -] - -[[package]] -name = "ss58-registry" -version = "1.44.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35935738370302d5e33963665b77541e4b990a3e919ec904c837a56cfc891de1" -dependencies = [ - "Inflector", - "num-format", - "proc-macro2", - "quote", - "serde", - "serde_json", - "unicode-xid", -] - -[[package]] -name = "stable_deref_trait" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" - -[[package]] -name = "staging-kusama-runtime" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" -dependencies = [ - "binary-merkle-tree", - "bitvec", - "frame-benchmarking", - "frame-election-provider-support", - "frame-executive", - "frame-support", - "frame-system", - "frame-system-benchmarking", - "frame-system-rpc-runtime-api", - "frame-try-runtime", - "hex-literal 0.4.1", - "kusama-runtime-constants", - "log", - "pallet-authority-discovery", - "pallet-authorship", - "pallet-babe", - "pallet-bags-list", - "pallet-balances", - "pallet-beefy", - "pallet-beefy-mmr", - "pallet-bounties", - "pallet-child-bounties", - "pallet-collective", - "pallet-conviction-voting", - "pallet-democracy 4.0.0-dev", - "pallet-election-provider-multi-phase", - "pallet-election-provider-support-benchmarking", - "pallet-elections-phragmen", - "pallet-fast-unstake", - "pallet-grandpa", - "pallet-identity", - "pallet-im-online", - "pallet-indices", - "pallet-membership", - "pallet-message-queue", - "pallet-mmr", - "pallet-multisig", - "pallet-nis", - "pallet-nomination-pools", - "pallet-nomination-pools-benchmarking", - "pallet-nomination-pools-runtime-api", - "pallet-offences", - "pallet-offences-benchmarking", - "pallet-preimage", - "pallet-proxy", - "pallet-ranked-collective", - "pallet-recovery", - "pallet-referenda", - "pallet-scheduler", - "pallet-session", - "pallet-session-benchmarking", - "pallet-society", - "pallet-staking 4.0.0-dev", - "pallet-staking-runtime-api", - "pallet-state-trie-migration", - "pallet-timestamp", - "pallet-tips", - "pallet-transaction-payment", - "pallet-transaction-payment-rpc-runtime-api", - "pallet-treasury", - "pallet-utility", - "pallet-vesting", - "pallet-whitelist", - "pallet-xcm", - "pallet-xcm-benchmarks", +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d91ed6c858b01f942cd56b37a94b3e0a1798290327d1236e4d9cf4eaca44d29d" +dependencies = [ + "base64ct", + "der", +] + +[[package]] +name = "ss58-registry" +version = "1.47.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4743ce898933fbff7bbf414f497c459a782d496269644b3d650a398ae6a487ba" +dependencies = [ + "Inflector", + "num-format", + "proc-macro2", + "quote", + "serde", + "serde_json", + "unicode-xid", +] + +[[package]] +name = "stable_deref_trait" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" + +[[package]] +name = "staging-parachain-info" +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" +dependencies = [ + "cumulus-primitives-core", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "parity-scale-codec", - "polkadot-primitives", - "polkadot-runtime-common", - "polkadot-runtime-parachains", - "rustc-hex", "scale-info", - "serde", - "serde_derive", - "smallvec", - "sp-api", - "sp-application-crypto", - "sp-arithmetic", - "sp-authority-discovery", - "sp-block-builder", - "sp-consensus-babe", - "sp-consensus-beefy", - "sp-core", - "sp-inherents", - "sp-io", - "sp-mmr-primitives", - "sp-npos-elections", - "sp-offchain", - "sp-runtime", - "sp-session", - "sp-staking", - "sp-std", - "sp-storage", - "sp-transaction-pool", - "sp-version", - "staging-xcm", - "staging-xcm-builder", - "staging-xcm-executor", - "static_assertions", - "substrate-wasm-builder", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "staging-xcm" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ + "array-bytes 6.2.2", "bounded-collections", "derivative", "environmental", @@ -14264,49 +16422,50 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-weights", + "sp-weights 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "xcm-procedural", ] [[package]] name = "staging-xcm-builder" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-support", - "frame-system", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "impl-trait-for-tuples", "log", "pallet-transaction-payment", "parity-scale-codec", "polkadot-parachain-primitives", "scale-info", - "sp-arithmetic", - "sp-io", - "sp-runtime", - "sp-std", - "sp-weights", + "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-weights 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "staging-xcm", "staging-xcm-executor", ] [[package]] name = "staging-xcm-executor" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "environmental", - "frame-benchmarking", - "frame-support", + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "impl-trait-for-tuples", "log", "parity-scale-codec", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", - "sp-weights", + "scale-info", + "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-weights 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "staging-xcm", ] @@ -14344,12 +16503,31 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "strobe-rs" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fabb238a1cccccfa4c4fb703670c0d157e1256c1ba695abf1b93bd2bb14bab2d" +dependencies = [ + "bitflags 1.3.2", + "byteorder", + "keccak", + "subtle 2.5.0", + "zeroize", +] + [[package]] name = "strsim" version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" +[[package]] +name = "strsim" +version = "0.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" + [[package]] name = "strum" version = "0.24.1" @@ -14361,9 +16539,9 @@ dependencies = [ [[package]] name = "strum" -version = "0.25.0" +version = "0.26.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "290d54ea6f91c969195bdbcd7442c8c2a2ba87da8bf60a7ee86a235d4bc1e125" +checksum = "5d8cec3501a5194c432b2b7976db6b7d10ec95c253208b45f83f7136aa985e29" [[package]] name = "strum_macros" @@ -14371,7 +16549,7 @@ version = "0.24.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1e385be0d24f186b4ce2f9982191e7101bb737312ad61c1f2f984f34bcf85d59" dependencies = [ - "heck", + "heck 0.4.1", "proc-macro2", "quote", "rustversion", @@ -14380,26 +16558,26 @@ dependencies = [ [[package]] name = "strum_macros" -version = "0.25.3" +version = "0.26.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23dc1fa9ac9c169a78ba62f0b841814b7abae11bdd047b9c58f893439e309ea0" +checksum = "c6cf59daf282c0a494ba14fd21610a0325f9f90ec9d1231dea26bcb1d696c946" dependencies = [ - "heck", + "heck 0.4.1", "proc-macro2", "quote", "rustversion", - "syn 2.0.42", + "syn 2.0.58", ] [[package]] name = "substrate-bip39" -version = "0.4.5" +version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e620c7098893ba667438b47169c00aacdd9e7c10e042250ce2b60b087ec97328" +checksum = "6a7590dc041b9bc2825e52ce5af8416c73dbe9d0654402bfd4b4941938b94d8f" dependencies = [ "hmac 0.11.0", "pbkdf2 0.8.0", - "schnorrkel 0.9.1", + "schnorrkel 0.11.4", "sha2 0.9.9", "zeroize", ] @@ -14413,38 +16591,50 @@ dependencies = [ "byteorder", "crunchy", "lazy_static", - "rand 0.8.5", + "rand", "rustc-hex", ] [[package]] name = "substrate-build-script-utils" -version = "3.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "11.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" [[package]] name = "substrate-frame-rpc-system" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "frame-system-rpc-runtime-api", "futures", - "jsonrpsee 0.16.3", + "jsonrpsee 0.20.3", "log", "parity-scale-codec", - "sc-rpc-api", - "sc-transaction-pool-api", - "sp-api", - "sp-block-builder", - "sp-blockchain", - "sp-core", - "sp-runtime", + "sc-rpc-api 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-transaction-pool-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-block-builder 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", +] + +[[package]] +name = "substrate-prometheus-endpoint" +version = "0.17.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" +dependencies = [ + "hyper", + "log", + "prometheus", + "thiserror", + "tokio", ] [[package]] name = "substrate-prometheus-endpoint" -version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.17.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "hyper", "log", @@ -14455,57 +16645,63 @@ dependencies = [ [[package]] name = "substrate-rpc-client" -version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.33.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "async-trait", - "jsonrpsee 0.16.3", + "jsonrpsee 0.20.3", "log", - "sc-rpc-api", + "sc-rpc-api 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "serde", - "sp-runtime", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "substrate-state-trie-migration-rpc" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "jsonrpsee 0.16.3", + "jsonrpsee 0.20.3", "parity-scale-codec", - "sc-client-api", - "sc-rpc-api", + "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-rpc-api 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "serde", - "sp-core", - "sp-runtime", - "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-trie", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-state-machine 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-trie 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "trie-db", ] [[package]] name = "substrate-wasm-builder" -version = "5.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "17.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "ansi_term", "build-helper", "cargo_metadata", + "console", "filetime", "parity-wasm", - "sp-maybe-compressed-blob", + "sp-maybe-compressed-blob 11.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "strum 0.24.1", "tempfile", - "toml 0.7.8", + "toml 0.8.12", "walkdir", "wasm-opt", ] [[package]] name = "subtle" -version = "2.4.1" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2d67a5a62ba6e01cb2192ff309324cb4875d0c451d55fe2319433abe7a05a8ee" + +[[package]] +name = "subtle" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6bdef32e8150c2a081110b42772ffe7d7c9032b606bc226c8260fd97e0976601" +checksum = "81cdd64d312baedb58e21336b31bc043b77e01cc99033ce76ef539f78e965ebc" [[package]] name = "subtle-ng" @@ -14526,9 +16722,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.42" +version = "2.0.58" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b7d0a2c048d661a1a59fcd7355baa232f7ed34e0ee4df2eef3c1c1c0d3852d8" +checksum = "44cfb93f38070beee36b3fef7d4f5a16f27751d94b187b666a5cc5e9b0d30687" dependencies = [ "proc-macro2", "quote", @@ -14576,32 +16772,41 @@ checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" [[package]] name = "target-lexicon" -version = "0.12.12" +version = "0.12.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "14c39fd04924ca3a864207c66fc2cd7d22d7c016007f9ce846cbb9326331930a" +checksum = "e1fc403891a21bcfb7c37834ba66a547a8f402146eba7265b5a6d88059c9ff2f" [[package]] name = "tempfile" -version = "3.8.1" +version = "3.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ef1adac450ad7f4b3c28589471ade84f25f731a7a0fe30d71dfa9f60fd808e5" +checksum = "85b77fafb263dd9d05cbeac119526425676db3784113aa9295c88498cbf8bff1" dependencies = [ "cfg-if", - "fastrand 2.0.1", - "redox_syscall 0.4.1", - "rustix 0.38.28", - "windows-sys 0.48.0", + "fastrand 2.0.2", + "rustix 0.38.32", + "windows-sys 0.52.0", ] [[package]] name = "termcolor" -version = "1.4.0" +version = "1.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff1bc3d3f05aff0403e8ac0d92ced918ec05b666a43f83297ccef5bea8a3d449" +checksum = "06794f8f6c5c898b3275aebefa6b8a1cb24cd2c6c79397ab15774837a0bc5755" dependencies = [ "winapi-util", ] +[[package]] +name = "terminal_size" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "21bebf2b7c9e0a515f6e0f8c51dc0f8e4696391e6f1ff30379559f8365fb0df7" +dependencies = [ + "rustix 0.38.32", + "windows-sys 0.48.0", +] + [[package]] name = "termtree" version = "0.4.1" @@ -14635,7 +16840,7 @@ dependencies = [ "cfg-if", "proc-macro2", "quote", - "syn 2.0.42", + "syn 2.0.58", ] [[package]] @@ -14659,7 +16864,7 @@ checksum = "5c89e72a01ed4c579669add59014b9a524d609c0c88c6a585ce37485879f6ffb" dependencies = [ "proc-macro2", "quote", - "syn 2.0.42", + "syn 2.0.58", "test-case-core", ] @@ -14667,21 +16872,21 @@ dependencies = [ name = "test-utils" version = "1.1.1" dependencies = [ - "frame-system", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "pretty_assertions", ] [[package]] name = "textwrap" -version = "0.16.0" +version = "0.16.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "222a222a5bfe1bba4a77b45ec488a741b3cb8872e5e499451fd7d0129c9c7c3d" +checksum = "23d434d3f8967a09480fb04132ebe0a3e088c173e6d0ee7897abbdf4eab0f8b9" [[package]] name = "thiserror" -version = "1.0.51" +version = "1.0.58" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f11c217e1416d6f036b870f14e0413d480dbf28edbee1f877abaf0206af43bb7" +checksum = "03468839009160513471e86a034bb2c5c0e4baae3b43f79ffc55c4a5427b3297" dependencies = [ "thiserror-impl", ] @@ -14703,18 +16908,18 @@ checksum = "e4c60d69f36615a077cc7663b9cb8e42275722d23e58a7fa3d2c7f2915d09d04" dependencies = [ "proc-macro2", "quote", - "syn 2.0.42", + "syn 2.0.58", ] [[package]] name = "thiserror-impl" -version = "1.0.51" +version = "1.0.58" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01742297787513b79cf8e29d1056ede1313e2420b7b3b15d0a768b4921f549df" +checksum = "c61f3ba182994efc43764a46c018c347bc492c79f024e705f46567b418f6d4f7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.42", + "syn 2.0.58", ] [[package]] @@ -14725,9 +16930,9 @@ checksum = "3bf63baf9f5039dadc247375c29eb13706706cfde997d0330d05aa63a77d8820" [[package]] name = "thread_local" -version = "1.1.7" +version = "1.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3fdd6f064ccff2d6567adcb3873ca630700f00b5ad3f060c25b5dcfd9a4ce152" +checksum = "8b9ef9bad013ada3808854ceac7b46812a6465ba368859a37e2100283d2d719c" dependencies = [ "cfg-if", "once_cell", @@ -14778,12 +16983,13 @@ dependencies = [ [[package]] name = "time" -version = "0.3.31" +version = "0.3.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f657ba42c3f86e7680e53c8cd3af8abbe56b5491790b46e22e19c0d57463583e" +checksum = "c8248b6521bb14bc45b4067159b9b6ad792e2d6d754d6c41fb50e29fefe38749" dependencies = [ "deranged", "itoa", + "num-conv", "powerfmt", "serde", "time-core", @@ -14798,32 +17004,14 @@ checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3" [[package]] name = "time-macros" -version = "0.2.16" +version = "0.2.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26197e33420244aeb70c3e8c78376ca46571bc4e701e4791c2cd9f57dcb3a43f" +checksum = "7ba3a3ef41e6672a2f0f001392bb5dcd3ff0a9992d618ca761a11c3121547774" dependencies = [ + "num-conv", "time-core", ] -[[package]] -name = "tiny-bip39" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62cc94d358b5a1e84a5cb9109f559aa3c4d634d2b1b4de3d0fa4adc7c78e2861" -dependencies = [ - "anyhow", - "hmac 0.12.1", - "once_cell", - "pbkdf2 0.11.0", - "rand 0.8.5", - "rustc-hash", - "sha2 0.10.8", - "thiserror", - "unicode-normalization", - "wasm-bindgen", - "zeroize", -] - [[package]] name = "tiny-keccak" version = "2.0.2" @@ -14860,9 +17048,9 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.35.1" +version = "1.37.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c89b4efa943be685f629b149f53829423f8f5531ea21249408e8e2f8671ec104" +checksum = "1adbebffeca75fcfd058afa480fb6c0b81e165a0323f9c9d39c9697e37c46787" dependencies = [ "backtrace", "bytes", @@ -14870,9 +17058,9 @@ dependencies = [ "mio", "num_cpus", "parking_lot 0.12.1", - "pin-project-lite 0.2.13", + "pin-project-lite 0.2.14", "signal-hook-registry", - "socket2 0.5.5", + "socket2 0.5.6", "tokio-macros", "windows-sys 0.48.0", ] @@ -14885,7 +17073,7 @@ checksum = "5b8a1e28f2deaa14e508979454cb3a223b10b938b45af148bc0986de36f1923b" dependencies = [ "proc-macro2", "quote", - "syn 2.0.42", + "syn 2.0.58", ] [[package]] @@ -14895,7 +17083,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7f57eb36ecbe0fc510036adff84824dd3c24bb781e21bfa67b69d556aa85214f" dependencies = [ "pin-project", - "rand 0.8.5", + "rand", "tokio", ] @@ -14911,12 +17099,12 @@ dependencies = [ [[package]] name = "tokio-stream" -version = "0.1.14" +version = "0.1.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "397c988d37662c7dda6d2208364a706264bf3d6138b11d436cbac0ad38832842" +checksum = "267ac89e0bec6e691e5813911606935d77c476ff49024f98abcea3e7b15e37af" dependencies = [ "futures-core", - "pin-project-lite 0.2.13", + "pin-project-lite 0.2.14", "tokio", "tokio-util", ] @@ -14931,7 +17119,7 @@ dependencies = [ "futures-core", "futures-io", "futures-sink", - "pin-project-lite 0.2.13", + "pin-project-lite 0.2.14", "tokio", "tracing", ] @@ -14959,21 +17147,21 @@ dependencies = [ [[package]] name = "toml" -version = "0.8.2" +version = "0.8.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "185d8ab0dfbb35cf1399a6344d8484209c088f75f8f68230da55d48d95d43e3d" +checksum = "e9dd1545e8208b4a5af1aa9bbd0b4cf7e9ea08fabc5d0a5c67fcaafa17433aa3" dependencies = [ "serde", "serde_spanned", "toml_datetime", - "toml_edit 0.20.2", + "toml_edit 0.22.9", ] [[package]] name = "toml_datetime" -version = "0.6.3" +version = "0.6.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7cda73e2f1397b1262d6dfdcef8aafae14d1de7748d66822d3bfeeb6d03e5e4b" +checksum = "3550f4e9685620ac18a50ed434eb3aec30db8ba93b0287467bca5826ea25baf1" dependencies = [ "serde", ] @@ -14984,24 +17172,46 @@ version = "0.19.15" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1b5bb770da30e5cbfde35a2d7b9b8a2c4b8ef89548a7a6aeab5c9a576e3e7421" dependencies = [ - "indexmap 2.1.0", + "indexmap 2.2.6", "serde", "serde_spanned", "toml_datetime", - "winnow", + "winnow 0.5.40", +] + +[[package]] +name = "toml_edit" +version = "0.20.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "70f427fce4d84c72b5b732388bf4a9f4531b53f74e2887e3ecb2481f68f66d81" +dependencies = [ + "indexmap 2.2.6", + "toml_datetime", + "winnow 0.5.40", +] + +[[package]] +name = "toml_edit" +version = "0.21.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6a8534fd7f78b5405e860340ad6575217ce99f38d4d5c8f2442cb5ecb50090e1" +dependencies = [ + "indexmap 2.2.6", + "toml_datetime", + "winnow 0.5.40", ] [[package]] name = "toml_edit" -version = "0.20.2" +version = "0.22.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "396e4d48bbb2b7554c944bde63101b5ae446cff6ec4a24227428f15eb72ef338" +checksum = "8e40bb779c5187258fd7aad0eb68cb8706a0a81fa712fbea808ab43c4b8374c4" dependencies = [ - "indexmap 2.1.0", + "indexmap 2.2.6", "serde", "serde_spanned", "toml_datetime", - "winnow", + "winnow 0.6.5", ] [[package]] @@ -15010,6 +17220,10 @@ version = "0.4.13" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b8fa9be0de6cf49e536ce1851f987bd21a43b771b09473c3549a6c853db37c1c" dependencies = [ + "futures-core", + "futures-util", + "pin-project", + "pin-project-lite 0.2.14", "tower-layer", "tower-service", "tracing", @@ -15021,14 +17235,14 @@ version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "61c5bb1d698276a2443e5ecfabc1008bf15a36c12e6a7176e7bf089ea9131140" dependencies = [ - "bitflags 2.4.1", + "bitflags 2.5.0", "bytes", "futures-core", "futures-util", "http", "http-body", "http-range-header", - "pin-project-lite 0.2.13", + "pin-project-lite 0.2.14", "tower-layer", "tower-service", ] @@ -15052,7 +17266,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c3523ab5a71916ccf420eebdf5521fcef02141234bbc0b8a49f2fdc4544364ef" dependencies = [ "log", - "pin-project-lite 0.2.13", + "pin-project-lite 0.2.14", "tracing-attributes", "tracing-core", ] @@ -15065,7 +17279,7 @@ checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.42", + "syn 2.0.58", ] [[package]] @@ -15090,11 +17304,10 @@ dependencies = [ [[package]] name = "tracing-gum" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "coarsetime", - "polkadot-node-jaeger", "polkadot-primitives", "tracing", "tracing-gum-proc-macro", @@ -15102,14 +17315,14 @@ dependencies = [ [[package]] name = "tracing-gum-proc-macro" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "5.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "expander 2.0.0", - "proc-macro-crate 1.3.1", + "expander 2.1.0", + "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.42", + "syn 2.0.58", ] [[package]] @@ -15123,6 +17336,17 @@ dependencies = [ "tracing-core", ] +[[package]] +name = "tracing-log" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ee855f1f400bd0e5c02d150ae5de3840039a3f54b025156404e34c23c03f47c3" +dependencies = [ + "log", + "once_cell", + "tracing-core", +] + [[package]] name = "tracing-serde" version = "0.1.3" @@ -15142,7 +17366,7 @@ dependencies = [ "ansi_term", "chrono", "lazy_static", - "matchers", + "matchers 0.0.1", "parking_lot 0.11.2", "regex", "serde", @@ -15152,15 +17376,33 @@ dependencies = [ "thread_local", "tracing", "tracing-core", - "tracing-log", + "tracing-log 0.1.4", "tracing-serde", ] +[[package]] +name = "tracing-subscriber" +version = "0.3.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ad0f048c97dbd9faa9b7df56362b8ebcaa52adb06b498c050d2f4e32f90a7a8b" +dependencies = [ + "matchers 0.1.0", + "nu-ansi-term", + "once_cell", + "regex", + "sharded-slab", + "smallvec", + "thread_local", + "tracing", + "tracing-core", + "tracing-log 0.2.0", +] + [[package]] name = "trie-db" -version = "0.27.1" +version = "0.28.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "767abe6ffed88a1889671a102c2861ae742726f52e0a5a425b92c9fbfa7e9c85" +checksum = "ff28e0f815c2fea41ebddf148e008b077d2faddb026c9555b29696114d602642" dependencies = [ "hash-db 0.16.0", "hashbrown 0.13.2", @@ -15204,7 +17446,7 @@ dependencies = [ "idna 0.2.3", "ipnet", "lazy_static", - "rand 0.8.5", + "rand", "smallvec", "socket2 0.4.10", "thiserror", @@ -15242,35 +17484,35 @@ checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" [[package]] name = "try-runtime-cli" -version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.38.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "async-trait", - "clap 4.4.11", + "clap 4.5.4", "frame-remote-externalities", "hex", "log", "parity-scale-codec", "sc-cli", - "sc-executor", + "sc-executor 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "serde", "serde_json", - "sp-api", - "sp-consensus-aura", + "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-consensus-aura 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-consensus-babe", - "sp-core", - "sp-debug-derive", - "sp-externalities", - "sp-inherents", - "sp-io", - "sp-keystore", - "sp-rpc", - "sp-runtime", - "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-timestamp", - "sp-transaction-storage-proof", - "sp-version", - "sp-weights", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-debug-derive 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-rpc 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-state-machine 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-timestamp 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-transaction-storage-proof 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-version 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-weights 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "substrate-rpc-client", "zstd 0.12.4", ] @@ -15289,7 +17531,7 @@ checksum = "97fee6b57c6a41524a810daee9286c02d7752c4253064d0b05472833a438f675" dependencies = [ "cfg-if", "digest 0.10.7", - "rand 0.8.5", + "rand", "static_assertions", ] @@ -15334,9 +17576,9 @@ dependencies = [ [[package]] name = "unicode-bidi" -version = "0.3.14" +version = "0.3.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f2528f27a9eb2b21e69c95319b30bd0efd85d09c379741b0f78ea1d86be2416" +checksum = "08f95100a766bf4f8f28f90d77e0a5461bbdb219042e7679bebe79004fed8d75" [[package]] name = "unicode-ident" @@ -15372,7 +17614,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fc1de2c688dc15305988b563c3854064043356019f97a4b46276fe734c4f07ea" dependencies = [ "crypto-common", - "subtle", + "subtle 2.5.0", ] [[package]] @@ -15440,6 +17682,30 @@ version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d" +[[package]] +name = "w3f-bls" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7335e4c132c28cc43caef6adb339789e599e39adbe78da0c4d547fad48cbc331" +dependencies = [ + "ark-bls12-377", + "ark-bls12-381", + "ark-ec", + "ark-ff", + "ark-serialize", + "ark-serialize-derive", + "arrayref", + "constcat", + "digest 0.10.7", + "rand", + "rand_chacha 0.3.1", + "rand_core 0.6.4", + "sha2 0.10.8", + "sha3", + "thiserror", + "zeroize", +] + [[package]] name = "wait-timeout" version = "0.2.0" @@ -15457,9 +17723,9 @@ checksum = "f3c4517f54858c779bbcbf228f4fca63d121bf85fbecb2dc578cdf4a39395690" [[package]] name = "walkdir" -version = "2.4.0" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d71d857dc86794ca4c280d616f7da00d2dbfd8cd788846559a6813e6aa4b54ee" +checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b" dependencies = [ "same-file", "winapi-util", @@ -15486,11 +17752,20 @@ version = "0.11.0+wasi-snapshot-preview1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" +[[package]] +name = "wasix" +version = "0.12.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c1fbb4ef9bbca0c1170e0b00dd28abc9e3b68669821600cad1caaed606583c6d" +dependencies = [ + "wasi 0.11.0+wasi-snapshot-preview1", +] + [[package]] name = "wasm-bindgen" -version = "0.2.89" +version = "0.2.92" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ed0d4f68a3015cc185aff4db9506a015f4b96f95303897bfa23f846db54064e" +checksum = "4be2531df63900aeb2bca0daaaddec08491ee64ceecbee5076636a3b026795a8" dependencies = [ "cfg-if", "wasm-bindgen-macro", @@ -15498,24 +17773,24 @@ dependencies = [ [[package]] name = "wasm-bindgen-backend" -version = "0.2.89" +version = "0.2.92" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b56f625e64f3a1084ded111c4d5f477df9f8c92df113852fa5a374dbda78826" +checksum = "614d787b966d3989fa7bb98a654e369c762374fd3213d212cfc0251257e747da" dependencies = [ "bumpalo", "log", "once_cell", "proc-macro2", "quote", - "syn 2.0.42", + "syn 2.0.58", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-futures" -version = "0.4.39" +version = "0.4.42" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac36a15a220124ac510204aec1c3e5db8a22ab06fd6706d881dc6149f8ed9a12" +checksum = "76bc14366121efc8dbb487ab05bcc9d346b3b5ec0eaa76e46594cabbe51762c0" dependencies = [ "cfg-if", "js-sys", @@ -15525,9 +17800,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro" -version = "0.2.89" +version = "0.2.92" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0162dbf37223cd2afce98f3d0785506dcb8d266223983e4b5b525859e6e182b2" +checksum = "a1f8823de937b71b9460c0c34e25f3da88250760bec0ebac694b49997550d726" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -15535,37 +17810,37 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.89" +version = "0.2.92" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0eb82fcb7930ae6219a7ecfd55b217f5f0893484b7a13022ebb2b2bf20b5283" +checksum = "e94f17b526d0a461a191c78ea52bbce64071ed5c04c9ffe424dcb38f74171bb7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.42", + "syn 2.0.58", "wasm-bindgen-backend", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-shared" -version = "0.2.89" +version = "0.2.92" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ab9b36309365056cd639da3134bf87fa8f3d86008abf99e612384a6eecd459f" +checksum = "af190c94f2773fdb3729c55b007a722abb5384da03bc0986df4c289bf5567e96" [[package]] name = "wasm-instrument" -version = "0.3.0" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa1dafb3e60065305741e83db35c6c2584bb3725b692b5b66148a38d72ace6cd" +checksum = "2a47ecb37b9734d1085eaa5ae1a81e60801fd8c28d4cabdd8aedb982021918bc" dependencies = [ "parity-wasm", ] [[package]] name = "wasm-opt" -version = "0.114.2" +version = "0.116.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "effbef3bd1dde18acb401f73e740a6f3d4a1bc651e9773bddc512fe4d8d68f67" +checksum = "2fd87a4c135535ffed86123b6fb0f0a5a0bc89e50416c942c5f0662c645f679c" dependencies = [ "anyhow", "libc", @@ -15579,9 +17854,9 @@ dependencies = [ [[package]] name = "wasm-opt-cxx-sys" -version = "0.114.2" +version = "0.116.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c09e24eb283919ace2ed5733bda4842a59ce4c8de110ef5c6d98859513d17047" +checksum = "8c57b28207aa724318fcec6575fe74803c23f6f266fce10cbc9f3f116762f12e" dependencies = [ "anyhow", "cxx", @@ -15591,9 +17866,9 @@ dependencies = [ [[package]] name = "wasm-opt-sys" -version = "0.114.2" +version = "0.116.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "36f2f817bed2e8d65eb779fa37317e74de15585751f903c9118342d1970703a4" +checksum = "8a1cce564dc768dacbdb718fc29df2dba80bd21cb47d8f77ae7e3d95ceb98cbe" dependencies = [ "anyhow", "cc", @@ -15618,9 +17893,9 @@ dependencies = [ [[package]] name = "wasmi" -version = "0.31.1" +version = "0.31.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "acfc1e384a36ca532d070a315925887247f3c7e23567e23e0ac9b1c5d6b8bf76" +checksum = "77a8281d1d660cdf54c76a3efa9ddd0c270cada1383a995db3ccb43d166456c7" dependencies = [ "smallvec", "spin 0.9.8", @@ -15631,9 +17906,9 @@ dependencies = [ [[package]] name = "wasmi_arena" -version = "0.4.0" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "401c1f35e413fac1846d4843745589d9ec678977ab35a384db8ae7830525d468" +checksum = "104a7f73be44570cac297b3035d76b169d6599637631cf37a1703326a0727073" [[package]] name = "wasmi_core" @@ -15710,7 +17985,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c86437fa68626fe896e5afc69234bb2b5894949083586535f200385adfd71213" dependencies = [ "anyhow", - "base64 0.21.5", + "base64 0.21.7", "bincode", "directories-next", "file-per-thread-logger", @@ -15839,9 +18114,9 @@ dependencies = [ "log", "mach", "memfd", - "memoffset 0.8.0", + "memoffset", "paste", - "rand 0.8.5", + "rand", "rustix 0.36.17", "wasmtime-asm-macros", "wasmtime-environ", @@ -15863,9 +18138,9 @@ dependencies = [ [[package]] name = "web-sys" -version = "0.3.66" +version = "0.3.69" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50c24a44ec86bb68fbecd1b3efed7e85ea5621b39b35ef2766b66cd984f8010f" +checksum = "77afa9a11836342370f4817622a2f0f418b134426d91a82dfb48f532d2ec13ef" dependencies = [ "js-sys", "wasm-bindgen", @@ -15877,7 +18152,7 @@ version = "0.22.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ed63aea5ce73d0ff405984102c42de94fc55a6b75765d621c65262469b3c9b53" dependencies = [ - "ring 0.17.7", + "ring 0.17.8", "untrusted 0.9.0", ] @@ -15890,29 +18165,24 @@ dependencies = [ "webpki", ] -[[package]] -name = "webpki-roots" -version = "0.25.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1778a42e8b3b90bff8d0f5032bf22250792889a5cdc752aa0020c84abe3aaf10" - [[package]] name = "westend-runtime" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "binary-merkle-tree", "bitvec", - "frame-benchmarking", + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "frame-election-provider-support", "frame-executive", - "frame-support", - "frame-system", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "frame-system-benchmarking", "frame-system-rpc-runtime-api", "frame-try-runtime", "hex-literal 0.4.1", "log", + "pallet-asset-rate", "pallet-authority-discovery", "pallet-authorship", "pallet-babe", @@ -15921,7 +18191,8 @@ dependencies = [ "pallet-beefy", "pallet-beefy-mmr", "pallet-collective", - "pallet-democracy 4.0.0-dev", + "pallet-conviction-voting", + "pallet-democracy 28.0.0", "pallet-election-provider-multi-phase", "pallet-election-provider-support-benchmarking", "pallet-elections-phragmen", @@ -15942,11 +18213,13 @@ dependencies = [ "pallet-preimage", "pallet-proxy", "pallet-recovery", + "pallet-referenda", + "pallet-root-testing", "pallet-scheduler", "pallet-session", "pallet-session-benchmarking", "pallet-society", - "pallet-staking 4.0.0-dev", + "pallet-staking 28.0.0", "pallet-staking-reward-curve", "pallet-staking-runtime-api", "pallet-state-trie-migration", @@ -15957,6 +18230,7 @@ dependencies = [ "pallet-treasury", "pallet-utility", "pallet-vesting", + "pallet-whitelist", "pallet-xcm", "pallet-xcm-benchmarks", "parity-scale-codec", @@ -15969,25 +18243,27 @@ dependencies = [ "serde", "serde_derive", "smallvec", - "sp-api", - "sp-application-crypto", + "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-authority-discovery", - "sp-block-builder", + "sp-block-builder 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-consensus-babe", "sp-consensus-beefy", - "sp-core", - "sp-inherents", - "sp-io", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-genesis-builder 0.7.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-mmr-primitives", "sp-npos-elections", - "sp-offchain", - "sp-runtime", - "sp-session", - "sp-staking", - "sp-std", - "sp-storage", - "sp-transaction-pool", - "sp-version", + "sp-offchain 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-session 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-staking 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-transaction-pool 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-version 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", @@ -15997,16 +18273,18 @@ dependencies = [ [[package]] name = "westend-runtime-constants" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-support", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "polkadot-primitives", "polkadot-runtime-common", "smallvec", - "sp-core", - "sp-runtime", - "sp-weights", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-weights 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "staging-xcm", + "staging-xcm-builder", ] [[package]] @@ -16018,14 +18296,14 @@ dependencies = [ "either", "home", "once_cell", - "rustix 0.38.28", + "rustix 0.38.32", ] [[package]] name = "wide" -version = "0.7.13" +version = "0.7.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c68938b57b33da363195412cfc5fc37c9ed49aa9cfe2156fde64b8d2c9498242" +checksum = "89beec544f246e679fc25490e3f8e08003bc4bf612068f325120dad4cea02c1c" dependencies = [ "bytemuck", "safe_arch", @@ -16033,9 +18311,9 @@ dependencies = [ [[package]] name = "widestring" -version = "1.0.2" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "653f141f39ec16bba3c5abe400a0c60da7468261cc2cbf36805022876bc721a8" +checksum = "7219d36b6eac893fa81e84ebe06485e7dcbb616177469b142df14f1f4deb1311" [[package]] name = "winapi" @@ -16074,7 +18352,7 @@ version = "0.51.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ca229916c5ee38c2f2bc1e9d8f04df975b4bd93f9955dc69fabb5d91270045c9" dependencies = [ - "windows-core", + "windows-core 0.51.1", "windows-targets 0.48.5", ] @@ -16088,18 +18366,12 @@ dependencies = [ ] [[package]] -name = "windows-sys" -version = "0.42.0" +name = "windows-core" +version = "0.52.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a3e1820f08b8513f676f7ab6c1f99ff312fb97b553d30ff4dd86f9f15728aa7" +checksum = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9" dependencies = [ - "windows_aarch64_gnullvm 0.42.2", - "windows_aarch64_msvc 0.42.2", - "windows_i686_gnu 0.42.2", - "windows_i686_msvc 0.42.2", - "windows_x86_64_gnu 0.42.2", - "windows_x86_64_gnullvm 0.42.2", - "windows_x86_64_msvc 0.42.2", + "windows-targets 0.52.4", ] [[package]] @@ -16126,7 +18398,7 @@ version = "0.52.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" dependencies = [ - "windows-targets 0.52.0", + "windows-targets 0.52.4", ] [[package]] @@ -16161,17 +18433,17 @@ dependencies = [ [[package]] name = "windows-targets" -version = "0.52.0" +version = "0.52.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a18201040b24831fbb9e4eb208f8892e1f50a37feb53cc7ff887feb8f50e7cd" +checksum = "7dd37b7e5ab9018759f893a1952c9420d060016fc19a472b4bb20d1bdd694d1b" dependencies = [ - "windows_aarch64_gnullvm 0.52.0", - "windows_aarch64_msvc 0.52.0", - "windows_i686_gnu 0.52.0", - "windows_i686_msvc 0.52.0", - "windows_x86_64_gnu 0.52.0", - "windows_x86_64_gnullvm 0.52.0", - "windows_x86_64_msvc 0.52.0", + "windows_aarch64_gnullvm 0.52.4", + "windows_aarch64_msvc 0.52.4", + "windows_i686_gnu 0.52.4", + "windows_i686_msvc 0.52.4", + "windows_x86_64_gnu 0.52.4", + "windows_x86_64_gnullvm 0.52.4", + "windows_x86_64_msvc 0.52.4", ] [[package]] @@ -16188,9 +18460,9 @@ checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" [[package]] name = "windows_aarch64_gnullvm" -version = "0.52.0" +version = "0.52.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb7764e35d4db8a7921e09562a0304bf2f93e0a51bfccee0bd0bb0b666b015ea" +checksum = "bcf46cf4c365c6f2d1cc93ce535f2c8b244591df96ceee75d8e83deb70a9cac9" [[package]] name = "windows_aarch64_msvc" @@ -16206,9 +18478,9 @@ checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" [[package]] name = "windows_aarch64_msvc" -version = "0.52.0" +version = "0.52.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbaa0368d4f1d2aaefc55b6fcfee13f41544ddf36801e793edbbfd7d7df075ef" +checksum = "da9f259dd3bcf6990b55bffd094c4f7235817ba4ceebde8e6d11cd0c5633b675" [[package]] name = "windows_i686_gnu" @@ -16224,9 +18496,9 @@ checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" [[package]] name = "windows_i686_gnu" -version = "0.52.0" +version = "0.52.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a28637cb1fa3560a16915793afb20081aba2c92ee8af57b4d5f28e4b3e7df313" +checksum = "b474d8268f99e0995f25b9f095bc7434632601028cf86590aea5c8a5cb7801d3" [[package]] name = "windows_i686_msvc" @@ -16242,9 +18514,9 @@ checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" [[package]] name = "windows_i686_msvc" -version = "0.52.0" +version = "0.52.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ffe5e8e31046ce6230cc7215707b816e339ff4d4d67c65dffa206fd0f7aa7b9a" +checksum = "1515e9a29e5bed743cb4415a9ecf5dfca648ce85ee42e15873c3cd8610ff8e02" [[package]] name = "windows_x86_64_gnu" @@ -16260,9 +18532,9 @@ checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" [[package]] name = "windows_x86_64_gnu" -version = "0.52.0" +version = "0.52.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d6fa32db2bc4a2f5abeacf2b69f7992cd09dca97498da74a151a3132c26befd" +checksum = "5eee091590e89cc02ad514ffe3ead9eb6b660aedca2183455434b93546371a03" [[package]] name = "windows_x86_64_gnullvm" @@ -16278,9 +18550,9 @@ checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" [[package]] name = "windows_x86_64_gnullvm" -version = "0.52.0" +version = "0.52.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a657e1e9d3f514745a572a6846d3c7aa7dbe1658c056ed9c3344c4109a6949e" +checksum = "77ca79f2451b49fa9e2af39f0747fe999fcda4f5e241b2898624dca97a1f2177" [[package]] name = "windows_x86_64_msvc" @@ -16296,15 +18568,24 @@ checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" [[package]] name = "windows_x86_64_msvc" -version = "0.52.0" +version = "0.52.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32b752e52a2da0ddfbdbcc6fceadfeede4c939ed16d13e648833a61dfb611ed8" + +[[package]] +name = "winnow" +version = "0.5.40" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dff9641d1cd4be8d1a070daf9e3773c5f67e78b4d9d42263020c057706765c04" +checksum = "f593a95398737aeed53e489c785df13f3618e41dbcd6718c6addbf1395aa6876" +dependencies = [ + "memchr", +] [[package]] name = "winnow" -version = "0.5.30" +version = "0.6.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b5c3db89721d50d0e2a673f5043fc4722f76dcc352d7b1ab8b8288bed4ed2c5" +checksum = "dffa400e67ed5a4dd237983829e66475f0a4a26938c4b04c21baede6262215b8" dependencies = [ "memchr", ] @@ -16341,11 +18622,11 @@ dependencies = [ [[package]] name = "x25519-dalek" -version = "2.0.0" +version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb66477291e7e8d2b0ff1bcb900bf29489a9692816d79874bea351e7a8b6de96" +checksum = "c7e468321c81fb07fa7f4c636c3972b9100f0346e5b6a9f2bd0603a52f7ed277" dependencies = [ - "curve25519-dalek 4.1.1", + "curve25519-dalek 4.1.2", "rand_core 0.6.4", "serde", "zeroize", @@ -16371,15 +18652,16 @@ dependencies = [ [[package]] name = "xcm-emulator" -version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.5.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "cumulus-pallet-parachain-system", + "cumulus-pallet-xcmp-queue", "cumulus-primitives-core", "cumulus-primitives-parachain-inherent", "cumulus-test-relay-sproof-builder", - "frame-support", - "frame-system", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "impl-trait-for-tuples", "lazy_static", "log", @@ -16391,25 +18673,26 @@ dependencies = [ "polkadot-parachain-primitives", "polkadot-primitives", "polkadot-runtime-parachains", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", - "sp-tracing", + "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-crypto-hashing 0.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "staging-xcm", "staging-xcm-executor", ] [[package]] name = "xcm-procedural" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "Inflector", "proc-macro2", "quote", - "syn 2.0.42", + "syn 2.0.58", ] [[package]] @@ -16422,7 +18705,7 @@ dependencies = [ "log", "nohash-hasher", "parking_lot 0.12.1", - "rand 0.8.5", + "rand", "static_assertions", ] @@ -16458,7 +18741,7 @@ checksum = "9ce1b18ccd8e73a9321186f97e46f9f04b778851177567b1975109d26a08d2a6" dependencies = [ "proc-macro2", "quote", - "syn 2.0.42", + "syn 2.0.58", ] [[package]] @@ -16478,7 +18761,7 @@ checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" dependencies = [ "proc-macro2", "quote", - "syn 2.0.42", + "syn 2.0.58", ] [[package]] @@ -16521,9 +18804,9 @@ dependencies = [ [[package]] name = "zstd-sys" -version = "2.0.9+zstd.1.5.5" +version = "2.0.10+zstd.1.5.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e16efa8a874a0481a574084d34cc26fdb3b99627480f785888deb6386506656" +checksum = "c253a4914af5bafc8fa8c86ee400827e83cf6ec01195ec1f1ed8441bf00d65aa" dependencies = [ "cc", "pkg-config", diff --git a/Cargo.toml b/Cargo.toml index f75fde18f..51682ea3b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -42,6 +42,8 @@ members = [ 'pallets/dynamic-evm-fee' ] +resolver = "2" + [workspace.dependencies] log = "0.4.20" async-trait = "0.1" @@ -223,7 +225,7 @@ cumulus-relay-chain-interface = { git = "https://github.com/paritytech/polkadot- cumulus-relay-chain-minimal-node = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } cumulus-test-relay-sproof-builder = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } pallet-collator-selection = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } -parachain-info = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +staging-parachain-info = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } xcm-emulator = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } # Frontier @@ -260,7 +262,7 @@ polkadot-parachain = { package = "polkadot-parachain-primitives", git = "https:/ "wasm-api", ]} polkadot-primitives = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } -polkadot-runtime = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +#polkadot-runtime = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } polkadot-runtime-parachains = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } polkadot-service = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } polkadot-xcm = { package = "staging-xcm", git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } diff --git a/integration-tests/Cargo.toml b/integration-tests/Cargo.toml index 01e988202..54d3b3e29 100644 --- a/integration-tests/Cargo.toml +++ b/integration-tests/Cargo.toml @@ -75,7 +75,7 @@ cumulus-primitives-core = { workspace = true } cumulus-primitives-utility = { workspace = true } cumulus-primitives-parachain-inherent = { workspace = true } cumulus-primitives-timestamp = { workspace = true } -parachain-info = { workspace = true } +staging-parachain-info = { workspace = true } cumulus-test-relay-sproof-builder = { workspace = true } # Polkadot dependencies @@ -124,7 +124,6 @@ sc-consensus-grandpa = { workspace = true } polkadot-primitives = { workspace = true } polkadot-service = { workspace = true, features = ["full-node"] } polkadot-runtime-parachains = { workspace = true } -polkadot-runtime = { workspace = true } [dev-dependencies] pretty_assertions = "1.2.1" @@ -154,7 +153,7 @@ std = [ "xcm-builder/std", "xcm-executor/std", "pallet-xcm/std", - "parachain-info/std", + "staging-parachain-info/std", "pallet-asset-registry/std", "pallet-aura/std", "pallet-balances/std", @@ -192,7 +191,6 @@ std = [ "pallet-authorship/std", "hydradx-traits/std", "pallet-relaychain-info/std", - "polkadot-runtime/std", "hydradx-runtime/std", "pallet-staking/std", "scraper/std", @@ -202,8 +200,6 @@ std = [ # we don't include integration tests when benchmarking feature is enabled runtime-benchmarks = [ "hydradx-runtime/runtime-benchmarks", - "polkadot-runtime/runtime-benchmarks", ] try-runtime = [ - "polkadot-runtime/try-runtime", ] diff --git a/runtime/hydradx/Cargo.toml b/runtime/hydradx/Cargo.toml index aceda94c3..b67b15048 100644 --- a/runtime/hydradx/Cargo.toml +++ b/runtime/hydradx/Cargo.toml @@ -104,7 +104,7 @@ cumulus-primitives-core = { workspace = true } cumulus-primitives-utility = { workspace = true } cumulus-primitives-parachain-inherent = { workspace = true } cumulus-primitives-timestamp = { workspace = true } -parachain-info = { workspace = true } +staging-parachain-info = { workspace = true } # Polkadot dependencies polkadot-parachain = { workspace = true } @@ -217,7 +217,7 @@ std = [ "cumulus-primitives-core/std", "cumulus-pallet-xcm/std", "cumulus-pallet-xcmp-queue/std", - "parachain-info/std", + "staging-parachain-info/std", "pallet-xcm/std", "polkadot-xcm/std", "xcm-executor/std", @@ -318,7 +318,7 @@ try-runtime= [ "cumulus-pallet-aura-ext/try-runtime", "cumulus-pallet-xcm/try-runtime", "cumulus-pallet-xcmp-queue/try-runtime", - "parachain-info/try-runtime", + "staging-parachain-info/try-runtime", "pallet-aura/try-runtime", "pallet-balances/try-runtime", "pallet-elections-phragmen/try-runtime", diff --git a/rust-toolchain b/rust-toolchain index 4657c24c6..dacd22ff5 100644 --- a/rust-toolchain +++ b/rust-toolchain @@ -1,5 +1,5 @@ [toolchain] -channel = "nightly-2023-05-22" +channel = "1.75.0" components = [ "rustfmt", "clippy" ] targets = [ "wasm32-unknown-unknown" ] profile = "minimal" From 29dcc0ca36cc91dcf90fcc1ab31c8af0c3a94cf4 Mon Sep 17 00:00:00 2001 From: Martin Date: Tue, 9 Apr 2024 16:25:46 +0200 Subject: [PATCH 004/105] depedencies --- Cargo.lock | 5109 +++++++++----------------- Cargo.toml | 174 +- pallets/currencies/src/lib.rs | 2 + pallets/democracy/src/lib.rs | 33 +- pallets/dynamic-evm-fee/src/lib.rs | 3 +- primitives/src/constants.rs | 2 +- runtime/adapters/src/lib.rs | 13 +- runtime/adapters/src/xcm_exchange.rs | 3 +- runtime/hydradx/Cargo.toml | 7 +- runtime/hydradx/src/lib.rs | 2 +- runtime/hydradx/src/xcm.rs | 3 + 11 files changed, 1970 insertions(+), 3381 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 9a7cc51a9..cd7aa7892 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1122,8 +1122,8 @@ source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot dependencies = [ "parity-scale-codec", "scale-info", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", + "sp-runtime", ] [[package]] @@ -1952,13 +1952,13 @@ source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot dependencies = [ "clap 4.5.4", "parity-scale-codec", - "sc-chain-spec 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-chain-spec", "sc-cli", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-service 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-client-api", + "sc-service", + "sp-blockchain", + "sp-core", + "sp-runtime", "url", ] @@ -1977,11 +1977,11 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-overseer", "polkadot-primitives", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-client-api", + "sp-api", + "sp-consensus", + "sp-core", + "sp-runtime", "tracing", ] @@ -2004,26 +2004,26 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-overseer", "polkadot-primitives", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-consensus 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-consensus-aura 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-client-api", + "sc-consensus", + "sc-consensus-aura", "sc-consensus-babe", - "sc-consensus-slots 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-telemetry 15.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-consensus-slots", + "sc-telemetry", "schnellru", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-block-builder 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-consensus-aura 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-state-machine 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-timestamp 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-api", + "sp-application-crypto", + "sp-block-builder", + "sp-blockchain", + "sp-consensus", + "sp-consensus-aura", + "sp-core", + "sp-inherents", + "sp-keystore", + "sp-runtime", + "sp-state-machine", + "sp-timestamp", + "substrate-prometheus-endpoint", "tracing", ] @@ -2041,18 +2041,18 @@ dependencies = [ "log", "parity-scale-codec", "polkadot-primitives", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-consensus 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-client-api", + "sc-consensus", "sc-consensus-babe", "schnellru", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-consensus-slots 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-timestamp 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-trie 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-blockchain", + "sp-consensus", + "sp-consensus-slots", + "sp-core", + "sp-runtime", + "sp-timestamp", + "sp-trie", + "substrate-prometheus-endpoint", "tracing", ] @@ -2064,10 +2064,10 @@ dependencies = [ "anyhow", "async-trait", "cumulus-primitives-parachain-inherent", - "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-state-machine 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-consensus", + "sp-inherents", + "sp-runtime", + "sp-state-machine", "thiserror", ] @@ -2085,12 +2085,12 @@ dependencies = [ "polkadot-node-primitives", "polkadot-parachain-primitives", "polkadot-primitives", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-state-machine 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-client-api", + "sp-blockchain", + "sp-consensus", + "sp-core", + "sp-runtime", + "sp-state-machine", "tracing", ] @@ -2105,16 +2105,16 @@ dependencies = [ "cumulus-relay-chain-interface", "cumulus-test-relay-sproof-builder", "parity-scale-codec", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-client-api", "scale-info", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-api", "sp-crypto-hashing 0.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-state-machine 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-inherents", + "sp-runtime", + "sp-state-machine", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-trie 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-trie", "tracing", ] @@ -2134,11 +2134,11 @@ dependencies = [ "polkadot-overseer", "polkadot-primitives", "rand", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-consensus 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-maybe-compressed-blob 11.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-client-api", + "sc-consensus", + "sp-consensus", + "sp-maybe-compressed-blob", + "sp-runtime", "tracing", ] @@ -2159,23 +2159,23 @@ dependencies = [ "cumulus-relay-chain-minimal-node", "futures", "polkadot-primitives", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-consensus 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-network 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-network-sync 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-network-transactions 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-rpc 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-service 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-sysinfo 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-telemetry 15.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-transaction-pool 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-utils 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-transaction-pool 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-client-api", + "sc-consensus", + "sc-network", + "sc-network-sync", + "sc-network-transactions", + "sc-rpc", + "sc-service", + "sc-sysinfo", + "sc-telemetry", + "sc-transaction-pool", + "sc-utils", + "sp-api", + "sp-blockchain", + "sp-consensus", + "sp-core", + "sp-runtime", + "sp-transaction-pool", ] [[package]] @@ -2184,15 +2184,15 @@ version = "0.7.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "cumulus-pallet-parachain-system", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support", + "frame-system", "pallet-aura", "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-consensus-aura 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-application-crypto", + "sp-consensus-aura", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] @@ -2202,13 +2202,13 @@ version = "0.7.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "cumulus-primitives-core", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "staging-xcm", ] @@ -2224,9 +2224,9 @@ dependencies = [ "cumulus-primitives-parachain-inherent", "cumulus-primitives-proof-size-hostfunction", "environmental", - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", + "frame-support", + "frame-system", "impl-trait-for-tuples", "log", "pallet-message-queue", @@ -2234,15 +2234,15 @@ dependencies = [ "polkadot-parachain-primitives", "polkadot-runtime-parachains", "scale-info", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-state-machine 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-inherents", + "sp-io", + "sp-runtime", + "sp-state-machine", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-trie 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-version 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-trie", + "sp-version", "staging-xcm", "trie-db", ] @@ -2264,12 +2264,12 @@ version = "0.7.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "cumulus-primitives-core", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "staging-xcm", ] @@ -2282,18 +2282,18 @@ dependencies = [ "bounded-collections", "bp-xcm-bridge-hub-router", "cumulus-primitives-core", - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "pallet-message-queue", "parity-scale-codec", "polkadot-runtime-common", "polkadot-runtime-parachains", "scale-info", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", + "sp-io", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "staging-xcm", "staging-xcm-executor", @@ -2307,9 +2307,9 @@ dependencies = [ "parity-scale-codec", "polkadot-core-primitives", "polkadot-primitives", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-consensus-aura 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-api", + "sp-consensus-aura", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] @@ -2323,10 +2323,10 @@ dependencies = [ "polkadot-parachain-primitives", "polkadot-primitives", "scale-info", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-api", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-trie 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-trie", "staging-xcm", ] @@ -2339,10 +2339,10 @@ dependencies = [ "cumulus-primitives-core", "parity-scale-codec", "scale-info", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", + "sp-inherents", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-trie 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-trie", ] [[package]] @@ -2352,7 +2352,7 @@ source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot dependencies = [ "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-trie 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-trie", ] [[package]] @@ -2363,9 +2363,9 @@ dependencies = [ "cumulus-primitives-core", "futures", "parity-scale-codec", - "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-inherents", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-timestamp 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-timestamp", ] [[package]] @@ -2374,15 +2374,15 @@ version = "0.7.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "cumulus-primitives-core", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support", "log", "pallet-asset-conversion", "pallet-xcm-benchmarks", "parity-scale-codec", "polkadot-runtime-common", "polkadot-runtime-parachains", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "staging-xcm", "staging-xcm-builder", @@ -2402,15 +2402,15 @@ dependencies = [ "polkadot-cli", "polkadot-service", "sc-cli", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-sysinfo 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-telemetry 15.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-tracing 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-state-machine 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-client-api", + "sc-sysinfo", + "sc-telemetry", + "sc-tracing", + "sp-api", + "sp-consensus", + "sp-core", + "sp-runtime", + "sp-state-machine", ] [[package]] @@ -2424,10 +2424,10 @@ dependencies = [ "jsonrpsee-core 0.20.3", "parity-scale-codec", "polkadot-overseer", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-state-machine 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-client-api", + "sp-api", + "sp-blockchain", + "sp-state-machine", "thiserror", ] @@ -2456,18 +2456,18 @@ dependencies = [ "polkadot-overseer", "polkadot-primitives", "sc-authority-discovery", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-network 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-network-common 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-service 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-tracing 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-utils 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-client-api", + "sc-network", + "sc-network-common", + "sc-service", + "sc-tracing", + "sc-utils", + "sp-api", + "sp-blockchain", + "sp-consensus", "sp-consensus-babe", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime", + "substrate-prometheus-endpoint", "tokio", "tracing", ] @@ -2488,22 +2488,22 @@ dependencies = [ "pin-project", "polkadot-overseer", "rand", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-rpc-api 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-service 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-client-api", + "sc-rpc-api", + "sc-service", "schnellru", "serde", "serde_json", "smoldot", "smoldot-light", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-api", "sp-authority-discovery", "sp-consensus-babe", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-state-machine 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", + "sp-runtime", + "sp-state-machine", "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-version 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-version", "thiserror", "tokio", "tokio-util", @@ -2519,10 +2519,10 @@ dependencies = [ "cumulus-primitives-core", "parity-scale-codec", "polkadot-primitives", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-state-machine 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime", + "sp-state-machine", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-trie 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-trie", ] [[package]] @@ -2581,9 +2581,9 @@ dependencies = [ [[package]] name = "cxx" -version = "1.0.120" +version = "1.0.121" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff4dc7287237dd438b926a81a1a5605dad33d286870e5eee2db17bf2bcd9e92a" +checksum = "21db378d04296a84d8b7d047c36bb3954f0b46529db725d7e62fb02f9ba53ccc" dependencies = [ "cc", "cxxbridge-flags", @@ -2593,9 +2593,9 @@ dependencies = [ [[package]] name = "cxx-build" -version = "1.0.120" +version = "1.0.121" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f47c6c8ad7c1a10d3ef0fe3ff6733f4db0d78f08ef0b13121543163ef327058b" +checksum = "3e5262a7fa3f0bae2a55b767c223ba98032d7c328f5c13fa5cdc980b77fc0658" dependencies = [ "cc", "codespan-reporting", @@ -2608,15 +2608,15 @@ dependencies = [ [[package]] name = "cxxbridge-flags" -version = "1.0.120" +version = "1.0.121" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "701a1ac7a697e249cdd8dc026d7a7dafbfd0dbcd8bd24ec55889f2bc13dd6287" +checksum = "be8dcadd2e2fb4a501e1d9e93d6e88e6ea494306d8272069c92d5a9edf8855c0" [[package]] name = "cxxbridge-macro" -version = "1.0.120" +version = "1.0.121" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b404f596046b0bb2d903a9c786b875a126261b52b7c3a64bbb66382c41c771df" +checksum = "ad08a837629ad949b73d032c637653d069e909cffe4ee7870b02301939ce39cc" dependencies = [ "proc-macro2", "quote", @@ -3417,35 +3417,35 @@ dependencies = [ [[package]] name = "fc-api" version = "1.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#101e61fba183bcfd1e75d0d6f9fc5bec0020dd3a" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#5d6bf0c78d1d325d4eea6f9593e9a11da18a1ea8" dependencies = [ "async-trait", "fp-storage", "parity-scale-codec", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-core", + "sp-runtime", ] [[package]] name = "fc-consensus" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#101e61fba183bcfd1e75d0d6f9fc5bec0020dd3a" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#5d6bf0c78d1d325d4eea6f9593e9a11da18a1ea8" dependencies = [ "async-trait", "fp-consensus", "fp-rpc", - "sc-consensus 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-block-builder 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-consensus 0.32.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-consensus", + "sp-api", + "sp-block-builder", + "sp-consensus", + "sp-runtime", "thiserror", ] [[package]] name = "fc-db" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#101e61fba183bcfd1e75d0d6f9fc5bec0020dd3a" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#5d6bf0c78d1d325d4eea6f9593e9a11da18a1ea8" dependencies = [ "async-trait", "fc-api", @@ -3455,18 +3455,18 @@ dependencies = [ "parity-db", "parity-scale-codec", "parking_lot 0.12.1", - "sc-client-db 0.35.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-client-db", "smallvec", - "sp-blockchain 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-database 10.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-blockchain", + "sp-core", + "sp-database", + "sp-runtime", ] [[package]] name = "fc-mapping-sync" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#101e61fba183bcfd1e75d0d6f9fc5bec0020dd3a" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#5d6bf0c78d1d325d4eea6f9593e9a11da18a1ea8" dependencies = [ "fc-db", "fc-storage", @@ -3476,18 +3476,18 @@ dependencies = [ "futures-timer", "log", "parking_lot 0.12.1", - "sc-client-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sc-utils 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-blockchain 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-consensus 0.32.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-client-api", + "sc-utils", + "sp-api", + "sp-blockchain", + "sp-consensus", + "sp-runtime", ] [[package]] name = "fc-rpc" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#101e61fba183bcfd1e75d0d6f9fc5bec0020dd3a" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#5d6bf0c78d1d325d4eea6f9593e9a11da18a1ea8" dependencies = [ "ethereum 0.15.0", "ethereum-types", @@ -3509,32 +3509,32 @@ dependencies = [ "prometheus", "rand", "rlp", - "sc-client-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sc-consensus-aura 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sc-network 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sc-network-common 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sc-network-sync 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sc-rpc 29.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sc-service 0.35.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sc-transaction-pool 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sc-transaction-pool-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sc-utils 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-client-api", + "sc-consensus-aura", + "sc-network", + "sc-network-common", + "sc-network-sync", + "sc-rpc", + "sc-service", + "sc-transaction-pool", + "sc-transaction-pool-api", + "sc-utils", "schnellru", "serde", - "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-block-builder 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-blockchain 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-consensus 0.32.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-consensus-aura 0.32.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-externalities 0.25.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-inherents 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-state-machine 0.35.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-storage 19.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-timestamp 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-api", + "sp-block-builder", + "sp-blockchain", + "sp-consensus", + "sp-consensus-aura", + "sp-core", + "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-inherents", + "sp-io", + "sp-runtime", + "sp-state-machine", + "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-timestamp", + "substrate-prometheus-endpoint", "thiserror", "tokio", ] @@ -3542,7 +3542,7 @@ dependencies = [ [[package]] name = "fc-rpc-core" version = "1.1.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#101e61fba183bcfd1e75d0d6f9fc5bec0020dd3a" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#5d6bf0c78d1d325d4eea6f9593e9a11da18a1ea8" dependencies = [ "ethereum 0.15.0", "ethereum-types", @@ -3557,19 +3557,19 @@ dependencies = [ [[package]] name = "fc-storage" version = "1.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#101e61fba183bcfd1e75d0d6f9fc5bec0020dd3a" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#5d6bf0c78d1d325d4eea6f9593e9a11da18a1ea8" dependencies = [ "ethereum 0.15.0", "ethereum-types", "fp-rpc", "fp-storage", "parity-scale-codec", - "sc-client-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-blockchain 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-storage 19.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-client-api", + "sp-api", + "sp-blockchain", + "sp-io", + "sp-runtime", + "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] @@ -3706,14 +3706,6 @@ version = "1.0.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" -[[package]] -name = "fork-tree" -version = "12.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" -dependencies = [ - "parity-scale-codec", -] - [[package]] name = "fork-tree" version = "12.0.0" @@ -3734,7 +3726,7 @@ dependencies = [ [[package]] name = "fp-account" version = "1.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#101e61fba183bcfd1e75d0d6f9fc5bec0020dd3a" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#5d6bf0c78d1d325d4eea6f9593e9a11da18a1ea8" dependencies = [ "hex", "impl-serde", @@ -3743,87 +3735,87 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-runtime-interface 24.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "fp-consensus" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#101e61fba183bcfd1e75d0d6f9fc5bec0020dd3a" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#5d6bf0c78d1d325d4eea6f9593e9a11da18a1ea8" dependencies = [ "ethereum 0.15.0", "parity-scale-codec", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-core", + "sp-runtime", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "fp-ethereum" version = "1.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#101e61fba183bcfd1e75d0d6f9fc5bec0020dd3a" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#5d6bf0c78d1d325d4eea6f9593e9a11da18a1ea8" dependencies = [ "ethereum 0.15.0", "ethereum-types", "fp-evm", - "frame-support 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "frame-support", "parity-scale-codec", - "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "fp-evm" version = "3.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#101e61fba183bcfd1e75d0d6f9fc5bec0020dd3a" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#5d6bf0c78d1d325d4eea6f9593e9a11da18a1ea8" dependencies = [ "evm 0.41.1", - "frame-support 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "frame-support", "num_enum 0.7.2", "parity-scale-codec", "scale-info", "serde", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-core", + "sp-runtime", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "fp-rpc" version = "3.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#101e61fba183bcfd1e75d0d6f9fc5bec0020dd3a" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#5d6bf0c78d1d325d4eea6f9593e9a11da18a1ea8" dependencies = [ "ethereum 0.15.0", "ethereum-types", "fp-evm", "parity-scale-codec", "scale-info", - "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-state-machine 0.35.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-api", + "sp-core", + "sp-runtime", + "sp-state-machine", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "fp-self-contained" version = "1.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#101e61fba183bcfd1e75d0d6f9fc5bec0020dd3a" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#5d6bf0c78d1d325d4eea6f9593e9a11da18a1ea8" dependencies = [ - "frame-support 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "frame-support", "parity-scale-codec", "scale-info", "serde", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-runtime", ] [[package]] name = "fp-storage" version = "2.0.0" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#101e61fba183bcfd1e75d0d6f9fc5bec0020dd3a" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#5d6bf0c78d1d325d4eea6f9593e9a11da18a1ea8" dependencies = [ "parity-scale-codec", "serde", @@ -3835,50 +3827,25 @@ version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa" -[[package]] -name = "frame-benchmarking" -version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" -dependencies = [ - "frame-support 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "frame-support-procedural 23.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "linregress", - "log", - "parity-scale-codec", - "paste", - "scale-info", - "serde", - "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-application-crypto 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-runtime-interface 24.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-storage 19.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "static_assertions", -] - [[package]] name = "frame-benchmarking" version = "28.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-support-procedural 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support", + "frame-support-procedural", + "frame-system", "linregress", "log", "parity-scale-codec", "paste", "scale-info", "serde", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-api", + "sp-application-crypto", + "sp-core", + "sp-io", + "sp-runtime", "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", @@ -3895,9 +3862,9 @@ dependencies = [ "chrono", "clap 4.5.4", "comfy-table", - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", + "frame-support", + "frame-system", "gethostname", "handlebars", "itertools 0.10.5", @@ -3907,27 +3874,27 @@ dependencies = [ "parity-scale-codec", "rand", "rand_pcg", - "sc-block-builder 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-block-builder", "sc-cli", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-client-db 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-executor 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-service 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-sysinfo 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-client-api", + "sc-client-db", + "sc-executor", + "sc-service", + "sc-sysinfo", "serde", "serde_json", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-database 10.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-api", + "sp-blockchain", + "sp-core", + "sp-database", "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-state-machine 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-inherents", + "sp-io", + "sp-keystore", + "sp-runtime", + "sp-state-machine", "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-trie 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-trie", "sp-wasm-interface 20.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "thiserror", "thousands", @@ -3950,14 +3917,14 @@ version = "28.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "frame-election-provider-solution-type", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-arithmetic", + "sp-core", "sp-npos-elections", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] @@ -3966,15 +3933,15 @@ name = "frame-executive" version = "28.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support", + "frame-system", "frame-try-runtime", "log", "parity-scale-codec", "scale-info", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", + "sp-io", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] @@ -4002,58 +3969,17 @@ dependencies = [ "log", "parity-scale-codec", "serde", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", "sp-crypto-hashing 0.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-state-machine 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io", + "sp-runtime", + "sp-state-machine", "spinners", "substrate-rpc-client", "tokio", "tokio-retry", ] -[[package]] -name = "frame-support" -version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" -dependencies = [ - "aquamarine", - "array-bytes 6.2.2", - "bitflags 1.3.2", - "docify", - "environmental", - "frame-metadata", - "frame-support-procedural 23.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "impl-trait-for-tuples", - "k256", - "log", - "macro_magic", - "parity-scale-codec", - "paste", - "scale-info", - "serde", - "serde_json", - "smallvec", - "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-arithmetic 23.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-crypto-hashing-proc-macro 0.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-debug-derive 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-genesis-builder 0.7.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-inherents 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-metadata-ir 0.6.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-staking 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-state-machine 0.35.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-tracing 16.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-weights 27.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "static_assertions", - "tt-call", -] - [[package]] name = "frame-support" version = "28.0.0" @@ -4065,7 +3991,7 @@ dependencies = [ "docify", "environmental", "frame-metadata", - "frame-support-procedural 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support-procedural", "impl-trait-for-tuples", "k256", "log", @@ -4076,44 +4002,25 @@ dependencies = [ "serde", "serde_json", "smallvec", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-crypto-hashing-proc-macro 0.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-api", + "sp-arithmetic", + "sp-core", + "sp-crypto-hashing-proc-macro", "sp-debug-derive 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-genesis-builder 0.7.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-metadata-ir 0.6.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-staking 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-state-machine 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-genesis-builder", + "sp-inherents", + "sp-io", + "sp-metadata-ir", + "sp-runtime", + "sp-staking", + "sp-state-machine", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-weights 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-weights", "static_assertions", "tt-call", ] -[[package]] -name = "frame-support-procedural" -version = "23.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" -dependencies = [ - "Inflector", - "cfg-expr", - "derive-syn-parse 0.1.5", - "expander 2.1.0", - "frame-support-procedural-tools 10.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "itertools 0.10.5", - "macro_magic", - "proc-macro-warning", - "proc-macro2", - "quote", - "sp-crypto-hashing 0.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "syn 2.0.58", -] - [[package]] name = "frame-support-procedural" version = "23.0.0" @@ -4123,7 +4030,7 @@ dependencies = [ "cfg-expr", "derive-syn-parse 0.1.5", "expander 2.1.0", - "frame-support-procedural-tools 10.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support-procedural-tools", "itertools 0.10.5", "macro_magic", "proc-macro-warning", @@ -4133,40 +4040,18 @@ dependencies = [ "syn 2.0.58", ] -[[package]] -name = "frame-support-procedural-tools" -version = "10.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" -dependencies = [ - "frame-support-procedural-tools-derive 11.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "proc-macro-crate 3.1.0", - "proc-macro2", - "quote", - "syn 2.0.58", -] - [[package]] name = "frame-support-procedural-tools" version = "10.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-support-procedural-tools-derive 11.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support-procedural-tools-derive", "proc-macro-crate 3.1.0", "proc-macro2", "quote", "syn 2.0.58", ] -[[package]] -name = "frame-support-procedural-tools-derive" -version = "11.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.58", -] - [[package]] name = "frame-support-procedural-tools-derive" version = "11.0.0" @@ -4177,26 +4062,6 @@ dependencies = [ "syn 2.0.58", ] -[[package]] -name = "frame-system" -version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" -dependencies = [ - "cfg-if", - "docify", - "frame-support 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "log", - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-version 29.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-weights 27.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", -] - [[package]] name = "frame-system" version = "28.0.0" @@ -4204,17 +4069,17 @@ source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot dependencies = [ "cfg-if", "docify", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support", "log", "parity-scale-codec", "scale-info", "serde", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", + "sp-io", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-version 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-weights 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-version", + "sp-weights", ] [[package]] @@ -4222,13 +4087,13 @@ name = "frame-system-benchmarking" version = "28.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] @@ -4238,7 +4103,7 @@ version = "26.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "parity-scale-codec", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-api", ] [[package]] @@ -4246,10 +4111,10 @@ name = "frame-try-runtime" version = "0.34.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support", "parity-scale-codec", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-api", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] @@ -4853,7 +4718,7 @@ dependencies = [ "rug", "scale-info", "serde", - "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-arithmetic", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "test-case 2.2.2", ] @@ -4885,7 +4750,7 @@ dependencies = [ "fp-consensus", "fp-rpc", "fp-storage", - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", "frame-benchmarking-cli", "frame-system-rpc-runtime-api", "frame-try-runtime", @@ -4904,47 +4769,47 @@ dependencies = [ "polkadot-service", "primitives", "sc-basic-authorship", - "sc-chain-spec 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-chain-spec", "sc-cli", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-client-db 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-consensus 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-consensus-aura 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-executor 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-keystore 25.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-network 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-network-common 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-network-sync 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-client-api", + "sc-client-db", + "sc-consensus", + "sc-consensus-aura", + "sc-executor", + "sc-keystore", + "sc-network", + "sc-network-common", + "sc-network-sync", "sc-offchain", - "sc-rpc 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-rpc-api 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-service 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-sysinfo 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-telemetry 15.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-tracing 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-transaction-pool 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-transaction-pool-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-rpc", + "sc-rpc-api", + "sc-service", + "sc-sysinfo", + "sc-telemetry", + "sc-tracing", + "sc-transaction-pool", + "sc-transaction-pool-api", "serde", "serde_json", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-api", "sp-authority-discovery", - "sp-block-builder 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-consensus-aura 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-offchain 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-session 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-block-builder", + "sp-blockchain", + "sp-consensus", + "sp-consensus-aura", + "sp-core", + "sp-inherents", + "sp-io", + "sp-keystore", + "sp-offchain", + "sp-runtime", + "sp-session", "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-timestamp 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-transaction-pool 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-trie 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-timestamp", + "sp-transaction-pool", + "sp-trie", "substrate-frame-rpc-system", - "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "substrate-prometheus-endpoint", ] [[package]] @@ -4953,8 +4818,8 @@ version = "1.2.5" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-primitives-core", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support", + "frame-system", "hydra-dx-math", "hydradx-traits", "lazy_static", @@ -4988,9 +4853,9 @@ dependencies = [ "primitive-types", "primitives", "scale-info", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", + "sp-io", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "staging-xcm", "staging-xcm-builder", @@ -5015,10 +4880,10 @@ dependencies = [ "fp-evm", "fp-rpc", "fp-self-contained", - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", "frame-executive", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support", + "frame-system", "frame-system-benchmarking", "frame-system-rpc-runtime-api", "frame-try-runtime", @@ -5092,7 +4957,6 @@ dependencies = [ "pallet-uniques", "pallet-utility", "pallet-xcm", - "pallet-xcm-rate-limiter", "pallet-xyk", "parity-scale-codec", "polkadot-parachain-primitives", @@ -5101,21 +4965,21 @@ dependencies = [ "scale-info", "serde", "smallvec", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-block-builder 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-consensus-aura 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-api", + "sp-block-builder", + "sp-consensus-aura", + "sp-core", "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-offchain 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-session 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-staking 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-inherents", + "sp-io", + "sp-offchain", + "sp-runtime", + "sp-session", + "sp-staking", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-transaction-pool 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-trie 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-version 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-transaction-pool", + "sp-trie", + "sp-version", "staging-parachain-info", "staging-xcm", "staging-xcm-builder", @@ -5127,12 +4991,12 @@ dependencies = [ name = "hydradx-traits" version = "3.1.1" dependencies = [ - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support", "impl-trait-for-tuples", "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-arithmetic", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] @@ -6769,15 +6633,15 @@ dependencies = [ "futures", "log", "parity-scale-codec", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-client-api", "sc-offchain", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-api", + "sp-blockchain", + "sp-consensus", "sp-consensus-beefy", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", "sp-mmr-primitives", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime", ] [[package]] @@ -6788,11 +6652,11 @@ dependencies = [ "jsonrpsee 0.20.3", "parity-scale-codec", "serde", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-api", + "sp-blockchain", + "sp-core", "sp-mmr-primitives", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime", ] [[package]] @@ -7429,16 +7293,16 @@ name = "orml-benchmarking" version = "0.8.0" source = "git+https://github.com/galacticcouncil/open-runtime-module-library?branch=polkadot-v1.7.2#c1fbd5a34168830e3614a1cd4724135e7a3c1236" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", + "frame-support", "log", "parity-scale-codec", "paste", "scale-info", "serde", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-api", + "sp-io", + "sp-runtime", "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", @@ -7449,15 +7313,15 @@ name = "orml-tokens" version = "0.8.0" source = "git+https://github.com/galacticcouncil/open-runtime-module-library?branch=polkadot-v1.7.2#c1fbd5a34168830e3614a1cd4724135e7a3c1236" dependencies = [ - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support", + "frame-system", "log", "orml-traits", "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-arithmetic", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] @@ -7466,7 +7330,7 @@ name = "orml-traits" version = "0.8.0" source = "git+https://github.com/galacticcouncil/open-runtime-module-library?branch=polkadot-v1.7.2#c1fbd5a34168830e3614a1cd4724135e7a3c1236" dependencies = [ - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support", "impl-trait-for-tuples", "num-traits", "orml-utilities", @@ -7474,9 +7338,9 @@ dependencies = [ "paste", "scale-info", "serde", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", + "sp-io", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "staging-xcm", ] @@ -7486,8 +7350,8 @@ name = "orml-unknown-tokens" version = "0.8.0" source = "git+https://github.com/galacticcouncil/open-runtime-module-library?branch=polkadot-v1.7.2#c1fbd5a34168830e3614a1cd4724135e7a3c1236" dependencies = [ - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support", + "frame-system", "orml-xcm-support", "parity-scale-codec", "scale-info", @@ -7501,13 +7365,13 @@ name = "orml-utilities" version = "0.8.0" source = "git+https://github.com/galacticcouncil/open-runtime-module-library?branch=polkadot-v1.7.2#c1fbd5a34168830e3614a1cd4724135e7a3c1236" dependencies = [ - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support", "parity-scale-codec", "scale-info", "serde", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", + "sp-io", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] @@ -7516,13 +7380,13 @@ name = "orml-vesting" version = "0.8.0" source = "git+https://github.com/galacticcouncil/open-runtime-module-library?branch=polkadot-v1.7.2#c1fbd5a34168830e3614a1cd4724135e7a3c1236" dependencies = [ - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", "serde", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] @@ -7531,8 +7395,8 @@ name = "orml-xcm" version = "0.8.0" source = "git+https://github.com/galacticcouncil/open-runtime-module-library?branch=polkadot-v1.7.2#c1fbd5a34168830e3614a1cd4724135e7a3c1236" dependencies = [ - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support", + "frame-system", "pallet-xcm", "parity-scale-codec", "scale-info", @@ -7545,10 +7409,10 @@ name = "orml-xcm-support" version = "0.8.0" source = "git+https://github.com/galacticcouncil/open-runtime-module-library?branch=polkadot-v1.7.2#c1fbd5a34168830e3614a1cd4724135e7a3c1236" dependencies = [ - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support", "orml-traits", "parity-scale-codec", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "staging-xcm", "staging-xcm-executor", @@ -7559,8 +7423,8 @@ name = "orml-xtokens" version = "0.8.0" source = "git+https://github.com/galacticcouncil/open-runtime-module-library?branch=polkadot-v1.7.2#c1fbd5a34168830e3614a1cd4724135e7a3c1236" dependencies = [ - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support", + "frame-system", "log", "orml-traits", "orml-xcm-support", @@ -7568,8 +7432,8 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "staging-xcm", "staging-xcm-executor", @@ -7592,16 +7456,16 @@ name = "pallet-asset-conversion" version = "10.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-api", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] @@ -7610,13 +7474,13 @@ name = "pallet-asset-rate" version = "7.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] @@ -7624,9 +7488,9 @@ dependencies = [ name = "pallet-asset-registry" version = "3.1.1" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", + "frame-support", + "frame-system", "hydradx-traits", "log", "orml-tokens", @@ -7636,11 +7500,11 @@ dependencies = [ "primitive-types", "scale-info", "serde", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-api", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "staging-xcm", "substrate-wasm-builder", @@ -7652,16 +7516,16 @@ name = "pallet-asset-tx-payment" version = "28.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", + "frame-support", + "frame-system", "pallet-transaction-payment", "parity-scale-codec", "scale-info", "serde", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", + "sp-io", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] @@ -7670,14 +7534,14 @@ name = "pallet-assets" version = "29.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] @@ -7686,15 +7550,15 @@ name = "pallet-aura" version = "27.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support", + "frame-system", "log", "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-consensus-aura 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-application-crypto", + "sp-consensus-aura", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] @@ -7703,14 +7567,14 @@ name = "pallet-authority-discovery" version = "28.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support", + "frame-system", "pallet-session", "parity-scale-codec", "scale-info", - "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-application-crypto", "sp-authority-discovery", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] @@ -7719,12 +7583,12 @@ name = "pallet-authorship" version = "28.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support", + "frame-system", "impl-trait-for-tuples", "parity-scale-codec", "scale-info", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] @@ -7733,22 +7597,22 @@ name = "pallet-babe" version = "28.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "pallet-authorship", "pallet-session", "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-application-crypto", "sp-consensus-babe", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-session 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-staking 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-session", + "sp-staking", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] @@ -7759,17 +7623,17 @@ source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot dependencies = [ "aquamarine", "docify", - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", "frame-election-provider-support", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support", + "frame-system", "log", "pallet-balances", "parity-scale-codec", "scale-info", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", + "sp-io", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] @@ -7780,13 +7644,13 @@ version = "28.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "docify", - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] @@ -7795,8 +7659,8 @@ name = "pallet-beefy" version = "28.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support", + "frame-system", "log", "pallet-authorship", "pallet-session", @@ -7804,9 +7668,9 @@ dependencies = [ "scale-info", "serde", "sp-consensus-beefy", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-session 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-staking 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime", + "sp-session", + "sp-staking", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] @@ -7817,8 +7681,8 @@ source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot dependencies = [ "array-bytes 6.2.2", "binary-merkle-tree", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support", + "frame-system", "log", "pallet-beefy", "pallet-mmr", @@ -7826,12 +7690,12 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-api", "sp-consensus-beefy", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-state-machine 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-state-machine", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] @@ -7839,9 +7703,9 @@ dependencies = [ name = "pallet-bonds" version = "2.2.0" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", + "frame-support", + "frame-system", "hydradx-traits", "log", "orml-tokens", @@ -7852,9 +7716,9 @@ dependencies = [ "primitive-types", "primitives", "scale-info", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", + "sp-io", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] @@ -7864,16 +7728,16 @@ name = "pallet-bounties" version = "27.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "pallet-treasury", "parity-scale-codec", "scale-info", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", + "sp-io", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] @@ -7883,14 +7747,14 @@ version = "0.6.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "bitvec", - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-arithmetic", + "sp-core", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] @@ -7899,17 +7763,17 @@ name = "pallet-child-bounties" version = "27.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "pallet-bounties", "pallet-treasury", "parity-scale-codec", "scale-info", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", + "sp-io", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] @@ -7917,9 +7781,9 @@ dependencies = [ name = "pallet-circuit-breaker" version = "1.1.20" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", + "frame-support", + "frame-system", "hydra-dx-math", "hydradx-traits", "orml-tokens", @@ -7930,9 +7794,9 @@ dependencies = [ "pretty_assertions", "scale-info", "serde", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", + "sp-io", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "test-case 3.3.1", "test-utils", @@ -7942,9 +7806,9 @@ dependencies = [ name = "pallet-claims" version = "3.4.8" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", + "frame-support", + "frame-system", "hex", "hex-literal 0.3.4", "lazy_static", @@ -7954,9 +7818,9 @@ dependencies = [ "rustc-hex", "scale-info", "serde", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", + "sp-io", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] @@ -7964,9 +7828,9 @@ dependencies = [ name = "pallet-collator-rewards" version = "1.0.6" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "orml-tokens", "orml-traits", @@ -7975,11 +7839,11 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-staking 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-staking", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "substrate-wasm-builder", ] @@ -7989,17 +7853,17 @@ name = "pallet-collator-selection" version = "9.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "pallet-authorship", "pallet-session", "parity-scale-codec", "rand", "scale-info", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-staking 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime", + "sp-staking", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] @@ -8008,15 +7872,15 @@ name = "pallet-collective" version = "28.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", + "sp-io", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] @@ -8026,14 +7890,14 @@ version = "28.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "assert_matches", - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", "serde", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] @@ -8041,8 +7905,8 @@ dependencies = [ name = "pallet-currencies" version = "2.1.0" dependencies = [ - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support", + "frame-system", "orml-tokens", "orml-traits", "orml-utilities", @@ -8050,9 +7914,9 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", + "sp-io", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] @@ -8062,9 +7926,9 @@ version = "1.4.1" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-primitives-core", - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", + "frame-support", + "frame-system", "hydra-dx-math", "hydradx-adapters", "hydradx-traits", @@ -8084,10 +7948,10 @@ dependencies = [ "rand", "scale-info", "smallvec", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-api", + "sp-core", + "sp-io", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "test-case 2.2.2", @@ -8098,9 +7962,9 @@ dependencies = [ name = "pallet-democracy" version = "4.1.0" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "pallet-balances", "pallet-preimage", @@ -8108,9 +7972,9 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", + "sp-io", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] @@ -8119,16 +7983,16 @@ name = "pallet-democracy" version = "28.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", "serde", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", + "sp-io", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] @@ -8136,9 +8000,9 @@ dependencies = [ name = "pallet-duster" version = "3.2.4" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", + "frame-support", + "frame-system", "hydradx-traits", "lazy_static", "log", @@ -8149,9 +8013,9 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", + "sp-io", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "substrate-wasm-builder", ] @@ -8160,9 +8024,9 @@ dependencies = [ name = "pallet-dynamic-evm-fee" version = "1.0.0" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", + "frame-support", + "frame-system", "hydra-dx-math", "hydradx-traits", "log", @@ -8175,10 +8039,10 @@ dependencies = [ "parity-scale-codec", "primitives", "scale-info", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-api", + "sp-core", + "sp-io", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "test-utils", ] @@ -8187,18 +8051,18 @@ dependencies = [ name = "pallet-dynamic-fees" version = "1.0.2" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", + "frame-support", + "frame-system", "hydra-dx-math", "orml-traits", "parity-scale-codec", "proptest", "scale-info", "serde", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", + "sp-io", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] @@ -8207,20 +8071,20 @@ name = "pallet-election-provider-multi-phase" version = "27.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", "frame-election-provider-support", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support", + "frame-system", "log", "pallet-election-provider-support-benchmarking", "parity-scale-codec", "rand", "scale-info", - "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-arithmetic", + "sp-core", + "sp-io", "sp-npos-elections", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "strum 0.24.1", ] @@ -8230,12 +8094,12 @@ name = "pallet-election-provider-support-benchmarking" version = "27.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", "frame-election-provider-support", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system", "parity-scale-codec", "sp-npos-elections", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] @@ -8244,17 +8108,17 @@ name = "pallet-elections-phragmen" version = "29.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", + "sp-io", "sp-npos-elections", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-staking 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime", + "sp-staking", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] @@ -8262,9 +8126,9 @@ dependencies = [ name = "pallet-ema-oracle" version = "1.2.1" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", + "frame-support", + "frame-system", "hydra-dx-math", "hydradx-traits", "log", @@ -8274,17 +8138,17 @@ dependencies = [ "rug", "scale-info", "serde", - "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-ethereum" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#101e61fba183bcfd1e75d0d6f9fc5bec0020dd3a" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#5d6bf0c78d1d325d4eea6f9593e9a11da18a1ea8" dependencies = [ "environmental", "ethereum 0.15.0", @@ -8295,28 +8159,28 @@ dependencies = [ "fp-evm", "fp-rpc", "fp-storage", - "frame-support 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "frame-support", + "frame-system", "pallet-evm", "parity-scale-codec", "scale-info", - "sp-io 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-io", + "sp-runtime", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-evm" version = "6.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#101e61fba183bcfd1e75d0d6f9fc5bec0020dd3a" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#5d6bf0c78d1d325d4eea6f9593e9a11da18a1ea8" dependencies = [ "environmental", "evm 0.41.1", "fp-account", "fp-evm", - "frame-benchmarking 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "frame-support 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "frame-benchmarking", + "frame-support", + "frame-system", "hash-db 0.16.0", "hex", "hex-literal 0.4.1", @@ -8325,27 +8189,27 @@ dependencies = [ "parity-scale-codec", "rlp", "scale-info", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-evm-accounts" version = "1.1.1" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", + "frame-support", + "frame-system", "hex-literal 0.4.1", "hydradx-traits", "orml-tokens", "orml-traits", "parity-scale-codec", "scale-info", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", + "sp-io", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "test-utils", ] @@ -8355,16 +8219,16 @@ name = "pallet-evm-accounts-rpc-runtime-api" version = "1.0.0" dependencies = [ "parity-scale-codec", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-api", ] [[package]] name = "pallet-evm-chain-id" version = "1.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#101e61fba183bcfd1e75d0d6f9fc5bec0020dd3a" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#5d6bf0c78d1d325d4eea6f9593e9a11da18a1ea8" dependencies = [ - "frame-support 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", ] @@ -8372,7 +8236,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-blake2" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#101e61fba183bcfd1e75d0d6f9fc5bec0020dd3a" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#5d6bf0c78d1d325d4eea6f9593e9a11da18a1ea8" dependencies = [ "fp-evm", ] @@ -8380,29 +8244,29 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-bn128" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#101e61fba183bcfd1e75d0d6f9fc5bec0020dd3a" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#5d6bf0c78d1d325d4eea6f9593e9a11da18a1ea8" dependencies = [ "fp-evm", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-core", "substrate-bn", ] [[package]] name = "pallet-evm-precompile-dispatch" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#101e61fba183bcfd1e75d0d6f9fc5bec0020dd3a" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#5d6bf0c78d1d325d4eea6f9593e9a11da18a1ea8" dependencies = [ "fp-evm", - "frame-support 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "frame-support", "pallet-evm", "parity-scale-codec", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-runtime", ] [[package]] name = "pallet-evm-precompile-modexp" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#101e61fba183bcfd1e75d0d6f9fc5bec0020dd3a" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#5d6bf0c78d1d325d4eea6f9593e9a11da18a1ea8" dependencies = [ "fp-evm", "num", @@ -8411,11 +8275,11 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-simple" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#101e61fba183bcfd1e75d0d6f9fc5bec0020dd3a" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#5d6bf0c78d1d325d4eea6f9593e9a11da18a1ea8" dependencies = [ "fp-evm", "ripemd", - "sp-io 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-io", ] [[package]] @@ -8424,16 +8288,16 @@ version = "27.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "docify", - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", "frame-election-provider-support", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-staking 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io", + "sp-runtime", + "sp-staking", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] @@ -8442,16 +8306,16 @@ name = "pallet-genesis-history" version = "2.1.1" dependencies = [ "derive_more", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support", + "frame-system", "hex-literal 0.4.1", "log", "parity-scale-codec", "scale-info", "serde", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", + "sp-io", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] @@ -8460,21 +8324,21 @@ name = "pallet-grandpa" version = "28.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "pallet-authorship", "pallet-session", "parity-scale-codec", "scale-info", - "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-consensus-grandpa 13.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-session 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-staking 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-application-crypto", + "sp-consensus-grandpa", + "sp-core", + "sp-io", + "sp-runtime", + "sp-session", + "sp-staking", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] @@ -8484,14 +8348,14 @@ version = "28.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "enumflags2", - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] @@ -8500,18 +8364,18 @@ name = "pallet-im-online" version = "27.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "pallet-authorship", "parity-scale-codec", "scale-info", - "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-staking 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-application-crypto", + "sp-core", + "sp-io", + "sp-runtime", + "sp-staking", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] @@ -8520,15 +8384,15 @@ name = "pallet-indices" version = "28.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", + "sp-io", "sp-keyring", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] @@ -8536,9 +8400,9 @@ dependencies = [ name = "pallet-lbp" version = "4.7.4" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", + "frame-support", + "frame-system", "hydra-dx-math", "hydradx-traits", "orml-tokens", @@ -8549,9 +8413,9 @@ dependencies = [ "rug", "scale-info", "serde", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", + "sp-io", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "substrate-wasm-builder", "test-utils", @@ -8562,8 +8426,8 @@ name = "pallet-liquidity-mining" version = "4.3.0" dependencies = [ "fixed", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support", + "frame-system", "hydra-dx-math", "hydradx-traits", "orml-tokens", @@ -8574,10 +8438,10 @@ dependencies = [ "proptest", "rand", "scale-info", - "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "test-utils", ] @@ -8587,15 +8451,15 @@ name = "pallet-membership" version = "28.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", + "sp-io", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] @@ -8605,18 +8469,18 @@ version = "31.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "environmental", - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-weights 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-weights", ] [[package]] @@ -8624,16 +8488,16 @@ name = "pallet-mmr" version = "27.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", + "sp-io", "sp-mmr-primitives", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] @@ -8642,14 +8506,14 @@ name = "pallet-multisig" version = "28.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] @@ -8657,9 +8521,9 @@ dependencies = [ name = "pallet-nft" version = "7.1.2" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", + "frame-support", + "frame-system", "hydradx-traits", "log", "pallet-balances", @@ -8667,9 +8531,9 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", + "sp-io", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] @@ -8678,14 +8542,14 @@ name = "pallet-nis" version = "28.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-arithmetic", + "sp-core", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] @@ -8694,16 +8558,16 @@ name = "pallet-nomination-pools" version = "25.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support", + "frame-system", "log", "pallet-balances", "parity-scale-codec", "scale-info", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-staking 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-staking", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] @@ -8713,18 +8577,18 @@ name = "pallet-nomination-pools-benchmarking" version = "26.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", "frame-election-provider-support", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support", + "frame-system", "pallet-bags-list", "pallet-nomination-pools", "pallet-staking 28.0.0", "parity-scale-codec", "scale-info", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime", "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-staking 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-staking", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] @@ -8735,7 +8599,7 @@ source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot dependencies = [ "pallet-nomination-pools", "parity-scale-codec", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-api", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] @@ -8744,15 +8608,15 @@ name = "pallet-offences" version = "27.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support", + "frame-system", "log", "pallet-balances", "parity-scale-codec", "scale-info", "serde", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-staking 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime", + "sp-staking", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] @@ -8761,10 +8625,10 @@ name = "pallet-offences-benchmarking" version = "28.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", "frame-election-provider-support", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support", + "frame-system", "log", "pallet-babe", "pallet-balances", @@ -8775,8 +8639,8 @@ dependencies = [ "pallet-staking 28.0.0", "parity-scale-codec", "scale-info", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-staking 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime", + "sp-staking", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] @@ -8785,9 +8649,9 @@ name = "pallet-omnipool" version = "4.1.4" dependencies = [ "bitflags 1.3.2", - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", + "frame-support", + "frame-system", "hydra-dx-math", "hydradx-traits", "impl-trait-for-tuples", @@ -8800,9 +8664,9 @@ dependencies = [ "primitive-types", "proptest", "scale-info", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", + "sp-io", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] @@ -8811,9 +8675,9 @@ dependencies = [ name = "pallet-omnipool-liquidity-mining" version = "2.1.2" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", + "frame-support", + "frame-system", "hydra-dx-math", "hydradx-traits", "log", @@ -8828,9 +8692,9 @@ dependencies = [ "primitive-types", "primitives", "scale-info", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", + "sp-io", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] @@ -8838,9 +8702,9 @@ dependencies = [ name = "pallet-otc" version = "1.1.0" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", + "frame-support", + "frame-system", "hydradx-traits", "orml-tokens", "orml-traits", @@ -8848,10 +8712,10 @@ dependencies = [ "pretty_assertions", "proptest", "scale-info", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-api", + "sp-core", + "sp-io", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "test-utils", ] @@ -8861,15 +8725,15 @@ name = "pallet-preimage" version = "28.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", + "sp-io", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] @@ -8878,13 +8742,13 @@ name = "pallet-proxy" version = "28.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] @@ -8893,17 +8757,17 @@ name = "pallet-ranked-collective" version = "28.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", + "frame-support", + "frame-system", "impl-trait-for-tuples", "log", "parity-scale-codec", "scale-info", - "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] @@ -8912,13 +8776,13 @@ name = "pallet-recovery" version = "28.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] @@ -8928,16 +8792,16 @@ version = "28.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "assert_matches", - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-arithmetic", + "sp-io", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] @@ -8945,9 +8809,9 @@ dependencies = [ name = "pallet-referrals" version = "1.2.3" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", + "frame-support", + "frame-system", "hex-literal 0.3.4", "hydra-dx-math", "hydradx-traits", @@ -8956,9 +8820,9 @@ dependencies = [ "parity-scale-codec", "pretty_assertions", "scale-info", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", + "sp-io", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] @@ -8969,11 +8833,11 @@ version = "0.3.4" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-primitives-core", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-api", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] @@ -8982,13 +8846,13 @@ name = "pallet-root-testing" version = "4.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", + "sp-io", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] @@ -8996,9 +8860,9 @@ dependencies = [ name = "pallet-route-executor" version = "2.2.0" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", + "frame-support", + "frame-system", "hydradx-adapters", "hydradx-traits", "orml-tokens", @@ -9009,9 +8873,9 @@ dependencies = [ "pretty_assertions", "scale-info", "serde", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", + "sp-io", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "test-utils", ] @@ -9022,16 +8886,16 @@ version = "29.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "docify", - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-weights 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-weights", ] [[package]] @@ -9039,21 +8903,21 @@ name = "pallet-session" version = "28.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support", + "frame-system", "impl-trait-for-tuples", "log", "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-session 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-staking 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-state-machine 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-session", + "sp-staking", + "sp-state-machine", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-trie 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-trie", ] [[package]] @@ -9061,15 +8925,15 @@ name = "pallet-session-benchmarking" version = "28.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", + "frame-support", + "frame-system", "pallet-session", "pallet-staking 28.0.0", "parity-scale-codec", "rand", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-session 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime", + "sp-session", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] @@ -9078,16 +8942,16 @@ name = "pallet-society" version = "28.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "rand_chacha 0.2.2", "scale-info", - "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-arithmetic", + "sp-io", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] @@ -9096,9 +8960,9 @@ name = "pallet-stableswap" version = "3.5.0" dependencies = [ "bitflags 1.3.2", - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", + "frame-support", + "frame-system", "hydra-dx-math", "hydradx-traits", "orml-tokens", @@ -9107,10 +8971,10 @@ dependencies = [ "proptest", "scale-info", "serde", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-api", + "sp-core", + "sp-io", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] @@ -9119,9 +8983,9 @@ dependencies = [ name = "pallet-staking" version = "3.0.0" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", + "frame-support", + "frame-system", "hydra-dx-math", "log", "orml-tokens", @@ -9133,9 +8997,9 @@ dependencies = [ "pretty_assertions", "scale-info", "serde", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", + "sp-io", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] @@ -9144,10 +9008,10 @@ name = "pallet-staking" version = "28.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", "frame-election-provider-support", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support", + "frame-system", "log", "pallet-authorship", "pallet-session", @@ -9155,10 +9019,10 @@ dependencies = [ "rand_chacha 0.2.2", "scale-info", "serde", - "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-staking 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-application-crypto", + "sp-io", + "sp-runtime", + "sp-staking", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] @@ -9179,7 +9043,7 @@ version = "19.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "log", - "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-arithmetic", ] [[package]] @@ -9188,8 +9052,8 @@ version = "14.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "parity-scale-codec", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-staking 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-api", + "sp-staking", ] [[package]] @@ -9197,15 +9061,15 @@ name = "pallet-state-trie-migration" version = "29.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", + "sp-io", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] @@ -9215,13 +9079,13 @@ version = "28.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "docify", - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] @@ -9231,18 +9095,18 @@ version = "27.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "docify", - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-inherents", + "sp-io", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-timestamp 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-timestamp", ] [[package]] @@ -9250,17 +9114,17 @@ name = "pallet-tips" version = "27.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "pallet-treasury", "parity-scale-codec", "scale-info", "serde", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", + "sp-io", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] @@ -9268,8 +9132,8 @@ dependencies = [ name = "pallet-transaction-multi-payment" version = "9.5.0" dependencies = [ - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support", + "frame-system", "hydra-dx-math", "hydradx-traits", "orml-tokens", @@ -9283,10 +9147,10 @@ dependencies = [ "parity-scale-codec", "primitives", "scale-info", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-api", + "sp-core", + "sp-io", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "test-utils", ] @@ -9295,9 +9159,9 @@ dependencies = [ name = "pallet-transaction-pause" version = "1.0.1" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "orml-tokens", "orml-traits", @@ -9305,10 +9169,10 @@ dependencies = [ "parity-scale-codec", "scale-info", "smallvec", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-api", + "sp-core", + "sp-io", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] @@ -9317,14 +9181,14 @@ name = "pallet-transaction-payment" version = "28.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", "serde", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", + "sp-io", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] @@ -9336,12 +9200,12 @@ dependencies = [ "jsonrpsee 0.20.3", "pallet-transaction-payment-rpc-runtime-api", "parity-scale-codec", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-rpc 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-weights 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-api", + "sp-blockchain", + "sp-core", + "sp-rpc", + "sp-runtime", + "sp-weights", ] [[package]] @@ -9351,9 +9215,9 @@ source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot dependencies = [ "pallet-transaction-payment", "parity-scale-codec", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-weights 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-api", + "sp-runtime", + "sp-weights", ] [[package]] @@ -9362,16 +9226,16 @@ version = "27.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "docify", - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", + "frame-support", + "frame-system", "impl-trait-for-tuples", "pallet-balances", "parity-scale-codec", "scale-info", "serde", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] @@ -9380,13 +9244,13 @@ name = "pallet-uniques" version = "28.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] @@ -9395,14 +9259,14 @@ name = "pallet-utility" version = "28.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", + "sp-io", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] @@ -9411,13 +9275,13 @@ name = "pallet-vesting" version = "28.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] @@ -9426,13 +9290,13 @@ name = "pallet-whitelist" version = "27.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-api", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] @@ -9442,17 +9306,17 @@ version = "7.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "bounded-collections", - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "pallet-balances", "parity-scale-codec", "scale-info", "serde", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", + "sp-io", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "staging-xcm", "staging-xcm-builder", @@ -9464,54 +9328,27 @@ name = "pallet-xcm-benchmarks" version = "7.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", ] -[[package]] -name = "pallet-xcm-rate-limiter" -version = "0.1.5" -dependencies = [ - "cumulus-pallet-xcmp-queue", - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "hydra-dx-math", - "hydradx-traits", - "orml-tokens", - "orml-traits", - "pallet-balances", - "pallet-omnipool", - "parity-scale-codec", - "polkadot-core-primitives", - "polkadot-parachain-primitives", - "pretty_assertions", - "scale-info", - "serde", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "staging-xcm", -] - [[package]] name = "pallet-xyk" version = "6.4.0" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", + "frame-support", + "frame-system", "hydra-dx-math", "hydradx-traits", "log", @@ -9523,10 +9360,10 @@ dependencies = [ "proptest", "scale-info", "serde", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-api", + "sp-core", + "sp-io", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "substrate-wasm-builder", ] @@ -9538,8 +9375,8 @@ source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot dependencies = [ "cumulus-primitives-core", "cumulus-primitives-utility", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support", + "frame-system", "log", "pallet-asset-tx-payment", "pallet-assets", @@ -9551,10 +9388,10 @@ dependencies = [ "parity-scale-codec", "polkadot-primitives", "scale-info", - "sp-consensus-aura 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-consensus-aura", + "sp-core", + "sp-io", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "staging-parachain-info", "staging-xcm", @@ -9940,8 +9777,8 @@ dependencies = [ "polkadot-primitives", "rand", "schnellru", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", + "sp-keystore", "thiserror", "tracing-gum", ] @@ -9962,7 +9799,7 @@ dependencies = [ "polkadot-node-subsystem-util", "polkadot-primitives", "rand", - "sc-network 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-network", "schnellru", "thiserror", "tokio", @@ -9983,15 +9820,15 @@ dependencies = [ "polkadot-node-primitives", "polkadot-service", "sc-cli", - "sc-executor 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-service 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-executor", + "sc-service", "sc-storage-monitor", - "sc-sysinfo 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-tracing 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-sysinfo", + "sc-tracing", + "sp-core", + "sp-io", "sp-keyring", - "sp-maybe-compressed-blob 11.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-maybe-compressed-blob", "substrate-build-script-utils", "thiserror", "try-runtime-cli", @@ -10011,9 +9848,9 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", + "sp-keystore", + "sp-runtime", "thiserror", "tokio-util", "tracing-gum", @@ -10026,8 +9863,8 @@ source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot dependencies = [ "parity-scale-codec", "scale-info", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] @@ -10048,10 +9885,10 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "sc-network 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-network", "schnellru", - "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-application-crypto", + "sp-keystore", "thiserror", "tracing-gum", ] @@ -10065,8 +9902,8 @@ dependencies = [ "polkadot-node-primitives", "polkadot-primitives", "reed-solomon-novelpoly", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-trie 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", + "sp-trie", "thiserror", ] @@ -10083,12 +9920,12 @@ dependencies = [ "polkadot-primitives", "rand", "rand_chacha 0.3.1", - "sc-network 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-network-common 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-network", + "sc-network-common", + "sp-application-crypto", + "sp-core", "sp-crypto-hashing 0.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-keystore", "tracing-gum", ] @@ -10109,8 +9946,8 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-overseer", "polkadot-primitives", - "sc-network 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-network", + "sp-consensus", "thiserror", "tracing-gum", ] @@ -10127,8 +9964,8 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-maybe-compressed-blob 11.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", + "sp-maybe-compressed-blob", "thiserror", "tracing-gum", ] @@ -10155,13 +9992,13 @@ dependencies = [ "rand", "rand_chacha 0.3.1", "rand_core 0.6.4", - "sc-keystore 25.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-keystore", "schnellru", "schnorrkel 0.11.4", - "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-consensus-slots 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-application-crypto", + "sp-consensus", + "sp-consensus-slots", + "sp-runtime", "thiserror", "tracing-gum", ] @@ -10183,7 +10020,7 @@ dependencies = [ "polkadot-node-subsystem-util", "polkadot-overseer", "polkadot-primitives", - "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-consensus", "thiserror", "tracing-gum", ] @@ -10203,7 +10040,7 @@ dependencies = [ "polkadot-primitives", "polkadot-statement-table", "schnellru", - "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-keystore", "thiserror", "tracing-gum", ] @@ -10217,7 +10054,7 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-keystore", "thiserror", "tracing-gum", "wasm-timer", @@ -10240,7 +10077,7 @@ dependencies = [ "polkadot-overseer", "polkadot-parachain-primitives", "polkadot-primitives", - "sp-maybe-compressed-blob 11.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-maybe-compressed-blob", "tracing-gum", ] @@ -10253,7 +10090,7 @@ dependencies = [ "polkadot-node-metrics", "polkadot-node-subsystem", "polkadot-node-subsystem-types", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-client-api", "sc-consensus-babe", "tracing-gum", ] @@ -10288,7 +10125,7 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "sc-keystore 25.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-keystore", "schnellru", "thiserror", "tracing-gum", @@ -10305,8 +10142,8 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-overseer", "polkadot-primitives", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-blockchain", + "sp-inherents", "thiserror", "tracing-gum", ] @@ -10369,8 +10206,8 @@ dependencies = [ "polkadot-primitives", "rand", "slotmap", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-maybe-compressed-blob 11.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", + "sp-maybe-compressed-blob", "sp-wasm-interface 20.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "tempfile", "thiserror", @@ -10389,7 +10226,7 @@ dependencies = [ "polkadot-node-subsystem-util", "polkadot-overseer", "polkadot-primitives", - "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-keystore", "thiserror", "tracing-gum", ] @@ -10408,14 +10245,14 @@ dependencies = [ "parity-scale-codec", "polkadot-parachain-primitives", "polkadot-primitives", - "sc-executor 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-executor-common 0.29.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-executor-wasmtime 0.29.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-executor", + "sc-executor-common", + "sc-executor-wasmtime", "seccompiler", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", "sp-crypto-hashing 0.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io", "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "thiserror", "tracing-gum", @@ -10448,8 +10285,8 @@ dependencies = [ "parking_lot 0.12.1", "polkadot-node-primitives", "polkadot-primitives", - "sc-network 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-network", + "sp-core", "thiserror", "tokio", ] @@ -10467,9 +10304,9 @@ dependencies = [ "polkadot-primitives", "prioritized-metered-channel", "sc-cli", - "sc-service 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-tracing 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-service", + "sc-tracing", + "substrate-prometheus-endpoint", "tracing-gum", ] @@ -10491,7 +10328,7 @@ dependencies = [ "polkadot-primitives", "rand", "sc-authority-discovery", - "sc-network 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-network", "strum 0.24.1", "thiserror", "tracing-gum", @@ -10510,12 +10347,12 @@ dependencies = [ "polkadot-primitives", "schnorrkel 0.11.4", "serde", - "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-application-crypto", "sp-consensus-babe", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-maybe-compressed-blob 11.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", + "sp-keystore", + "sp-maybe-compressed-blob", + "sp-runtime", "thiserror", "zstd 0.12.4", ] @@ -10545,16 +10382,16 @@ dependencies = [ "polkadot-node-primitives", "polkadot-primitives", "polkadot-statement-table", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-network 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-transaction-pool-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-client-api", + "sc-network", + "sc-transaction-pool-api", "smallvec", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-api", "sp-authority-discovery", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-blockchain", "sp-consensus-babe", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime", + "substrate-prometheus-endpoint", "thiserror", ] @@ -10584,11 +10421,11 @@ dependencies = [ "polkadot-primitives", "prioritized-metered-channel", "rand", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-client-api", "schnellru", - "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-application-crypto", + "sp-core", + "sp-keystore", "thiserror", "tracing-gum", ] @@ -10608,9 +10445,9 @@ dependencies = [ "polkadot-node-primitives", "polkadot-node-subsystem-types", "polkadot-primitives", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-client-api", + "sp-api", + "sp-core", "tikv-jemalloc-ctl", "tracing-gum", ] @@ -10626,10 +10463,10 @@ dependencies = [ "polkadot-core-primitives", "scale-info", "serde", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-weights 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-weights", ] [[package]] @@ -10645,17 +10482,17 @@ dependencies = [ "polkadot-parachain-primitives", "scale-info", "serde", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-api", + "sp-application-crypto", + "sp-arithmetic", "sp-authority-discovery", - "sp-consensus-slots 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-staking 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-consensus-slots", + "sp-core", + "sp-inherents", + "sp-io", + "sp-keystore", + "sp-runtime", + "sp-staking", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] @@ -10668,8 +10505,8 @@ dependencies = [ "mmr-rpc", "pallet-transaction-payment-rpc", "polkadot-primitives", - "sc-chain-spec 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-chain-spec", + "sc-client-api", "sc-consensus-babe", "sc-consensus-babe-rpc", "sc-consensus-beefy", @@ -10677,17 +10514,17 @@ dependencies = [ "sc-consensus-epochs", "sc-consensus-grandpa", "sc-consensus-grandpa-rpc", - "sc-rpc 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-rpc-spec-v2 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-rpc", + "sc-rpc-spec-v2", "sc-sync-state-rpc", - "sc-transaction-pool-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-block-builder 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-transaction-pool-api", + "sp-api", + "sp-block-builder", + "sp-blockchain", + "sp-consensus", "sp-consensus-babe", - "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-keystore", + "sp-runtime", "substrate-frame-rpc-system", "substrate-state-trie-migration-rpc", ] @@ -10698,10 +10535,10 @@ version = "7.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "bitvec", - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", "frame-election-provider-support", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support", + "frame-system", "impl-trait-for-tuples", "libsecp256k1", "log", @@ -10729,14 +10566,14 @@ dependencies = [ "serde", "serde_derive", "slot-range-helper", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-api", + "sp-core", + "sp-inherents", + "sp-io", "sp-npos-elections", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-session 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-staking 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime", + "sp-session", + "sp-staking", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "staging-xcm", "staging-xcm-builder", @@ -10750,7 +10587,7 @@ version = "7.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "bs58 0.5.1", - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", "parity-scale-codec", "polkadot-primitives", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", @@ -10765,9 +10602,9 @@ dependencies = [ "bitflags 1.3.2", "bitvec", "derive_more", - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", + "frame-support", + "frame-system", "impl-trait-for-tuples", "log", "pallet-authority-discovery", @@ -10790,16 +10627,16 @@ dependencies = [ "rustc-hex", "scale-info", "serde", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-session 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-staking 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-api", + "sp-application-crypto", + "sp-arithmetic", + "sp-core", + "sp-inherents", + "sp-io", + "sp-keystore", + "sp-runtime", + "sp-session", + "sp-staking", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "staging-xcm", "staging-xcm-executor", @@ -10812,10 +10649,10 @@ version = "7.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "async-trait", - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", "frame-benchmarking-cli", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support", + "frame-system", "frame-system-rpc-runtime-api", "futures", "hex-literal 0.4.1", @@ -10870,54 +10707,54 @@ dependencies = [ "rococo-runtime", "sc-authority-discovery", "sc-basic-authorship", - "sc-block-builder 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-chain-spec 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-client-db 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-consensus 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-block-builder", + "sc-chain-spec", + "sc-client-api", + "sc-client-db", + "sc-consensus", "sc-consensus-babe", "sc-consensus-beefy", "sc-consensus-grandpa", - "sc-consensus-slots 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-executor 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-keystore 25.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-network 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-network-common 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-network-sync 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-consensus-slots", + "sc-executor", + "sc-keystore", + "sc-network", + "sc-network-common", + "sc-network-sync", "sc-offchain", - "sc-service 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-service", "sc-sync-state-rpc", - "sc-sysinfo 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-telemetry 15.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-transaction-pool 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-transaction-pool-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-sysinfo", + "sc-telemetry", + "sc-transaction-pool", + "sc-transaction-pool-api", "schnellru", "serde", "serde_json", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-api", "sp-authority-discovery", - "sp-block-builder 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-block-builder", + "sp-blockchain", + "sp-consensus", "sp-consensus-babe", "sp-consensus-beefy", - "sp-consensus-grandpa 13.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-consensus-grandpa", + "sp-core", + "sp-inherents", + "sp-io", "sp-keyring", - "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-keystore", "sp-mmr-primitives", - "sp-offchain 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-session 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-state-machine 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-offchain", + "sp-runtime", + "sp-session", + "sp-state-machine", "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-timestamp 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-transaction-pool 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-version 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-weights 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-timestamp", + "sp-transaction-pool", + "sp-version", + "sp-weights", + "substrate-prometheus-endpoint", "thiserror", "tracing-gum", "westend-runtime", @@ -10940,8 +10777,8 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-staking 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-keystore", + "sp-staking", "thiserror", "tracing-gum", ] @@ -10953,7 +10790,7 @@ source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot dependencies = [ "parity-scale-codec", "polkadot-primitives", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", "tracing-gum", ] @@ -11154,13 +10991,13 @@ dependencies = [ name = "primitives" version = "6.0.2" dependencies = [ - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support", "hex-literal 0.3.4", "parity-scale-codec", "polkadot-primitives", "scale-info", "serde", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "static_assertions", ] @@ -11822,10 +11659,10 @@ version = "7.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "binary-merkle-tree", - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", "frame-executive", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support", + "frame-system", "frame-system-benchmarking", "frame-system-rpc-runtime-api", "frame-try-runtime", @@ -11886,25 +11723,25 @@ dependencies = [ "serde", "serde_derive", "smallvec", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-api", + "sp-arithmetic", "sp-authority-discovery", - "sp-block-builder 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-block-builder", "sp-consensus-babe", "sp-consensus-beefy", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-genesis-builder 0.7.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", + "sp-genesis-builder", + "sp-inherents", + "sp-io", "sp-mmr-primitives", - "sp-offchain 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-session 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-staking 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-offchain", + "sp-runtime", + "sp-session", + "sp-staking", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-transaction-pool 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-version 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-transaction-pool", + "sp-version", "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", @@ -11917,13 +11754,13 @@ name = "rococo-runtime-constants" version = "7.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support", "polkadot-primitives", "polkadot-runtime-common", "smallvec", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-weights 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", + "sp-runtime", + "sp-weights", "staging-xcm", "staging-xcm-builder", ] @@ -12000,11 +11837,11 @@ dependencies = [ "cumulus-test-relay-sproof-builder", "fp-evm", "fp-rpc", - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", "frame-executive", "frame-remote-externalities", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support", + "frame-system", "frame-system-benchmarking", "frame-system-rpc-runtime-api", "hex-literal 0.4.1", @@ -12067,23 +11904,23 @@ dependencies = [ "primitives", "sc-consensus-grandpa", "scraper", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-api", "sp-authority-discovery", - "sp-block-builder 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-consensus-aura 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-block-builder", + "sp-consensus-aura", "sp-consensus-babe", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-offchain 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-session 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-staking 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-inherents", + "sp-io", + "sp-offchain", + "sp-runtime", + "sp-session", + "sp-staking", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-transaction-pool 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-trie 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-version 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-transaction-pool", + "sp-trie", + "sp-version", "staging-parachain-info", "staging-xcm", "staging-xcm-builder", @@ -12289,24 +12126,13 @@ dependencies = [ "winapi-util", ] -[[package]] -name = "sc-allocator" -version = "23.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" -dependencies = [ - "log", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-wasm-interface 20.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "thiserror", -] - [[package]] name = "sc-allocator" version = "23.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "log", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", "sp-wasm-interface 20.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "thiserror", ] @@ -12328,15 +12154,15 @@ dependencies = [ "prost 0.12.4", "prost-build", "rand", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-network 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-client-api", + "sc-network", + "sp-api", "sp-authority-discovery", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-blockchain", + "sp-core", + "sp-keystore", + "sp-runtime", + "substrate-prometheus-endpoint", "thiserror", ] @@ -12349,32 +12175,17 @@ dependencies = [ "futures-timer", "log", "parity-scale-codec", - "sc-block-builder 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-block-builder", "sc-proposer-metrics", - "sc-telemetry 15.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-transaction-pool-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", -] - -[[package]] -name = "sc-block-builder" -version = "0.33.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" -dependencies = [ - "parity-scale-codec", - "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-block-builder 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-blockchain 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-inherents 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-trie 29.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-telemetry", + "sc-transaction-pool-api", + "sp-api", + "sp-blockchain", + "sp-consensus", + "sp-core", + "sp-inherents", + "sp-runtime", + "substrate-prometheus-endpoint", ] [[package]] @@ -12383,39 +12194,13 @@ version = "0.33.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "parity-scale-codec", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-block-builder 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-trie 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", -] - -[[package]] -name = "sc-chain-spec" -version = "27.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" -dependencies = [ - "array-bytes 6.2.2", - "docify", - "log", - "memmap2 0.9.4", - "parity-scale-codec", - "sc-chain-spec-derive 11.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sc-client-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sc-executor 0.32.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sc-network 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sc-telemetry 15.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "serde", - "serde_json", - "sp-blockchain 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-crypto-hashing 0.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-genesis-builder 0.7.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-state-machine 0.35.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-api", + "sp-block-builder", + "sp-blockchain", + "sp-core", + "sp-inherents", + "sp-runtime", + "sp-trie", ] [[package]] @@ -12428,31 +12213,20 @@ dependencies = [ "log", "memmap2 0.9.4", "parity-scale-codec", - "sc-chain-spec-derive 11.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-executor 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-network 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-telemetry 15.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-chain-spec-derive", + "sc-client-api", + "sc-executor", + "sc-network", + "sc-telemetry", "serde", "serde_json", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-blockchain", + "sp-core", "sp-crypto-hashing 0.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-genesis-builder 0.7.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-state-machine 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", -] - -[[package]] -name = "sc-chain-spec-derive" -version = "11.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" -dependencies = [ - "proc-macro-crate 3.1.0", - "proc-macro2", - "quote", - "syn 2.0.58", + "sp-genesis-builder", + "sp-io", + "sp-runtime", + "sp-state-machine", ] [[package]] @@ -12485,55 +12259,28 @@ dependencies = [ "rand", "regex", "rpassword", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-client-db 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-keystore 25.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-mixnet 0.4.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-network 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-service 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-telemetry 15.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-tracing 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-utils 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-client-api", + "sc-client-db", + "sc-keystore", + "sc-mixnet", + "sc-network", + "sc-service", + "sc-telemetry", + "sc-tracing", + "sc-utils", "serde", "serde_json", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-blockchain", + "sp-core", "sp-keyring", - "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-panic-handler 13.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-version 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-keystore", + "sp-panic-handler", + "sp-runtime", + "sp-version", "thiserror", "tokio", ] -[[package]] -name = "sc-client-api" -version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" -dependencies = [ - "fnv", - "futures", - "log", - "parity-scale-codec", - "parking_lot 0.12.1", - "sc-executor 0.32.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sc-transaction-pool-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sc-utils 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-blockchain 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-consensus 0.32.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-database 10.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-externalities 0.25.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-state-machine 0.35.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-statement-store 10.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-storage 19.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-trie 29.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", -] - [[package]] name = "sc-client-api" version = "28.0.0" @@ -12544,47 +12291,21 @@ dependencies = [ "log", "parity-scale-codec", "parking_lot 0.12.1", - "sc-executor 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-transaction-pool-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-utils 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-database 10.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-executor", + "sc-transaction-pool-api", + "sc-utils", + "sp-api", + "sp-blockchain", + "sp-consensus", + "sp-core", + "sp-database", "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-state-machine 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-statement-store 10.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime", + "sp-state-machine", + "sp-statement-store", "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-trie 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", -] - -[[package]] -name = "sc-client-db" -version = "0.35.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" -dependencies = [ - "hash-db 0.16.0", - "kvdb", - "kvdb-memorydb", - "kvdb-rocksdb", - "linked-hash-map", - "log", - "parity-db", - "parity-scale-codec", - "parking_lot 0.12.1", - "sc-client-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sc-state-db 0.30.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "schnellru", - "sp-arithmetic 23.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-blockchain 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-database 10.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-state-machine 0.35.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-trie 29.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-trie", + "substrate-prometheus-endpoint", ] [[package]] @@ -12601,41 +12322,16 @@ dependencies = [ "parity-db", "parity-scale-codec", "parking_lot 0.12.1", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-state-db 0.30.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-client-api", + "sc-state-db", "schnellru", - "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-database 10.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-state-machine 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-trie 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", -] - -[[package]] -name = "sc-consensus" -version = "0.33.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" -dependencies = [ - "async-trait", - "futures", - "futures-timer", - "libp2p-identity", - "log", - "mockall", - "parking_lot 0.12.1", - "sc-client-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sc-utils 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "serde", - "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-blockchain 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-consensus 0.32.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-state-machine 0.35.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "thiserror", + "sp-arithmetic", + "sp-blockchain", + "sp-core", + "sp-database", + "sp-runtime", + "sp-state-machine", + "sp-trie", ] [[package]] @@ -12650,45 +12346,16 @@ dependencies = [ "log", "mockall", "parking_lot 0.12.1", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-utils 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-client-api", + "sc-utils", "serde", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-state-machine 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "thiserror", -] - -[[package]] -name = "sc-consensus-aura" -version = "0.34.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" -dependencies = [ - "async-trait", - "futures", - "log", - "parity-scale-codec", - "sc-block-builder 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sc-client-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sc-consensus 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sc-consensus-slots 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sc-telemetry 15.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-application-crypto 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-block-builder 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-blockchain 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-consensus 0.32.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-consensus-aura 0.32.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-consensus-slots 0.32.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-inherents 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-keystore 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-api", + "sp-blockchain", + "sp-consensus", + "sp-core", + "sp-runtime", + "sp-state-machine", + "substrate-prometheus-endpoint", "thiserror", ] @@ -12701,23 +12368,23 @@ dependencies = [ "futures", "log", "parity-scale-codec", - "sc-block-builder 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-consensus 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-consensus-slots 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-telemetry 15.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-block-builder 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-consensus-aura 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-consensus-slots 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-block-builder", + "sc-client-api", + "sc-consensus", + "sc-consensus-slots", + "sc-telemetry", + "sp-api", + "sp-application-crypto", + "sp-block-builder", + "sp-blockchain", + "sp-consensus", + "sp-consensus-aura", + "sp-consensus-slots", + "sp-core", + "sp-inherents", + "sp-keystore", + "sp-runtime", + "substrate-prometheus-endpoint", "thiserror", ] @@ -12727,7 +12394,7 @@ version = "0.34.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "async-trait", - "fork-tree 12.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "fork-tree", "futures", "log", "num-bigint", @@ -12735,25 +12402,25 @@ dependencies = [ "num-traits", "parity-scale-codec", "parking_lot 0.12.1", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-consensus 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-client-api", + "sc-consensus", "sc-consensus-epochs", - "sc-consensus-slots 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-telemetry 15.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-transaction-pool-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-block-builder 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-consensus-slots", + "sc-telemetry", + "sc-transaction-pool-api", + "sp-api", + "sp-application-crypto", + "sp-block-builder", + "sp-blockchain", + "sp-consensus", "sp-consensus-babe", - "sp-consensus-slots 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-consensus-slots", + "sp-core", "sp-crypto-hashing 0.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-inherents", + "sp-keystore", + "sp-runtime", + "substrate-prometheus-endpoint", "thiserror", ] @@ -12766,16 +12433,16 @@ dependencies = [ "jsonrpsee 0.20.3", "sc-consensus-babe", "sc-consensus-epochs", - "sc-rpc-api 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-rpc-api", "serde", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-api", + "sp-application-crypto", + "sp-blockchain", + "sp-consensus", "sp-consensus-babe", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", + "sp-keystore", + "sp-runtime", "thiserror", ] @@ -12792,24 +12459,24 @@ dependencies = [ "log", "parity-scale-codec", "parking_lot 0.12.1", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-consensus 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-network 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-client-api", + "sc-consensus", + "sc-network", "sc-network-gossip", - "sc-network-sync 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-utils 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-network-sync", + "sc-utils", + "sp-api", + "sp-application-crypto", + "sp-arithmetic", + "sp-blockchain", + "sp-consensus", "sp-consensus-beefy", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", "sp-crypto-hashing 0.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-keystore", "sp-mmr-primitives", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime", + "substrate-prometheus-endpoint", "thiserror", "tokio", "wasm-timer", @@ -12826,11 +12493,11 @@ dependencies = [ "parity-scale-codec", "parking_lot 0.12.1", "sc-consensus-beefy", - "sc-rpc 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-rpc", "serde", "sp-consensus-beefy", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", + "sp-runtime", "thiserror", ] @@ -12839,12 +12506,12 @@ name = "sc-consensus-epochs" version = "0.33.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "fork-tree 12.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "fork-tree", "parity-scale-codec", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-consensus 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-client-api", + "sc-consensus", + "sp-blockchain", + "sp-runtime", ] [[package]] @@ -12857,36 +12524,36 @@ dependencies = [ "async-trait", "dyn-clone", "finality-grandpa", - "fork-tree 12.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "fork-tree", "futures", "futures-timer", "log", "parity-scale-codec", "parking_lot 0.12.1", "rand", - "sc-block-builder 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-chain-spec 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-consensus 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-network 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-network-common 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-block-builder", + "sc-chain-spec", + "sc-client-api", + "sc-consensus", + "sc-network", + "sc-network-common", "sc-network-gossip", - "sc-network-sync 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-telemetry 15.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-transaction-pool-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-utils 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-network-sync", + "sc-telemetry", + "sc-transaction-pool-api", + "sc-utils", "serde_json", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-consensus-grandpa 13.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-api", + "sp-application-crypto", + "sp-arithmetic", + "sp-blockchain", + "sp-consensus", + "sp-consensus-grandpa", + "sp-core", "sp-crypto-hashing 0.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-keystore", + "sp-runtime", + "substrate-prometheus-endpoint", "thiserror", ] @@ -12900,39 +12567,16 @@ dependencies = [ "jsonrpsee 0.20.3", "log", "parity-scale-codec", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-client-api", "sc-consensus-grandpa", - "sc-rpc 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-rpc", "serde", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-blockchain", + "sp-core", + "sp-runtime", "thiserror", ] -[[package]] -name = "sc-consensus-slots" -version = "0.33.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" -dependencies = [ - "async-trait", - "futures", - "futures-timer", - "log", - "parity-scale-codec", - "sc-client-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sc-consensus 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sc-telemetry 15.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-arithmetic 23.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-blockchain 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-consensus 0.32.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-consensus-slots 0.32.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-inherents 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-state-machine 0.35.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", -] - [[package]] name = "sc-consensus-slots" version = "0.33.0" @@ -12943,40 +12587,17 @@ dependencies = [ "futures-timer", "log", "parity-scale-codec", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-consensus 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-telemetry 15.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-consensus-slots 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-state-machine 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", -] - -[[package]] -name = "sc-executor" -version = "0.32.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" -dependencies = [ - "log", - "parity-scale-codec", - "parking_lot 0.12.1", - "sc-executor-common 0.29.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sc-executor-wasmtime 0.29.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "schnellru", - "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-externalities 0.25.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-panic-handler 13.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-runtime-interface 24.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-trie 29.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-version 29.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-wasm-interface 20.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "tracing", + "sc-client-api", + "sc-consensus", + "sc-telemetry", + "sp-arithmetic", + "sp-blockchain", + "sp-consensus", + "sp-consensus-slots", + "sp-core", + "sp-inherents", + "sp-runtime", + "sp-state-machine", ] [[package]] @@ -12986,41 +12607,28 @@ source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot dependencies = [ "parity-scale-codec", "parking_lot 0.12.1", - "sc-executor-common 0.29.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-executor-wasmtime 0.29.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-executor-common", + "sc-executor-wasmtime", "schnellru", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-api", + "sp-core", "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-panic-handler 13.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io", + "sp-panic-handler", "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-trie 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-version 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-trie", + "sp-version", "sp-wasm-interface 20.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "tracing", ] -[[package]] -name = "sc-executor-common" -version = "0.29.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" -dependencies = [ - "parity-scale-codec", - "sc-allocator 23.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-maybe-compressed-blob 11.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-wasm-interface 20.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "thiserror", - "wasm-instrument", -] - [[package]] name = "sc-executor-common" version = "0.29.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "sc-allocator 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-maybe-compressed-blob 11.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-allocator", + "sp-maybe-compressed-blob", "sp-wasm-interface 20.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "thiserror", "wasm-instrument", @@ -13029,87 +12637,36 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.29.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "anyhow", "cfg-if", "libc", "log", - "parity-scale-codec", "parking_lot 0.12.1", "rustix 0.36.17", - "sc-allocator 23.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sc-executor-common 0.29.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-runtime-interface 24.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-wasm-interface 20.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-allocator", + "sc-executor-common", + "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-wasm-interface 20.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "wasmtime", ] [[package]] -name = "sc-executor-wasmtime" -version = "0.29.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" -dependencies = [ - "anyhow", - "cfg-if", - "libc", - "log", - "parking_lot 0.12.1", - "rustix 0.36.17", - "sc-allocator 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-executor-common 0.29.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-wasm-interface 20.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "wasmtime", -] - -[[package]] -name = "sc-informant" -version = "0.33.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" -dependencies = [ - "ansi_term", - "futures", - "futures-timer", - "log", - "sc-client-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sc-network 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sc-network-common 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sc-network-sync 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-blockchain 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", -] - -[[package]] -name = "sc-informant" -version = "0.33.0" +name = "sc-informant" +version = "0.33.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "ansi_term", "futures", "futures-timer", "log", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-network 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-network-common 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-network-sync 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", -] - -[[package]] -name = "sc-keystore" -version = "25.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" -dependencies = [ - "array-bytes 6.2.2", - "parking_lot 0.12.1", - "serde_json", - "sp-application-crypto 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-keystore 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "thiserror", + "sc-client-api", + "sc-network", + "sc-network-common", + "sc-network-sync", + "sp-blockchain", + "sp-runtime", ] [[package]] @@ -13120,38 +12677,9 @@ dependencies = [ "array-bytes 6.2.2", "parking_lot 0.12.1", "serde_json", - "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "thiserror", -] - -[[package]] -name = "sc-mixnet" -version = "0.4.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" -dependencies = [ - "array-bytes 4.2.0", - "arrayvec 0.7.4", - "blake2 0.10.6", - "bytes", - "futures", - "futures-timer", - "libp2p-identity", - "log", - "mixnet", - "multiaddr", - "parity-scale-codec", - "parking_lot 0.12.1", - "sc-client-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sc-network 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sc-transaction-pool-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-consensus 0.32.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-keystore 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-mixnet 0.4.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-application-crypto", + "sp-core", + "sp-keystore", "thiserror", ] @@ -13172,59 +12700,16 @@ dependencies = [ "multiaddr", "parity-scale-codec", "parking_lot 0.12.1", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-network 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-transaction-pool-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-mixnet 0.4.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "thiserror", -] - -[[package]] -name = "sc-network" -version = "0.34.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" -dependencies = [ - "array-bytes 6.2.2", - "async-channel 1.9.0", - "async-trait", - "asynchronous-codec", - "bytes", - "either", - "fnv", - "futures", - "futures-timer", - "ip_network", - "libp2p", - "linked_hash_set", - "log", - "mockall", - "parity-scale-codec", - "parking_lot 0.12.1", - "partial_sort", - "pin-project", - "rand", - "sc-client-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sc-network-common 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sc-utils 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "serde", - "serde_json", - "smallvec", - "sp-arithmetic 23.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-blockchain 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-client-api", + "sc-network", + "sc-transaction-pool-api", + "sp-api", + "sp-consensus", + "sp-core", + "sp-keystore", + "sp-mixnet", + "sp-runtime", "thiserror", - "tokio", - "tokio-stream", - "unsigned-varint", - "wasm-timer", - "zeroize", ] [[package]] @@ -13251,17 +12736,17 @@ dependencies = [ "partial_sort", "pin-project", "rand", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-network-common 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-utils 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-client-api", + "sc-network-common", + "sc-utils", "serde", "serde_json", "smallvec", - "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-arithmetic", + "sp-blockchain", + "sp-core", + "sp-runtime", + "substrate-prometheus-endpoint", "thiserror", "tokio", "tokio-stream", @@ -13270,26 +12755,6 @@ dependencies = [ "zeroize", ] -[[package]] -name = "sc-network-bitswap" -version = "0.33.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" -dependencies = [ - "async-channel 1.9.0", - "cid", - "futures", - "libp2p-identity", - "log", - "prost 0.12.4", - "prost-build", - "sc-client-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sc-network 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-blockchain 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "thiserror", - "unsigned-varint", -] - [[package]] name = "sc-network-bitswap" version = "0.33.0" @@ -13302,31 +12767,14 @@ dependencies = [ "log", "prost 0.12.4", "prost-build", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-network 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-client-api", + "sc-network", + "sp-blockchain", + "sp-runtime", "thiserror", "unsigned-varint", ] -[[package]] -name = "sc-network-common" -version = "0.33.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" -dependencies = [ - "async-trait", - "bitflags 1.3.2", - "futures", - "libp2p-identity", - "parity-scale-codec", - "prost-build", - "sc-consensus 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-consensus 0.32.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-consensus-grandpa 13.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", -] - [[package]] name = "sc-network-common" version = "0.33.0" @@ -13338,10 +12786,10 @@ dependencies = [ "libp2p-identity", "parity-scale-codec", "prost-build", - "sc-consensus 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-consensus-grandpa 13.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-consensus", + "sp-consensus", + "sp-consensus-grandpa", + "sp-runtime", ] [[package]] @@ -13354,36 +12802,15 @@ dependencies = [ "futures-timer", "libp2p", "log", - "sc-network 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-network-common 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-network-sync 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-network", + "sc-network-common", + "sc-network-sync", "schnellru", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime", + "substrate-prometheus-endpoint", "tracing", ] -[[package]] -name = "sc-network-light" -version = "0.33.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" -dependencies = [ - "array-bytes 6.2.2", - "async-channel 1.9.0", - "futures", - "libp2p-identity", - "log", - "parity-scale-codec", - "prost 0.12.4", - "prost-build", - "sc-client-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sc-network 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-blockchain 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "thiserror", -] - [[package]] name = "sc-network-light" version = "0.33.0" @@ -13397,48 +12824,12 @@ dependencies = [ "parity-scale-codec", "prost 0.12.4", "prost-build", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-network 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "thiserror", -] - -[[package]] -name = "sc-network-sync" -version = "0.33.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" -dependencies = [ - "array-bytes 6.2.2", - "async-channel 1.9.0", - "async-trait", - "fork-tree 12.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "futures", - "futures-timer", - "libp2p", - "log", - "mockall", - "parity-scale-codec", - "prost 0.12.4", - "prost-build", - "sc-client-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sc-consensus 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sc-network 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sc-network-common 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sc-utils 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "schnellru", - "smallvec", - "sp-arithmetic 23.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-blockchain 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-consensus 0.32.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-consensus-grandpa 13.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sc-client-api", + "sc-network", + "sp-blockchain", + "sp-core", + "sp-runtime", "thiserror", - "tokio", - "tokio-stream", ] [[package]] @@ -13449,7 +12840,7 @@ dependencies = [ "array-bytes 6.2.2", "async-channel 1.9.0", "async-trait", - "fork-tree 12.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "fork-tree", "futures", "futures-timer", "libp2p", @@ -13458,44 +12849,25 @@ dependencies = [ "parity-scale-codec", "prost 0.12.4", "prost-build", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-consensus 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-network 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-network-common 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-utils 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-client-api", + "sc-consensus", + "sc-network", + "sc-network-common", + "sc-utils", "schnellru", "smallvec", - "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-consensus-grandpa 13.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-arithmetic", + "sp-blockchain", + "sp-consensus", + "sp-consensus-grandpa", + "sp-core", + "sp-runtime", + "substrate-prometheus-endpoint", "thiserror", "tokio", "tokio-stream", ] -[[package]] -name = "sc-network-transactions" -version = "0.33.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" -dependencies = [ - "array-bytes 6.2.2", - "futures", - "libp2p", - "log", - "parity-scale-codec", - "sc-network 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sc-network-common 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sc-network-sync 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sc-utils 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-consensus 0.32.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", -] - [[package]] name = "sc-network-transactions" version = "0.33.0" @@ -13506,13 +12878,13 @@ dependencies = [ "libp2p", "log", "parity-scale-codec", - "sc-network 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-network-common 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-network-sync 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-utils 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-network", + "sc-network-common", + "sc-network-sync", + "sc-utils", + "sp-consensus", + "sp-runtime", + "substrate-prometheus-endpoint", ] [[package]] @@ -13534,17 +12906,17 @@ dependencies = [ "parity-scale-codec", "parking_lot 0.12.1", "rand", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-network 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-network-common 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-transaction-pool-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-utils 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-client-api", + "sc-network", + "sc-network-common", + "sc-transaction-pool-api", + "sc-utils", + "sp-api", + "sp-core", "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-offchain 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-keystore", + "sp-offchain", + "sp-runtime", "threadpool", "tracing", ] @@ -13555,39 +12927,7 @@ version = "0.17.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "log", - "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", -] - -[[package]] -name = "sc-rpc" -version = "29.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" -dependencies = [ - "futures", - "jsonrpsee 0.20.3", - "log", - "parity-scale-codec", - "parking_lot 0.12.1", - "sc-block-builder 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sc-chain-spec 27.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sc-client-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sc-mixnet 0.4.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sc-rpc-api 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sc-tracing 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sc-transaction-pool-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sc-utils 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "serde_json", - "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-blockchain 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-keystore 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-offchain 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-rpc 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-session 27.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-statement-store 10.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-version 29.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "tokio", + "substrate-prometheus-endpoint", ] [[package]] @@ -13600,48 +12940,28 @@ dependencies = [ "log", "parity-scale-codec", "parking_lot 0.12.1", - "sc-block-builder 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-chain-spec 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-mixnet 0.4.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-rpc-api 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-tracing 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-transaction-pool-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-utils 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-block-builder", + "sc-chain-spec", + "sc-client-api", + "sc-mixnet", + "sc-rpc-api", + "sc-tracing", + "sc-transaction-pool-api", + "sc-utils", "serde_json", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-offchain 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-rpc 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-session 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-statement-store 10.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-version 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-api", + "sp-blockchain", + "sp-core", + "sp-keystore", + "sp-offchain", + "sp-rpc", + "sp-runtime", + "sp-session", + "sp-statement-store", + "sp-version", "tokio", ] -[[package]] -name = "sc-rpc-api" -version = "0.33.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" -dependencies = [ - "jsonrpsee 0.20.3", - "parity-scale-codec", - "sc-chain-spec 27.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sc-mixnet 0.4.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sc-transaction-pool-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "scale-info", - "serde", - "serde_json", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-rpc 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-version 29.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "thiserror", -] - [[package]] name = "sc-rpc-api" version = "0.33.0" @@ -13649,34 +12969,19 @@ source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot dependencies = [ "jsonrpsee 0.20.3", "parity-scale-codec", - "sc-chain-spec 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-mixnet 0.4.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-transaction-pool-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-chain-spec", + "sc-mixnet", + "sc-transaction-pool-api", "scale-info", "serde", "serde_json", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-rpc 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-version 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", + "sp-rpc", + "sp-runtime", + "sp-version", "thiserror", ] -[[package]] -name = "sc-rpc-server" -version = "11.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" -dependencies = [ - "http", - "jsonrpsee 0.20.3", - "log", - "serde_json", - "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "tokio", - "tower", - "tower-http", -] - [[package]] name = "sc-rpc-server" version = "11.0.0" @@ -13686,42 +12991,12 @@ dependencies = [ "jsonrpsee 0.20.3", "log", "serde_json", - "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "substrate-prometheus-endpoint", "tokio", "tower", "tower-http", ] -[[package]] -name = "sc-rpc-spec-v2" -version = "0.34.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" -dependencies = [ - "array-bytes 6.2.2", - "futures", - "futures-util", - "hex", - "jsonrpsee 0.20.3", - "log", - "parity-scale-codec", - "parking_lot 0.12.1", - "sc-chain-spec 27.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sc-client-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sc-rpc 29.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sc-transaction-pool-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sc-utils 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "serde", - "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-blockchain 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-rpc 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-version 29.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "thiserror", - "tokio", - "tokio-stream", -] - [[package]] name = "sc-rpc-spec-v2" version = "0.34.0" @@ -13735,86 +13010,23 @@ dependencies = [ "log", "parity-scale-codec", "parking_lot 0.12.1", - "sc-chain-spec 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-rpc 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-transaction-pool-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-utils 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-chain-spec", + "sc-client-api", + "sc-rpc", + "sc-transaction-pool-api", + "sc-utils", "serde", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-rpc 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-version 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-api", + "sp-blockchain", + "sp-core", + "sp-rpc", + "sp-runtime", + "sp-version", "thiserror", "tokio", "tokio-stream", ] -[[package]] -name = "sc-service" -version = "0.35.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" -dependencies = [ - "async-trait", - "directories", - "exit-future", - "futures", - "futures-timer", - "jsonrpsee 0.20.3", - "log", - "parity-scale-codec", - "parking_lot 0.12.1", - "pin-project", - "rand", - "sc-chain-spec 27.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sc-client-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sc-client-db 0.35.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sc-consensus 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sc-executor 0.32.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sc-informant 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sc-keystore 25.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sc-network 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sc-network-bitswap 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sc-network-common 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sc-network-light 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sc-network-sync 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sc-network-transactions 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sc-rpc 29.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sc-rpc-server 11.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sc-rpc-spec-v2 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sc-sysinfo 27.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sc-telemetry 15.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sc-tracing 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sc-transaction-pool 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sc-transaction-pool-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sc-utils 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "serde", - "serde_json", - "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-blockchain 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-consensus 0.32.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-externalities 0.25.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-keystore 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-session 27.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-state-machine 0.35.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-storage 19.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-transaction-pool 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-transaction-storage-proof 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-trie 29.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-version 29.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "static_init", - "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "tempfile", - "thiserror", - "tokio", - "tracing", - "tracing-futures", -] - [[package]] name = "sc-service" version = "0.35.0" @@ -13831,46 +13043,46 @@ dependencies = [ "parking_lot 0.12.1", "pin-project", "rand", - "sc-chain-spec 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-client-db 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-consensus 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-executor 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-informant 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-keystore 25.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-network 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-network-bitswap 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-network-common 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-network-light 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-network-sync 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-network-transactions 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-rpc 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-rpc-server 11.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-rpc-spec-v2 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-sysinfo 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-telemetry 15.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-tracing 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-transaction-pool 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-transaction-pool-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-utils 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-chain-spec", + "sc-client-api", + "sc-client-db", + "sc-consensus", + "sc-executor", + "sc-informant", + "sc-keystore", + "sc-network", + "sc-network-bitswap", + "sc-network-common", + "sc-network-light", + "sc-network-sync", + "sc-network-transactions", + "sc-rpc", + "sc-rpc-server", + "sc-rpc-spec-v2", + "sc-sysinfo", + "sc-telemetry", + "sc-tracing", + "sc-transaction-pool", + "sc-transaction-pool-api", + "sc-utils", "serde", "serde_json", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-api", + "sp-blockchain", + "sp-consensus", + "sp-core", "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-session 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-state-machine 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-keystore", + "sp-runtime", + "sp-session", + "sp-state-machine", "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-transaction-pool 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-transaction-storage-proof 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-trie 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-version 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-transaction-pool", + "sp-transaction-storage-proof", + "sp-trie", + "sp-version", "static_init", - "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "substrate-prometheus-endpoint", "tempfile", "thiserror", "tokio", @@ -13878,17 +13090,6 @@ dependencies = [ "tracing-futures", ] -[[package]] -name = "sc-state-db" -version = "0.30.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" -dependencies = [ - "log", - "parity-scale-codec", - "parking_lot 0.12.1", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", -] - [[package]] name = "sc-state-db" version = "0.30.0" @@ -13897,7 +13098,7 @@ dependencies = [ "log", "parity-scale-codec", "parking_lot 0.12.1", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", ] [[package]] @@ -13908,7 +13109,7 @@ dependencies = [ "clap 4.5.4", "fs4", "log", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", "thiserror", "tokio", ] @@ -13920,39 +13121,18 @@ source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot dependencies = [ "jsonrpsee 0.20.3", "parity-scale-codec", - "sc-chain-spec 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-chain-spec", + "sc-client-api", "sc-consensus-babe", "sc-consensus-epochs", "sc-consensus-grandpa", "serde", "serde_json", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-blockchain", + "sp-runtime", "thiserror", ] -[[package]] -name = "sc-sysinfo" -version = "27.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" -dependencies = [ - "derive_more", - "futures", - "libc", - "log", - "rand", - "rand_pcg", - "regex", - "sc-telemetry 15.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "serde", - "serde_json", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-crypto-hashing 0.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", -] - [[package]] name = "sc-sysinfo" version = "27.0.0" @@ -13965,34 +13145,15 @@ dependencies = [ "rand", "rand_pcg", "regex", - "sc-telemetry 15.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-telemetry", "serde", "serde_json", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", "sp-crypto-hashing 0.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] -[[package]] -name = "sc-telemetry" -version = "15.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" -dependencies = [ - "chrono", - "futures", - "libp2p", - "log", - "parking_lot 0.12.1", - "pin-project", - "rand", - "sc-utils 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "serde", - "serde_json", - "thiserror", - "wasm-timer", -] - [[package]] name = "sc-telemetry" version = "15.0.0" @@ -14005,43 +13166,13 @@ dependencies = [ "parking_lot 0.12.1", "pin-project", "rand", - "sc-utils 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-utils", "serde", "serde_json", "thiserror", "wasm-timer", ] -[[package]] -name = "sc-tracing" -version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" -dependencies = [ - "ansi_term", - "chrono", - "is-terminal", - "lazy_static", - "libc", - "log", - "parity-scale-codec", - "parking_lot 0.12.1", - "regex", - "rustc-hash", - "sc-client-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sc-tracing-proc-macro 11.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "serde", - "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-blockchain 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-rpc 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-tracing 16.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "thiserror", - "tracing", - "tracing-log 0.1.4", - "tracing-subscriber 0.2.25", -] - [[package]] name = "sc-tracing" version = "28.0.0" @@ -14057,14 +13188,14 @@ dependencies = [ "parking_lot 0.12.1", "regex", "rustc-hash", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-tracing-proc-macro 11.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-client-api", + "sc-tracing-proc-macro", "serde", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-rpc 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-api", + "sp-blockchain", + "sp-core", + "sp-rpc", + "sp-runtime", "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "thiserror", "tracing", @@ -14072,53 +13203,15 @@ dependencies = [ "tracing-subscriber 0.2.25", ] -[[package]] -name = "sc-tracing-proc-macro" -version = "11.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" -dependencies = [ - "proc-macro-crate 3.1.0", - "proc-macro2", - "quote", - "syn 2.0.58", -] - [[package]] name = "sc-tracing-proc-macro" version = "11.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "proc-macro-crate 3.1.0", - "proc-macro2", - "quote", - "syn 2.0.58", -] - -[[package]] -name = "sc-transaction-pool" -version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" -dependencies = [ - "async-trait", - "futures", - "futures-timer", - "linked-hash-map", - "log", - "parity-scale-codec", - "parking_lot 0.12.1", - "sc-client-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sc-transaction-pool-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sc-utils 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "serde", - "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-blockchain 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-crypto-hashing 0.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-tracing 16.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-transaction-pool 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "thiserror", + "proc-macro-crate 3.1.0", + "proc-macro2", + "quote", + "syn 2.0.58", ] [[package]] @@ -14133,34 +13226,18 @@ dependencies = [ "log", "parity-scale-codec", "parking_lot 0.12.1", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-transaction-pool-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-utils 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-client-api", + "sc-transaction-pool-api", + "sc-utils", "serde", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-api", + "sp-blockchain", + "sp-core", "sp-crypto-hashing 0.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime", "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-transaction-pool 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "thiserror", -] - -[[package]] -name = "sc-transaction-pool-api" -version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" -dependencies = [ - "async-trait", - "futures", - "log", - "parity-scale-codec", - "serde", - "sp-blockchain 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-transaction-pool", + "substrate-prometheus-endpoint", "thiserror", ] @@ -14174,27 +13251,12 @@ dependencies = [ "log", "parity-scale-codec", "serde", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-blockchain", + "sp-core", + "sp-runtime", "thiserror", ] -[[package]] -name = "sc-utils" -version = "14.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" -dependencies = [ - "async-channel 1.9.0", - "futures", - "futures-timer", - "lazy_static", - "log", - "parking_lot 0.12.1", - "prometheus", - "sp-arithmetic 23.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", -] - [[package]] name = "sc-utils" version = "14.0.0" @@ -14207,7 +13269,7 @@ dependencies = [ "log", "parking_lot 0.12.1", "prometheus", - "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-arithmetic", ] [[package]] @@ -14303,16 +13365,16 @@ version = "1.2.1" dependencies = [ "clap 3.2.25", "frame-remote-externalities", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support", + "frame-system", "hydradx-runtime", "jsonrpsee 0.15.1", "pallet-balances", "parity-scale-codec", "serde", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-rpc 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-state-machine 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", + "sp-rpc", + "sp-state-machine", "substrate-rpc-client", "tokio", ] @@ -14618,7 +13680,7 @@ dependencies = [ "enumn", "parity-scale-codec", "paste", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] @@ -14804,27 +13866,6 @@ dependencies = [ "sha-1", ] -[[package]] -name = "sp-api" -version = "26.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" -dependencies = [ - "hash-db 0.16.0", - "log", - "parity-scale-codec", - "scale-info", - "sp-api-proc-macro 15.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-externalities 0.25.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-metadata-ir 0.6.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-state-machine 0.35.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-trie 29.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-version 29.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "thiserror", -] - [[package]] name = "sp-api" version = "26.0.0" @@ -14834,32 +13875,18 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-api-proc-macro 15.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-api-proc-macro", + "sp-core", "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-metadata-ir 0.6.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-state-machine 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-metadata-ir", + "sp-runtime", + "sp-state-machine", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-trie 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-version 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-trie", + "sp-version", "thiserror", ] -[[package]] -name = "sp-api-proc-macro" -version = "15.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" -dependencies = [ - "Inflector", - "blake2 0.10.6", - "expander 2.1.0", - "proc-macro-crate 3.1.0", - "proc-macro2", - "quote", - "syn 2.0.58", -] - [[package]] name = "sp-api-proc-macro" version = "15.0.0" @@ -14874,19 +13901,6 @@ dependencies = [ "syn 2.0.58", ] -[[package]] -name = "sp-application-crypto" -version = "30.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" -dependencies = [ - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", -] - [[package]] name = "sp-application-crypto" version = "30.0.0" @@ -14895,25 +13909,11 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", + "sp-io", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] -[[package]] -name = "sp-arithmetic" -version = "23.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" -dependencies = [ - "integer-sqrt", - "num-traits", - "parity-scale-codec", - "scale-info", - "serde", - "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "static_assertions", -] - [[package]] name = "sp-arithmetic" version = "23.0.0" @@ -14953,52 +13953,23 @@ source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot dependencies = [ "parity-scale-codec", "scale-info", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-api", + "sp-application-crypto", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] -[[package]] -name = "sp-block-builder" -version = "26.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" -dependencies = [ - "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-inherents 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", -] - [[package]] name = "sp-block-builder" version = "26.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-api", + "sp-inherents", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] -[[package]] -name = "sp-blockchain" -version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" -dependencies = [ - "futures", - "log", - "parity-scale-codec", - "parking_lot 0.12.1", - "schnellru", - "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-consensus 0.32.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-database 10.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-state-machine 0.35.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "thiserror", -] - [[package]] name = "sp-blockchain" version = "28.0.0" @@ -15009,26 +13980,11 @@ dependencies = [ "parity-scale-codec", "parking_lot 0.12.1", "schnellru", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-database 10.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-state-machine 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "thiserror", -] - -[[package]] -name = "sp-consensus" -version = "0.32.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" -dependencies = [ - "async-trait", - "futures", - "log", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-inherents 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-state-machine 0.35.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-api", + "sp-consensus", + "sp-database", + "sp-runtime", + "sp-state-machine", "thiserror", ] @@ -15040,30 +13996,13 @@ dependencies = [ "async-trait", "futures", "log", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-state-machine 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", + "sp-inherents", + "sp-runtime", + "sp-state-machine", "thiserror", ] -[[package]] -name = "sp-consensus-aura" -version = "0.32.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" -dependencies = [ - "async-trait", - "parity-scale-codec", - "scale-info", - "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-application-crypto 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-consensus-slots 0.32.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-inherents 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-timestamp 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", -] - [[package]] name = "sp-consensus-aura" version = "0.32.0" @@ -15072,13 +14011,13 @@ dependencies = [ "async-trait", "parity-scale-codec", "scale-info", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-consensus-slots 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-api", + "sp-application-crypto", + "sp-consensus-slots", + "sp-inherents", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-timestamp 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-timestamp", ] [[package]] @@ -15090,14 +14029,14 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-consensus-slots 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-api", + "sp-application-crypto", + "sp-consensus-slots", + "sp-core", + "sp-inherents", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-timestamp 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-timestamp", ] [[package]] @@ -15109,35 +14048,17 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-api", + "sp-application-crypto", + "sp-core", "sp-crypto-hashing 0.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io", "sp-mmr-primitives", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "strum 0.24.1", ] -[[package]] -name = "sp-consensus-grandpa" -version = "13.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" -dependencies = [ - "finality-grandpa", - "log", - "parity-scale-codec", - "scale-info", - "serde", - "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-application-crypto 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-keystore 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", -] - [[package]] name = "sp-consensus-grandpa" version = "13.0.0" @@ -15148,26 +14069,14 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-api", + "sp-application-crypto", + "sp-core", + "sp-keystore", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] -[[package]] -name = "sp-consensus-slots" -version = "0.32.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" -dependencies = [ - "parity-scale-codec", - "scale-info", - "serde", - "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-timestamp 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", -] - [[package]] name = "sp-consensus-slots" version = "0.32.0" @@ -15177,53 +14086,7 @@ dependencies = [ "scale-info", "serde", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-timestamp 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", -] - -[[package]] -name = "sp-core" -version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" -dependencies = [ - "array-bytes 6.2.2", - "bandersnatch_vrfs", - "bip39", - "bitflags 1.3.2", - "blake2 0.10.6", - "bounded-collections", - "bs58 0.5.1", - "dyn-clonable", - "ed25519-zebra 3.1.0", - "futures", - "hash-db 0.16.0", - "hash256-std-hasher", - "impl-serde", - "itertools 0.10.5", - "libsecp256k1", - "log", - "merlin", - "parity-scale-codec", - "parking_lot 0.12.1", - "paste", - "primitive-types", - "rand", - "scale-info", - "schnorrkel 0.11.4", - "secp256k1", - "secrecy", - "serde", - "sp-crypto-hashing 0.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-debug-derive 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-externalities 0.25.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-runtime-interface 24.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-storage 19.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "ss58-registry", - "substrate-bip39", - "thiserror", - "tracing", - "w3f-bls", - "zeroize", + "sp-timestamp", ] [[package]] @@ -15275,7 +14138,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "15.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#55d05ab37c2aef0593bc255965a01e7583dd06c8" dependencies = [ "sp-crypto-hashing 0.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", ] @@ -15283,7 +14146,7 @@ dependencies = [ [[package]] name = "sp-crypto-ec-utils" version = "0.10.0" -source = "git+https://github.com/paritytech/polkadot-sdk#80616f6d03661106326b621e9cc3ee1d2fa283ed" +source = "git+https://github.com/paritytech/polkadot-sdk#b6231c79ca708d9c9280210f41ca38fd816c8ad9" dependencies = [ "ark-bls12-377", "ark-bls12-377-ext", @@ -15303,7 +14166,7 @@ dependencies = [ [[package]] name = "sp-crypto-hashing" version = "0.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#55d05ab37c2aef0593bc255965a01e7583dd06c8" dependencies = [ "blake2b_simd", "byteorder", @@ -15326,16 +14189,6 @@ dependencies = [ "twox-hash", ] -[[package]] -name = "sp-crypto-hashing-proc-macro" -version = "0.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" -dependencies = [ - "quote", - "sp-crypto-hashing 0.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "syn 2.0.58", -] - [[package]] name = "sp-crypto-hashing-proc-macro" version = "0.0.0" @@ -15346,15 +14199,6 @@ dependencies = [ "syn 2.0.58", ] -[[package]] -name = "sp-database" -version = "10.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" -dependencies = [ - "kvdb", - "parking_lot 0.12.1", -] - [[package]] name = "sp-database" version = "10.0.0" @@ -15364,16 +14208,6 @@ dependencies = [ "parking_lot 0.12.1", ] -[[package]] -name = "sp-debug-derive" -version = "14.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.58", -] - [[package]] name = "sp-debug-derive" version = "14.0.0" @@ -15387,24 +14221,13 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#80616f6d03661106326b621e9cc3ee1d2fa283ed" +source = "git+https://github.com/paritytech/polkadot-sdk#b6231c79ca708d9c9280210f41ca38fd816c8ad9" dependencies = [ "proc-macro2", "quote", "syn 2.0.58", ] -[[package]] -name = "sp-externalities" -version = "0.25.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" -dependencies = [ - "environmental", - "parity-scale-codec", - "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-storage 19.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", -] - [[package]] name = "sp-externalities" version = "0.25.0" @@ -15419,49 +14242,24 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.25.0" -source = "git+https://github.com/paritytech/polkadot-sdk#80616f6d03661106326b621e9cc3ee1d2fa283ed" +source = "git+https://github.com/paritytech/polkadot-sdk#b6231c79ca708d9c9280210f41ca38fd816c8ad9" dependencies = [ "environmental", "parity-scale-codec", "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk)", ] -[[package]] -name = "sp-genesis-builder" -version = "0.7.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" -dependencies = [ - "serde_json", - "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", -] - [[package]] name = "sp-genesis-builder" version = "0.7.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "serde_json", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-api", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] -[[package]] -name = "sp-inherents" -version = "26.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" -dependencies = [ - "async-trait", - "impl-trait-for-tuples", - "parity-scale-codec", - "scale-info", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "thiserror", -] - [[package]] name = "sp-inherents" version = "26.0.0" @@ -15471,36 +14269,11 @@ dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", "scale-info", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "thiserror", ] -[[package]] -name = "sp-io" -version = "30.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" -dependencies = [ - "bytes", - "ed25519-dalek", - "libsecp256k1", - "log", - "parity-scale-codec", - "rustversion", - "secp256k1", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-crypto-hashing 0.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-externalities 0.25.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-keystore 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-runtime-interface 24.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-state-machine 0.35.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-tracing 16.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-trie 29.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "tracing", - "tracing-core", -] - [[package]] name = "sp-io" version = "30.0.0" @@ -15513,15 +14286,15 @@ dependencies = [ "parity-scale-codec", "rustversion", "secp256k1", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", "sp-crypto-hashing 0.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-keystore", "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-state-machine 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-state-machine", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-trie 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-trie", "tracing", "tracing-core", ] @@ -15531,23 +14304,11 @@ name = "sp-keyring" version = "31.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", + "sp-runtime", "strum 0.24.1", ] -[[package]] -name = "sp-keystore" -version = "0.34.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" -dependencies = [ - "parity-scale-codec", - "parking_lot 0.12.1", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-externalities 0.25.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "thiserror", -] - [[package]] name = "sp-keystore" version = "0.34.0" @@ -15555,20 +14316,11 @@ source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot dependencies = [ "parity-scale-codec", "parking_lot 0.12.1", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "thiserror", ] -[[package]] -name = "sp-maybe-compressed-blob" -version = "11.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" -dependencies = [ - "thiserror", - "zstd 0.12.4", -] - [[package]] name = "sp-maybe-compressed-blob" version = "11.0.0" @@ -15578,17 +14330,6 @@ dependencies = [ "zstd 0.12.4", ] -[[package]] -name = "sp-metadata-ir" -version = "0.6.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" -dependencies = [ - "frame-metadata", - "parity-scale-codec", - "scale-info", - "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", -] - [[package]] name = "sp-metadata-ir" version = "0.6.0" @@ -15600,18 +14341,6 @@ dependencies = [ "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] -[[package]] -name = "sp-mixnet" -version = "0.4.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" -dependencies = [ - "parity-scale-codec", - "scale-info", - "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-application-crypto 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", -] - [[package]] name = "sp-mixnet" version = "0.4.0" @@ -15619,8 +14348,8 @@ source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot dependencies = [ "parity-scale-codec", "scale-info", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-api", + "sp-application-crypto", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] @@ -15634,10 +14363,10 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-api", + "sp-core", "sp-debug-derive 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "thiserror", ] @@ -15650,40 +14379,20 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-arithmetic", + "sp-core", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] -[[package]] -name = "sp-offchain" -version = "26.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" -dependencies = [ - "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", -] - [[package]] name = "sp-offchain" version = "26.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", -] - -[[package]] -name = "sp-panic-handler" -version = "13.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" -dependencies = [ - "backtrace", - "lazy_static", - "regex", + "sp-api", + "sp-core", + "sp-runtime", ] [[package]] @@ -15696,16 +14405,6 @@ dependencies = [ "regex", ] -[[package]] -name = "sp-rpc" -version = "26.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" -dependencies = [ - "rustc-hash", - "serde", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", -] - [[package]] name = "sp-rpc" version = "26.0.0" @@ -15713,31 +14412,7 @@ source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot dependencies = [ "rustc-hash", "serde", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", -] - -[[package]] -name = "sp-runtime" -version = "31.0.1" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" -dependencies = [ - "docify", - "either", - "hash256-std-hasher", - "impl-trait-for-tuples", - "log", - "parity-scale-codec", - "paste", - "rand", - "scale-info", - "serde", - "simple-mermaid", - "sp-application-crypto 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-arithmetic 23.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-weights 27.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-core", ] [[package]] @@ -15756,30 +14431,12 @@ dependencies = [ "scale-info", "serde", "simple-mermaid", - "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-application-crypto", + "sp-arithmetic", + "sp-core", + "sp-io", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-weights 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", -] - -[[package]] -name = "sp-runtime-interface" -version = "24.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" -dependencies = [ - "bytes", - "impl-trait-for-tuples", - "parity-scale-codec", - "primitive-types", - "sp-externalities 0.25.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-runtime-interface-proc-macro 17.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-storage 19.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-tracing 16.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-wasm-interface 20.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "static_assertions", + "sp-weights", ] [[package]] @@ -15803,7 +14460,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "24.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#80616f6d03661106326b621e9cc3ee1d2fa283ed" +source = "git+https://github.com/paritytech/polkadot-sdk#b6231c79ca708d9c9280210f41ca38fd816c8ad9" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -15819,19 +14476,6 @@ dependencies = [ "static_assertions", ] -[[package]] -name = "sp-runtime-interface-proc-macro" -version = "17.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" -dependencies = [ - "Inflector", - "expander 2.1.0", - "proc-macro-crate 3.1.0", - "proc-macro2", - "quote", - "syn 2.0.58", -] - [[package]] name = "sp-runtime-interface-proc-macro" version = "17.0.0" @@ -15848,7 +14492,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#80616f6d03661106326b621e9cc3ee1d2fa283ed" +source = "git+https://github.com/paritytech/polkadot-sdk#b6231c79ca708d9c9280210f41ca38fd816c8ad9" dependencies = [ "Inflector", "expander 2.1.0", @@ -15858,21 +14502,6 @@ dependencies = [ "syn 2.0.58", ] -[[package]] -name = "sp-session" -version = "27.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" -dependencies = [ - "parity-scale-codec", - "scale-info", - "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-keystore 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-staking 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", -] - [[package]] name = "sp-session" version = "27.0.0" @@ -15880,28 +14509,14 @@ source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot dependencies = [ "parity-scale-codec", "scale-info", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-staking 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-api", + "sp-core", + "sp-keystore", + "sp-runtime", + "sp-staking", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] -[[package]] -name = "sp-staking" -version = "26.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" -dependencies = [ - "impl-trait-for-tuples", - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", -] - [[package]] name = "sp-staking" version = "26.0.0" @@ -15911,32 +14526,11 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] -[[package]] -name = "sp-state-machine" -version = "0.35.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" -dependencies = [ - "hash-db 0.16.0", - "log", - "parity-scale-codec", - "parking_lot 0.12.1", - "rand", - "smallvec", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-externalities 0.25.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-panic-handler 13.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-trie 29.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "thiserror", - "tracing", - "trie-db", -] - [[package]] name = "sp-state-machine" version = "0.35.0" @@ -15948,41 +14542,16 @@ dependencies = [ "parking_lot 0.12.1", "rand", "smallvec", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-panic-handler 13.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-panic-handler", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-trie 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-trie", "thiserror", "tracing", "trie-db", ] -[[package]] -name = "sp-statement-store" -version = "10.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" -dependencies = [ - "aes-gcm", - "curve25519-dalek 4.1.2", - "ed25519-dalek", - "hkdf", - "parity-scale-codec", - "rand", - "scale-info", - "sha2 0.10.8", - "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-application-crypto 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-crypto-hashing 0.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-externalities 0.25.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-runtime-interface 24.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "thiserror", - "x25519-dalek 2.0.1", -] - [[package]] name = "sp-statement-store" version = "10.0.0" @@ -15996,23 +14565,18 @@ dependencies = [ "rand", "scale-info", "sha2 0.10.8", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-api", + "sp-application-crypto", + "sp-core", "sp-crypto-hashing 0.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime", "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "thiserror", "x25519-dalek 2.0.1", ] -[[package]] -name = "sp-std" -version = "14.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" - [[package]] name = "sp-std" version = "14.0.0" @@ -16021,20 +14585,7 @@ source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot [[package]] name = "sp-std" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#80616f6d03661106326b621e9cc3ee1d2fa283ed" - -[[package]] -name = "sp-storage" -version = "19.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" -dependencies = [ - "impl-serde", - "parity-scale-codec", - "ref-cast", - "serde", - "sp-debug-derive 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", -] +source = "git+https://github.com/paritytech/polkadot-sdk#b6231c79ca708d9c9280210f41ca38fd816c8ad9" [[package]] name = "sp-storage" @@ -16052,7 +14603,7 @@ dependencies = [ [[package]] name = "sp-storage" version = "19.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#80616f6d03661106326b621e9cc3ee1d2fa283ed" +source = "git+https://github.com/paritytech/polkadot-sdk#b6231c79ca708d9c9280210f41ca38fd816c8ad9" dependencies = [ "impl-serde", "parity-scale-codec", @@ -16061,19 +14612,6 @@ dependencies = [ "sp-debug-derive 14.0.0 (git+https://github.com/paritytech/polkadot-sdk)", ] -[[package]] -name = "sp-timestamp" -version = "26.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" -dependencies = [ - "async-trait", - "parity-scale-codec", - "sp-inherents 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "thiserror", -] - [[package]] name = "sp-timestamp" version = "26.0.0" @@ -16081,24 +14619,12 @@ source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot dependencies = [ "async-trait", "parity-scale-codec", - "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-inherents", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "thiserror", ] -[[package]] -name = "sp-tracing" -version = "16.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" -dependencies = [ - "parity-scale-codec", - "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "tracing", - "tracing-core", - "tracing-subscriber 0.2.25", -] - [[package]] name = "sp-tracing" version = "16.0.0" @@ -16114,7 +14640,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "16.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#80616f6d03661106326b621e9cc3ee1d2fa283ed" +source = "git+https://github.com/paritytech/polkadot-sdk#b6231c79ca708d9c9280210f41ca38fd816c8ad9" dependencies = [ "parity-scale-codec", "tracing", @@ -16122,37 +14648,13 @@ dependencies = [ "tracing-subscriber 0.3.18", ] -[[package]] -name = "sp-transaction-pool" -version = "26.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" -dependencies = [ - "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", -] - [[package]] name = "sp-transaction-pool" version = "26.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", -] - -[[package]] -name = "sp-transaction-storage-proof" -version = "26.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" -dependencies = [ - "async-trait", - "parity-scale-codec", - "scale-info", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-inherents 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-trie 29.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-api", + "sp-runtime", ] [[package]] @@ -16163,35 +14665,11 @@ dependencies = [ "async-trait", "parity-scale-codec", "scale-info", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", + "sp-inherents", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-trie 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", -] - -[[package]] -name = "sp-trie" -version = "29.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" -dependencies = [ - "ahash 0.8.11", - "hash-db 0.16.0", - "lazy_static", - "memory-db", - "nohash-hasher", - "parity-scale-codec", - "parking_lot 0.12.1", - "rand", - "scale-info", - "schnellru", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-externalities 0.25.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "thiserror", - "tracing", - "trie-db", - "trie-root", + "sp-trie", ] [[package]] @@ -16209,7 +14687,7 @@ dependencies = [ "rand", "scale-info", "schnellru", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "thiserror", @@ -16218,23 +14696,6 @@ dependencies = [ "trie-root", ] -[[package]] -name = "sp-version" -version = "29.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" -dependencies = [ - "impl-serde", - "parity-scale-codec", - "parity-wasm", - "scale-info", - "serde", - "sp-crypto-hashing-proc-macro 0.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-version-proc-macro 13.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "thiserror", -] - [[package]] name = "sp-version" version = "29.0.0" @@ -16245,24 +14706,13 @@ dependencies = [ "parity-wasm", "scale-info", "serde", - "sp-crypto-hashing-proc-macro 0.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-crypto-hashing-proc-macro", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-version-proc-macro 13.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-version-proc-macro", "thiserror", ] -[[package]] -name = "sp-version-proc-macro" -version = "13.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" -dependencies = [ - "parity-scale-codec", - "proc-macro2", - "quote", - "syn 2.0.58", -] - [[package]] name = "sp-version-proc-macro" version = "13.0.0" @@ -16274,19 +14724,6 @@ dependencies = [ "syn 2.0.58", ] -[[package]] -name = "sp-wasm-interface" -version = "20.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" -dependencies = [ - "anyhow", - "impl-trait-for-tuples", - "log", - "parity-scale-codec", - "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "wasmtime", -] - [[package]] name = "sp-wasm-interface" version = "20.0.0" @@ -16303,28 +14740,13 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "20.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#80616f6d03661106326b621e9cc3ee1d2fa283ed" +source = "git+https://github.com/paritytech/polkadot-sdk#b6231c79ca708d9c9280210f41ca38fd816c8ad9" dependencies = [ "impl-trait-for-tuples", "log", "parity-scale-codec", ] -[[package]] -name = "sp-weights" -version = "27.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" -dependencies = [ - "bounded-collections", - "parity-scale-codec", - "scale-info", - "serde", - "smallvec", - "sp-arithmetic 23.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-debug-derive 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", - "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", -] - [[package]] name = "sp-weights" version = "27.0.0" @@ -16335,7 +14757,7 @@ dependencies = [ "scale-info", "serde", "smallvec", - "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-arithmetic", "sp-debug-derive 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] @@ -16400,11 +14822,11 @@ version = "0.7.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "cumulus-primitives-core", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] @@ -16422,7 +14844,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-weights 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-weights", "xcm-procedural", ] @@ -16431,19 +14853,19 @@ name = "staging-xcm-builder" version = "7.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support", + "frame-system", "impl-trait-for-tuples", "log", "pallet-transaction-payment", "parity-scale-codec", "polkadot-parachain-primitives", "scale-info", - "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-arithmetic", + "sp-io", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-weights 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-weights", "staging-xcm", "staging-xcm-executor", ] @@ -16454,18 +14876,18 @@ version = "7.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "environmental", - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", + "frame-support", "impl-trait-for-tuples", "log", "parity-scale-codec", "scale-info", - "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-weights 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-weights", "staging-xcm", ] @@ -16610,25 +15032,13 @@ dependencies = [ "jsonrpsee 0.20.3", "log", "parity-scale-codec", - "sc-rpc-api 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-transaction-pool-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-block-builder 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", -] - -[[package]] -name = "substrate-prometheus-endpoint" -version = "0.17.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#083b7aaef788b3b2530b0e88cb7f0b4c64570aa4" -dependencies = [ - "hyper", - "log", - "prometheus", - "thiserror", - "tokio", + "sc-rpc-api", + "sc-transaction-pool-api", + "sp-api", + "sp-block-builder", + "sp-blockchain", + "sp-core", + "sp-runtime", ] [[package]] @@ -16651,9 +15061,9 @@ dependencies = [ "async-trait", "jsonrpsee 0.20.3", "log", - "sc-rpc-api 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-rpc-api", "serde", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime", ] [[package]] @@ -16663,13 +15073,13 @@ source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot dependencies = [ "jsonrpsee 0.20.3", "parity-scale-codec", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sc-rpc-api 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-client-api", + "sc-rpc-api", "serde", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-state-machine 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-trie 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", + "sp-runtime", + "sp-state-machine", + "sp-trie", "trie-db", ] @@ -16683,7 +15093,7 @@ dependencies = [ "console", "filetime", "parity-wasm", - "sp-maybe-compressed-blob 11.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-maybe-compressed-blob", "strum 0.24.1", "tempfile", "toml 0.8.12", @@ -16872,7 +15282,7 @@ dependencies = [ name = "test-utils" version = "1.1.1" dependencies = [ - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-system", "pretty_assertions", ] @@ -17494,25 +15904,25 @@ dependencies = [ "log", "parity-scale-codec", "sc-cli", - "sc-executor 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sc-executor", "serde", "serde_json", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-consensus-aura 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-api", + "sp-consensus-aura", "sp-consensus-babe", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", "sp-debug-derive 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-rpc 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-state-machine 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-timestamp 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-transaction-storage-proof 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-version 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-weights 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-inherents", + "sp-io", + "sp-keystore", + "sp-rpc", + "sp-runtime", + "sp-state-machine", + "sp-timestamp", + "sp-transaction-storage-proof", + "sp-version", + "sp-weights", "substrate-rpc-client", "zstd 0.12.4", ] @@ -18172,11 +16582,11 @@ source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot dependencies = [ "binary-merkle-tree", "bitvec", - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-benchmarking", "frame-election-provider-support", "frame-executive", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support", + "frame-system", "frame-system-benchmarking", "frame-system-rpc-runtime-api", "frame-try-runtime", @@ -18243,27 +16653,27 @@ dependencies = [ "serde", "serde_derive", "smallvec", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-api", + "sp-application-crypto", + "sp-arithmetic", "sp-authority-discovery", - "sp-block-builder 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-block-builder", "sp-consensus-babe", "sp-consensus-beefy", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-genesis-builder 0.7.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", + "sp-genesis-builder", + "sp-inherents", + "sp-io", "sp-mmr-primitives", "sp-npos-elections", - "sp-offchain 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-session 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-staking 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-offchain", + "sp-runtime", + "sp-session", + "sp-staking", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-transaction-pool 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-version 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-transaction-pool", + "sp-version", "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", @@ -18276,13 +16686,13 @@ name = "westend-runtime-constants" version = "7.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support", "polkadot-primitives", "polkadot-runtime-common", "smallvec", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-weights 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-core", + "sp-runtime", + "sp-weights", "staging-xcm", "staging-xcm-builder", ] @@ -18660,8 +17070,8 @@ dependencies = [ "cumulus-primitives-core", "cumulus-primitives-parachain-inherent", "cumulus-test-relay-sproof-builder", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "frame-support", + "frame-system", "impl-trait-for-tuples", "lazy_static", "log", @@ -18673,11 +17083,11 @@ dependencies = [ "polkadot-parachain-primitives", "polkadot-primitives", "polkadot-runtime-parachains", - "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-arithmetic", + "sp-core", "sp-crypto-hashing 0.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-io", + "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "staging-xcm", @@ -18811,3 +17221,8 @@ dependencies = [ "cc", "pkg-config", ] + +[[patch.unused]] +name = "orml-currencies" +version = "0.8.0" +source = "git+https://github.com/galacticcouncil/open-runtime-module-library?branch=polkadot-v1.7.2#c1fbd5a34168830e3614a1cd4724135e7a3c1236" diff --git a/Cargo.toml b/Cargo.toml index 51682ea3b..da0d45bde 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,7 +11,7 @@ members = [ 'utils/build-script-utils', 'integration-tests', 'pallets/circuit-breaker', - 'pallets/xcm-rate-limiter', + #'pallets/xcm-rate-limiter', 'pallets/omnipool-liquidity-mining', 'scraper', 'traits', @@ -80,7 +80,7 @@ pallet-transaction-multi-payment = { path = "pallets/transaction-multi-payment", pallet-transaction-pause = { path = "pallets/transaction-pause", default-features = false } pallet-staking = { path = "pallets/staking", default-features = false } pallet-democracy= { path = "pallets/democracy", default-features = false } -pallet-xcm-rate-limiter = { path = "pallets/xcm-rate-limiter", default-features = false } +#pallet-xcm-rate-limiter = { path = "pallets/xcm-rate-limiter", default-features = false } warehouse-liquidity-mining = { package = "pallet-liquidity-mining", path = "pallets/liquidity-mining", default-features = false } pallet-bonds = { path = "pallets/bonds", default-features = false} pallet-lbp = { path = "pallets/lbp", default-features = false} @@ -138,6 +138,7 @@ sp-tracing = { git = "https://github.com/paritytech/polkadot-sdk", branch = "rel sp-transaction-pool = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } sp-trie = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } sp-version = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +sp-weights = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } sc-basic-authorship = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } sc-chain-spec = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } sc-cli = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } @@ -270,7 +271,7 @@ xcm = { package = "staging-xcm", git = "https://github.com/paritytech/polkadot-s xcm-builder = { package = "staging-xcm-builder", git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } xcm-executor = { package = "staging-xcm-executor", git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } -kusama-runtime = { package = "staging-kusama-runtime", git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +#kusama-runtime = { package = "staging-kusama-runtime", git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } polkadot-client = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } polkadot-node-core-pvf = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } polkadot-node-network-protocol = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } @@ -286,3 +287,170 @@ westend-runtime = { git = "https://github.com/paritytech/polkadot-sdk", branch = cumulus-client-pov-recovery = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } cumulus-pallet-parachain-system-proc-macro = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } cumulus-relay-chain-rpc-interface = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } + + +[patch."https://github.com/moonbeam-foundation/open-runtime-module-library"] +# ORML dependencies +orml-benchmarking = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.7.2", default-features = false } +orml-currencies = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.7.2", default-features = false } +orml-tokens = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.7.2", default-features = false } +orml-traits = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.7.2", default-features = false } +orml-utilities = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.7.2", default-features = false } +orml-vesting = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.7.2", default-features = false } + +# orml XCM support +orml-unknown-tokens = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.7.2", default-features = false } +orml-xcm = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.7.2", default-features = false } +orml-xcm-support = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.7.2", default-features = false } +orml-xtokens = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.7.2", default-features = false } + + + +[patch."https://github.com/moonbeam-foundation/polkadot-sdk"] +frame-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +frame-benchmarking-cli = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +frame-executive = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +frame-remote-externalities = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +frame-support = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +frame-system = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +frame-system-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +frame-try-runtime = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +sp-api = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +sp-arithmetic = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +sp-authority-discovery = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +sp-block-builder = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +sp-blockchain = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +sp-consensus = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +sp-consensus-aura = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +sp-consensus-babe = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +sp-core = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +sp-externalities = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +sp-inherents = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +sp-io = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +sp-keystore = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +sp-npos-elections = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +sp-offchain = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +sc-offchain = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +sp-rpc = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +sp-runtime-interface = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +sp-runtime-interface-proc-macro = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +sp-wasm-interface = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +sp-panic-handler = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +sp-database = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +sp-session = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +sp-staking = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +sp-std = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +sp-storage = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +sp-timestamp = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +sp-tracing = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +sp-transaction-pool = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +sp-trie = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +sp-version = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +sc-basic-authorship = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +sc-chain-spec = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +sc-cli = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +sc-client-api = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +sc-client-db = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +sc-consensus = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +sc-consensus-aura = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +sc-consensus-grandpa = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +sc-executor = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +sc-keystore = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +sc-network = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +sc-network-sync = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +sc-network-common = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +sc-rpc = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +sc-rpc-api = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +sc-service = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +sc-telemetry = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +sc-tracing = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +sc-transaction-pool = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +sc-transaction-pool-api = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +sc-sysinfo = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +sc-utils = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +sp-state-machine = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } + +# Substrate Pallets +pallet-aura = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +pallet-authorship = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +pallet-collective = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +pallet-elections-phragmen = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +pallet-identity = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +pallet-multisig = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +pallet-preimage = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +pallet-proxy = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +pallet-scheduler = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +pallet-session = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +pallet-sudo = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +pallet-timestamp = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +pallet-tips = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +pallet-transaction-payment = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +pallet-treasury = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +pallet-uniques = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +pallet-utility = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +pallet-im-online = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } + +substrate-build-script-utils = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +substrate-frame-rpc-system = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +substrate-prometheus-endpoint = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +substrate-rpc-client = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +substrate-wasm-builder = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } + +# Cumulus dependencies +cumulus-client-cli = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +cumulus-client-collator = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +cumulus-client-consensus-aura = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +cumulus-client-consensus-common = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +cumulus-client-consensus-proposer = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +cumulus-client-network = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +cumulus-client-service = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +cumulus-pallet-aura-ext = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +cumulus-pallet-xcm = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +cumulus-primitives-core = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +cumulus-primitives-parachain-inherent = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +cumulus-primitives-timestamp = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +cumulus-primitives-utility = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +cumulus-relay-chain-inprocess-interface = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +cumulus-relay-chain-interface = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +cumulus-relay-chain-minimal-node = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +cumulus-test-relay-sproof-builder = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +pallet-collator-selection = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +staging-parachain-info = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +xcm-emulator = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } + +# Polkadot dependencies +pallet-xcm = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +polkadot-cli = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +polkadot-core-primitives = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +polkadot-parachain = { package = "polkadot-parachain-primitives", git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2"} +polkadot-primitives = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +#polkadot-runtime = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +polkadot-runtime-parachains = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +polkadot-service = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +xcm = { package = "staging-xcm", git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +xcm-builder = { package = "staging-xcm-builder", git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +xcm-executor = { package = "staging-xcm-executor", git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } + +#kusama-runtime = { package = "staging-kusama-runtime", git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +polkadot-node-core-pvf = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +polkadot-node-network-protocol = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +polkadot-node-primitives = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +polkadot-node-subsystem = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +polkadot-node-subsystem-util = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +polkadot-overseer = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +polkadot-runtime-common = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +polkadot-statement-table = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +rococo-runtime = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +westend-runtime = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } + +cumulus-client-pov-recovery = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +cumulus-pallet-parachain-system-proc-macro = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +cumulus-relay-chain-rpc-interface = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } diff --git a/pallets/currencies/src/lib.rs b/pallets/currencies/src/lib.rs index 188e60aa5..f280e66f2 100644 --- a/pallets/currencies/src/lib.rs +++ b/pallets/currencies/src/lib.rs @@ -893,6 +893,7 @@ impl Unbalanced for BasicCurrencyAdapter where Currency: Mutate, + AccountId: Eq, { fn handle_dust(dust: Dust) { >::handle_dust(Dust(dust.0)) @@ -919,6 +920,7 @@ impl Mutate for BasicCurrencyAdapter where Currency: Mutate, + AccountId: Eq, { fn done_mint_into(who: &AccountId, amount: Self::Balance) { >::done_mint_into(who, amount) diff --git a/pallets/democracy/src/lib.rs b/pallets/democracy/src/lib.rs index 9e44cfd4a..292d8d87c 100644 --- a/pallets/democracy/src/lib.rs +++ b/pallets/democracy/src/lib.rs @@ -160,7 +160,7 @@ use frame_support::{ traits::{ defensive_prelude::*, schedule::{v3::Named as ScheduleNamed, DispatchTime}, - Bounded, Currency, EnsureOrigin, Get, Hash as PreimageHash, LockIdentifier, LockableCurrency, OnUnbalanced, + Bounded, Currency, EnsureOrigin, Get, LockIdentifier, LockableCurrency, OnUnbalanced, QueryPreimage, ReservableCurrency, StorePreimage, WithdrawReasons, }, weights::Weight, @@ -202,7 +202,7 @@ type BalanceOf = <::Currency as Currency< = <::Currency as Currency<::AccountId>>::NegativeImbalance; pub type CallOf = ::RuntimeCall; -pub type BoundedCallOf = Bounded>; +pub type BoundedCallOf = Bounded, ::Hashing>; type AccountIdLookupOf = <::Lookup as StaticLookup>::Source; #[frame_support::pallet] @@ -211,7 +211,6 @@ pub mod pallet { use crate::traits::DemocracyHooks; use frame_support::pallet_prelude::*; use frame_system::pallet_prelude::*; - use sp_core::H256; /// The current storage version. const STORAGE_VERSION: StorageVersion = StorageVersion::new(1); @@ -226,10 +225,10 @@ pub mod pallet { type RuntimeEvent: From> + IsType<::RuntimeEvent>; /// The Scheduler. - type Scheduler: ScheduleNamed, CallOf, Self::PalletsOrigin>; + type Scheduler: ScheduleNamed, CallOf, Self::PalletsOrigin, Hasher = Self::Hashing>; /// The Preimage provider. - type Preimages: QueryPreimage + StorePreimage; + type Preimages: QueryPreimage + StorePreimage; /// Currency type for this pallet. type Currency: ReservableCurrency @@ -412,11 +411,11 @@ pub mod pallet { /// (until when it may not be resubmitted) and who vetoed it. #[pallet::storage] pub type Blacklist = - StorageMap<_, Identity, H256, (BlockNumberFor, BoundedVec)>; + StorageMap<_, Identity, T::Hash, (BlockNumberFor, BoundedVec)>; /// Record of all proposals that have been subject to emergency cancellation. #[pallet::storage] - pub type Cancellations = StorageMap<_, Identity, H256, bool, ValueQuery>; + pub type Cancellations = StorageMap<_, Identity, T::Hash, bool, ValueQuery>; /// General information concerning any proposal or referendum. /// The `PreimageHash` refers to the preimage of the `Preimages` provider which can be a JSON @@ -425,7 +424,7 @@ pub mod pallet { /// Consider a garbage collection for a metadata of finished referendums to `unrequest` (remove) /// large preimages. #[pallet::storage] - pub type MetadataOf = StorageMap<_, Blake2_128Concat, MetadataOwner, PreimageHash>; + pub type MetadataOf = StorageMap<_, Blake2_128Concat, MetadataOwner, T::Hash>; #[pallet::genesis_config] #[derive(frame_support::DefaultNoBound)] @@ -476,11 +475,11 @@ pub mod pallet { /// An external proposal has been vetoed. Vetoed { who: T::AccountId, - proposal_hash: H256, + proposal_hash: T::Hash, until: BlockNumberFor, }, /// A proposal_hash has been blacklisted permanently. - Blacklisted { proposal_hash: H256 }, + Blacklisted { proposal_hash: T::Hash}, /// An account has voted in a referendum Voted { voter: T::AccountId, @@ -499,14 +498,14 @@ pub mod pallet { /// Metadata owner. owner: MetadataOwner, /// Preimage hash. - hash: PreimageHash, + hash: T::Hash, }, /// Metadata for a proposal or a referendum has been cleared. MetadataCleared { /// Metadata owner. owner: MetadataOwner, /// Preimage hash. - hash: PreimageHash, + hash: T::Hash, }, /// Metadata has been transferred to new owner. MetadataTransferred { @@ -515,7 +514,7 @@ pub mod pallet { /// New metadata owner. owner: MetadataOwner, /// Preimage hash. - hash: PreimageHash, + hash: T::Hash, }, } @@ -774,7 +773,7 @@ pub mod pallet { #[pallet::weight(T::WeightInfo::fast_track())] pub fn fast_track( origin: OriginFor, - proposal_hash: H256, + proposal_hash: T::Hash, voting_period: BlockNumberFor, delay: BlockNumberFor, ) -> DispatchResult { @@ -820,7 +819,7 @@ pub mod pallet { /// Weight: `O(V + log(V))` where V is number of `existing vetoers` #[pallet::call_index(8)] #[pallet::weight(T::WeightInfo::veto_external())] - pub fn veto_external(origin: OriginFor, proposal_hash: H256) -> DispatchResult { + pub fn veto_external(origin: OriginFor, proposal_hash: T::Hash) -> DispatchResult { let who = T::VetoOrigin::ensure_origin(origin)?; if let Some((ext_proposal, _)) = NextExternal::::get() { @@ -1045,7 +1044,7 @@ pub mod pallet { #[pallet::weight((T::WeightInfo::blacklist(), DispatchClass::Operational))] pub fn blacklist( origin: OriginFor, - proposal_hash: H256, + proposal_hash: T::Hash, maybe_ref_index: Option, ) -> DispatchResult { T::BlacklistOrigin::ensure_origin(origin)?; @@ -1141,7 +1140,7 @@ pub mod pallet { pub fn set_metadata( origin: OriginFor, owner: MetadataOwner, - maybe_hash: Option, + maybe_hash: Option, ) -> DispatchResult { match owner { MetadataOwner::External => { diff --git a/pallets/dynamic-evm-fee/src/lib.rs b/pallets/dynamic-evm-fee/src/lib.rs index 489a89fb8..8b9ee3f3b 100644 --- a/pallets/dynamic-evm-fee/src/lib.rs +++ b/pallets/dynamic-evm-fee/src/lib.rs @@ -55,13 +55,14 @@ pub use pallet::*; pub use weights::WeightInfo; use codec::HasCompact; -use frame_support::pallet_prelude::*; use frame_system::pallet_prelude::BlockNumberFor; use hydra_dx_math::ema::EmaPrice; use hydradx_traits::NativePriceOracle; use sp_core::U256; use sp_runtime::FixedPointNumber; use sp_runtime::FixedU128; +use frame_support::weights::Weight; +use frame_support::pallet_prelude::{Member, Parameter, MaybeSerializeDeserialize, MaxEncodedLen, TypeInfo, Get, StorageVersion, StorageValue, ValueQuery, Hooks}; pub const ETH_HDX_REFERENCE_PRICE: FixedU128 = FixedU128::from_inner(8945857934143137845); //Current onchain ETH price on at block #4,534,103 diff --git a/primitives/src/constants.rs b/primitives/src/constants.rs index 8f7c1b083..1a825da6f 100644 --- a/primitives/src/constants.rs +++ b/primitives/src/constants.rs @@ -88,7 +88,7 @@ pub mod chain { /// We allow for 0.5 seconds of compute pub const MAXIMUM_BLOCK_WEIGHT: Weight = Weight::from_parts( WEIGHT_REF_TIME_PER_SECOND.saturating_div(2), - polkadot_primitives::v5::MAX_POV_SIZE as u64, + polkadot_primitives::v6::MAX_POV_SIZE as u64, ); /// The source of the data for the oracle. diff --git a/runtime/adapters/src/lib.rs b/runtime/adapters/src/lib.rs index 02382533a..bc1a7a563 100644 --- a/runtime/adapters/src/lib.rs +++ b/runtime/adapters/src/lib.rs @@ -41,12 +41,14 @@ use hydradx_traits::{ }; use orml_traits::GetByKey; use orml_xcm_support::{OnDepositFail, UnknownAsset as UnknownAssetT}; +use polkadot_xcm::v3::{MultiAsset, MultiLocation}; +use polkadot_xcm::v3::prelude::Concrete; use pallet_circuit_breaker::WeightInfo; use pallet_ema_oracle::{OnActivityHandler, OracleError, Price}; use pallet_omnipool::traits::{AssetInfo, ExternalPriceProvider, OmnipoolHooks}; use pallet_stableswap::types::{PoolState, StableswapHooks}; use pallet_transaction_multi_payment::DepositFee; -use polkadot_xcm::latest::prelude::*; +use polkadot_xcm::v4::prelude::*; use primitive_types::{U128, U512}; use primitives::constants::chain::{STABLESWAP_SOURCE, XYK_SOURCE}; use primitives::{constants::chain::OMNIPOOL_SOURCE, AccountId, AssetId, Balance, BlockNumber, CollectionId}; @@ -55,10 +57,7 @@ use sp_std::vec::Vec; use sp_std::{collections::btree_map::BTreeMap, fmt::Debug, marker::PhantomData}; use warehouse_liquidity_mining::GlobalFarmData; use xcm_builder::TakeRevenue; -use xcm_executor::{ - traits::{ConvertLocation, MatchesFungible, TransactAsset, WeightTrader}, - Assets, -}; +use xcm_executor::{AssetsInHolding, traits::{ConvertLocation, MatchesFungible, TransactAsset, WeightTrader}}; pub mod inspect; pub mod price; @@ -109,7 +108,7 @@ impl< { /// Get the asset id of the first asset in `payment` and try to determine its price via the /// price oracle. - fn get_asset_and_price(&mut self, payment: &Assets) -> Option<(MultiLocation, Price)> { + fn get_asset_and_price(&mut self, payment: &AssetsInHolding) -> Option<(MultiLocation, Price)> { if let Some(asset) = payment.fungible_assets_iter().next() { ConvertCurrency::convert(asset.clone()) .and_then(|currency| AcceptedCurrencyPrices::price(currency)) @@ -148,7 +147,7 @@ impl< /// per buy. /// The fee is determined by `ConvertWeightToFee` in combination with the price determined by /// `AcceptedCurrencyPrices`. - fn buy_weight(&mut self, weight: Weight, payment: Assets, _context: &XcmContext) -> Result { + fn buy_weight(&mut self, weight: Weight, payment: AssetsInHolding, _context: &XcmContext) -> Result { log::trace!( target: "xcm::weight", "MultiCurrencyTrader::buy_weight weight: {:?}, payment: {:?}", weight, payment diff --git a/runtime/adapters/src/xcm_exchange.rs b/runtime/adapters/src/xcm_exchange.rs index 98dbcd30f..b6dd31c64 100644 --- a/runtime/adapters/src/xcm_exchange.rs +++ b/runtime/adapters/src/xcm_exchange.rs @@ -1,5 +1,6 @@ use orml_traits::MultiCurrency; -use polkadot_xcm::latest::prelude::*; +use polkadot_xcm::v3::{MultiAsset, MultiAssets, MultiLocation}; +use polkadot_xcm::v4::prelude::*; use sp_core::Get; use sp_runtime::traits::{Convert, Zero}; use sp_std::marker::PhantomData; diff --git a/runtime/hydradx/Cargo.toml b/runtime/hydradx/Cargo.toml index b67b15048..55a08d9ca 100644 --- a/runtime/hydradx/Cargo.toml +++ b/runtime/hydradx/Cargo.toml @@ -60,7 +60,7 @@ pallet-multisig = { workspace = true } pallet-democracy = { workspace = true } pallet-elections-phragmen = { workspace = true } pallet-uniques = { workspace = true } -pallet-xcm-rate-limiter = { workspace = true } +#pallet-xcm-rate-limiter = { workspace = true } # Warehouse dependencies hydradx-adapters = { workspace = true } @@ -215,6 +215,7 @@ std = [ "cumulus-pallet-parachain-system/std", "cumulus-pallet-aura-ext/std", "cumulus-primitives-core/std", + "cumulus-primitives-utility/std", "cumulus-pallet-xcm/std", "cumulus-pallet-xcmp-queue/std", "staging-parachain-info/std", @@ -259,7 +260,7 @@ std = [ "pallet-currencies/std", "pallet-omnipool/std", "pallet-circuit-breaker/std", - "pallet-xcm-rate-limiter/std", + #"pallet-xcm-rate-limiter/std", "pallet-transaction-pause/std", "pallet-dca/std", "pallet-ema-oracle/std", @@ -354,7 +355,7 @@ try-runtime= [ "warehouse-liquidity-mining/try-runtime", "pallet-omnipool-liquidity-mining/try-runtime", "pallet-circuit-breaker/try-runtime", - "pallet-xcm-rate-limiter/try-runtime", + #"pallet-xcm-rate-limiter/try-runtime", "pallet-otc/try-runtime", "pallet-route-executor/try-runtime", "pallet-dynamic-fees/try-runtime", diff --git a/runtime/hydradx/src/lib.rs b/runtime/hydradx/src/lib.rs index 8e2faf1c4..c2cfc66c1 100644 --- a/runtime/hydradx/src/lib.rs +++ b/runtime/hydradx/src/lib.rs @@ -177,7 +177,7 @@ construct_runtime!( LBP: pallet_lbp = 73, XYK: pallet_xyk = 74, Referrals: pallet_referrals = 75, - XcmRateLimiter: pallet_xcm_rate_limiter = 76, + //XcmRateLimiter: pallet_xcm_rate_limiter = 76, // ORML related modules Tokens: orml_tokens = 77, diff --git a/runtime/hydradx/src/xcm.rs b/runtime/hydradx/src/xcm.rs index 3289ed7e9..d76257793 100644 --- a/runtime/hydradx/src/xcm.rs +++ b/runtime/hydradx/src/xcm.rs @@ -272,6 +272,7 @@ parameter_types! { pub MaxDeferDuration: RelayChainBlockNumber = 600 * 24 * 10; // 10 days } +/* impl pallet_xcm_rate_limiter::Config for Runtime { type RuntimeEvent = RuntimeEvent; type AssetId = AssetId; @@ -282,6 +283,8 @@ impl pallet_xcm_rate_limiter::Config for Runtime { type RateLimitFor = pallet_asset_registry::XcmRateLimitsInRegistry; } + */ + pub struct CurrencyIdConvert; use crate::evm::ExtendedAddressMapping; use primitives::constants::chain::CORE_ASSET_ID; From 7a08bcc1f6a5c43f399c534c735caf30219a53fc Mon Sep 17 00:00:00 2001 From: Martin Date: Wed, 10 Apr 2024 10:37:22 +0200 Subject: [PATCH 005/105] xcm v4 support --- runtime/adapters/src/lib.rs | 76 ++++++++++++---------- runtime/adapters/src/price.rs | 4 +- runtime/adapters/src/tests/xcm_exchange.rs | 16 +++-- runtime/adapters/src/xcm_exchange.rs | 37 +++++++---- runtime/adapters/src/xyk.rs | 8 +-- runtime/hydradx/src/evm/evm_fee.rs | 4 +- runtime/hydradx/src/xcm.rs | 50 +++++++------- 7 files changed, 108 insertions(+), 87 deletions(-) diff --git a/runtime/adapters/src/lib.rs b/runtime/adapters/src/lib.rs index bc1a7a563..b3329e58c 100644 --- a/runtime/adapters/src/lib.rs +++ b/runtime/adapters/src/lib.rs @@ -41,8 +41,6 @@ use hydradx_traits::{ }; use orml_traits::GetByKey; use orml_xcm_support::{OnDepositFail, UnknownAsset as UnknownAssetT}; -use polkadot_xcm::v3::{MultiAsset, MultiLocation}; -use polkadot_xcm::v3::prelude::Concrete; use pallet_circuit_breaker::WeightInfo; use pallet_ema_oracle::{OnActivityHandler, OracleError, Price}; use pallet_omnipool::traits::{AssetInfo, ExternalPriceProvider, OmnipoolHooks}; @@ -57,7 +55,10 @@ use sp_std::vec::Vec; use sp_std::{collections::btree_map::BTreeMap, fmt::Debug, marker::PhantomData}; use warehouse_liquidity_mining::GlobalFarmData; use xcm_builder::TakeRevenue; -use xcm_executor::{AssetsInHolding, traits::{ConvertLocation, MatchesFungible, TransactAsset, WeightTrader}}; +use xcm_executor::{ + traits::{ConvertLocation, MatchesFungible, TransactAsset, WeightTrader}, + AssetsInHolding, +}; pub mod inspect; pub mod price; @@ -80,11 +81,11 @@ pub struct MultiCurrencyTrader< Price: FixedPointNumber, ConvertWeightToFee: WeightToFee, AcceptedCurrencyPrices: NativePriceOracle, - ConvertCurrency: Convert>, + ConvertCurrency: Convert>, Revenue: TakeRevenue, > { weight: Weight, - paid_assets: BTreeMap<(MultiLocation, Price), u128>, + paid_assets: BTreeMap<(Location, Price), u128>, _phantom: PhantomData<( AssetId, Balance, @@ -102,20 +103,17 @@ impl< Price: FixedPointNumber, ConvertWeightToFee: WeightToFee, AcceptedCurrencyPrices: NativePriceOracle, - ConvertCurrency: Convert>, + ConvertCurrency: Convert>, Revenue: TakeRevenue, > MultiCurrencyTrader { /// Get the asset id of the first asset in `payment` and try to determine its price via the /// price oracle. - fn get_asset_and_price(&mut self, payment: &AssetsInHolding) -> Option<(MultiLocation, Price)> { + fn get_asset_and_price(&mut self, payment: &AssetsInHolding) -> Option<(Location, Price)> { if let Some(asset) = payment.fungible_assets_iter().next() { ConvertCurrency::convert(asset.clone()) .and_then(|currency| AcceptedCurrencyPrices::price(currency)) - .and_then(|price| match asset.id { - Concrete(location) => Some((location, price)), - _ => None, - }) + .and_then(|price| Some((asset.id.0, price))) } else { None } @@ -128,7 +126,7 @@ impl< Price: FixedPointNumber, ConvertWeightToFee: WeightToFee, AcceptedCurrencyPrices: NativePriceOracle, - ConvertCurrency: Convert>, + ConvertCurrency: Convert>, Revenue: TakeRevenue, > WeightTrader for MultiCurrencyTrader @@ -147,7 +145,12 @@ impl< /// per buy. /// The fee is determined by `ConvertWeightToFee` in combination with the price determined by /// `AcceptedCurrencyPrices`. - fn buy_weight(&mut self, weight: Weight, payment: AssetsInHolding, _context: &XcmContext) -> Result { + fn buy_weight( + &mut self, + weight: Weight, + payment: AssetsInHolding, + _context: &XcmContext, + ) -> Result { log::trace!( target: "xcm::weight", "MultiCurrencyTrader::buy_weight weight: {:?}, payment: {:?}", weight, payment @@ -156,7 +159,7 @@ impl< let fee = ConvertWeightToFee::weight_to_fee(&weight); let converted_fee = price.checked_mul_int(fee).ok_or(XcmError::Overflow)?; let amount: u128 = converted_fee.try_into().map_err(|_| XcmError::Overflow)?; - let required = (Concrete(asset_loc), amount).into(); + let required = (asset_loc.clone(), amount).into(); let unused = payment.checked_sub(required).map_err(|_| XcmError::TooExpensive)?; self.weight = self.weight.saturating_add(weight); let key = (asset_loc, price); @@ -166,11 +169,11 @@ impl< self.paid_assets.insert(key, amount); } } - Ok(unused) + Ok(unused.into()) } /// Will refund up to `weight` from the first asset tracked by the trader. - fn refund_weight(&mut self, weight: Weight, _context: &XcmContext) -> Option { + fn refund_weight(&mut self, weight: Weight, _context: &XcmContext) -> Option { log::trace!( target: "xcm::weight", "MultiCurrencyTrader::refund_weight weight: {:?}, paid_assets: {:?}", weight, self.paid_assets @@ -183,12 +186,12 @@ impl< let refund = converted_fee.min(*amount); *amount -= refund; // Will not underflow because of `min()` above. - let refund_asset = *asset_loc; + let refund_asset = asset_loc.clone(); if amount.is_zero() { - let key = (*asset_loc, *price); + let key = (asset_loc.clone(), *price); self.paid_assets.remove(&key); } - Some((Concrete(refund_asset), refund).into()) + Some((refund_asset, refund).into()) } else { None } @@ -203,14 +206,14 @@ impl< Price: FixedPointNumber, ConvertWeightToFee: WeightToFee, AcceptedCurrencyPrices: NativePriceOracle, - ConvertCurrency: Convert>, + ConvertCurrency: Convert>, Revenue: TakeRevenue, > Drop for MultiCurrencyTrader { fn drop(&mut self) { for ((asset_loc, _), amount) in self.paid_assets.iter() { - Revenue::take_revenue((*asset_loc, *amount).into()); + Revenue::take_revenue((asset_loc.clone(), *amount).into()); } } } @@ -227,18 +230,19 @@ impl< AssetId, Balance: AtLeast32BitUnsigned, Price, - C: Convert>, + C: Convert>, D: DepositFee, F: Get, > TakeRevenue for ToFeeReceiver { - fn take_revenue(asset: MultiAsset) { + fn take_revenue(asset: Asset) { + let a = asset.clone(); // TODO: probably unnecessary but did not want to change the implementation. match asset { - MultiAsset { - id: Concrete(loc), + Asset { + id: asset_id, fun: Fungibility::Fungible(amount), } => { - C::convert(loc).and_then(|id| { + C::convert(a).and_then(|id| { let receiver = F::get(); D::deposit_fee(&receiver, id, amount.saturated_into::()) .map_err(|e| log::trace!(target: "xcm::take_revenue", "Could not deposit fee: {:?}", e)) @@ -668,7 +672,7 @@ where enum Error { /// Failed to match fungible. FailedToMatchFungible, - /// `MultiLocation` to `AccountId` Conversion failed. + /// `Location` to `AccountId` Conversion failed. AccountIdConversionFailed, /// `CurrencyId` conversion failed. CurrencyIdConversionFailed, @@ -731,7 +735,7 @@ impl< AccountId: sp_std::fmt::Debug + Clone, AccountIdConvert: ConvertLocation, CurrencyId: FullCodec + Eq + PartialEq + Copy + MaybeSerializeDeserialize + Debug, - CurrencyIdConvert: Convert>, + CurrencyIdConvert: Convert>, DepositFailureHandler: OnDepositFail, RerouteFilter: Contains<(CurrencyId, AccountId)>, RerouteDestination: Get, @@ -749,7 +753,7 @@ impl< RerouteDestination, > { - fn deposit_asset(asset: &MultiAsset, location: &MultiLocation, _context: &XcmContext) -> Result<(), XcmError> { + fn deposit_asset(asset: &Asset, location: &Location, _context: Option<&XcmContext>) -> Result<(), XcmError> { match ( AccountIdConvert::convert_location(location), CurrencyIdConvert::convert(asset.clone()), @@ -772,10 +776,10 @@ impl< } fn withdraw_asset( - asset: &MultiAsset, - location: &MultiLocation, + asset: &Asset, + location: &Location, _maybe_context: Option<&XcmContext>, - ) -> Result { + ) -> Result { UnknownAsset::withdraw(asset, location).or_else(|_| { let who = AccountIdConvert::convert_location(location) .ok_or_else(|| XcmError::from(Error::AccountIdConversionFailed))?; @@ -791,11 +795,11 @@ impl< } fn transfer_asset( - asset: &MultiAsset, - from: &MultiLocation, - to: &MultiLocation, + asset: &Asset, + from: &Location, + to: &Location, _context: &XcmContext, - ) -> Result { + ) -> Result { let from_account = AccountIdConvert::convert_location(from).ok_or_else(|| XcmError::from(Error::AccountIdConversionFailed))?; let to_account = diff --git a/runtime/adapters/src/price.rs b/runtime/adapters/src/price.rs index 1b05b7726..f1b68b988 100644 --- a/runtime/adapters/src/price.rs +++ b/runtime/adapters/src/price.rs @@ -55,8 +55,8 @@ where // if this gets removed (eg. Convert returns weight), the constraint on T and ema-oracle is not necessary price_weight.saturating_accrue(pallet_ema_oracle::Pallet::::get_price_weight().saturating_mul(2)); - let Some((converted, _ )) = C::convert((from_currency, to_currency, account_balance)) else{ - return (0,price_weight); + let Some((converted, _)) = C::convert((from_currency, to_currency, account_balance)) else { + return (0, price_weight); }; (converted, price_weight) } diff --git a/runtime/adapters/src/tests/xcm_exchange.rs b/runtime/adapters/src/tests/xcm_exchange.rs index ab8c60cf9..1849b8c70 100644 --- a/runtime/adapters/src/tests/xcm_exchange.rs +++ b/runtime/adapters/src/tests/xcm_exchange.rs @@ -71,7 +71,9 @@ fn xcm_exchanger_allows_selling_supported_assets() { let mut iter = received.fungible_assets_iter(); let asset_received = iter.next().expect("there should be at least one asset"); assert!(iter.next().is_none(), "there should only be one asset returned"); - let Fungible(received_amount) = asset_received.fun else { panic!("should be fungible")}; + let Fungible(received_amount) = asset_received.fun else { + panic!("should be fungible") + }; assert!(received_amount >= wanted_amount); assert_eq!(Tokens::free_balance(DAI, &ExchangeTempAccount::get()), 0); assert_eq!(Balances::free_balance(ExchangeTempAccount::get()), 0); @@ -120,7 +122,9 @@ fn xcm_exchanger_should_work_with_onchain_route() { let mut iter = received.fungible_assets_iter(); let asset_received = iter.next().expect("there should be at least one asset"); assert!(iter.next().is_none(), "there should only be one asset returned"); - let Fungible(received_amount) = asset_received.fun else { panic!("should be fungible")}; + let Fungible(received_amount) = asset_received.fun else { + panic!("should be fungible") + }; assert!(received_amount >= wanted_amount); assert_eq!(Tokens::free_balance(DAI, &ExchangeTempAccount::get()), 0); assert_eq!(Balances::free_balance(ExchangeTempAccount::get()), 0); @@ -153,11 +157,15 @@ fn xcm_exchanger_allows_buying_supported_assets() { let asset_received = iter.next().expect("there should be at least one asset"); let left_over = iter.next().expect("there should be at least some left_over asset_in"); assert!(iter.next().is_none(), "there should only be two assets returned"); - let Fungible(left_over_amount) = left_over.fun else { panic!("should be fungible")}; + let Fungible(left_over_amount) = left_over.fun else { + panic!("should be fungible") + }; assert_eq!(left_over, (GeneralIndex(DAI.into()), left_over_amount).into()); assert!(left_over_amount < given_amount); assert_eq!(asset_received, want_asset); - let Fungible(received_amount) = asset_received.fun else { panic!("should be fungible")}; + let Fungible(received_amount) = asset_received.fun else { + panic!("should be fungible") + }; assert!(received_amount == wanted_amount); assert_eq!(Tokens::free_balance(DAI, &ExchangeTempAccount::get()), 0); assert_eq!(Balances::free_balance(ExchangeTempAccount::get()), 0); diff --git a/runtime/adapters/src/xcm_exchange.rs b/runtime/adapters/src/xcm_exchange.rs index b6dd31c64..b4704724c 100644 --- a/runtime/adapters/src/xcm_exchange.rs +++ b/runtime/adapters/src/xcm_exchange.rs @@ -1,11 +1,11 @@ use orml_traits::MultiCurrency; -use polkadot_xcm::v3::{MultiAsset, MultiAssets, MultiLocation}; use polkadot_xcm::v4::prelude::*; use sp_core::Get; use sp_runtime::traits::{Convert, Zero}; use sp_std::marker::PhantomData; use sp_std::vec; use xcm_executor::traits::AssetExchange; +use xcm_executor::AssetsInHolding; /// Implements `AssetExchange` to support the `ExchangeAsset` XCM instruction. /// @@ -24,16 +24,16 @@ impl AssetExchange where Runtime: pallet_route_executor::Config, TempAccount: Get, - CurrencyIdConvert: Convert>, + CurrencyIdConvert: Convert>, Currency: MultiCurrency, Runtime::Balance: From + Zero + Into, { fn exchange_asset( - _origin: Option<&MultiLocation>, - give: xcm_executor::Assets, - want: &MultiAssets, + _origin: Option<&Location>, + give: AssetsInHolding, + want: &Assets, maximal: bool, - ) -> Result { + ) -> Result { use orml_utilities::with_transaction_result; let account = TempAccount::get(); @@ -53,15 +53,21 @@ where return Err(give); }; - let Some(asset_in) = CurrencyIdConvert::convert(given.clone()) else { return Err(give) }; + let Some(asset_in) = CurrencyIdConvert::convert(given.clone()) else { + return Err(give); + }; let Some(wanted) = want.get(0) else { return Err(give) }; - let Some(asset_out) = CurrencyIdConvert::convert(wanted.clone()) else { return Err(give) }; + let Some(asset_out) = CurrencyIdConvert::convert(wanted.clone()) else { + return Err(give); + }; let use_onchain_route = vec![]; if maximal { // sell let Fungible(amount) = given.fun else { return Err(give) }; - let Fungible(min_buy_amount) = wanted.fun else { return Err(give) }; + let Fungible(min_buy_amount) = wanted.fun else { + return Err(give); + }; with_transaction_result(|| { Currency::deposit(asset_in, &account, amount.into())?; // mint the incoming tokens @@ -83,13 +89,16 @@ where "Sell should return more than mininum buy amount." ); Currency::withdraw(asset_out, &account, amount_received)?; // burn the received tokens - Ok(MultiAsset::from((wanted.id, amount_received.into())).into()) + let holding: Asset = (wanted.id.clone(), amount_received.into()).into(); + Ok(holding.into()) }) .map_err(|_| give) } else { // buy let Fungible(amount) = wanted.fun else { return Err(give) }; - let Fungible(max_sell_amount) = given.fun else { return Err(give) }; + let Fungible(max_sell_amount) = given.fun else { + return Err(give); + }; with_transaction_result(|| { Currency::deposit(asset_in, &account, max_sell_amount.into())?; // mint the incoming tokens @@ -105,7 +114,8 @@ where let left_over = Currency::free_balance(asset_in, &account); if left_over > Runtime::Balance::zero() { Currency::withdraw(asset_in, &account, left_over)?; // burn left over tokens - assets.push(MultiAsset::from((given.id, left_over.into()))); + let holding: Asset = (given.id.clone(), left_over.into()).into(); + assets.push(holding); } let amount_received = Currency::free_balance(asset_out, &account); debug_assert!( @@ -113,7 +123,8 @@ where "Buy should return exactly the amount we specified." ); Currency::withdraw(asset_out, &account, amount_received)?; // burn the received tokens - assets.push(MultiAsset::from((wanted.id, amount_received.into()))); + let holding: Asset = (wanted.id.clone(), amount_received.into()).into(); + assets.push(holding); Ok(assets.into()) }) .map_err(|_| give) diff --git a/runtime/adapters/src/xyk.rs b/runtime/adapters/src/xyk.rs index 05f1f3ba9..9b1aca69f 100644 --- a/runtime/adapters/src/xyk.rs +++ b/runtime/adapters/src/xyk.rs @@ -11,14 +11,14 @@ where { fn can_create(asset_a: AssetId, asset_b: AssetId) -> bool { let Some(asset_a_type) = R::asset_type(asset_a) else { - return false; - }; + return false; + }; if asset_a_type == hydradx_traits::AssetKind::XYK { return false; } let Some(asset_b_type) = R::asset_type(asset_b) else { - return false; - }; + return false; + }; if asset_b_type == hydradx_traits::AssetKind::XYK { return false; } diff --git a/runtime/hydradx/src/evm/evm_fee.rs b/runtime/hydradx/src/evm/evm_fee.rs index bb47030c0..3db6c3f91 100644 --- a/runtime/hydradx/src/evm/evm_fee.rs +++ b/runtime/hydradx/src/evm/evm_fee.rs @@ -88,7 +88,7 @@ where } let account_id = T::AddressMapping::into_account_id(*who); let fee_currency = AC::get(&account_id); - let Some((converted, price)) = C::convert((EC::get(), fee_currency, fee.unique_saturated_into())) else{ + let Some((converted, price)) = C::convert((EC::get(), fee_currency, fee.unique_saturated_into())) else { return Err(Error::::WithdrawFailed); }; @@ -116,7 +116,7 @@ where fn can_withdraw(who: &H160, amount: U256) -> Result<(), pallet_evm::Error> { let account_id = T::AddressMapping::into_account_id(*who); let fee_currency = AC::get(&account_id); - let Some((converted, _)) = C::convert((EC::get(), fee_currency, amount.unique_saturated_into())) else{ + let Some((converted, _)) = C::convert((EC::get(), fee_currency, amount.unique_saturated_into())) else { return Err(Error::::BalanceLow); }; diff --git a/runtime/hydradx/src/xcm.rs b/runtime/hydradx/src/xcm.rs index d76257793..00461f2ec 100644 --- a/runtime/hydradx/src/xcm.rs +++ b/runtime/hydradx/src/xcm.rs @@ -24,6 +24,7 @@ use pallet_evm::AddressMapping; use pallet_xcm::XcmPassthrough; use polkadot_parachain::primitives::{RelayChainBlockNumber, Sibling}; use polkadot_xcm::v3::{prelude::*, Weight as XcmWeight}; +use polkadot_xcm::v4::{Asset, InteriorLocation}; use primitives::Price; use scale_info::TypeInfo; use xcm_builder::{ @@ -35,7 +36,7 @@ use xcm_builder::{ use xcm_executor::{Config, XcmExecutor}; #[derive(Debug, Default, Encode, Decode, Clone, PartialEq, Eq, TypeInfo, MaxEncodedLen)] -pub struct AssetLocation(pub polkadot_xcm::v3::MultiLocation); +pub struct AssetLocation(pub polkadot_xcm::v4::Location); pub type LocalOriginToLocation = SignedToAccountId32; @@ -56,7 +57,7 @@ pub type Barrier = ( ); parameter_types! { - pub SelfLocation: MultiLocation = MultiLocation::new(1, X1(Parachain(ParachainInfo::get().into()))); + pub SelfLocation: Location = Location::new(1, X1(Parachain(ParachainInfo::get().into()))); } parameter_types! { @@ -64,7 +65,7 @@ parameter_types! { pub RelayChainOrigin: RuntimeOrigin = cumulus_pallet_xcm::Origin::Relay.into(); - pub Ancestry: MultiLocation = Parachain(ParachainInfo::parachain_id().into()).into(); + pub Ancestry: Location = Parachain(ParachainInfo::parachain_id().into()).into(); } /// This is the type we use to convert an (incoming) XCM origin into a local `Origin` instance, @@ -98,7 +99,7 @@ parameter_types! { pub const MaxXcmDepth: u16 = 5; pub const MaxNumberOfInstructions: u16 = 100; - pub UniversalLocation: InteriorMultiLocation = X2(GlobalConsensus(RelayNetwork::get()), Parachain(ParachainInfo::parachain_id().into())); + pub UniversalLocation: InteriorLocation = X2(GlobalConsensus(RelayNetwork::get()), Parachain(ParachainInfo::parachain_id().into())); } pub struct XcmConfig; @@ -182,7 +183,7 @@ impl cumulus_pallet_dmp_queue::Config for Runtime { const ASSET_HUB_PARA_ID: u32 = 1000; parameter_type_with_key! { - pub ParachainMinFee: |location: MultiLocation| -> Option { + pub ParachainMinFee: |location: Location| -> Option { #[allow(clippy::match_ref_pats)] // false positive match (location.parents, location.first_interior()) { (1, Some(Parachain(ASSET_HUB_PARA_ID))) => Some(50_000_000), @@ -196,13 +197,13 @@ impl orml_xtokens::Config for Runtime { type Balance = Balance; type CurrencyId = AssetId; type CurrencyIdConvert = CurrencyIdConvert; - type AccountIdToMultiLocation = AccountIdToMultiLocation; + type AccountIdToLocation = AccountIdToMultiLocation; type SelfLocation = SelfLocation; type XcmExecutor = XcmExecutor; type Weigher = FixedWeightBounds; type BaseXcmWeight = BaseXcmWeight; type MaxAssetsForTransfer = MaxAssetsForTransfer; - type MultiLocationsFilter = Everything; + type LocationsFilter = Everything; type ReserveProvider = AbsoluteReserveProvider; type MinXcmFee = ParachainMinFee; type UniversalLocation = UniversalLocation; @@ -219,7 +220,7 @@ impl orml_xcm::Config for Runtime { #[cfg(feature = "runtime-benchmarks")] parameter_types! { - pub ReachableDest: Option = Some(Parent.into()); + pub ReachableDest: Option = Some(Parent.into()); } impl pallet_xcm::Config for Runtime { @@ -289,10 +290,10 @@ pub struct CurrencyIdConvert; use crate::evm::ExtendedAddressMapping; use primitives::constants::chain::CORE_ASSET_ID; -impl Convert> for CurrencyIdConvert { - fn convert(id: AssetId) -> Option { +impl Convert> for CurrencyIdConvert { + fn convert(id: AssetId) -> Option { match id { - CORE_ASSET_ID => Some(MultiLocation::new( + CORE_ASSET_ID => Some(Location::new( 1, X2(Parachain(ParachainInfo::get().into()), GeneralIndex(id.into())), )), @@ -301,10 +302,10 @@ impl Convert> for CurrencyIdConvert { } } -impl Convert> for CurrencyIdConvert { - fn convert(location: MultiLocation) -> Option { +impl Convert> for CurrencyIdConvert { + fn convert(location: Location) -> Option { match location { - MultiLocation { + Location { parents, interior: X2(Parachain(id), GeneralIndex(index)), } if parents == 1 && ParaId::from(id) == ParachainInfo::get() && (index as u32) == CORE_ASSET_ID => { @@ -312,7 +313,7 @@ impl Convert> for CurrencyIdConvert { Some(CORE_ASSET_ID) } // handle reanchor canonical location: https://github.com/paritytech/polkadot/pull/4470 - MultiLocation { + Location { parents: 0, interior: X1(GeneralIndex(index)), } if (index as u32) == CORE_ASSET_ID => Some(CORE_ASSET_ID), @@ -322,13 +323,10 @@ impl Convert> for CurrencyIdConvert { } } -impl Convert> for CurrencyIdConvert { - fn convert(asset: MultiAsset) -> Option { - if let MultiAsset { - id: Concrete(location), .. - } = asset - { - Self::convert(location) +impl Convert> for CurrencyIdConvert { + fn convert(asset: Asset) -> Option { + if let Asset { id: asset_id, .. } = asset { + Self::convert(asset_id.0) } else { None } @@ -336,8 +334,8 @@ impl Convert> for CurrencyIdConvert { } pub struct AccountIdToMultiLocation; -impl Convert for AccountIdToMultiLocation { - fn convert(account: AccountId) -> MultiLocation { +impl Convert for AccountIdToMultiLocation { + fn convert(account: AccountId) -> Location { X1(AccountId32 { network: None, id: account.into(), @@ -375,9 +373,9 @@ use xcm_executor::traits::ConvertLocation; /// Converts Account20 (ethereum) addresses to AccountId32 (substrate) addresses. pub struct EvmAddressConversion(PhantomData); impl>> ConvertLocation for EvmAddressConversion { - fn convert_location(location: &MultiLocation) -> Option { + fn convert_location(location: &Location) -> Option { match location { - MultiLocation { + Location { parents: 0, interior: X1(AccountKey20 { network: _, key }), } => { From dbc5b515fff80323966e29882eedd27f5df479d5 Mon Sep 17 00:00:00 2001 From: Martin Date: Wed, 10 Apr 2024 15:36:26 +0200 Subject: [PATCH 006/105] update system pallet config --- runtime/hydradx/src/system.rs | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/runtime/hydradx/src/system.rs b/runtime/hydradx/src/system.rs index 68203890e..7179d4857 100644 --- a/runtime/hydradx/src/system.rs +++ b/runtime/hydradx/src/system.rs @@ -142,6 +142,8 @@ parameter_types! { } impl frame_system::Config for Runtime { + /// The ubiquitous event type. + type RuntimeEvent = RuntimeEvent; /// The basic call filter to use in dispatchable. type BaseCallFilter = CallFilter; type BlockWeights = BlockWeights; @@ -150,10 +152,9 @@ impl frame_system::Config for Runtime { type RuntimeOrigin = RuntimeOrigin; /// The aggregated dispatch type that is available for extrinsics. type RuntimeCall = RuntimeCall; + type RuntimeTask = RuntimeTask; /// The index type for storing how many extrinsics an account has signed. type Nonce = Index; - /// The index type for blocks. - type Block = Block; /// The type for hashing blocks and tries. type Hash = Hash; /// The hashing algorithm used. @@ -162,8 +163,8 @@ impl frame_system::Config for Runtime { type AccountId = AccountId; /// The lookup mechanism to get account ID from whatever is passed in dispatchers. type Lookup = IdentityLookup; - /// The ubiquitous event type. - type RuntimeEvent = RuntimeEvent; + /// The index type for blocks. + type Block = Block; /// Maximum number of block number to block hash mappings to keep (oldest pruned first). type BlockHashCount = BlockHashCount; /// The weight of database operations that the runtime can invoke. @@ -211,11 +212,12 @@ impl cumulus_pallet_parachain_system::Config for Runtime { type OnSystemEvent = pallet_relaychain_info::OnValidationDataHandler; type SelfParaId = ParachainInfo; type OutboundXcmpMessageSource = XcmpQueue; - type DmpMessageHandler = DmpQueue; type ReservedDmpWeight = ReservedDmpWeight; type XcmpMessageHandler = XcmpQueue; type ReservedXcmpWeight = ReservedXcmpWeight; type CheckAssociatedRelayNumber = cumulus_pallet_parachain_system::RelayNumberStrictlyIncreases; + type DmpQueue = frame_support::traits::EnqueueWithOrigin; // TODO: what to set here ?! + type WeightInfo = (); } parameter_types! { From 690e95b94bb975b3e8c3e0142f73ae021d993d06 Mon Sep 17 00:00:00 2001 From: Martin Date: Wed, 10 Apr 2024 23:11:39 +0200 Subject: [PATCH 007/105] update pallets configs --- runtime/hydradx/src/assets.rs | 2 +- runtime/hydradx/src/governance.rs | 24 +++++++++++++++++++++-- runtime/hydradx/src/system.rs | 15 +++++++++++++-- runtime/hydradx/src/xcm.rs | 32 ++++++++++++++----------------- 4 files changed, 50 insertions(+), 23 deletions(-) diff --git a/runtime/hydradx/src/assets.rs b/runtime/hydradx/src/assets.rs index 9e7d9cd6f..0ff2f4ea4 100644 --- a/runtime/hydradx/src/assets.rs +++ b/runtime/hydradx/src/assets.rs @@ -103,8 +103,8 @@ impl pallet_balances::Config for Runtime { type FreezeIdentifier = (); type MaxLocks = MaxLocks; type MaxReserves = MaxReserves; - type MaxHolds = MaxHolds; type MaxFreezes = MaxFreezes; + type RuntimeFreezeReason = (); } pub struct CurrencyHooks; diff --git a/runtime/hydradx/src/governance.rs b/runtime/hydradx/src/governance.rs index 3a5b034fc..7f99c27a0 100644 --- a/runtime/hydradx/src/governance.rs +++ b/runtime/hydradx/src/governance.rs @@ -21,6 +21,9 @@ use primitives::constants::{ time::{DAYS, HOURS}, }; +use frame_support::traits::fungible::HoldConsideration; +use frame_support::traits::tokens::{PayFromAccount, UnityAssetBalanceConversion}; +use frame_support::traits::LinearStoragePrice; use frame_support::{ parameter_types, sp_runtime::{Perbill, Percent, Permill}, @@ -28,6 +31,7 @@ use frame_support::{ PalletId, }; use frame_system::{EnsureRoot, EnsureSigned}; +use sp_runtime::traits::IdentityLookup; use sp_staking::currency_to_vote::U128CurrencyToVote; use sp_std::cmp::Ordering; @@ -40,6 +44,7 @@ parameter_types! { pub const Burn: Permill = Permill::from_percent(0); pub const TreasuryPalletId: PalletId = PalletId(*b"py/trsry"); pub const MaxApprovals: u32 = 100; + pub const TreasuryPayoutPeriod: u32 = 30 * DAYS; } impl pallet_treasury::Config for Runtime { @@ -59,11 +64,20 @@ impl pallet_treasury::Config for Runtime { type SpendFunds = (); type MaxApprovals = MaxApprovals; type SpendOrigin = NeverEnsureOrigin; + type AssetKind = (); + type Beneficiary = AccountId; + type BeneficiaryLookup = IdentityLookup; + type Paymaster = PayFromAccount; // TODO: check what this means + type BalanceConverter = UnityAssetBalanceConversion; //TODO: check this + type PayoutPeriod = TreasuryPayoutPeriod; + #[cfg(feature = "runtime-benchmarks")] + type BenchmarkHelper = (); //TODO: implement helper! } parameter_types! { pub PreimageBaseDeposit: Balance = deposit(2, 64); pub PreimageByteDeposit: Balance = deposit(0, 1); + pub const PreimageHoldReason: RuntimeHoldReason = RuntimeHoldReason::Preimage(pallet_preimage::HoldReason::Preimage); } impl pallet_preimage::Config for Runtime { @@ -71,8 +85,12 @@ impl pallet_preimage::Config for Runtime { type WeightInfo = weights::preimage::HydraWeight; type Currency = Balances; type ManagerOrigin = EnsureRoot; - type BaseDeposit = PreimageBaseDeposit; - type ByteDeposit = PreimageByteDeposit; + type Consideration = HoldConsideration< + AccountId, + Balances, + PreimageHoldReason, + LinearStoragePrice, + >; } /// Used the compare the privilege of an origin inside the scheduler. @@ -302,6 +320,7 @@ parameter_types! { pub const TipReportDepositBase: Balance = 10 * DOLLARS; pub const TipReportDepositPerByte: Balance = CENTS; pub const MaximumReasonLength: u32 = 1024; + pub const MaxTipAmount: u128 = 1_000 * DOLLARS; // TODO: check this } impl pallet_tips::Config for Runtime { @@ -311,6 +330,7 @@ impl pallet_tips::Config for Runtime { type TipCountdown = TipCountdown; type TipFindersFee = TipFindersFee; type TipReportDepositBase = TipReportDepositBase; + type MaxTipAmount = MaxTipAmount; type Tippers = Elections; type WeightInfo = weights::tips::HydraWeight; } diff --git a/runtime/hydradx/src/system.rs b/runtime/hydradx/src/system.rs index 7179d4857..6c330f9b9 100644 --- a/runtime/hydradx/src/system.rs +++ b/runtime/hydradx/src/system.rs @@ -40,7 +40,9 @@ use frame_support::{ }, PalletId, }; +use frame_system::EnsureRoot; use hydradx_adapters::{OraclePriceProvider, RelayChainBlockNumberProvider}; +use primitives::constants::time::DAYS; use scale_info::TypeInfo; pub struct CallFilter; @@ -296,20 +298,29 @@ parameter_types! { pub const MaxSubAccounts: u32 = 100; pub const MaxAdditionalFields: u32 = 100; pub const MaxRegistrars: u32 = 20; + pub const PendingUserNameExpiration: u32 = 7 * DAYS; + pub const MaxSuffixLength: u32 = 7; + pub const MaxUsernameLength: u32 = 32; } impl pallet_identity::Config for Runtime { type RuntimeEvent = RuntimeEvent; type Currency = Balances; type BasicDeposit = BasicDeposit; - type FieldDeposit = FieldDeposit; + type ByteDeposit = FieldDeposit; //TODO: correct? type SubAccountDeposit = SubAccountDeposit; type MaxSubAccounts = MaxSubAccounts; - type MaxAdditionalFields = MaxAdditionalFields; + type IdentityInformation = pallet_identity::legacy::IdentityInfo; type MaxRegistrars = MaxRegistrars; type Slashed = Treasury; type ForceOrigin = MoreThanHalfCouncil; type RegistrarOrigin = MoreThanHalfCouncil; + type OffchainSignature = Signature; + type SigningPublicKey = ::Signer; + type UsernameAuthorityOrigin = EnsureRoot; + type PendingUsernameExpiration = PendingUserNameExpiration; + type MaxSuffixLength = MaxSuffixLength; + type MaxUsernameLength = MaxUsernameLength; type WeightInfo = weights::identity::HydraWeight; } diff --git a/runtime/hydradx/src/xcm.rs b/runtime/hydradx/src/xcm.rs index 00461f2ec..669d7d931 100644 --- a/runtime/hydradx/src/xcm.rs +++ b/runtime/hydradx/src/xcm.rs @@ -8,7 +8,8 @@ use hydradx_adapters::{ use pallet_transaction_multi_payment::DepositAll; use primitives::AssetId; // shadow glob import of polkadot_xcm::v3::prelude::AssetId -use cumulus_primitives_core::ParaId; +use cumulus_primitives_core::{AggregateMessageOrigin, ParaId}; +use frame_support::traits::TransformOrigin; use frame_support::{ parameter_types, sp_runtime::traits::{AccountIdConversion, Convert}, @@ -56,6 +57,10 @@ pub type Barrier = ( >, ); +parameter_types! { + pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent; +} + parameter_types! { pub SelfLocation: Location = Location::new(1, X1(Parachain(ParachainInfo::get().into()))); } @@ -143,6 +148,7 @@ impl Config for XcmConfig { type CallDispatcher = RuntimeCall; type SafeCallFilter = SafeCallFilter; type Aliasers = Nothing; + type TransactionalProcessor = xcm_builder::FrameTransactionalProcessor; } impl cumulus_pallet_xcm::Config for Runtime { @@ -154,30 +160,25 @@ parameter_types! { pub const MaxDeferredMessages: u32 = 20; pub const MaxDeferredBuckets: u32 = 1_000; pub const MaxBucketsProcessed: u32 = 3; + pub const MaxInboundSuspended: u32 = 1_000; } impl cumulus_pallet_xcmp_queue::Config for Runtime { type RuntimeEvent = RuntimeEvent; - type XcmExecutor = XcmExecutor; type ChannelInfo = ParachainSystem; type VersionWrapper = PolkadotXcm; - type ExecuteOverweightOrigin = EnsureRoot; type ControllerOrigin = MoreThanHalfTechCommittee; type ControllerOriginConverter = XcmOriginToCallOrigin; type PriceForSiblingDelivery = (); type WeightInfo = weights::xcmp_queue::HydraWeight; - type ExecuteDeferredOrigin = EnsureRoot; - type MaxDeferredMessages = MaxDeferredMessages; - type MaxDeferredBuckets = MaxDeferredBuckets; - type MaxBucketsProcessed = MaxBucketsProcessed; - type RelayChainBlockNumberProvider = RelayChainBlockNumberProvider; - type XcmDeferFilter = XcmRateLimiter; + type XcmpQueue = TransformOrigin; + type MaxInboundSuspended = MaxInboundSuspended; } impl cumulus_pallet_dmp_queue::Config for Runtime { type RuntimeEvent = RuntimeEvent; - type XcmExecutor = XcmExecutor; - type ExecuteOverweightOrigin = EnsureRoot; + type DmpSink = frame_support::traits::EnqueueWithOrigin; + type WeightInfo = (); } const ASSET_HUB_PARA_ID: u32 = 1000; @@ -207,6 +208,8 @@ impl orml_xtokens::Config for Runtime { type ReserveProvider = AbsoluteReserveProvider; type MinXcmFee = ParachainMinFee; type UniversalLocation = UniversalLocation; + type RateLimiter = (); //TODO: what do ? + type RateLimiterId = (); //TODO: what do ? } impl orml_unknown_tokens::Config for Runtime { @@ -218,11 +221,6 @@ impl orml_xcm::Config for Runtime { type SovereignOrigin = MoreThanHalfCouncil; } -#[cfg(feature = "runtime-benchmarks")] -parameter_types! { - pub ReachableDest: Option = Some(Parent.into()); -} - impl pallet_xcm::Config for Runtime { type RuntimeEvent = RuntimeEvent; type Currency = Balances; @@ -244,8 +242,6 @@ impl pallet_xcm::Config for Runtime { type SovereignAccountOf = (); type MaxLockers = ConstU32<8>; type WeightInfo = weights::xcm::HydraWeight; - #[cfg(feature = "runtime-benchmarks")] - type ReachableDest = ReachableDest; type AdminOrigin = MajorityOfCouncil; type MaxRemoteLockConsumers = ConstU32<0>; type RemoteLockConsumerIdentifier = (); From 3bfa5e7951be6f1140c8e8736ab13d4e7b760bf7 Mon Sep 17 00:00:00 2001 From: Martin Date: Wed, 10 Apr 2024 23:21:18 +0200 Subject: [PATCH 008/105] evm config --- runtime/hydradx/src/evm/mod.rs | 12 ++++++++---- runtime/hydradx/src/lib.rs | 2 +- runtime/hydradx/src/system.rs | 2 +- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/runtime/hydradx/src/evm/mod.rs b/runtime/hydradx/src/evm/mod.rs index 994c8db70..9c91a51a0 100644 --- a/runtime/hydradx/src/evm/mod.rs +++ b/runtime/hydradx/src/evm/mod.rs @@ -40,9 +40,10 @@ use orml_tokens::CurrencyAdapter; use pallet_currencies::fungibles::FungibleCurrencies; use pallet_evm::EnsureAddressTruncated; use pallet_transaction_payment::Multiplier; +use polkadot_xcm::v4::Junctions; use polkadot_xcm::{ - latest::MultiLocation, - prelude::{AccountKey20, PalletInstance, Parachain, X3}, + latest::Location, + prelude::{AccountKey20, PalletInstance, Parachain}, }; use primitives::{constants::chain::MAXIMUM_BLOCK_WEIGHT, AssetId}; use sp_core::{Get, U256}; @@ -73,9 +74,9 @@ parameter_types! { } const MOONBEAM_PARA_ID: u32 = 2004; -pub const WETH_ASSET_LOCATION: AssetLocation = AssetLocation(MultiLocation { +pub const WETH_ASSET_LOCATION: AssetLocation = AssetLocation(Location { parents: 1, - interior: X3( + interior: Junctions::X3( Parachain(MOONBEAM_PARA_ID), PalletInstance(110), AccountKey20 { @@ -124,6 +125,8 @@ parameter_types! { pub GasLimitStorageGrowthRatio: u64 = 366; pub const OracleEvmPeriod: OraclePeriod = OraclePeriod::Short; + + pub const SuicideQuickClearLimit: u32 = 0; } impl pallet_evm::Config for crate::Runtime { @@ -163,6 +166,7 @@ impl pallet_evm::Config for crate::Runtime { type GasLimitStorageGrowthRatio = GasLimitStorageGrowthRatio; type Timestamp = crate::Timestamp; type WeightInfo = pallet_evm::weights::SubstrateWeight; + type SuicideQuickClearLimit = SuicideQuickClearLimit; } impl pallet_evm_chain_id::Config for crate::Runtime {} diff --git a/runtime/hydradx/src/lib.rs b/runtime/hydradx/src/lib.rs index c2cfc66c1..a61d5e1ea 100644 --- a/runtime/hydradx/src/lib.rs +++ b/runtime/hydradx/src/lib.rs @@ -193,7 +193,7 @@ construct_runtime!( // Parachain ParachainSystem: cumulus_pallet_parachain_system exclude_parts { Config } = 103, - ParachainInfo: parachain_info = 105, + ParachainInfo: staging_parachain_info = 105, //NOTE: Scheduler must be after ParachainSystem otherwise RelayChainBlockNumberProvider //will return 0 as current block number when used with Scheduler(democracy). diff --git a/runtime/hydradx/src/system.rs b/runtime/hydradx/src/system.rs index 6c330f9b9..8970371e6 100644 --- a/runtime/hydradx/src/system.rs +++ b/runtime/hydradx/src/system.rs @@ -233,7 +233,7 @@ impl pallet_aura::Config for Runtime { type AllowMultipleBlocksPerSlot = ConstBool; } -impl parachain_info::Config for Runtime {} +impl staging_parachain_info::Config for Runtime {} impl cumulus_pallet_aura_ext::Config for Runtime {} From 6b05f6732198c3584dbb1edd4ff5e32644acfeec Mon Sep 17 00:00:00 2001 From: Martin Date: Thu, 11 Apr 2024 12:03:09 +0200 Subject: [PATCH 009/105] add pallet-message-queue --- Cargo.lock | 105 +++++++++++++++++++++++-------------- Cargo.toml | 34 ++++++------ runtime/hydradx/Cargo.toml | 5 ++ runtime/hydradx/src/lib.rs | 2 +- runtime/hydradx/src/xcm.rs | 18 +++++++ 5 files changed, 109 insertions(+), 55 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index cd7aa7892..bfb1485ce 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -196,9 +196,9 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.81" +version = "1.0.82" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0952808a6c2afd1aa8947271f3a60f1a6763c7b912d210184c5149b5cf147247" +checksum = "f538837af36e6f6a9be0faa67f9a314f8119e4e4b5867c6ab40ed60360142519" [[package]] name = "approx" @@ -1288,9 +1288,9 @@ dependencies = [ [[package]] name = "cfg-expr" -version = "0.15.7" +version = "0.15.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa50868b64a9a6fda9d593ce778849ea8715cd2a3d2cc17ffdb4a2f2f2f1961d" +checksum = "d067ad48b8650848b989a59a86c6c36a995d02d2bf778d45c3c5d57bc2718f02" dependencies = [ "smallvec", ] @@ -4725,7 +4725,7 @@ dependencies = [ [[package]] name = "hydradx" -version = "12.1.0" +version = "12.2.0" dependencies = [ "async-trait", "clap 4.5.4", @@ -4814,7 +4814,7 @@ dependencies = [ [[package]] name = "hydradx-adapters" -version = "1.2.5" +version = "1.3.0" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-primitives-core", @@ -4864,7 +4864,7 @@ dependencies = [ [[package]] name = "hydradx-runtime" -version = "225.0.0" +version = "227.0.0" dependencies = [ "cumulus-pallet-aura-ext", "cumulus-pallet-dmp-queue", @@ -4934,6 +4934,7 @@ dependencies = [ "pallet-identity", "pallet-lbp", "pallet-liquidity-mining", + "pallet-message-queue", "pallet-multisig", "pallet-omnipool", "pallet-omnipool-liquidity-mining", @@ -4958,6 +4959,8 @@ dependencies = [ "pallet-utility", "pallet-xcm", "pallet-xyk", + "pallet-xyk-liquidity-mining", + "parachains-common", "parity-scale-codec", "polkadot-parachain-primitives", "primitive-types", @@ -4989,7 +4992,7 @@ dependencies = [ [[package]] name = "hydradx-traits" -version = "3.1.1" +version = "3.2.0" dependencies = [ "frame-support", "impl-trait-for-tuples", @@ -7486,7 +7489,7 @@ dependencies = [ [[package]] name = "pallet-asset-registry" -version = "3.1.1" +version = "3.2.1" dependencies = [ "frame-benchmarking", "frame-support", @@ -7701,7 +7704,7 @@ dependencies = [ [[package]] name = "pallet-bonds" -version = "2.2.0" +version = "2.2.1" dependencies = [ "frame-benchmarking", "frame-support", @@ -7779,7 +7782,7 @@ dependencies = [ [[package]] name = "pallet-circuit-breaker" -version = "1.1.20" +version = "1.1.21" dependencies = [ "frame-benchmarking", "frame-support", @@ -7922,7 +7925,7 @@ dependencies = [ [[package]] name = "pallet-dca" -version = "1.4.1" +version = "1.4.3" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-primitives-core", @@ -8124,7 +8127,7 @@ dependencies = [ [[package]] name = "pallet-ema-oracle" -version = "1.2.1" +version = "1.3.0" dependencies = [ "frame-benchmarking", "frame-support", @@ -8143,6 +8146,7 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "test-utils", ] [[package]] @@ -8423,7 +8427,7 @@ dependencies = [ [[package]] name = "pallet-liquidity-mining" -version = "4.3.0" +version = "4.3.1" dependencies = [ "fixed", "frame-support", @@ -8646,7 +8650,7 @@ dependencies = [ [[package]] name = "pallet-omnipool" -version = "4.1.4" +version = "4.1.5" dependencies = [ "bitflags 1.3.2", "frame-benchmarking", @@ -8673,7 +8677,7 @@ dependencies = [ [[package]] name = "pallet-omnipool-liquidity-mining" -version = "2.1.2" +version = "2.1.4" dependencies = [ "frame-benchmarking", "frame-support", @@ -8700,7 +8704,7 @@ dependencies = [ [[package]] name = "pallet-otc" -version = "1.1.0" +version = "1.1.1" dependencies = [ "frame-benchmarking", "frame-support", @@ -8858,7 +8862,7 @@ dependencies = [ [[package]] name = "pallet-route-executor" -version = "2.2.0" +version = "2.2.1" dependencies = [ "frame-benchmarking", "frame-support", @@ -8957,7 +8961,7 @@ dependencies = [ [[package]] name = "pallet-stableswap" -version = "3.5.0" +version = "3.5.1" dependencies = [ "bitflags 1.3.2", "frame-benchmarking", @@ -9344,7 +9348,7 @@ dependencies = [ [[package]] name = "pallet-xyk" -version = "6.4.0" +version = "6.4.1" dependencies = [ "frame-benchmarking", "frame-support", @@ -9368,6 +9372,30 @@ dependencies = [ "substrate-wasm-builder", ] +[[package]] +name = "pallet-xyk-liquidity-mining" +version = "1.1.10" +dependencies = [ + "frame-support", + "frame-system", + "hydradx-traits", + "log", + "orml-tokens", + "orml-traits", + "pallet-balances", + "pallet-liquidity-mining", + "pallet-xyk", + "parity-scale-codec", + "pretty_assertions", + "primitives", + "scale-info", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", +] + [[package]] name = "parachains-common" version = "7.0.0" @@ -11292,9 +11320,9 @@ dependencies = [ [[package]] name = "quote" -version = "1.0.35" +version = "1.0.36" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "291ec9ab5efd934aaf503a6466c5d5251535d108ee747472c3977cc5acc868ef" +checksum = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7" dependencies = [ "proc-macro2", ] @@ -11823,7 +11851,7 @@ dependencies = [ [[package]] name = "runtime-integration-tests" -version = "1.19.12" +version = "1.20.1" dependencies = [ "cumulus-pallet-aura-ext", "cumulus-pallet-dmp-queue", @@ -11896,6 +11924,7 @@ dependencies = [ "pallet-utility", "pallet-xcm", "pallet-xyk", + "pallet-xyk-liquidity-mining", "polkadot-parachain-primitives", "polkadot-primitives", "polkadot-runtime-parachains", @@ -14138,7 +14167,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "15.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#55d05ab37c2aef0593bc255965a01e7583dd06c8" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "sp-crypto-hashing 0.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", ] @@ -14146,7 +14175,7 @@ dependencies = [ [[package]] name = "sp-crypto-ec-utils" version = "0.10.0" -source = "git+https://github.com/paritytech/polkadot-sdk#b6231c79ca708d9c9280210f41ca38fd816c8ad9" +source = "git+https://github.com/paritytech/polkadot-sdk#69cc7f2090e169e736d9c998c29467040521881d" dependencies = [ "ark-bls12-377", "ark-bls12-377-ext", @@ -14166,7 +14195,7 @@ dependencies = [ [[package]] name = "sp-crypto-hashing" version = "0.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#55d05ab37c2aef0593bc255965a01e7583dd06c8" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "blake2b_simd", "byteorder", @@ -14221,7 +14250,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#b6231c79ca708d9c9280210f41ca38fd816c8ad9" +source = "git+https://github.com/paritytech/polkadot-sdk#69cc7f2090e169e736d9c998c29467040521881d" dependencies = [ "proc-macro2", "quote", @@ -14242,7 +14271,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.25.0" -source = "git+https://github.com/paritytech/polkadot-sdk#b6231c79ca708d9c9280210f41ca38fd816c8ad9" +source = "git+https://github.com/paritytech/polkadot-sdk#69cc7f2090e169e736d9c998c29467040521881d" dependencies = [ "environmental", "parity-scale-codec", @@ -14460,7 +14489,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "24.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#b6231c79ca708d9c9280210f41ca38fd816c8ad9" +source = "git+https://github.com/paritytech/polkadot-sdk#69cc7f2090e169e736d9c998c29467040521881d" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -14492,7 +14521,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#b6231c79ca708d9c9280210f41ca38fd816c8ad9" +source = "git+https://github.com/paritytech/polkadot-sdk#69cc7f2090e169e736d9c998c29467040521881d" dependencies = [ "Inflector", "expander 2.1.0", @@ -14585,7 +14614,7 @@ source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot [[package]] name = "sp-std" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#b6231c79ca708d9c9280210f41ca38fd816c8ad9" +source = "git+https://github.com/paritytech/polkadot-sdk#69cc7f2090e169e736d9c998c29467040521881d" [[package]] name = "sp-storage" @@ -14603,7 +14632,7 @@ dependencies = [ [[package]] name = "sp-storage" version = "19.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#b6231c79ca708d9c9280210f41ca38fd816c8ad9" +source = "git+https://github.com/paritytech/polkadot-sdk#69cc7f2090e169e736d9c998c29467040521881d" dependencies = [ "impl-serde", "parity-scale-codec", @@ -14640,7 +14669,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "16.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#b6231c79ca708d9c9280210f41ca38fd816c8ad9" +source = "git+https://github.com/paritytech/polkadot-sdk#69cc7f2090e169e736d9c998c29467040521881d" dependencies = [ "parity-scale-codec", "tracing", @@ -14740,7 +14769,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "20.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#b6231c79ca708d9c9280210f41ca38fd816c8ad9" +source = "git+https://github.com/paritytech/polkadot-sdk#69cc7f2090e169e736d9c998c29467040521881d" dependencies = [ "impl-trait-for-tuples", "log", @@ -15393,9 +15422,9 @@ dependencies = [ [[package]] name = "time" -version = "0.3.34" +version = "0.3.36" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8248b6521bb14bc45b4067159b9b6ad792e2d6d754d6c41fb50e29fefe38749" +checksum = "5dfd88e563464686c916c7e46e623e520ddc6d79fa6641390f2e3fa86e83e885" dependencies = [ "deranged", "itoa", @@ -15414,9 +15443,9 @@ checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3" [[package]] name = "time-macros" -version = "0.2.17" +version = "0.2.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ba3a3ef41e6672a2f0f001392bb5dcd3ff0a9992d618ca761a11c3121547774" +checksum = "3f252a68540fde3a3877aeea552b832b40ab9a69e318efd078774a01ddee1ccf" dependencies = [ "num-conv", "time-core", diff --git a/Cargo.toml b/Cargo.toml index da0d45bde..ca8c5612c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -39,7 +39,8 @@ members = [ 'runtime/hydradx/src/evm/evm-utility/macro', 'pallets/referrals', 'pallets/evm-accounts', - 'pallets/dynamic-evm-fee' + 'pallets/dynamic-evm-fee', + 'pallets/xyk-liquidity-mining', ] resolver = "2" @@ -85,6 +86,7 @@ warehouse-liquidity-mining = { package = "pallet-liquidity-mining", path = "pall pallet-bonds = { path = "pallets/bonds", default-features = false} pallet-lbp = { path = "pallets/lbp", default-features = false} pallet-xyk = { path = "pallets/xyk", default-features = false} +pallet-xyk-liquidity-mining = { path = "pallets/xyk-liquidity-mining", default-features = false} pallet-referrals = { path = "pallets/referrals", default-features = false} pallet-evm-accounts = { path = "pallets/evm-accounts", default-features = false} pallet-evm-accounts-rpc-runtime-api = { path = "pallets/evm-accounts/rpc/runtime-api", default-features = false} @@ -105,7 +107,7 @@ frame-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk", branc frame-benchmarking-cli = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } frame-executive = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } frame-remote-externalities = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } -frame-support = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +frame-support = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false , features = ["tuples-96"]} frame-system = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } frame-system-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } @@ -183,6 +185,7 @@ pallet-treasury = { git = "https://github.com/paritytech/polkadot-sdk", branch = pallet-uniques = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } pallet-utility = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } pallet-im-online = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +pallet-message-queue = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } substrate-build-script-utils = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } substrate-frame-rpc-system = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } @@ -228,6 +231,7 @@ cumulus-test-relay-sproof-builder = { git = "https://github.com/paritytech/polka pallet-collator-selection = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } staging-parachain-info = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } xcm-emulator = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +parachains-common = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } # Frontier fc-consensus = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.7.2", default-features = false } @@ -291,20 +295,16 @@ cumulus-relay-chain-rpc-interface = { git = "https://github.com/paritytech/polka [patch."https://github.com/moonbeam-foundation/open-runtime-module-library"] # ORML dependencies -orml-benchmarking = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.7.2", default-features = false } -orml-currencies = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.7.2", default-features = false } -orml-tokens = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.7.2", default-features = false } -orml-traits = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.7.2", default-features = false } -orml-utilities = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.7.2", default-features = false } -orml-vesting = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.7.2", default-features = false } - -# orml XCM support -orml-unknown-tokens = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.7.2", default-features = false } -orml-xcm = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.7.2", default-features = false } -orml-xcm-support = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.7.2", default-features = false } -orml-xtokens = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.7.2", default-features = false } - - +orml-benchmarking = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.7.2"} +orml-currencies = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.7.2"} +orml-tokens = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.7.2"} +orml-traits = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.7.2"} +orml-utilities = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.7.2"} +orml-vesting = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.7.2"} +orml-unknown-tokens = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.7.2"} +orml-xcm = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.7.2"} +orml-xcm-support = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.7.2"} +orml-xtokens = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.7.2"} [patch."https://github.com/moonbeam-foundation/polkadot-sdk"] frame-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } @@ -394,6 +394,7 @@ pallet-treasury = { git = "https://github.com/paritytech/polkadot-sdk", branch = pallet-uniques = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } pallet-utility = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } pallet-im-online = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +pallet-message-queue = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2"} substrate-build-script-utils = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } substrate-frame-rpc-system = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } @@ -425,6 +426,7 @@ cumulus-test-relay-sproof-builder = { git = "https://github.com/paritytech/polka pallet-collator-selection = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } staging-parachain-info = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } xcm-emulator = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +parachains-common = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2"} # Polkadot dependencies pallet-xcm = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } diff --git a/runtime/hydradx/Cargo.toml b/runtime/hydradx/Cargo.toml index fadfbc61f..1eba7976a 100644 --- a/runtime/hydradx/Cargo.toml +++ b/runtime/hydradx/Cargo.toml @@ -61,6 +61,7 @@ pallet-multisig = { workspace = true } pallet-democracy = { workspace = true } pallet-elections-phragmen = { workspace = true } pallet-uniques = { workspace = true } +pallet-message-queue= { workspace = true } #pallet-xcm-rate-limiter = { workspace = true } # Warehouse dependencies @@ -106,6 +107,7 @@ cumulus-primitives-utility = { workspace = true } cumulus-primitives-parachain-inherent = { workspace = true } cumulus-primitives-timestamp = { workspace = true } staging-parachain-info = { workspace = true } +parachains-common = { workspace = true } # Polkadot dependencies polkadot-parachain = { workspace = true } @@ -203,6 +205,7 @@ runtime-benchmarks = [ "pallet-elections-phragmen/runtime-benchmarks", "pallet-referrals/runtime-benchmarks", "pallet-evm-accounts/runtime-benchmarks", + "pallet-message-queue/runtime-benchmarks", ] std = [ "codec/std", @@ -305,6 +308,7 @@ std = [ "pallet-evm-accounts/std", "pallet-evm-accounts-rpc-runtime-api/std", "pallet-xyk-liquidity-mining/std", + "parachains-common/std", ] try-runtime= [ "frame-try-runtime", @@ -374,4 +378,5 @@ try-runtime= [ "pallet-referrals/try-runtime", "pallet-evm-accounts/try-runtime", "pallet-xyk-liquidity-mining/try-runtime", + "pallet-message-queue/try-runtime", ] diff --git a/runtime/hydradx/src/lib.rs b/runtime/hydradx/src/lib.rs index 989437ebb..68a7dcd01 100644 --- a/runtime/hydradx/src/lib.rs +++ b/runtime/hydradx/src/lib.rs @@ -44,7 +44,6 @@ pub use governance::*; pub use system::*; pub use xcm::*; -use crate::sp_api_hidden_includes_construct_runtime::hidden_include::traits::Hooks; use codec::{Decode, Encode}; use hydradx_traits::evm::InspectEvmAccounts; use sp_api::impl_runtime_apis; @@ -210,6 +209,7 @@ construct_runtime!( CumulusXcm: cumulus_pallet_xcm = 109, XcmpQueue: cumulus_pallet_xcmp_queue exclude_parts { Call } = 111, DmpQueue: cumulus_pallet_dmp_queue = 113, + MessageQueue: pallet_message_queue = 114, // ORML XCM OrmlXcm: orml_xcm = 135, diff --git a/runtime/hydradx/src/xcm.rs b/runtime/hydradx/src/xcm.rs index 669d7d931..de3d89956 100644 --- a/runtime/hydradx/src/xcm.rs +++ b/runtime/hydradx/src/xcm.rs @@ -23,11 +23,13 @@ use orml_traits::{location::AbsoluteReserveProvider, parameter_type_with_key}; use orml_xcm_support::{DepositToAlternative, IsNativeConcrete, MultiNativeAsset}; use pallet_evm::AddressMapping; use pallet_xcm::XcmPassthrough; +use parachains_common::message_queue::{NarrowOriginToSibling, ParaIdToSibling}; use polkadot_parachain::primitives::{RelayChainBlockNumber, Sibling}; use polkadot_xcm::v3::{prelude::*, Weight as XcmWeight}; use polkadot_xcm::v4::{Asset, InteriorLocation}; use primitives::Price; use scale_info::TypeInfo; +use sp_runtime::Perbill; use xcm_builder::{ AccountId32Aliases, AllowKnownQueryResponses, AllowSubscriptionsFrom, AllowTopLevelPaidExecutionFrom, DescribeAllTerminal, DescribeFamily, EnsureXcmOrigin, FixedWeightBounds, HashedDescription, ParentIsPreset, @@ -267,6 +269,22 @@ fn defer_duration_configuration() { parameter_types! { pub DeferDuration: RelayChainBlockNumber = 600 * 36; // 36 hours pub MaxDeferDuration: RelayChainBlockNumber = 600 * 24 * 10; // 10 days + + pub const MessageQueueServiceWeight: Weight = Perbill::from_percent(25) * BlockWeights::get().max_block; + pub const MessageQueueMaxStale: u32 = 8; + pub const MessageQueueHeapSize: u32 = 128 * 1048; +} + +impl pallet_message_queue::Config for Runtime { + type RuntimeEvent = RuntimeEvent; + type WeightInfo = (); + type MessageProcessor = xcm_builder::ProcessXcmMessage, RuntimeCall>; + type Size = u32; + type QueueChangeHandler = NarrowOriginToSibling; + type QueuePausedQuery = NarrowOriginToSibling; + type HeapSize = MessageQueueHeapSize; + type MaxStale = MessageQueueMaxStale; + type ServiceWeight = MessageQueueServiceWeight; } /* From 1dd492fc78c4c4e6976b9d511680ae96ef9258a3 Mon Sep 17 00:00:00 2001 From: Martin Date: Thu, 11 Apr 2024 15:33:50 +0200 Subject: [PATCH 010/105] updat weight api --- runtime/hydradx/src/evm/runner.rs | 4 +- runtime/hydradx/src/lib.rs | 2 +- runtime/hydradx/src/migrations.rs | 10 +- runtime/hydradx/src/weights/balances.rs | 4 + .../hydradx/src/weights/collator_selection.rs | 11 +- runtime/hydradx/src/weights/identity.rs | 167 +++++------------- runtime/hydradx/src/weights/preimage.rs | 4 + runtime/hydradx/src/weights/system.rs | 8 + runtime/hydradx/src/weights/treasury.rs | 16 ++ runtime/hydradx/src/weights/xcm.rs | 13 ++ runtime/hydradx/src/weights/xcmp_queue.rs | 103 ++--------- 11 files changed, 135 insertions(+), 207 deletions(-) diff --git a/runtime/hydradx/src/evm/runner.rs b/runtime/hydradx/src/evm/runner.rs index 13d8443a6..037a11e07 100644 --- a/runtime/hydradx/src/evm/runner.rs +++ b/runtime/hydradx/src/evm/runner.rs @@ -24,7 +24,7 @@ //! //! Shamelessly copied from pallet-evm and modified to support multi-currency fees. use crate::evm::WethAssetId; -use fp_evm::{Account, InvalidEvmTransactionError}; +use fp_evm::{Account}; use frame_support::traits::Get; use hydradx_traits::AccountFeeCurrencyBalanceInCurrency; use pallet_evm::runner::Runner; @@ -41,7 +41,7 @@ impl Runner for WrapRunner where T: Config, R: Runner, - >::Error: core::convert::From, + //>::Error: core::convert::From, B: AccountFeeCurrencyBalanceInCurrency, { type Error = R::Error; diff --git a/runtime/hydradx/src/lib.rs b/runtime/hydradx/src/lib.rs index 68a7dcd01..7b8e174c0 100644 --- a/runtime/hydradx/src/lib.rs +++ b/runtime/hydradx/src/lib.rs @@ -262,7 +262,7 @@ pub type Executive = frame_executive::Executive< Block, frame_system::ChainContext, Runtime, - AllPalletsReversedWithSystemFirst, + AllPalletsWithSystem, (migrations::OnRuntimeUpgradeMigration,), >; diff --git a/runtime/hydradx/src/migrations.rs b/runtime/hydradx/src/migrations.rs index 1a3fa767c..4b7a84c7a 100644 --- a/runtime/hydradx/src/migrations.rs +++ b/runtime/hydradx/src/migrations.rs @@ -9,14 +9,18 @@ pub struct OnRuntimeUpgradeMigration; impl OnRuntimeUpgrade for OnRuntimeUpgradeMigration { #[cfg(feature = "try-runtime")] fn pre_upgrade() -> Result, sp_runtime::DispatchError> { + /* log::info!("PreMigrate Collator Selection Pallet start"); let number_of_invulnerables = pallet_collator_selection::migration::v1::MigrateToV1::::pre_upgrade()?; log::info!("PreMigrate Collator Selection Pallet end"); - Ok(number_of_invulnerables) + + */ + Ok(vec![]) } fn on_runtime_upgrade() -> Weight { let mut weight: Weight = Weight::zero(); + /* log::info!("Migrate Collator Selection Pallet to v1 start"); weight = weight @@ -36,16 +40,20 @@ impl OnRuntimeUpgrade for OnRuntimeUpgradeMigration { weight = weight.saturating_add(::DbWeight::get().reads_writes(0, 1)); weight = weight.saturating_add(pallet_referrals::migration::preregister_parachain_codes::()); + */ weight } #[cfg(feature = "try-runtime")] fn post_upgrade(state: Vec) -> Result<(), sp_runtime::DispatchError> { + /* log::info!("PostMigrate Collator Selection Pallet start"); let migration_result = pallet_collator_selection::migration::v1::MigrateToV1::::post_upgrade(state); log::info!("PostMigrate Collator Selection Pallet end"); migration_result + */ + Ok(()) } } diff --git a/runtime/hydradx/src/weights/balances.rs b/runtime/hydradx/src/weights/balances.rs index 82d13eb48..e726ae4ea 100644 --- a/runtime/hydradx/src/weights/balances.rs +++ b/runtime/hydradx/src/weights/balances.rs @@ -140,4 +140,8 @@ impl pallet_balances::WeightInfo for HydraWeight { .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(u.into()))) .saturating_add(Weight::from_parts(0, 2603).saturating_mul(u.into())) } + + fn force_adjust_total_issuance() -> Weight { + todo!() + } } \ No newline at end of file diff --git a/runtime/hydradx/src/weights/collator_selection.rs b/runtime/hydradx/src/weights/collator_selection.rs index efb4407a0..0d6e5581d 100644 --- a/runtime/hydradx/src/weights/collator_selection.rs +++ b/runtime/hydradx/src/weights/collator_selection.rs @@ -118,7 +118,7 @@ impl pallet_collator_selection::WeightInfo for HydraWei } /// Storage: `CollatorSelection::CandidacyBond` (r:0 w:1) /// Proof: `CollatorSelection::CandidacyBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) - fn set_candidacy_bond() -> Weight { + fn set_candidacy_bond(_a: u32, _b: u32) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` @@ -169,6 +169,15 @@ impl pallet_collator_selection::WeightInfo for HydraWei .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } + + fn update_bond(_c: u32) -> Weight { + todo!() + } + + fn take_candidate_slot(_c: u32) -> Weight { + todo!() + } + /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `System::BlockWeight` (r:1 w:1) diff --git a/runtime/hydradx/src/weights/identity.rs b/runtime/hydradx/src/weights/identity.rs index 7144de19c..3a0973fa6 100644 --- a/runtime/hydradx/src/weights/identity.rs +++ b/runtime/hydradx/src/weights/identity.rs @@ -62,23 +62,11 @@ impl pallet_identity::WeightInfo for HydraWeight { .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: `Identity::IdentityOf` (r:1 w:1) - /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`) - /// The range of component `r` is `[1, 20]`. - /// The range of component `x` is `[0, 100]`. - fn set_identity(r: u32, x: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `442 + r * (5 ±0)` - // Estimated: `11003` - // Minimum execution time: 44_163_000 picoseconds. - Weight::from_parts(42_727_355, 11003) - // Standard Error: 4_678 - .saturating_add(Weight::from_parts(103_190, 0).saturating_mul(r.into())) - // Standard Error: 897 - .saturating_add(Weight::from_parts(697_595, 0).saturating_mul(x.into())) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + + fn set_identity(r: u32) -> Weight { + todo!() } + /// Storage: `Identity::IdentityOf` (r:1 w:0) /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`) /// Storage: `Identity::SubsOf` (r:1 w:1) @@ -119,67 +107,19 @@ impl pallet_identity::WeightInfo for HydraWeight { .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) } - /// Storage: `Identity::SubsOf` (r:1 w:1) - /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`) - /// Storage: `Identity::IdentityOf` (r:1 w:1) - /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`) - /// Storage: `Identity::SuperOf` (r:0 w:100) - /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`) - /// The range of component `r` is `[1, 20]`. - /// The range of component `s` is `[0, 100]`. - /// The range of component `x` is `[0, 100]`. - fn clear_identity(r: u32, s: u32, x: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `468 + r * (5 ±0) + s * (32 ±0) + x * (66 ±0)` - // Estimated: `11003` - // Minimum execution time: 78_695_000 picoseconds. - Weight::from_parts(41_668_144, 11003) - // Standard Error: 7_894 - .saturating_add(Weight::from_parts(85_933, 0).saturating_mul(r.into())) - // Standard Error: 1_517 - .saturating_add(Weight::from_parts(1_590_914, 0).saturating_mul(s.into())) - // Standard Error: 1_517 - .saturating_add(Weight::from_parts(375_705, 0).saturating_mul(x.into())) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) - .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) + + fn clear_identity(r: u32, s: u32) -> Weight { + todo!() } - /// Storage: `Identity::Registrars` (r:1 w:0) - /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`) - /// Storage: `Identity::IdentityOf` (r:1 w:1) - /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`) - /// The range of component `r` is `[1, 20]`. - /// The range of component `x` is `[0, 100]`. - fn request_judgement(r: u32, x: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `365 + r * (57 ±0) + x * (66 ±0)` - // Estimated: `11003` - // Minimum execution time: 44_784_000 picoseconds. - Weight::from_parts(43_971_070, 11003) - // Standard Error: 5_047 - .saturating_add(Weight::from_parts(80_761, 0).saturating_mul(r.into())) - // Standard Error: 968 - .saturating_add(Weight::from_parts(702_450, 0).saturating_mul(x.into())) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + + fn request_judgement(r: u32) -> Weight { + todo!() } - /// Storage: `Identity::IdentityOf` (r:1 w:1) - /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`) - /// The range of component `r` is `[1, 20]`. - /// The range of component `x` is `[0, 100]`. - fn cancel_request(r: u32, x: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `396 + x * (66 ±0)` - // Estimated: `11003` - // Minimum execution time: 41_076_000 picoseconds. - Weight::from_parts(40_739_871, 11003) - // Standard Error: 6_026 - .saturating_add(Weight::from_parts(54_796, 0).saturating_mul(r.into())) - // Standard Error: 1_156 - .saturating_add(Weight::from_parts(702_783, 0).saturating_mul(x.into())) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + + fn cancel_request(r: u32) -> Weight { + todo!() } + /// Storage: `Identity::Registrars` (r:1 w:1) /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 19]`. @@ -222,52 +162,15 @@ impl pallet_identity::WeightInfo for HydraWeight { .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: `Identity::Registrars` (r:1 w:0) - /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`) - /// Storage: `Identity::IdentityOf` (r:1 w:1) - /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`) - /// The range of component `r` is `[1, 19]`. - /// The range of component `x` is `[0, 100]`. - fn provide_judgement(r: u32, x: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `443 + r * (57 ±0) + x * (66 ±0)` - // Estimated: `11003` - // Minimum execution time: 32_212_000 picoseconds. - Weight::from_parts(30_951_168, 11003) - // Standard Error: 5_657 - .saturating_add(Weight::from_parts(98_160, 0).saturating_mul(r.into())) - // Standard Error: 1_016 - .saturating_add(Weight::from_parts(1_087_740, 0).saturating_mul(x.into())) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + + fn provide_judgement(r: u32) -> Weight { + todo!() } - /// Storage: `Identity::SubsOf` (r:1 w:1) - /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`) - /// Storage: `Identity::IdentityOf` (r:1 w:1) - /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:2) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `Identity::SuperOf` (r:0 w:100) - /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`) - /// The range of component `r` is `[1, 20]`. - /// The range of component `s` is `[0, 100]`. - /// The range of component `x` is `[0, 100]`. - fn kill_identity(r: u32, s: u32, x: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `760 + r * (16 ±0) + s * (32 ±0) + x * (66 ±0)` - // Estimated: `11003` - // Minimum execution time: 102_051_000 picoseconds. - Weight::from_parts(67_588_586, 11003) - // Standard Error: 12_409 - .saturating_add(Weight::from_parts(167_208, 0).saturating_mul(r.into())) - // Standard Error: 2_384 - .saturating_add(Weight::from_parts(1_609_560, 0).saturating_mul(s.into())) - // Standard Error: 2_384 - .saturating_add(Weight::from_parts(344_185, 0).saturating_mul(x.into())) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(4)) - .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) + + fn kill_identity(r: u32, s: u32) -> Weight { + todo!() } + /// Storage: `Identity::IdentityOf` (r:1 w:0) /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`) /// Storage: `Identity::SuperOf` (r:1 w:1) @@ -338,4 +241,32 @@ impl pallet_identity::WeightInfo for HydraWeight { .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } + + fn add_username_authority() -> Weight { + todo!() + } + + fn remove_username_authority() -> Weight { + todo!() + } + + fn set_username_for() -> Weight { + todo!() + } + + fn accept_username() -> Weight { + todo!() + } + + fn remove_expired_approval() -> Weight { + todo!() + } + + fn set_primary_username() -> Weight { + todo!() + } + + fn remove_dangling_username() -> Weight { + todo!() + } } \ No newline at end of file diff --git a/runtime/hydradx/src/weights/preimage.rs b/runtime/hydradx/src/weights/preimage.rs index 60afab1b5..cce79e364 100644 --- a/runtime/hydradx/src/weights/preimage.rs +++ b/runtime/hydradx/src/weights/preimage.rs @@ -201,4 +201,8 @@ impl pallet_preimage::WeightInfo for HydraWeight { .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } + + fn ensure_updated(n: u32) -> Weight { + todo!() + } } \ No newline at end of file diff --git a/runtime/hydradx/src/weights/system.rs b/runtime/hydradx/src/weights/system.rs index 57270ed7c..d71ea8f3c 100644 --- a/runtime/hydradx/src/weights/system.rs +++ b/runtime/hydradx/src/weights/system.rs @@ -143,4 +143,12 @@ impl frame_system::WeightInfo for HydraWeight { .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) .saturating_add(Weight::from_parts(0, 70).saturating_mul(p.into())) } + + fn authorize_upgrade() -> Weight { + todo!() + } + + fn apply_authorized_upgrade() -> Weight { + todo!() + } } \ No newline at end of file diff --git a/runtime/hydradx/src/weights/treasury.rs b/runtime/hydradx/src/weights/treasury.rs index 0e1a664bd..0cfc273e5 100644 --- a/runtime/hydradx/src/weights/treasury.rs +++ b/runtime/hydradx/src/weights/treasury.rs @@ -133,4 +133,20 @@ impl pallet_treasury::WeightInfo for HydraWeight { .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(p.into()))) .saturating_add(Weight::from_parts(0, 5206).saturating_mul(p.into())) } + + fn spend_local() -> Weight { + todo!() + } + + fn payout() -> Weight { + todo!() + } + + fn check_status() -> Weight { + todo!() + } + + fn void_spend() -> Weight { + todo!() + } } \ No newline at end of file diff --git a/runtime/hydradx/src/weights/xcm.rs b/runtime/hydradx/src/weights/xcm.rs index 183f43b07..49640bac2 100644 --- a/runtime/hydradx/src/weights/xcm.rs +++ b/runtime/hydradx/src/weights/xcm.rs @@ -86,6 +86,11 @@ impl pallet_xcm::WeightInfo for HydraWeight { Weight::from_parts(30_412_000, 1489) .saturating_add(T::DbWeight::get().reads(1)) } + + fn transfer_assets() -> Weight { + todo!() + } + /// Storage: `Benchmark::Override` (r:0 w:0) /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) fn execute() -> Weight { @@ -268,4 +273,12 @@ impl pallet_xcm::WeightInfo for HydraWeight { .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(4)) } + + fn new_query() -> Weight { + todo!() + } + + fn take_response() -> Weight { + todo!() + } } \ No newline at end of file diff --git a/runtime/hydradx/src/weights/xcmp_queue.rs b/runtime/hydradx/src/weights/xcmp_queue.rs index 1f3673e35..119d8983d 100644 --- a/runtime/hydradx/src/weights/xcmp_queue.rs +++ b/runtime/hydradx/src/weights/xcmp_queue.rs @@ -59,93 +59,28 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for HydraWei .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: `XcmpQueue::QueueConfig` (r:1 w:1) - /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - fn set_config_with_weight() -> Weight { - // Proof Size summary in bytes: - // Measured: `142` - // Estimated: `1627` - // Minimum execution time: 7_869_000 picoseconds. - Weight::from_parts(8_072_000, 1627) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + + fn enqueue_xcmp_message() -> Weight { + todo!() } - /// Storage: `XcmpQueue::QueueConfig` (r:1 w:0) - /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `XcmpQueue::QueueSuspended` (r:1 w:0) - /// Proof: `XcmpQueue::QueueSuspended` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `XcmpQueue::DeferredQueueSuspended` (r:1 w:0) - /// Proof: `XcmpQueue::DeferredQueueSuspended` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `XcmpQueue::DeferredIndices` (r:1 w:1) - /// Proof: `XcmpQueue::DeferredIndices` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `XcmpQueue::DeferredMessageBuckets` (r:3 w:3) - /// Proof: `XcmpQueue::DeferredMessageBuckets` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `XcmpQueue::CounterForOverweight` (r:1 w:1) - /// Proof: `XcmpQueue::CounterForOverweight` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) - /// Storage: `XcmpQueue::OverweightCount` (r:1 w:1) - /// Proof: `XcmpQueue::OverweightCount` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `XcmpQueue::Overweight` (r:60 w:60) - /// Proof: `XcmpQueue::Overweight` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// The range of component `b` is `[1, 3]`. - fn service_deferred(b: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `6275 + b * (324357 ±0)` - // Estimated: `9740 + b * (373857 ±0)` - // Minimum execution time: 33_398_415_000 picoseconds. - Weight::from_parts(57_262_807, 9740) - // Standard Error: 7_265_843 - .saturating_add(Weight::from_parts(33_588_589_234, 0).saturating_mul(b.into())) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().reads((21_u64).saturating_mul(b.into()))) - .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(T::DbWeight::get().writes((21_u64).saturating_mul(b.into()))) - .saturating_add(Weight::from_parts(0, 373857).saturating_mul(b.into())) + + fn suspend_channel() -> Weight { + todo!() } - /// Storage: `XcmpQueue::DeferredMessageBuckets` (r:1 w:1) - /// Proof: `XcmpQueue::DeferredMessageBuckets` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// The range of component `m` is `[1, 20]`. - fn discard_deferred_bucket(m: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `252 + m * (16216 ±0)` - // Estimated: `3716 + m * (16216 ±0)` - // Minimum execution time: 1_285_382_000 picoseconds. - Weight::from_parts(242_447_351, 3716) - // Standard Error: 426_683 - .saturating_add(Weight::from_parts(1_106_936_264, 0).saturating_mul(m.into())) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) - .saturating_add(Weight::from_parts(0, 16216).saturating_mul(m.into())) + + fn resume_channel() -> Weight { + todo!() } - /// Storage: `XcmpQueue::DeferredMessageBuckets` (r:1 w:1) - /// Proof: `XcmpQueue::DeferredMessageBuckets` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// The range of component `m` is `[1, 20]`. - fn discard_deferred_individual(m: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `252 + m * (16216 ±0)` - // Estimated: `3716 + m * (16216 ±0)` - // Minimum execution time: 1_351_709_000 picoseconds. - Weight::from_parts(116_677_544, 3716) - // Standard Error: 375_367 - .saturating_add(Weight::from_parts(1_225_618_925, 0).saturating_mul(m.into())) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) - .saturating_add(Weight::from_parts(0, 16216).saturating_mul(m.into())) + + fn take_first_concatenated_xcm() -> Weight { + todo!() } - /// Storage: `XcmpQueue::DeferredIndices` (r:1 w:1) - /// Proof: `XcmpQueue::DeferredIndices` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `XcmpQueue::DeferredMessageBuckets` (r:1 w:1) - /// Proof: `XcmpQueue::DeferredMessageBuckets` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// The range of component `m` is `[1, 20]`. - fn try_place_in_deferred_queue(m: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `0 + m * (16216 ±0)` - // Estimated: `9724 + m * (15020 ±55)` - // Minimum execution time: 107_020_000 picoseconds. - Weight::from_parts(128_836_899, 9724) - // Standard Error: 222_629 - .saturating_add(Weight::from_parts(6_772_210, 0).saturating_mul(m.into())) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) - .saturating_add(Weight::from_parts(0, 15020).saturating_mul(m.into())) + + fn on_idle_good_msg() -> Weight { + todo!() + } + + fn on_idle_large_msg() -> Weight { + todo!() } } \ No newline at end of file From 3d2106aacb9a392a2eb925e34f93d1176e2fa850 Mon Sep 17 00:00:00 2001 From: Martin Date: Thu, 11 Apr 2024 15:54:55 +0200 Subject: [PATCH 011/105] xcm v4 support --- runtime/hydradx/src/evm/evm_fee.rs | 6 +++--- runtime/hydradx/src/xcm.rs | 3 +-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/runtime/hydradx/src/evm/evm_fee.rs b/runtime/hydradx/src/evm/evm_fee.rs index 3db6c3f91..59eff6a6c 100644 --- a/runtime/hydradx/src/evm/evm_fee.rs +++ b/runtime/hydradx/src/evm/evm_fee.rs @@ -134,7 +134,7 @@ where corrected_fee: U256, _base_fee: U256, already_withdrawn: Self::LiquidityInfo, - ) -> Self::LiquidityInfo { + ) -> Result> { if let Some(paid) = already_withdrawn { let account_id = T::AddressMapping::into_account_id(*who); @@ -177,9 +177,9 @@ where asset_id: paid.asset_id, price: paid.price, }); - return None; + return Ok(None); } - None + Ok(None) } fn pay_priority_fee(tip: Self::LiquidityInfo) { diff --git a/runtime/hydradx/src/xcm.rs b/runtime/hydradx/src/xcm.rs index de3d89956..872748171 100644 --- a/runtime/hydradx/src/xcm.rs +++ b/runtime/hydradx/src/xcm.rs @@ -25,8 +25,7 @@ use pallet_evm::AddressMapping; use pallet_xcm::XcmPassthrough; use parachains_common::message_queue::{NarrowOriginToSibling, ParaIdToSibling}; use polkadot_parachain::primitives::{RelayChainBlockNumber, Sibling}; -use polkadot_xcm::v3::{prelude::*, Weight as XcmWeight}; -use polkadot_xcm::v4::{Asset, InteriorLocation}; +use polkadot_xcm::v4::{prelude::*, Asset, InteriorLocation, Weight as XcmWeight}; use primitives::Price; use scale_info::TypeInfo; use sp_runtime::Perbill; From 9fd0fceb49ad722ff5cbf104de55fc0ee0711533 Mon Sep 17 00:00:00 2001 From: Martin Date: Fri, 12 Apr 2024 10:12:02 +0200 Subject: [PATCH 012/105] xcm and evm locations --- Cargo.lock | 88 ++++++++++++++----------------- Cargo.toml | 12 +++++ runtime/hydradx/Cargo.toml | 2 + runtime/hydradx/src/evm/mod.rs | 3 +- runtime/hydradx/src/evm/runner.rs | 2 +- runtime/hydradx/src/xcm.rs | 59 +++++++++++++++++---- 6 files changed, 105 insertions(+), 61 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index bfb1485ce..c983a25ae 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -751,9 +751,9 @@ checksum = "fbb36e985947064623dbd357f727af08ffd077f93d696782f3c56365fa2e2799" [[package]] name = "async-trait" -version = "0.1.79" +version = "0.1.80" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a507401cad91ec6a857ed5513a2073c82a9b9048762b885bb98655b306964681" +checksum = "c6fa2087f2753a7da8cc1c0dbfcf89579dd57458e36769de5ac750b4671737ca" dependencies = [ "proc-macro2", "quote", @@ -2108,7 +2108,7 @@ dependencies = [ "sc-client-api", "scale-info", "sp-api", - "sp-crypto-hashing 0.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-crypto-hashing", "sp-inherents", "sp-runtime", "sp-state-machine", @@ -3970,7 +3970,7 @@ dependencies = [ "parity-scale-codec", "serde", "sp-core", - "sp-crypto-hashing 0.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-crypto-hashing", "sp-io", "sp-runtime", "sp-state-machine", @@ -4036,7 +4036,7 @@ dependencies = [ "proc-macro-warning", "proc-macro2", "quote", - "sp-crypto-hashing 0.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-crypto-hashing", "syn 2.0.58", ] @@ -5336,9 +5336,9 @@ checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b" [[package]] name = "jobserver" -version = "0.1.28" +version = "0.1.29" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab46a6e9526ddef3ae7f787c06f0f2600639ba80ea3eade3d8e670a2230f51d6" +checksum = "f08474e32172238f2827bd160c67871cdb2801430f65c3979184dc362e3ca118" dependencies = [ "libc", ] @@ -9952,7 +9952,7 @@ dependencies = [ "sc-network-common", "sp-application-crypto", "sp-core", - "sp-crypto-hashing 0.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-crypto-hashing", "sp-keystore", "tracing-gum", ] @@ -10278,7 +10278,7 @@ dependencies = [ "sc-executor-wasmtime", "seccompiler", "sp-core", - "sp-crypto-hashing 0.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-crypto-hashing", "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-io", "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", @@ -12251,7 +12251,7 @@ dependencies = [ "serde_json", "sp-blockchain", "sp-core", - "sp-crypto-hashing 0.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-crypto-hashing", "sp-genesis-builder", "sp-io", "sp-runtime", @@ -12445,7 +12445,7 @@ dependencies = [ "sp-consensus-babe", "sp-consensus-slots", "sp-core", - "sp-crypto-hashing 0.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-crypto-hashing", "sp-inherents", "sp-keystore", "sp-runtime", @@ -12501,7 +12501,7 @@ dependencies = [ "sp-consensus", "sp-consensus-beefy", "sp-core", - "sp-crypto-hashing 0.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-crypto-hashing", "sp-keystore", "sp-mmr-primitives", "sp-runtime", @@ -12579,7 +12579,7 @@ dependencies = [ "sp-consensus", "sp-consensus-grandpa", "sp-core", - "sp-crypto-hashing 0.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-crypto-hashing", "sp-keystore", "sp-runtime", "substrate-prometheus-endpoint", @@ -13178,7 +13178,7 @@ dependencies = [ "serde", "serde_json", "sp-core", - "sp-crypto-hashing 0.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-crypto-hashing", "sp-io", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] @@ -13262,7 +13262,7 @@ dependencies = [ "sp-api", "sp-blockchain", "sp-core", - "sp-crypto-hashing 0.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-crypto-hashing", "sp-runtime", "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-transaction-pool", @@ -14080,7 +14080,7 @@ dependencies = [ "sp-api", "sp-application-crypto", "sp-core", - "sp-crypto-hashing 0.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-crypto-hashing", "sp-io", "sp-mmr-primitives", "sp-runtime", @@ -14150,7 +14150,7 @@ dependencies = [ "secp256k1", "secrecy", "serde", - "sp-crypto-hashing 0.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-crypto-hashing", "sp-debug-derive 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", @@ -14167,15 +14167,15 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "15.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "sp-crypto-hashing 0.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2)", + "sp-crypto-hashing", ] [[package]] name = "sp-crypto-ec-utils" version = "0.10.0" -source = "git+https://github.com/paritytech/polkadot-sdk#69cc7f2090e169e736d9c998c29467040521881d" +source = "git+https://github.com/paritytech/polkadot-sdk#39b1f50f1c251def87c1625d68567ed252dc6272" dependencies = [ "ark-bls12-377", "ark-bls12-377-ext", @@ -14192,19 +14192,6 @@ dependencies = [ "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk)", ] -[[package]] -name = "sp-crypto-hashing" -version = "0.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" -dependencies = [ - "blake2b_simd", - "byteorder", - "digest 0.10.7", - "sha2 0.10.8", - "sha3", - "twox-hash", -] - [[package]] name = "sp-crypto-hashing" version = "0.0.0" @@ -14224,7 +14211,7 @@ version = "0.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "quote", - "sp-crypto-hashing 0.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-crypto-hashing", "syn 2.0.58", ] @@ -14250,7 +14237,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#69cc7f2090e169e736d9c998c29467040521881d" +source = "git+https://github.com/paritytech/polkadot-sdk#39b1f50f1c251def87c1625d68567ed252dc6272" dependencies = [ "proc-macro2", "quote", @@ -14271,7 +14258,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.25.0" -source = "git+https://github.com/paritytech/polkadot-sdk#69cc7f2090e169e736d9c998c29467040521881d" +source = "git+https://github.com/paritytech/polkadot-sdk#39b1f50f1c251def87c1625d68567ed252dc6272" dependencies = [ "environmental", "parity-scale-codec", @@ -14316,7 +14303,7 @@ dependencies = [ "rustversion", "secp256k1", "sp-core", - "sp-crypto-hashing 0.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-crypto-hashing", "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-keystore", "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", @@ -14489,7 +14476,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "24.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#69cc7f2090e169e736d9c998c29467040521881d" +source = "git+https://github.com/paritytech/polkadot-sdk#39b1f50f1c251def87c1625d68567ed252dc6272" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -14521,7 +14508,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#69cc7f2090e169e736d9c998c29467040521881d" +source = "git+https://github.com/paritytech/polkadot-sdk#39b1f50f1c251def87c1625d68567ed252dc6272" dependencies = [ "Inflector", "expander 2.1.0", @@ -14597,7 +14584,7 @@ dependencies = [ "sp-api", "sp-application-crypto", "sp-core", - "sp-crypto-hashing 0.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-crypto-hashing", "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-runtime", "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", @@ -14614,7 +14601,7 @@ source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot [[package]] name = "sp-std" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#69cc7f2090e169e736d9c998c29467040521881d" +source = "git+https://github.com/paritytech/polkadot-sdk#39b1f50f1c251def87c1625d68567ed252dc6272" [[package]] name = "sp-storage" @@ -14632,7 +14619,7 @@ dependencies = [ [[package]] name = "sp-storage" version = "19.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#69cc7f2090e169e736d9c998c29467040521881d" +source = "git+https://github.com/paritytech/polkadot-sdk#39b1f50f1c251def87c1625d68567ed252dc6272" dependencies = [ "impl-serde", "parity-scale-codec", @@ -14669,7 +14656,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "16.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#69cc7f2090e169e736d9c998c29467040521881d" +source = "git+https://github.com/paritytech/polkadot-sdk#39b1f50f1c251def87c1625d68567ed252dc6272" dependencies = [ "parity-scale-codec", "tracing", @@ -14769,7 +14756,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "20.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#69cc7f2090e169e736d9c998c29467040521881d" +source = "git+https://github.com/paritytech/polkadot-sdk#39b1f50f1c251def87c1625d68567ed252dc6272" dependencies = [ "impl-trait-for-tuples", "log", @@ -15650,7 +15637,7 @@ dependencies = [ "serde", "serde_spanned", "toml_datetime", - "winnow 0.6.5", + "winnow 0.6.6", ] [[package]] @@ -17022,9 +17009,9 @@ dependencies = [ [[package]] name = "winnow" -version = "0.6.5" +version = "0.6.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dffa400e67ed5a4dd237983829e66475f0a4a26938c4b04c21baede6262215b8" +checksum = "f0c976aaaa0e1f90dbb21e9587cdaf1d9679a1cde8875c0d6bd83ab96a208352" dependencies = [ "memchr", ] @@ -17114,7 +17101,7 @@ dependencies = [ "polkadot-runtime-parachains", "sp-arithmetic", "sp-core", - "sp-crypto-hashing 0.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-crypto-hashing", "sp-io", "sp-runtime", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", @@ -17255,3 +17242,8 @@ dependencies = [ name = "orml-currencies" version = "0.8.0" source = "git+https://github.com/galacticcouncil/open-runtime-module-library?branch=polkadot-v1.7.2#c1fbd5a34168830e3614a1cd4724135e7a3c1236" + +[[patch.unused]] +name = "sp-crypto-ec-utils" +version = "0.10.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" diff --git a/Cargo.toml b/Cargo.toml index ca8c5612c..8c37d47aa 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -130,6 +130,8 @@ sp-offchain = { git = "https://github.com/paritytech/polkadot-sdk", branch = "re sc-offchain = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } sp-rpc = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +sp-runtime-interface = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +sp-runtime-interface-proc-macro = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } sp-session = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } sp-staking = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } sp-std = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } @@ -141,6 +143,12 @@ sp-transaction-pool = { git = "https://github.com/paritytech/polkadot-sdk", bran sp-trie = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } sp-version = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } sp-weights = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +sp-crypto-hashing= { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +sp-crypto-ec-utils= { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +sp-core-hashing = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +sp-wasm-interface= { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } + + sc-basic-authorship = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } sc-chain-spec = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } sc-cli = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } @@ -371,6 +379,10 @@ sc-transaction-pool-api = { git = "https://github.com/paritytech/polkadot-sdk", sc-sysinfo = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } sc-utils = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } sp-state-machine = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +sp-weights = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2"} +sp-crypto-hashing= { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2"} +sp-crypto-ec-utils= { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2"} +sp-core-hashing = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2"} # Substrate Pallets pallet-aura = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } diff --git a/runtime/hydradx/Cargo.toml b/runtime/hydradx/Cargo.toml index 1eba7976a..da692d2a7 100644 --- a/runtime/hydradx/Cargo.toml +++ b/runtime/hydradx/Cargo.toml @@ -115,6 +115,7 @@ pallet-xcm = { workspace = true } polkadot-xcm = { workspace = true } xcm-executor = { workspace = true } xcm-builder = { workspace = true } +#polkadot-runtime-common= { workspace = true } # Substrate dependencies frame-benchmarking = { workspace = true, optional = true } @@ -309,6 +310,7 @@ std = [ "pallet-evm-accounts-rpc-runtime-api/std", "pallet-xyk-liquidity-mining/std", "parachains-common/std", + #"polkadot-runtime-common/std", ] try-runtime= [ "frame-try-runtime", diff --git a/runtime/hydradx/src/evm/mod.rs b/runtime/hydradx/src/evm/mod.rs index 9c91a51a0..40625fece 100644 --- a/runtime/hydradx/src/evm/mod.rs +++ b/runtime/hydradx/src/evm/mod.rs @@ -76,13 +76,14 @@ parameter_types! { const MOONBEAM_PARA_ID: u32 = 2004; pub const WETH_ASSET_LOCATION: AssetLocation = AssetLocation(Location { parents: 1, - interior: Junctions::X3( + interior: [ Parachain(MOONBEAM_PARA_ID), PalletInstance(110), AccountKey20 { network: None, key: hex!["ab3f0245b83feb11d15aaffefd7ad465a59817ed"], }, + ].into( ), }); diff --git a/runtime/hydradx/src/evm/runner.rs b/runtime/hydradx/src/evm/runner.rs index 037a11e07..02f5a5a48 100644 --- a/runtime/hydradx/src/evm/runner.rs +++ b/runtime/hydradx/src/evm/runner.rs @@ -24,7 +24,7 @@ //! //! Shamelessly copied from pallet-evm and modified to support multi-currency fees. use crate::evm::WethAssetId; -use fp_evm::{Account}; +use fp_evm::Account; use frame_support::traits::Get; use hydradx_traits::AccountFeeCurrencyBalanceInCurrency; use pallet_evm::runner::Runner; diff --git a/runtime/hydradx/src/xcm.rs b/runtime/hydradx/src/xcm.rs index 872748171..53e2934aa 100644 --- a/runtime/hydradx/src/xcm.rs +++ b/runtime/hydradx/src/xcm.rs @@ -63,7 +63,7 @@ parameter_types! { } parameter_types! { - pub SelfLocation: Location = Location::new(1, X1(Parachain(ParachainInfo::get().into()))); + pub SelfLocation: Location = Location::here(); } parameter_types! { @@ -105,7 +105,7 @@ parameter_types! { pub const MaxXcmDepth: u16 = 5; pub const MaxNumberOfInstructions: u16 = 100; - pub UniversalLocation: InteriorLocation = X2(GlobalConsensus(RelayNetwork::get()), Parachain(ParachainInfo::parachain_id().into())); + pub UniversalLocation: InteriorLocation = [GlobalConsensus(RelayNetwork::get()), Parachain(ParachainInfo::parachain_id().into())].into(); } pub struct XcmConfig; @@ -170,7 +170,7 @@ impl cumulus_pallet_xcmp_queue::Config for Runtime { type VersionWrapper = PolkadotXcm; type ControllerOrigin = MoreThanHalfTechCommittee; type ControllerOriginConverter = XcmOriginToCallOrigin; - type PriceForSiblingDelivery = (); + type PriceForSiblingDelivery = polkadot_runtime_common::xcm_sender::NoPriceForMessageDelivery; type WeightInfo = weights::xcmp_queue::HydraWeight; type XcmpQueue = TransformOrigin; type MaxInboundSuspended = MaxInboundSuspended; @@ -308,7 +308,7 @@ impl Convert> for CurrencyIdConvert { match id { CORE_ASSET_ID => Some(Location::new( 1, - X2(Parachain(ParachainInfo::get().into()), GeneralIndex(id.into())), + [Parachain(ParachainInfo::get().into()), GeneralIndex(id.into())].into(), )), _ => AssetRegistry::asset_to_location(id).map(|loc| loc.0), } @@ -317,22 +317,41 @@ impl Convert> for CurrencyIdConvert { impl Convert> for CurrencyIdConvert { fn convert(location: Location) -> Option { + let Location { parents, interior } = location.clone(); + + match interior { + Junctions::X2(a) if parents == 1 && + a.contains(&GeneralIndex(CORE_ASSET_ID.into())) && + a.contains(&Parachain(ParachainInfo::get().into())) + => { + Some(CORE_ASSET_ID) + }, + Junctions::X1(a) if parents == 0 && a.contains(&GeneralIndex(CORE_ASSET_ID.into())) => { + Some(CORE_ASSET_ID) + }, + _ => AssetRegistry::location_to_asset(AssetLocation(location)), + } + + // Note: keeping the original code for reference until tests are successful + /* match location { Location { - parents, - interior: X2(Parachain(id), GeneralIndex(index)), - } if parents == 1 && ParaId::from(id) == ParachainInfo::get() && (index as u32) == CORE_ASSET_ID => { + parents: p, + interior: [Parachain(id), GeneralIndex(index)].into(), + } if p == 1 && ParaId::from(id) == ParachainInfo::get() && (index as u32) == CORE_ASSET_ID => { // Handling native asset for this parachain Some(CORE_ASSET_ID) } // handle reanchor canonical location: https://github.com/paritytech/polkadot/pull/4470 Location { parents: 0, - interior: X1(GeneralIndex(index)), + interior: [GeneralIndex(index)].into(), } if (index as u32) == CORE_ASSET_ID => Some(CORE_ASSET_ID), // delegate to asset-registry _ => AssetRegistry::location_to_asset(AssetLocation(location)), } + + */ } } @@ -349,10 +368,10 @@ impl Convert> for CurrencyIdConvert { pub struct AccountIdToMultiLocation; impl Convert for AccountIdToMultiLocation { fn convert(account: AccountId) -> Location { - X1(AccountId32 { + [AccountId32 { network: None, id: account.into(), - }) + }] .into() } } @@ -387,16 +406,34 @@ use xcm_executor::traits::ConvertLocation; pub struct EvmAddressConversion(PhantomData); impl>> ConvertLocation for EvmAddressConversion { fn convert_location(location: &Location) -> Option { + let Location { parents, interior } = location; + match interior{ + Junctions::X1(a) if *parents == 0 => { + let j = a.as_ref()[0]; + match j { + AccountKey20 {network: _, key} => { + let account_32 = ExtendedAddressMapping::into_account_id(H160::from(key)); + Some(account_32) + }, + _ => None + + } + }, + _ => None + } + // Note: keeping the original code for reference until tests are successful + /* match location { Location { parents: 0, - interior: X1(AccountKey20 { network: _, key }), + interior: (AccountKey20 { network: _, key }) } => { let account_32 = ExtendedAddressMapping::into_account_id(H160::from(key)); Some(account_32) } _ => None, } + */ } } From 1f364584df2b228343f9f6ff327b0c67ebf09ecb Mon Sep 17 00:00:00 2001 From: Martin Date: Fri, 12 Apr 2024 10:59:32 +0200 Subject: [PATCH 013/105] evm and xcm changes --- Cargo.lock | 10 +++--- runtime/adapters/src/xcm_execute_filter.rs | 8 ++--- runtime/hydradx/src/evm/mod.rs | 4 +-- runtime/hydradx/src/evm/runner.rs | 4 +-- runtime/hydradx/src/governance.rs | 5 +++ runtime/hydradx/src/lib.rs | 1 + runtime/hydradx/src/system.rs | 2 +- runtime/hydradx/src/xcm.rs | 40 ++++++++++------------ 8 files changed, 39 insertions(+), 35 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c983a25ae..794be01f7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -17238,12 +17238,12 @@ dependencies = [ "pkg-config", ] -[[patch.unused]] -name = "orml-currencies" -version = "0.8.0" -source = "git+https://github.com/galacticcouncil/open-runtime-module-library?branch=polkadot-v1.7.2#c1fbd5a34168830e3614a1cd4724135e7a3c1236" - [[patch.unused]] name = "sp-crypto-ec-utils" version = "0.10.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" + +[[patch.unused]] +name = "orml-currencies" +version = "0.8.0" +source = "git+https://github.com/galacticcouncil/open-runtime-module-library?branch=polkadot-v1.7.2#c1fbd5a34168830e3614a1cd4724135e7a3c1236" diff --git a/runtime/adapters/src/xcm_execute_filter.rs b/runtime/adapters/src/xcm_execute_filter.rs index 24a010350..36d66d7a1 100644 --- a/runtime/adapters/src/xcm_execute_filter.rs +++ b/runtime/adapters/src/xcm_execute_filter.rs @@ -2,7 +2,7 @@ use sp_std::cell::Cell; use sp_std::marker::PhantomData; use frame_support::traits::Contains; -use polkadot_xcm::v3::prelude::*; +use polkadot_xcm::v4::prelude::*; use sp_core::Get; use sp_runtime::Either; @@ -12,15 +12,15 @@ pub struct AllowTransferAndSwap( PhantomData<(MaxXcmDepth, MaxInstructions, RuntimeCall)>, ); -impl Contains<(MultiLocation, Xcm)> +impl Contains<(Location, Xcm)> for AllowTransferAndSwap where MaxXcmDepth: Get, MaxInstructions: Get, { - fn contains((loc, xcm): &(MultiLocation, Xcm)) -> bool { + fn contains((loc, xcm): &(Location, Xcm)) -> bool { // allow root to execute XCM - if loc == &MultiLocation::here() { + if loc == &Location::here() { return true; } diff --git a/runtime/hydradx/src/evm/mod.rs b/runtime/hydradx/src/evm/mod.rs index 40625fece..0570adee2 100644 --- a/runtime/hydradx/src/evm/mod.rs +++ b/runtime/hydradx/src/evm/mod.rs @@ -83,8 +83,8 @@ pub const WETH_ASSET_LOCATION: AssetLocation = AssetLocation(Location { network: None, key: hex!["ab3f0245b83feb11d15aaffefd7ad465a59817ed"], }, - ].into( - ), + ] + .into(), }); pub struct WethAssetId; diff --git a/runtime/hydradx/src/evm/runner.rs b/runtime/hydradx/src/evm/runner.rs index 02f5a5a48..d2ab5a951 100644 --- a/runtime/hydradx/src/evm/runner.rs +++ b/runtime/hydradx/src/evm/runner.rs @@ -24,7 +24,7 @@ //! //! Shamelessly copied from pallet-evm and modified to support multi-currency fees. use crate::evm::WethAssetId; -use fp_evm::Account; +use fp_evm::{Account, TransactionValidationError}; use frame_support::traits::Get; use hydradx_traits::AccountFeeCurrencyBalanceInCurrency; use pallet_evm::runner::Runner; @@ -41,7 +41,7 @@ impl Runner for WrapRunner where T: Config, R: Runner, - //>::Error: core::convert::From, + >::Error: core::convert::From, B: AccountFeeCurrencyBalanceInCurrency, { type Error = R::Error; diff --git a/runtime/hydradx/src/governance.rs b/runtime/hydradx/src/governance.rs index 7f99c27a0..d48dc60c1 100644 --- a/runtime/hydradx/src/governance.rs +++ b/runtime/hydradx/src/governance.rs @@ -85,12 +85,17 @@ impl pallet_preimage::Config for Runtime { type WeightInfo = weights::preimage::HydraWeight; type Currency = Balances; type ManagerOrigin = EnsureRoot; + type Consideration = (); + //TODO: check this - this does not compile for some reason + /* type Consideration = HoldConsideration< AccountId, Balances, PreimageHoldReason, LinearStoragePrice, >; + + */ } /// Used the compare the privilege of an origin inside the scheduler. diff --git a/runtime/hydradx/src/lib.rs b/runtime/hydradx/src/lib.rs index 7b8e174c0..50caf1780 100644 --- a/runtime/hydradx/src/lib.rs +++ b/runtime/hydradx/src/lib.rs @@ -64,6 +64,7 @@ use sp_std::prelude::*; use sp_version::NativeVersion; use sp_version::RuntimeVersion; // A few exports that help ease life for downstream crates. +use frame_support::pallet_prelude::Hooks; use frame_support::{construct_runtime, weights::Weight}; pub use hex_literal::hex; /// Import HydraDX pallets diff --git a/runtime/hydradx/src/system.rs b/runtime/hydradx/src/system.rs index 8970371e6..791f5793a 100644 --- a/runtime/hydradx/src/system.rs +++ b/runtime/hydradx/src/system.rs @@ -77,7 +77,7 @@ impl Contains for CallFilter { } } // filter transfers of HDX to the omnipool account - if let RuntimeCall::Balances(pallet_balances::Call::transfer { dest, .. }) + if let RuntimeCall::Balances(pallet_balances::Call::transfer_allow_death { dest, .. }) | RuntimeCall::Balances(pallet_balances::Call::transfer_keep_alive { dest, .. }) | RuntimeCall::Balances(pallet_balances::Call::transfer_all { dest, .. }) | RuntimeCall::Currencies(pallet_currencies::Call::transfer_native_currency { dest, .. }) = call diff --git a/runtime/hydradx/src/xcm.rs b/runtime/hydradx/src/xcm.rs index 53e2934aa..8b67e88a3 100644 --- a/runtime/hydradx/src/xcm.rs +++ b/runtime/hydradx/src/xcm.rs @@ -170,7 +170,7 @@ impl cumulus_pallet_xcmp_queue::Config for Runtime { type VersionWrapper = PolkadotXcm; type ControllerOrigin = MoreThanHalfTechCommittee; type ControllerOriginConverter = XcmOriginToCallOrigin; - type PriceForSiblingDelivery = polkadot_runtime_common::xcm_sender::NoPriceForMessageDelivery; + type PriceForSiblingDelivery = polkadot_runtime_common::xcm_sender::NoPriceForMessageDelivery; type WeightInfo = weights::xcmp_queue::HydraWeight; type XcmpQueue = TransformOrigin; type MaxInboundSuspended = MaxInboundSuspended; @@ -306,10 +306,10 @@ use primitives::constants::chain::CORE_ASSET_ID; impl Convert> for CurrencyIdConvert { fn convert(id: AssetId) -> Option { match id { - CORE_ASSET_ID => Some(Location::new( - 1, - [Parachain(ParachainInfo::get().into()), GeneralIndex(id.into())].into(), - )), + CORE_ASSET_ID => Some(Location { + parents: 1, + interior: [Parachain(ParachainInfo::get().into()), GeneralIndex(id.into())].into(), + }), _ => AssetRegistry::asset_to_location(id).map(|loc| loc.0), } } @@ -320,15 +320,14 @@ impl Convert> for CurrencyIdConvert { let Location { parents, interior } = location.clone(); match interior { - Junctions::X2(a) if parents == 1 && - a.contains(&GeneralIndex(CORE_ASSET_ID.into())) && - a.contains(&Parachain(ParachainInfo::get().into())) - => { + Junctions::X2(a) + if parents == 1 + && a.contains(&GeneralIndex(CORE_ASSET_ID.into())) + && a.contains(&Parachain(ParachainInfo::get().into())) => + { Some(CORE_ASSET_ID) - }, - Junctions::X1(a) if parents == 0 && a.contains(&GeneralIndex(CORE_ASSET_ID.into())) => { - Some(CORE_ASSET_ID) - }, + } + Junctions::X1(a) if parents == 0 && a.contains(&GeneralIndex(CORE_ASSET_ID.into())) => Some(CORE_ASSET_ID), _ => AssetRegistry::location_to_asset(AssetLocation(location)), } @@ -407,19 +406,18 @@ pub struct EvmAddressConversion(PhantomData); impl>> ConvertLocation for EvmAddressConversion { fn convert_location(location: &Location) -> Option { let Location { parents, interior } = location; - match interior{ - Junctions::X1(a) if *parents == 0 => { + match interior { + Junctions::X1(a) if *parents == 0 => { let j = a.as_ref()[0]; match j { - AccountKey20 {network: _, key} => { + AccountKey20 { network: _, key } => { let account_32 = ExtendedAddressMapping::into_account_id(H160::from(key)); Some(account_32) - }, - _ => None - + } + _ => None, } - }, - _ => None + } + _ => None, } // Note: keeping the original code for reference until tests are successful /* From a85d807a711458685a49eb85439b92e1761e13f4 Mon Sep 17 00:00:00 2001 From: Martin Date: Fri, 12 Apr 2024 11:00:41 +0200 Subject: [PATCH 014/105] add runtime-common --- Cargo.lock | 11 ++++++----- runtime/hydradx/Cargo.toml | 4 ++-- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 794be01f7..abbecaa9d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4963,6 +4963,7 @@ dependencies = [ "parachains-common", "parity-scale-codec", "polkadot-parachain-primitives", + "polkadot-runtime-common", "primitive-types", "primitives", "scale-info", @@ -17238,12 +17239,12 @@ dependencies = [ "pkg-config", ] -[[patch.unused]] -name = "sp-crypto-ec-utils" -version = "0.10.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" - [[patch.unused]] name = "orml-currencies" version = "0.8.0" source = "git+https://github.com/galacticcouncil/open-runtime-module-library?branch=polkadot-v1.7.2#c1fbd5a34168830e3614a1cd4724135e7a3c1236" + +[[patch.unused]] +name = "sp-crypto-ec-utils" +version = "0.10.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" diff --git a/runtime/hydradx/Cargo.toml b/runtime/hydradx/Cargo.toml index da692d2a7..dc6b7365f 100644 --- a/runtime/hydradx/Cargo.toml +++ b/runtime/hydradx/Cargo.toml @@ -115,7 +115,7 @@ pallet-xcm = { workspace = true } polkadot-xcm = { workspace = true } xcm-executor = { workspace = true } xcm-builder = { workspace = true } -#polkadot-runtime-common= { workspace = true } +polkadot-runtime-common= { workspace = true } # Substrate dependencies frame-benchmarking = { workspace = true, optional = true } @@ -310,7 +310,7 @@ std = [ "pallet-evm-accounts-rpc-runtime-api/std", "pallet-xyk-liquidity-mining/std", "parachains-common/std", - #"polkadot-runtime-common/std", + "polkadot-runtime-common/std", ] try-runtime= [ "frame-try-runtime", From 16e984224084fd916c3d31653ad15aa5961c35c6 Mon Sep 17 00:00:00 2001 From: Martin Date: Fri, 12 Apr 2024 11:16:17 +0200 Subject: [PATCH 015/105] fix runtime build --- Cargo.toml | 2 +- runtime/hydradx/src/evm/mod.rs | 28 +++++++++++++++------------- runtime/hydradx/src/xcm.rs | 2 +- 3 files changed, 17 insertions(+), 15 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 8c37d47aa..15bb0035c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -291,7 +291,7 @@ polkadot-node-primitives = { git = "https://github.com/paritytech/polkadot-sdk", polkadot-node-subsystem = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } polkadot-node-subsystem-util = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } polkadot-overseer = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } -polkadot-runtime-common = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +polkadot-runtime-common = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" , default-features = false} polkadot-statement-table = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } rococo-runtime = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } westend-runtime = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } diff --git a/runtime/hydradx/src/evm/mod.rs b/runtime/hydradx/src/evm/mod.rs index 0570adee2..788e755ed 100644 --- a/runtime/hydradx/src/evm/mod.rs +++ b/runtime/hydradx/src/evm/mod.rs @@ -74,18 +74,20 @@ parameter_types! { } const MOONBEAM_PARA_ID: u32 = 2004; -pub const WETH_ASSET_LOCATION: AssetLocation = AssetLocation(Location { - parents: 1, - interior: [ - Parachain(MOONBEAM_PARA_ID), - PalletInstance(110), - AccountKey20 { - network: None, - key: hex!["ab3f0245b83feb11d15aaffefd7ad465a59817ed"], - }, - ] - .into(), -}); +parameter_types! { + pub WETH_ASSET_LOCATION: AssetLocation = AssetLocation(Location { + parents: 1, + interior: [ + Parachain(MOONBEAM_PARA_ID), + PalletInstance(110), + AccountKey20 { + network: None, + key: hex!["ab3f0245b83feb11d15aaffefd7ad465a59817ed"], + }, + ] + .into(), + }); +} pub struct WethAssetId; impl Get for WethAssetId { @@ -93,7 +95,7 @@ impl Get for WethAssetId { let invalid_id = pallet_asset_registry::Pallet::::next_asset_id().defensive_unwrap_or(AssetId::MAX); - match pallet_asset_registry::Pallet::::location_to_asset(WETH_ASSET_LOCATION) { + match pallet_asset_registry::Pallet::::location_to_asset(WETH_ASSET_LOCATION::get()) { Some(asset_id) => asset_id, None => invalid_id, } diff --git a/runtime/hydradx/src/xcm.rs b/runtime/hydradx/src/xcm.rs index 8b67e88a3..410f4ac2e 100644 --- a/runtime/hydradx/src/xcm.rs +++ b/runtime/hydradx/src/xcm.rs @@ -269,7 +269,7 @@ parameter_types! { pub DeferDuration: RelayChainBlockNumber = 600 * 36; // 36 hours pub MaxDeferDuration: RelayChainBlockNumber = 600 * 24 * 10; // 10 days - pub const MessageQueueServiceWeight: Weight = Perbill::from_percent(25) * BlockWeights::get().max_block; + pub MessageQueueServiceWeight: Weight = Perbill::from_percent(25) * BlockWeights::get().max_block; pub const MessageQueueMaxStale: u32 = 8; pub const MessageQueueHeapSize: u32 = 128 * 1048; } From 70e915282d821b6eeaa98a204b1a84513b7ba064 Mon Sep 17 00:00:00 2001 From: Martin Date: Fri, 12 Apr 2024 12:48:55 +0200 Subject: [PATCH 016/105] node ugrade --- Cargo.lock | 102 +++------------------------------ node/Cargo.toml | 2 +- node/src/chain_spec/local.rs | 1 + node/src/chain_spec/mod.rs | 1 - node/src/chain_spec/rococo.rs | 1 + node/src/chain_spec/staging.rs | 1 + node/src/rpc.rs | 38 +++++++++++- node/src/service.rs | 4 ++ 8 files changed, 51 insertions(+), 99 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index abbecaa9d..098418af9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4758,7 +4758,7 @@ dependencies = [ "hex-literal 0.3.4", "hydra-dx-build-script-utils", "hydradx-runtime", - "jsonrpsee 0.16.3", + "jsonrpsee 0.20.3", "log", "pallet-transaction-payment-rpc", "pallet-transaction-payment-rpc-runtime-api", @@ -5367,19 +5367,6 @@ dependencies = [ "tracing", ] -[[package]] -name = "jsonrpsee" -version = "0.16.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "367a292944c07385839818bb71c8d76611138e2dedb0677d035b8da21d29c78b" -dependencies = [ - "jsonrpsee-core 0.16.3", - "jsonrpsee-proc-macros 0.16.3", - "jsonrpsee-server 0.16.3", - "jsonrpsee-types 0.16.3", - "tracing", -] - [[package]] name = "jsonrpsee" version = "0.20.3" @@ -5389,7 +5376,7 @@ dependencies = [ "jsonrpsee-core 0.20.3", "jsonrpsee-http-client", "jsonrpsee-proc-macros 0.20.3", - "jsonrpsee-server 0.20.3", + "jsonrpsee-server", "jsonrpsee-types 0.20.3", "jsonrpsee-ws-client", "tokio", @@ -5445,32 +5432,6 @@ dependencies = [ "unicase", ] -[[package]] -name = "jsonrpsee-core" -version = "0.16.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b5dde66c53d6dcdc8caea1874a45632ec0fcf5b437789f1e45766a1512ce803" -dependencies = [ - "anyhow", - "arrayvec 0.7.4", - "async-trait", - "beef", - "futures-channel", - "futures-util", - "globset", - "hyper", - "jsonrpsee-types 0.16.3", - "parking_lot 0.12.1", - "rand", - "rustc-hash", - "serde", - "serde_json", - "soketto", - "thiserror", - "tokio", - "tracing", -] - [[package]] name = "jsonrpsee-core" version = "0.20.3" @@ -5546,19 +5507,6 @@ dependencies = [ "syn 1.0.109", ] -[[package]] -name = "jsonrpsee-proc-macros" -version = "0.16.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44e8ab85614a08792b9bff6c8feee23be78c98d0182d4c622c05256ab553892a" -dependencies = [ - "heck 0.4.1", - "proc-macro-crate 1.3.1", - "proc-macro2", - "quote", - "syn 1.0.109", -] - [[package]] name = "jsonrpsee-proc-macros" version = "0.20.3" @@ -5572,28 +5520,6 @@ dependencies = [ "syn 1.0.109", ] -[[package]] -name = "jsonrpsee-server" -version = "0.16.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf4d945a6008c9b03db3354fb3c83ee02d2faa9f2e755ec1dfb69c3551b8f4ba" -dependencies = [ - "futures-channel", - "futures-util", - "http", - "hyper", - "jsonrpsee-core 0.16.3", - "jsonrpsee-types 0.16.3", - "serde", - "serde_json", - "soketto", - "tokio", - "tokio-stream", - "tokio-util", - "tower", - "tracing", -] - [[package]] name = "jsonrpsee-server" version = "0.20.3" @@ -5631,20 +5557,6 @@ dependencies = [ "tracing", ] -[[package]] -name = "jsonrpsee-types" -version = "0.16.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "245ba8e5aa633dd1c1e4fae72bce06e71f42d34c14a2767c6b4d173b57bee5e5" -dependencies = [ - "anyhow", - "beef", - "serde", - "serde_json", - "thiserror", - "tracing", -] - [[package]] name = "jsonrpsee-types" version = "0.20.3" @@ -17239,12 +17151,12 @@ dependencies = [ "pkg-config", ] -[[patch.unused]] -name = "orml-currencies" -version = "0.8.0" -source = "git+https://github.com/galacticcouncil/open-runtime-module-library?branch=polkadot-v1.7.2#c1fbd5a34168830e3614a1cd4724135e7a3c1236" - [[patch.unused]] name = "sp-crypto-ec-utils" version = "0.10.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" + +[[patch.unused]] +name = "orml-currencies" +version = "0.8.0" +source = "git+https://github.com/galacticcouncil/open-runtime-module-library?branch=polkadot-v1.7.2#c1fbd5a34168830e3614a1cd4724135e7a3c1236" diff --git a/node/Cargo.toml b/node/Cargo.toml index 1c306e109..089f9a19a 100644 --- a/node/Cargo.toml +++ b/node/Cargo.toml @@ -20,7 +20,7 @@ hydra-dx-build-script-utils = { workspace = true } [dependencies] codec = { package = "parity-scale-codec", version = "3.4.0" } hex-literal = "0.3.4" -jsonrpsee = { version = "0.16.2", features = ["server", "macros"] } +jsonrpsee = { version = "0.20.3", features = ["server", "macros"] } log = "0.4.17" serde = { version = "1.0.136", features = ["derive"] } serde_json = "1.0.85" diff --git a/node/src/chain_spec/local.rs b/node/src/chain_spec/local.rs index 38246ddd4..987ee5770 100644 --- a/node/src/chain_spec/local.rs +++ b/node/src/chain_spec/local.rs @@ -146,5 +146,6 @@ pub fn parachain_config() -> Result { para_id: PARA_ID, evm_since: 1, }, + vec![].as_slice(), )) } diff --git a/node/src/chain_spec/mod.rs b/node/src/chain_spec/mod.rs index 713c4160c..f981f3e59 100644 --- a/node/src/chain_spec/mod.rs +++ b/node/src/chain_spec/mod.rs @@ -120,7 +120,6 @@ pub fn parachain_genesis( RuntimeGenesisConfig { system: SystemConfig { // Add Wasm runtime to storage. - code: wasm_binary.to_vec(), ..Default::default() }, session: SessionConfig { diff --git a/node/src/chain_spec/rococo.rs b/node/src/chain_spec/rococo.rs index a2d7228fd..c8cf11b2e 100644 --- a/node/src/chain_spec/rococo.rs +++ b/node/src/chain_spec/rococo.rs @@ -138,5 +138,6 @@ pub fn _parachain_config_rococo() -> Result { para_id: PARA_ID, evm_since: 1, }, + vec![].as_slice(), )) } diff --git a/node/src/chain_spec/staging.rs b/node/src/chain_spec/staging.rs index e284801ce..b0cd30b35 100644 --- a/node/src/chain_spec/staging.rs +++ b/node/src/chain_spec/staging.rs @@ -133,5 +133,6 @@ pub fn parachain_config() -> Result { para_id: PARA_ID, evm_since: 1, }, + vec![].as_slice(), )) } diff --git a/node/src/rpc.rs b/node/src/rpc.rs index 463c9ae64..d8ec23e94 100644 --- a/node/src/rpc.rs +++ b/node/src/rpc.rs @@ -26,9 +26,10 @@ use cumulus_primitives_parachain_inherent::ParachainInherentData; use cumulus_test_relay_sproof_builder::RelayStateSproofBuilder; use fc_db::kv::Backend as FrontierBackend; pub use fc_rpc::{ - EthBlockDataCacheTask, OverrideHandle, RuntimeApiStorageOverride, SchemaV1Override, SchemaV2Override, + EthApiServer, EthBlockDataCacheTask, OverrideHandle, RuntimeApiStorageOverride, SchemaV1Override, SchemaV2Override, SchemaV3Override, StorageOverride, }; +use fc_rpc_core::types::CallRequest; pub use fc_rpc_core::types::{FeeHistoryCache, FeeHistoryCacheLimit, FilterPool}; use fp_rpc::{ConvertTransaction, ConvertTransactionRuntimeApi, EthereumRuntimeRPCApi}; use hydradx_runtime::{opaque::Block, AccountId, Balance, Index}; @@ -48,6 +49,38 @@ use sp_blockchain::{Error as BlockChainError, HeaderBackend, HeaderMetadata}; use sp_core::H256; use sp_runtime::traits::{BlakeTwo256, Block as BlockT}; +//TODO: this is probably not correct for hydra.. verify what do +pub struct HydraDxEGA; + +impl fc_rpc::EstimateGasAdapter for HydraDxEGA { + fn adapt_request(mut request: CallRequest) -> CallRequest { + // Redirect any call to batch precompile: + // force usage of batchAll method for estimation + use sp_core::H160; + const BATCH_PRECOMPILE_ADDRESS: H160 = H160(hex_literal::hex!("0000000000000000000000000000000000000808")); + const BATCH_PRECOMPILE_BATCH_ALL_SELECTOR: [u8; 4] = hex_literal::hex!("96e292b8"); + if request.to == Some(BATCH_PRECOMPILE_ADDRESS) { + if let Some(ref mut data) = request.data { + if data.0.len() >= 4 { + data.0[..4].copy_from_slice(&BATCH_PRECOMPILE_BATCH_ALL_SELECTOR); + } + } + } + request + } +} + +pub struct HydraDxEthConfig(std::marker::PhantomData<(C, BE)>); + +impl fc_rpc::EthConfig for HydraDxEthConfig +where + C: sc_client_api::StorageProvider + Sync + Send + 'static, + BE: Backend + 'static, +{ + type EstimateGasAdapter = HydraDxEGA; + type RuntimeStorageOverride = fc_rpc::frontier_backend_client::SystemAccountId20StorageOverride; +} + /// Full client dependencies. pub struct FullDeps { /// The client instance to use. @@ -200,7 +233,7 @@ where }; io.merge( - Eth::new( + Eth::<_, _, _, _, _, _, _, HydraDxEthConfig<_, _>>::new( client.clone(), pool.clone(), graph.clone(), @@ -218,6 +251,7 @@ where pending_create_inherent_data_providers, None, ) + .replace_config::>() .into_rpc(), )?; diff --git a/node/src/service.rs b/node/src/service.rs index 47eb78576..3666d69f5 100644 --- a/node/src/service.rs +++ b/node/src/service.rs @@ -368,6 +368,7 @@ async fn start_node_impl( if let Some(hwbench) = hwbench { sc_sysinfo::print_hwbench(&hwbench); + /* // Here you can check whether the hardware meets your chains' requirements. Putting a link // in there and swapping out the requirements for your own are probably a good idea. The // requirements for a para-chain are dictated by its relay-chain. @@ -378,6 +379,8 @@ async fn start_node_impl( ); } + */ + if let Some(ref mut telemetry) = telemetry { let telemetry_handle = telemetry.handle(); task_manager.spawn_handle().spawn( @@ -528,6 +531,7 @@ fn start_consensus( collator_service, // Very limited proposal time. authoring_duration: Duration::from_millis(500), + collation_request_receiver: None, }; let fut = basic_aura::run::(params); From 5ce8b9cc45996071e6970ec6e6deed39d6897173 Mon Sep 17 00:00:00 2001 From: Martin Date: Fri, 12 Apr 2024 13:04:10 +0200 Subject: [PATCH 017/105] lock file --- Cargo.lock | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 098418af9..38ef8e814 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -17151,12 +17151,12 @@ dependencies = [ "pkg-config", ] -[[patch.unused]] -name = "sp-crypto-ec-utils" -version = "0.10.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" - [[patch.unused]] name = "orml-currencies" version = "0.8.0" source = "git+https://github.com/galacticcouncil/open-runtime-module-library?branch=polkadot-v1.7.2#c1fbd5a34168830e3614a1cd4724135e7a3c1236" + +[[patch.unused]] +name = "sp-crypto-ec-utils" +version = "0.10.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" From 886520874528213bdcea7cd506b12af540e4b042 Mon Sep 17 00:00:00 2001 From: Martin Date: Fri, 12 Apr 2024 15:21:03 +0200 Subject: [PATCH 018/105] lock file --- Cargo.lock | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 38ef8e814..070061100 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -106,9 +106,9 @@ dependencies = [ [[package]] name = "allocator-api2" -version = "0.2.16" +version = "0.2.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0942ffc6dcaadf03badf6e6a2d0228460359d5e34b57ccdc720b7382dfbd5ec5" +checksum = "5c6cb57a04249c6480766f7f7cef5467412af1490f8d1e243141daddada3264f" [[package]] name = "always-assert" From 3754130b70aa34e7b97d8b31f20903c5b1eeaa1d Mon Sep 17 00:00:00 2001 From: Martin Date: Mon, 15 Apr 2024 11:30:21 +0200 Subject: [PATCH 019/105] use v3 for asset location --- Cargo.lock | 10 ++++----- runtime/hydradx/src/evm/mod.rs | 27 +++++++++++------------- runtime/hydradx/src/xcm.rs | 38 +++++++++++++++++++++++++++++++--- 3 files changed, 52 insertions(+), 23 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 070061100..c54d3a1a9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -17151,12 +17151,12 @@ dependencies = [ "pkg-config", ] -[[patch.unused]] -name = "orml-currencies" -version = "0.8.0" -source = "git+https://github.com/galacticcouncil/open-runtime-module-library?branch=polkadot-v1.7.2#c1fbd5a34168830e3614a1cd4724135e7a3c1236" - [[patch.unused]] name = "sp-crypto-ec-utils" version = "0.10.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" + +[[patch.unused]] +name = "orml-currencies" +version = "0.8.0" +source = "git+https://github.com/galacticcouncil/open-runtime-module-library?branch=polkadot-v1.7.2#c1fbd5a34168830e3614a1cd4724135e7a3c1236" diff --git a/runtime/hydradx/src/evm/mod.rs b/runtime/hydradx/src/evm/mod.rs index 788e755ed..b280566e7 100644 --- a/runtime/hydradx/src/evm/mod.rs +++ b/runtime/hydradx/src/evm/mod.rs @@ -74,20 +74,17 @@ parameter_types! { } const MOONBEAM_PARA_ID: u32 = 2004; -parameter_types! { - pub WETH_ASSET_LOCATION: AssetLocation = AssetLocation(Location { - parents: 1, - interior: [ - Parachain(MOONBEAM_PARA_ID), - PalletInstance(110), - AccountKey20 { - network: None, - key: hex!["ab3f0245b83feb11d15aaffefd7ad465a59817ed"], - }, - ] - .into(), - }); -} +pub const WETH_ASSET_LOCATION: AssetLocation = AssetLocation(polkadot_xcm::v3::MultiLocation { + parents: 1, + interior: polkadot_xcm::v3::prelude::X3( + polkadot_xcm::v3::prelude::Parachain(MOONBEAM_PARA_ID), + polkadot_xcm::v3::prelude::PalletInstance(110), + polkadot_xcm::v3::prelude::AccountKey20 { + network: None, + key: hex!["ab3f0245b83feb11d15aaffefd7ad465a59817ed"], + }, + ), +}); pub struct WethAssetId; impl Get for WethAssetId { @@ -95,7 +92,7 @@ impl Get for WethAssetId { let invalid_id = pallet_asset_registry::Pallet::::next_asset_id().defensive_unwrap_or(AssetId::MAX); - match pallet_asset_registry::Pallet::::location_to_asset(WETH_ASSET_LOCATION::get()) { + match pallet_asset_registry::Pallet::::location_to_asset(WETH_ASSET_LOCATION) { Some(asset_id) => asset_id, None => invalid_id, } diff --git a/runtime/hydradx/src/xcm.rs b/runtime/hydradx/src/xcm.rs index 410f4ac2e..0ef195cf1 100644 --- a/runtime/hydradx/src/xcm.rs +++ b/runtime/hydradx/src/xcm.rs @@ -25,10 +25,12 @@ use pallet_evm::AddressMapping; use pallet_xcm::XcmPassthrough; use parachains_common::message_queue::{NarrowOriginToSibling, ParaIdToSibling}; use polkadot_parachain::primitives::{RelayChainBlockNumber, Sibling}; +use polkadot_xcm::v3::MultiLocation; use polkadot_xcm::v4::{prelude::*, Asset, InteriorLocation, Weight as XcmWeight}; use primitives::Price; use scale_info::TypeInfo; use sp_runtime::Perbill; +use sp_runtime::traits::MaybeEquivalence; use xcm_builder::{ AccountId32Aliases, AllowKnownQueryResponses, AllowSubscriptionsFrom, AllowTopLevelPaidExecutionFrom, DescribeAllTerminal, DescribeFamily, EnsureXcmOrigin, FixedWeightBounds, HashedDescription, ParentIsPreset, @@ -38,7 +40,23 @@ use xcm_builder::{ use xcm_executor::{Config, XcmExecutor}; #[derive(Debug, Default, Encode, Decode, Clone, PartialEq, Eq, TypeInfo, MaxEncodedLen)] -pub struct AssetLocation(pub polkadot_xcm::v4::Location); +pub struct AssetLocation(pub polkadot_xcm::v3::Location); + +impl Into> for AssetLocation{ + fn into(self) -> Option { + xcm_builder::V4V3LocationConverter::convert_back(&self.0) + } +} + +impl TryFrom for AssetLocation{ + type Error = (); + + fn try_from(value: Location) -> Result { + let loc: MultiLocation = value.try_into()?; + Ok(AssetLocation(loc.into())) + } +} + pub type LocalOriginToLocation = SignedToAccountId32; @@ -310,7 +328,14 @@ impl Convert> for CurrencyIdConvert { parents: 1, interior: [Parachain(ParachainInfo::get().into()), GeneralIndex(id.into())].into(), }), - _ => AssetRegistry::asset_to_location(id).map(|loc| loc.0), + _ => { + let loc = AssetRegistry::asset_to_location(id); + if let Some(location) = loc { + location.into() + }else{ + None + } + }, } } } @@ -328,7 +353,14 @@ impl Convert> for CurrencyIdConvert { Some(CORE_ASSET_ID) } Junctions::X1(a) if parents == 0 && a.contains(&GeneralIndex(CORE_ASSET_ID.into())) => Some(CORE_ASSET_ID), - _ => AssetRegistry::location_to_asset(AssetLocation(location)), + _ => { + let location: Option = location.try_into().ok(); + if let Some(location) = location { + AssetRegistry::location_to_asset(location) + } else { + None + } + }, } // Note: keeping the original code for reference until tests are successful From 46bbf9d9e3ba3653df715098038c42c5bac88547 Mon Sep 17 00:00:00 2001 From: Martin Date: Wed, 24 Apr 2024 15:42:37 +0200 Subject: [PATCH 020/105] expose weightinfo in pallests --- pallets/duster/src/lib.rs | 2 ++ pallets/ema-oracle/src/lib.rs | 2 +- pallets/lbp/src/lib.rs | 2 +- pallets/route-executor/src/lib.rs | 2 ++ pallets/transaction-multi-payment/src/lib.rs | 2 +- 5 files changed, 7 insertions(+), 3 deletions(-) diff --git a/pallets/duster/src/lib.rs b/pallets/duster/src/lib.rs index 030d14d1a..a832fb09c 100644 --- a/pallets/duster/src/lib.rs +++ b/pallets/duster/src/lib.rs @@ -27,6 +27,8 @@ mod tests; pub mod migration; pub mod weights; +pub use crate::weights::WeightInfo; + use frame_support::{dispatch::DispatchResult, ensure, traits::Contains, traits::Get}; use orml_traits::{ diff --git a/pallets/ema-oracle/src/lib.rs b/pallets/ema-oracle/src/lib.rs index b62ac2e63..0d72fd9a7 100644 --- a/pallets/ema-oracle/src/lib.rs +++ b/pallets/ema-oracle/src/lib.rs @@ -88,7 +88,7 @@ pub use types::*; #[allow(clippy::all)] pub mod weights; -use weights::WeightInfo; +pub use weights::WeightInfo; mod benchmarking; diff --git a/pallets/lbp/src/lib.rs b/pallets/lbp/src/lib.rs index 580031654..c22caae9c 100644 --- a/pallets/lbp/src/lib.rs +++ b/pallets/lbp/src/lib.rs @@ -63,7 +63,7 @@ mod invariants; mod trade_execution; pub mod types; -use weights::WeightInfo; +pub use weights::WeightInfo; // Re-export pallet items so that they can be accessed from the crate namespace. pub use pallet::*; diff --git a/pallets/route-executor/src/lib.rs b/pallets/route-executor/src/lib.rs index 85a65edeb..18c752f3d 100644 --- a/pallets/route-executor/src/lib.rs +++ b/pallets/route-executor/src/lib.rs @@ -45,6 +45,8 @@ use sp_std::{vec, vec::Vec}; mod tests; pub mod weights; +pub use weights::WeightInfo; + // Re-export pallet items so that they can be accessed from the crate namespace. pub use pallet::*; diff --git a/pallets/transaction-multi-payment/src/lib.rs b/pallets/transaction-multi-payment/src/lib.rs index 42fd58552..133d20578 100644 --- a/pallets/transaction-multi-payment/src/lib.rs +++ b/pallets/transaction-multi-payment/src/lib.rs @@ -20,7 +20,7 @@ pub mod weights; -use weights::WeightInfo; +pub use weights::WeightInfo; #[cfg(test)] mod mock; From 54a0f9f8aefdad43f3b165e43f6a0c8130779c7a Mon Sep 17 00:00:00 2001 From: Martin Date: Wed, 24 Apr 2024 15:53:39 +0200 Subject: [PATCH 021/105] expose weightinfo in pallests --- pallets/nft/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pallets/nft/src/lib.rs b/pallets/nft/src/lib.rs index ee1283e4c..45ef0aca3 100644 --- a/pallets/nft/src/lib.rs +++ b/pallets/nft/src/lib.rs @@ -36,7 +36,7 @@ use sp_runtime::{ }; use sp_std::boxed::Box; pub use types::*; -use weights::WeightInfo; +pub use weights::WeightInfo; mod benchmarking; pub mod migration; From 4e946130da2063d95ab97298b75645603de4e3a7 Mon Sep 17 00:00:00 2001 From: Martin Date: Thu, 25 Apr 2024 14:25:22 +0200 Subject: [PATCH 022/105] expose xyk weightinfo --- pallets/xyk/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pallets/xyk/src/lib.rs b/pallets/xyk/src/lib.rs index c75ca97ba..0090e2c8c 100644 --- a/pallets/xyk/src/lib.rs +++ b/pallets/xyk/src/lib.rs @@ -52,7 +52,7 @@ pub mod weights; pub use impls::XYKSpotPrice; -use weights::WeightInfo; +pub use weights::WeightInfo; // Re-export pallet items so that they can be accessed from the crate namespace. pub use pallet::*; From 1157002b3f936c707c44ac8604eb413cac113a3b Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Fri, 26 Apr 2024 13:30:58 +0200 Subject: [PATCH 023/105] fix build --- node/src/cli.rs | 2 +- node/src/command.rs | 45 ++++++++++++++++++++++++++++++++++++++++----- node/src/rpc.rs | 41 ++++++++++++++++++++--------------------- 3 files changed, 61 insertions(+), 27 deletions(-) diff --git a/node/src/cli.rs b/node/src/cli.rs index 70b60fe22..28488c341 100644 --- a/node/src/cli.rs +++ b/node/src/cli.rs @@ -110,7 +110,7 @@ pub enum Subcommand { /// Export the genesis state of the parachain. #[clap(name = "export-genesis-state")] - ExportGenesisState(cumulus_client_cli::ExportGenesisStateCommand), + ExportGenesisHead(cumulus_client_cli::ExportGenesisHeadCommand), /// Export the genesis wasm of the parachain. #[clap(name = "export-genesis-wasm")] diff --git a/node/src/command.rs b/node/src/command.rs index b2ed3c031..24b8c8a8e 100644 --- a/node/src/command.rs +++ b/node/src/command.rs @@ -20,7 +20,6 @@ use crate::cli::{Cli, RelayChainCli, Subcommand}; use crate::service::{new_partial, HydraDXNativeExecutor}; use codec::Encode; -use cumulus_client_cli::generate_genesis_block; use cumulus_primitives_core::ParaId; use frame_benchmarking_cli::{BenchmarkCmd, SUBSTRATE_REFERENCE_HARDWARE}; use hydradx_runtime::Block; @@ -32,8 +31,10 @@ use sc_cli::{ use sc_executor::{sp_wasm_interface::ExtendedHostFunctions, NativeExecutionDispatch}; use sc_service::config::{BasePath, PrometheusConfig}; use sp_core::hexdisplay::HexDisplay; -use sp_runtime::traits::AccountIdConversion; -use sp_runtime::traits::Block as BlockT; +use sp_runtime::{ + traits::{AccountIdConversion, Block as BlockT, Hash as HashT, Header as HeaderT, Zero}, + StateVersion, +}; use std::io::Write; fn load_spec(id: &str) -> std::result::Result, String> { @@ -227,7 +228,7 @@ pub fn run() -> sc_cli::Result<()> { } } } - Some(Subcommand::ExportGenesisState(params)) => { + Some(Subcommand::ExportGenesisHead(params)) => { let mut builder = sc_cli::LoggerBuilder::new(""); builder.with_profiling(sc_tracing::TracingReceiver::Log, ""); let _ = builder.init(); @@ -302,7 +303,7 @@ pub fn run() -> sc_cli::Result<()> { let id = ParaId::from(para_id); let parachain_account = - AccountIdConversion::::into_account_truncating(&id); + AccountIdConversion::::into_account_truncating(&id); let state_version = Cli::runtime_version().state_version(); @@ -448,3 +449,37 @@ impl Cli { &hydradx_runtime::VERSION } } + +/// Generate the genesis block from a given ChainSpec. +pub fn generate_genesis_block( + chain_spec: &dyn ChainSpec, + genesis_state_version: StateVersion, +) -> std::result::Result { + let storage = chain_spec.build_storage()?; + + let child_roots = storage.children_default.iter().map(|(sk, child_content)| { + let state_root = <<::Header as HeaderT>::Hashing as HashT>::trie_root( + child_content.data.clone().into_iter().collect(), + genesis_state_version, + ); + (sk.clone(), state_root.encode()) + }); + let state_root = <<::Header as HeaderT>::Hashing as HashT>::trie_root( + storage.top.clone().into_iter().chain(child_roots).collect(), + genesis_state_version, + ); + + let extrinsics_root = + <<::Header as HeaderT>::Hashing as HashT>::trie_root(Vec::new(), genesis_state_version); + + Ok(Block::new( + <::Header as HeaderT>::new( + Zero::zero(), + extrinsics_root, + state_root, + Default::default(), + Default::default(), + ), + Default::default(), + )) +} diff --git a/node/src/rpc.rs b/node/src/rpc.rs index d8ec23e94..7877703f0 100644 --- a/node/src/rpc.rs +++ b/node/src/rpc.rs @@ -32,7 +32,7 @@ pub use fc_rpc::{ use fc_rpc_core::types::CallRequest; pub use fc_rpc_core::types::{FeeHistoryCache, FeeHistoryCacheLimit, FilterPool}; use fp_rpc::{ConvertTransaction, ConvertTransactionRuntimeApi, EthereumRuntimeRPCApi}; -use hydradx_runtime::{opaque::Block, AccountId, Balance, Index}; +use hydradx_runtime::{opaque::{Block, Hash}, AccountId, Balance, Index}; use sc_client_api::{ backend::{Backend, StateBackend, StorageProvider}, client::BlockchainEvents, @@ -92,7 +92,7 @@ pub struct FullDeps { } /// Extra dependencies for Ethereum compatibility. -pub struct Deps { +pub struct Deps { /// The client instance to use. pub client: Arc, /// Transaction pool instance. @@ -106,15 +106,15 @@ pub struct Deps { /// Whether to enable dev signer pub enable_dev_signer: bool, /// Network service - pub network: Arc>, + pub network: Arc>, /// Chain syncing service - pub sync: Arc>, + pub sync: Arc>, /// Frontier Backend. - pub frontier_backend: Arc>, + pub frontier_backend: Arc>, /// Ethereum data access overrides. - pub overrides: Arc>, + pub overrides: Arc>, /// Cache for Ethereum block data. - pub block_data_cache: Arc>, + pub block_data_cache: Arc>, /// EthFilterApi pool. pub filter_pool: FilterPool, /// Maximum number of logs in a query. @@ -159,26 +159,25 @@ where } /// Instantiate Ethereum-compatible RPC extensions. -pub fn create( +pub fn create( mut io: RpcExtension, - deps: Deps, + deps: Deps, subscription_task_executor: SubscriptionTaskExecutor, pubsub_notification_sinks: Arc< - fc_mapping_sync::EthereumBlockNotificationSinks>, + fc_mapping_sync::EthereumBlockNotificationSinks>, >, ) -> Result> where - B: BlockT, - C: ProvideRuntimeApi, - C::Api: BlockBuilderApi + EthereumRuntimeRPCApi + ConvertTransactionRuntimeApi, - C: BlockchainEvents + 'static, - C: HeaderBackend + HeaderMetadata + StorageProvider, - C: CallApiAt, - BE: Backend + 'static, + C: ProvideRuntimeApi, + C::Api: BlockBuilderApi + EthereumRuntimeRPCApi + ConvertTransactionRuntimeApi, + C: BlockchainEvents + 'static, + C: HeaderBackend + HeaderMetadata + StorageProvider, + C: CallApiAt, + BE: Backend + 'static, BE::State: StateBackend, - P: TransactionPool + 'static, - A: ChainApi + 'static, - CT: ConvertTransaction<::Extrinsic> + Send + Sync + 'static, + P: TransactionPool + 'static, + A: ChainApi + 'static, + CT: ConvertTransaction<::Extrinsic> + Send + Sync + 'static, { use fc_rpc::{ Eth, EthApiServer, EthDevSigner, EthFilter, EthFilterApiServer, EthPubSub, EthPubSubApiServer, EthSigner, Net, @@ -295,7 +294,7 @@ where Ok(io) } -impl Clone for Deps { +impl Clone for Deps { fn clone(&self) -> Self { Self { client: self.client.clone(), From 06f203cea64d27aea314c54e0815ca2b7754006d Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Mon, 29 Apr 2024 10:13:26 +0200 Subject: [PATCH 024/105] make clippy a bit happier --- Cargo.lock | 10 --- Cargo.toml | 2 - pallets/asset-registry/src/tests/mock.rs | 3 +- pallets/bonds/src/tests/issue.rs | 2 +- pallets/bonds/src/tests/mock.rs | 1 + pallets/bonds/src/tests/redeem.rs | 2 +- pallets/circuit-breaker/src/tests/mock.rs | 3 +- pallets/claims/src/mock.rs | 3 +- pallets/collator-rewards/src/mock.rs | 3 +- pallets/currencies/src/mock.rs | 3 +- pallets/dca/src/tests/mock.rs | 3 +- pallets/democracy/src/tests.rs | 5 +- pallets/democracy/src/tests/metadata.rs | 6 +- pallets/duster/src/mock.rs | 3 +- pallets/dynamic-evm-fee/src/tests/mock.rs | 4 +- pallets/dynamic-fees/src/tests/mock.rs | 2 +- pallets/ema-oracle/src/lib.rs | 9 ++- pallets/ema-oracle/src/tests/mock.rs | 1 + pallets/evm-accounts/src/mock.rs | 1 + pallets/genesis-history/src/mock.rs | 1 + pallets/lbp/src/mock.rs | 1 + pallets/liquidity-mining/src/tests/mock.rs | 3 +- pallets/nft/src/mock.rs | 3 +- .../src/tests/mock.rs | 3 +- pallets/omnipool/src/tests/mock.rs | 4 +- pallets/otc/src/tests/mock.rs | 3 +- pallets/referrals/src/migration.rs | 24 +++---- pallets/referrals/src/tests.rs | 1 + pallets/route-executor/src/lib.rs | 2 +- pallets/route-executor/src/tests/mock.rs | 3 +- pallets/stableswap/src/lib.rs | 65 ------------------- pallets/stableswap/src/tests/mock.rs | 1 + pallets/staking/src/tests/mock.rs | 3 +- pallets/transaction-multi-payment/src/mock.rs | 3 +- .../transaction-multi-payment/src/tests.rs | 4 +- pallets/transaction-pause/src/mock.rs | 3 +- pallets/xcm-rate-limiter/src/tests/mock.rs | 3 +- .../xyk-liquidity-mining/src/tests/mock.rs | 3 +- pallets/xyk/src/tests/mock.rs | 1 + runtime/hydradx/src/evm/mod.rs | 5 -- runtime/hydradx/src/governance.rs | 2 - runtime/hydradx/src/migrations.rs | 4 +- runtime/hydradx/src/xcm.rs | 3 +- 43 files changed, 75 insertions(+), 139 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c54d3a1a9..1f1d927a3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -17150,13 +17150,3 @@ dependencies = [ "cc", "pkg-config", ] - -[[patch.unused]] -name = "sp-crypto-ec-utils" -version = "0.10.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" - -[[patch.unused]] -name = "orml-currencies" -version = "0.8.0" -source = "git+https://github.com/galacticcouncil/open-runtime-module-library?branch=polkadot-v1.7.2#c1fbd5a34168830e3614a1cd4724135e7a3c1236" diff --git a/Cargo.toml b/Cargo.toml index 15bb0035c..078cca3c3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -304,7 +304,6 @@ cumulus-relay-chain-rpc-interface = { git = "https://github.com/paritytech/polka [patch."https://github.com/moonbeam-foundation/open-runtime-module-library"] # ORML dependencies orml-benchmarking = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.7.2"} -orml-currencies = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.7.2"} orml-tokens = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.7.2"} orml-traits = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.7.2"} orml-utilities = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.7.2"} @@ -381,7 +380,6 @@ sc-utils = { git = "https://github.com/paritytech/polkadot-sdk", branch = "relea sp-state-machine = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } sp-weights = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2"} sp-crypto-hashing= { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2"} -sp-crypto-ec-utils= { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2"} sp-core-hashing = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2"} # Substrate Pallets diff --git a/pallets/asset-registry/src/tests/mock.rs b/pallets/asset-registry/src/tests/mock.rs index dad279dde..ba04c5707 100644 --- a/pallets/asset-registry/src/tests/mock.rs +++ b/pallets/asset-registry/src/tests/mock.rs @@ -17,6 +17,7 @@ #![cfg(test)] +use crate::Balance; use frame_support::parameter_types; use frame_system as system; use orml_traits::parameter_type_with_key; @@ -34,7 +35,6 @@ use crate as pallet_asset_registry; use crate::types::{Name, Symbol}; pub type AssetId = u32; -pub type Balance = u128; pub const UNIT: Balance = 1_000_000_000_000; pub const ALICE: u64 = 1_000; @@ -69,6 +69,7 @@ impl system::Config for Test { type BlockLength = (); type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; + type RuntimeTask = RuntimeTask; type Nonce = u64; type Block = Block; type Hash = H256; diff --git a/pallets/bonds/src/tests/issue.rs b/pallets/bonds/src/tests/issue.rs index 42569a292..0b814c17a 100644 --- a/pallets/bonds/src/tests/issue.rs +++ b/pallets/bonds/src/tests/issue.rs @@ -20,7 +20,7 @@ use crate::*; pub type Bonds = Pallet; use frame_support::sp_runtime::traits::Zero; use frame_support::{assert_noop, assert_ok}; -pub use pretty_assertions::{assert_eq, assert_ne}; +pub use pretty_assertions::assert_eq; #[test] fn issue_bonds_should_work_when_fee_is_zero() { diff --git a/pallets/bonds/src/tests/mock.rs b/pallets/bonds/src/tests/mock.rs index 0bf2f8181..31c8b02f2 100644 --- a/pallets/bonds/src/tests/mock.rs +++ b/pallets/bonds/src/tests/mock.rs @@ -123,6 +123,7 @@ impl frame_system::Config for Test { type BlockLength = (); type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; + type RuntimeTask = RuntimeTask; type Nonce = u64; type Block = Block; type Hash = H256; diff --git a/pallets/bonds/src/tests/redeem.rs b/pallets/bonds/src/tests/redeem.rs index bd47f8c3d..1816de144 100644 --- a/pallets/bonds/src/tests/redeem.rs +++ b/pallets/bonds/src/tests/redeem.rs @@ -19,7 +19,7 @@ use crate::tests::mock::*; use crate::*; pub type Bonds = Pallet; use frame_support::{assert_noop, assert_ok}; -pub use pretty_assertions::{assert_eq, assert_ne}; +pub use pretty_assertions::assert_eq; #[test] fn partially_redeem_bonds_should_work_when_fee_is_zero() { diff --git a/pallets/circuit-breaker/src/tests/mock.rs b/pallets/circuit-breaker/src/tests/mock.rs index cfe4131f1..df930f9f3 100644 --- a/pallets/circuit-breaker/src/tests/mock.rs +++ b/pallets/circuit-breaker/src/tests/mock.rs @@ -101,6 +101,7 @@ impl frame_system::Config for Test { type DbWeight = (); type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; + type RuntimeTask = RuntimeTask; type Nonce = u64; type Block = Block; type Hash = H256; @@ -160,8 +161,8 @@ impl pallet_balances::Config for Test { type ReserveIdentifier = [u8; 8]; type FreezeIdentifier = (); type MaxFreezes = (); - type MaxHolds = (); type RuntimeHoldReason = (); + type RuntimeFreezeReason = (); } parameter_type_with_key! { diff --git a/pallets/claims/src/mock.rs b/pallets/claims/src/mock.rs index 0d9fcdcfd..6746daa7a 100644 --- a/pallets/claims/src/mock.rs +++ b/pallets/claims/src/mock.rs @@ -50,6 +50,7 @@ impl frame_system::Config for Test { type BlockLength = (); type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; + type RuntimeTask = RuntimeTask; type Nonce = u64; type Block = Block; type Hash = H256; @@ -86,8 +87,8 @@ impl pallet_balances::Config for Test { type ReserveIdentifier = (); type FreezeIdentifier = (); type MaxFreezes = (); - type MaxHolds = (); type RuntimeHoldReason = (); + type RuntimeFreezeReason = (); } parameter_types! { diff --git a/pallets/collator-rewards/src/mock.rs b/pallets/collator-rewards/src/mock.rs index 7fe3582b0..5e4a0b5cf 100644 --- a/pallets/collator-rewards/src/mock.rs +++ b/pallets/collator-rewards/src/mock.rs @@ -58,6 +58,7 @@ impl system::Config for Test { type BlockLength = (); type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; + type RuntimeTask = RuntimeTask; type Nonce = u64; type Block = Block; type Hash = H256; @@ -115,8 +116,8 @@ impl pallet_balances::Config for Test { type ReserveIdentifier = (); type FreezeIdentifier = (); type MaxFreezes = (); - type MaxHolds = (); type RuntimeHoldReason = (); + type RuntimeFreezeReason = (); } parameter_types! { diff --git a/pallets/currencies/src/mock.rs b/pallets/currencies/src/mock.rs index 0432ffa43..701e1d67c 100644 --- a/pallets/currencies/src/mock.rs +++ b/pallets/currencies/src/mock.rs @@ -28,6 +28,7 @@ impl frame_system::Config for Runtime { type AccountId = AccountId; type Lookup = IdentityLookup; type RuntimeEvent = RuntimeEvent; + type RuntimeTask = RuntimeTask; type BlockHashCount = ConstU64<250>; type BlockWeights = (); type BlockLength = (); @@ -59,8 +60,8 @@ impl pallet_balances::Config for Runtime { type WeightInfo = (); type FreezeIdentifier = (); type MaxFreezes = (); - type MaxHolds = (); type RuntimeHoldReason = (); + type RuntimeFreezeReason = (); } parameter_type_with_key! { diff --git a/pallets/dca/src/tests/mock.rs b/pallets/dca/src/tests/mock.rs index eca7e6fb5..cf92a6d8d 100644 --- a/pallets/dca/src/tests/mock.rs +++ b/pallets/dca/src/tests/mock.rs @@ -175,6 +175,7 @@ impl system::Config for Test { type BlockLength = (); type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; + type RuntimeTask = RuntimeTask; type Nonce = u64; type Block = Block; type Hash = H256; @@ -332,8 +333,8 @@ impl pallet_balances::Config for Test { type ReserveIdentifier = NamedReserveIdentifier; type FreezeIdentifier = (); type MaxFreezes = (); - type MaxHolds = (); type RuntimeHoldReason = (); + type RuntimeFreezeReason = (); } impl pallet_currencies::Config for Test { diff --git a/pallets/democracy/src/tests.rs b/pallets/democracy/src/tests.rs index 965adf7b4..69e825ccb 100644 --- a/pallets/democracy/src/tests.rs +++ b/pallets/democracy/src/tests.rs @@ -97,6 +97,7 @@ impl frame_system::Config for Test { type RuntimeOrigin = RuntimeOrigin; type Nonce = u64; type RuntimeCall = RuntimeCall; + type RuntimeTask = RuntimeTask; type Hash = H256; type Hashing = BlakeTwo256; type AccountId = u64; @@ -123,8 +124,6 @@ impl pallet_preimage::Config for Test { type WeightInfo = (); type Currency = Balances; type ManagerOrigin = EnsureRoot; - type BaseDeposit = ConstU64<0>; - type ByteDeposit = ConstU64<0>; } impl pallet_scheduler::Config for Test { @@ -153,7 +152,7 @@ impl pallet_balances::Config for Test { type FreezeIdentifier = (); type MaxFreezes = (); type RuntimeHoldReason = (); - type MaxHolds = (); + type RuntimeFreezeReason = (); } parameter_types! { pub static PreimageByteDeposit: u64 = 0; diff --git a/pallets/democracy/src/tests/metadata.rs b/pallets/democracy/src/tests/metadata.rs index 459e8a669..0dd313a09 100644 --- a/pallets/democracy/src/tests/metadata.rs +++ b/pallets/democracy/src/tests/metadata.rs @@ -22,9 +22,8 @@ use super::*; #[test] fn set_external_metadata_works() { new_test_ext().execute_with(|| { - use frame_support::traits::Hash as PreimageHash; // invalid preimage hash. - let invalid_hash: PreimageHash = [1u8; 32].into(); + let invalid_hash: Test::Hash = [1u8; 32].into(); // metadata owner is an external proposal. let owner = MetadataOwner::External; // fails to set metadata if an external proposal does not exist. @@ -91,9 +90,8 @@ fn clear_metadata_works() { #[test] fn set_proposal_metadata_works() { new_test_ext().execute_with(|| { - use frame_support::traits::Hash as PreimageHash; // invalid preimage hash. - let invalid_hash: PreimageHash = [1u8; 32].into(); + let invalid_hash: Test::Hash = [1u8; 32].into(); // create an external proposal. assert_ok!(propose_set_balance(1, 2, 5)); // metadata owner is a public proposal. diff --git a/pallets/duster/src/mock.rs b/pallets/duster/src/mock.rs index a7b0e7f8f..42d5638a7 100644 --- a/pallets/duster/src/mock.rs +++ b/pallets/duster/src/mock.rs @@ -81,6 +81,7 @@ impl system::Config for Test { type BlockLength = (); type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; + type RuntimeTask = RuntimeTask; type Nonce = u64; type Block = Block; type Hash = H256; @@ -164,8 +165,8 @@ impl pallet_balances::Config for Test { type ReserveIdentifier = (); type FreezeIdentifier = (); type MaxFreezes = (); - type MaxHolds = (); type RuntimeHoldReason = (); + type RuntimeFreezeReason = (); } pub struct ExtBuilder { diff --git a/pallets/dynamic-evm-fee/src/tests/mock.rs b/pallets/dynamic-evm-fee/src/tests/mock.rs index 8f900b042..a69655003 100644 --- a/pallets/dynamic-evm-fee/src/tests/mock.rs +++ b/pallets/dynamic-evm-fee/src/tests/mock.rs @@ -15,7 +15,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -pub use crate as multi_payment; use crate::Config; use hydra_dx_math::types::Ratio; @@ -100,6 +99,7 @@ impl system::Config for Test { type BlockLength = (); type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; + type RuntimeTask = RuntimeTask; type Nonce = u64; type Block = Block; type Hash = H256; @@ -187,8 +187,8 @@ impl pallet_balances::Config for Test { type ReserveIdentifier = (); type FreezeIdentifier = (); type MaxFreezes = (); - type MaxHolds = (); type RuntimeHoldReason = (); + type RuntimeFreezeReason = (); } parameter_types! { diff --git a/pallets/dynamic-fees/src/tests/mock.rs b/pallets/dynamic-fees/src/tests/mock.rs index 329ce9f22..ee1a57ef5 100644 --- a/pallets/dynamic-fees/src/tests/mock.rs +++ b/pallets/dynamic-fees/src/tests/mock.rs @@ -29,7 +29,6 @@ use frame_support::{ traits::{ConstU32, ConstU64}, }; use orml_traits::GetByKey; -pub use orml_traits::MultiCurrency; use sp_core::H256; use sp_runtime::{ traits::{BlakeTwo256, IdentityLookup, One, Zero}, @@ -77,6 +76,7 @@ impl frame_system::Config for Test { type BlockLength = (); type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; + type RuntimeTask = RuntimeTask; type Nonce = u64; type Block = Block; type Hash = H256; diff --git a/pallets/ema-oracle/src/lib.rs b/pallets/ema-oracle/src/lib.rs index 0d72fd9a7..64be94a46 100644 --- a/pallets/ema-oracle/src/lib.rs +++ b/pallets/ema-oracle/src/lib.rs @@ -73,7 +73,6 @@ use frame_system::pallet_prelude::BlockNumberFor; use hydradx_traits::{ AggregatedEntry, AggregatedOracle, AggregatedPriceOracle, Liquidity, OnCreatePoolHandler, OnLiquidityChangedHandler, OnTradeHandler, - OraclePeriod::{self, *}, Volume, }; use sp_arithmetic::traits::Saturating; @@ -352,7 +351,7 @@ impl Pallet { assets: (AssetId, AssetId), block: BlockNumberFor, ) -> Option<(OracleEntry>, BlockNumberFor)> { - Self::oracle((source, assets, LastBlock)).map(|(mut last_block, init)| { + Self::oracle((source, assets, OraclePeriod::LastBlock)).map(|(mut last_block, init)| { // update the `LastBlock` oracle to the last block if it hasn't been updated for a while // price and liquidity stay constant, volume becomes zero if last_block.updated_at != block { @@ -366,12 +365,12 @@ impl Pallet { fn update_oracles_from_accumulator() { for ((src, assets), oracle_entry) in Accumulator::::take().into_iter() { // First we update the non-immediate oracles with the value of the `LastBlock` oracle. - for period in T::SupportedPeriods::get().into_iter().filter(|p| *p != LastBlock) { + for period in T::SupportedPeriods::get().into_iter().filter(|p| *p != OraclePeriod::LastBlock) { Self::update_oracle(src, assets, period, oracle_entry.clone()); } // As we use (the old value of) the `LastBlock` entry to update the other oracles it // gets updated last. - Self::update_oracle(src, assets, LastBlock, oracle_entry.clone()); + Self::update_oracle(src, assets, OraclePeriod::LastBlock, oracle_entry.clone()); } } @@ -432,7 +431,7 @@ impl Pallet { // First get the `LastBlock` oracle to calculate the updated values for the others. let (last_block, last_block_init) = Self::last_block_oracle(src, assets, parent)?; // If it was requested return it directly. - if period == LastBlock { + if period == OraclePeriod::LastBlock { return Some((last_block, last_block_init)); } diff --git a/pallets/ema-oracle/src/tests/mock.rs b/pallets/ema-oracle/src/tests/mock.rs index cb492235b..1a8af6712 100644 --- a/pallets/ema-oracle/src/tests/mock.rs +++ b/pallets/ema-oracle/src/tests/mock.rs @@ -89,6 +89,7 @@ impl frame_system::Config for Test { type BlockLength = (); type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; + type RuntimeTask = RuntimeTask; type Nonce = u64; type Block = Block; type Hash = H256; diff --git a/pallets/evm-accounts/src/mock.rs b/pallets/evm-accounts/src/mock.rs index fb2b601de..89b49be1f 100644 --- a/pallets/evm-accounts/src/mock.rs +++ b/pallets/evm-accounts/src/mock.rs @@ -70,6 +70,7 @@ impl frame_system::Config for Test { type BlockLength = (); type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; + type RuntimeTask = RuntimeTask; type Nonce = u64; type Block = Block; type Hash = H256; diff --git a/pallets/genesis-history/src/mock.rs b/pallets/genesis-history/src/mock.rs index f3302d8f6..bdbc753e1 100644 --- a/pallets/genesis-history/src/mock.rs +++ b/pallets/genesis-history/src/mock.rs @@ -48,6 +48,7 @@ impl system::Config for Test { type DbWeight = (); type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; + type RuntimeTask = RuntimeTask; type Nonce = u64; type Block = Block; type Hash = H256; diff --git a/pallets/lbp/src/mock.rs b/pallets/lbp/src/mock.rs index 09038ec62..6d566c3df 100644 --- a/pallets/lbp/src/mock.rs +++ b/pallets/lbp/src/mock.rs @@ -90,6 +90,7 @@ impl frame_system::Config for Test { type BlockLength = (); type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; + type RuntimeTask = RuntimeTask; type Nonce = u64; type Block = Block; type Hash = H256; diff --git a/pallets/liquidity-mining/src/tests/mock.rs b/pallets/liquidity-mining/src/tests/mock.rs index fbac1cd5e..53b594b4e 100644 --- a/pallets/liquidity-mining/src/tests/mock.rs +++ b/pallets/liquidity-mining/src/tests/mock.rs @@ -145,6 +145,7 @@ impl system::Config for Test { type DbWeight = (); type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; + type RuntimeTask = RuntimeTask; type Nonce = u64; type Block = Block; type Hash = H256; @@ -349,8 +350,8 @@ impl pallet_balances::Config for Test { type ReserveIdentifier = ReserveIdentifier; type FreezeIdentifier = (); type MaxFreezes = (); - type MaxHolds = (); type RuntimeHoldReason = (); + type RuntimeFreezeReason = (); } impl orml_tokens::Config for Test { diff --git a/pallets/nft/src/mock.rs b/pallets/nft/src/mock.rs index ef79c5e99..526c4214a 100644 --- a/pallets/nft/src/mock.rs +++ b/pallets/nft/src/mock.rs @@ -136,6 +136,7 @@ impl frame_system::Config for Test { type DbWeight = (); type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; + type RuntimeTask = RuntimeTask; type Nonce = u64; type Block = Block; type Hash = H256; @@ -171,8 +172,8 @@ impl pallet_balances::Config for Test { type ReserveIdentifier = (); type FreezeIdentifier = (); type MaxFreezes = (); - type MaxHolds = (); type RuntimeHoldReason = (); + type RuntimeFreezeReason = (); } pub const ALICE: AccountId = AccountId::new([1u8; 32]); diff --git a/pallets/omnipool-liquidity-mining/src/tests/mock.rs b/pallets/omnipool-liquidity-mining/src/tests/mock.rs index bb5987972..78dbcbe7a 100644 --- a/pallets/omnipool-liquidity-mining/src/tests/mock.rs +++ b/pallets/omnipool-liquidity-mining/src/tests/mock.rs @@ -136,6 +136,7 @@ impl frame_system::Config for Test { type BlockLength = (); type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; + type RuntimeTask = RuntimeTask; type Nonce = u64; type Block = Block; type Hash = H256; @@ -214,8 +215,8 @@ impl pallet_balances::Config for Test { type ReserveIdentifier = [u8; 8]; type FreezeIdentifier = (); type MaxFreezes = (); - type MaxHolds = (); type RuntimeHoldReason = (); + type RuntimeFreezeReason = (); } parameter_type_with_key! { diff --git a/pallets/omnipool/src/tests/mock.rs b/pallets/omnipool/src/tests/mock.rs index f2564901c..dfdf5883d 100644 --- a/pallets/omnipool/src/tests/mock.rs +++ b/pallets/omnipool/src/tests/mock.rs @@ -43,7 +43,6 @@ use sp_runtime::{ type Block = frame_system::mocking::MockBlock; pub type AccountId = u64; -pub type Balance = u128; pub type AssetId = u32; pub const HDX: AssetId = 0; @@ -95,6 +94,7 @@ impl frame_system::Config for Test { type BlockLength = (); type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; + type RuntimeTask = RuntimeTask; type Nonce = u64; type Block = Block; type Hash = H256; @@ -127,8 +127,8 @@ impl pallet_balances::Config for Test { type ReserveIdentifier = [u8; 8]; type FreezeIdentifier = (); type MaxFreezes = (); - type MaxHolds = (); type RuntimeHoldReason = (); + type RuntimeFreezeReason = (); } parameter_type_with_key! { diff --git a/pallets/otc/src/tests/mock.rs b/pallets/otc/src/tests/mock.rs index 8612a3381..aff2a0daf 100644 --- a/pallets/otc/src/tests/mock.rs +++ b/pallets/otc/src/tests/mock.rs @@ -96,6 +96,7 @@ impl system::Config for Test { type BlockLength = (); type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; + type RuntimeTask = RuntimeTask; type Nonce = u64; type Block = Block; type Hash = H256; @@ -150,7 +151,7 @@ impl Inspect for DummyRegistry { fn exists(asset_id: AssetId) -> bool { let asset = REGISTERED_ASSETS.with(|v| v.borrow().get(&(asset_id)).copied()); - matches!(asset, Some(_)) + asset.is_some() } fn is_banned(_id: Self::AssetId) -> bool { diff --git a/pallets/referrals/src/migration.rs b/pallets/referrals/src/migration.rs index 8bc45fe50..fc1c812d6 100644 --- a/pallets/referrals/src/migration.rs +++ b/pallets/referrals/src/migration.rs @@ -27,51 +27,51 @@ where let accounts: [(&str, Option); 12] = [ ( "MOONBEAM", - AccountId32::try_from(hex!["7369626cd4070000000000000000000000000000000000000000000000000000"]).ok(), + Some(AccountId32::from(hex!["7369626cd4070000000000000000000000000000000000000000000000000000"])), ), ( "ASSETHUB", - AccountId32::try_from(hex!["7369626ce8030000000000000000000000000000000000000000000000000000"]).ok(), + Some(AccountId32::from(hex!["7369626ce8030000000000000000000000000000000000000000000000000000"])), ), ( "INTERLAY", - AccountId32::try_from(hex!["7369626cf0070000000000000000000000000000000000000000000000000000"]).ok(), + Some(AccountId32::from(hex!["7369626cf0070000000000000000000000000000000000000000000000000000"])), ), ( "CENTRIFUGE", - AccountId32::try_from(hex!["7369626cef070000000000000000000000000000000000000000000000000000"]).ok(), + Some(AccountId32::from(hex!["7369626cef070000000000000000000000000000000000000000000000000000"])), ), ( "ASTAR", - AccountId32::try_from(hex!["7369626cd6070000000000000000000000000000000000000000000000000000"]).ok(), + Some(AccountId32::from(hex!["7369626cd6070000000000000000000000000000000000000000000000000000"])), ), ( "BIFROST", - AccountId32::try_from(hex!["7369626cee070000000000000000000000000000000000000000000000000000"]).ok(), + Some(AccountId32::from(hex!["7369626cee070000000000000000000000000000000000000000000000000000"])), ), ( "ZEITGEIST", - AccountId32::try_from(hex!["7369626c2c080000000000000000000000000000000000000000000000000000"]).ok(), + Some(AccountId32::from(hex!["7369626c2c080000000000000000000000000000000000000000000000000000"])), ), ( "PHALA", - AccountId32::try_from(hex!["7369626cf3070000000000000000000000000000000000000000000000000000"]).ok(), + Some(AccountId32::from(hex!["7369626cf3070000000000000000000000000000000000000000000000000000"])), ), ( "UNIQUE", - AccountId32::try_from(hex!["7369626cf5070000000000000000000000000000000000000000000000000000"]).ok(), + Some(AccountId32::from(hex!["7369626cf5070000000000000000000000000000000000000000000000000000"])), ), ( "NODLE", - AccountId32::try_from(hex!["7369626cea070000000000000000000000000000000000000000000000000000"]).ok(), + Some(AccountId32::from(hex!["7369626cea070000000000000000000000000000000000000000000000000000"])), ), ( "SUBSOCIAL", - AccountId32::try_from(hex!["7369626c35080000000000000000000000000000000000000000000000000000"]).ok(), + Some(AccountId32::from(hex!["7369626c35080000000000000000000000000000000000000000000000000000"])), ), ( "POLKADOT", - AccountId32::try_from(hex!["506172656e740000000000000000000000000000000000000000000000000000"]).ok(), + Some(AccountId32::from(hex!["506172656e740000000000000000000000000000000000000000000000000000"])), ), ]; for (code, maybe_who) in accounts.into_iter() { diff --git a/pallets/referrals/src/tests.rs b/pallets/referrals/src/tests.rs index 008bfb500..3267a3e6b 100644 --- a/pallets/referrals/src/tests.rs +++ b/pallets/referrals/src/tests.rs @@ -154,6 +154,7 @@ impl frame_system::Config for Test { type BlockLength = (); type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; + type RuntimeTask = RuntimeTask; type Nonce = u64; type Block = Block; type Hash = H256; diff --git a/pallets/route-executor/src/lib.rs b/pallets/route-executor/src/lib.rs index 18c752f3d..30aa1fdcd 100644 --- a/pallets/route-executor/src/lib.rs +++ b/pallets/route-executor/src/lib.rs @@ -576,7 +576,7 @@ impl Pallet { match (route_validation, inverse_route_validation) { (Ok(_), Ok(_)) => Ok((reference_amount_in, reference_amount_in_for_inverse_route)), - (Err(_), Ok(amount_out)) => Self::validate_sell(route.clone().to_vec(), amount_out) + (Err(_), Ok(amount_out)) => Self::validate_sell(route.to_vec(), amount_out) .map(|_| (amount_out, reference_amount_in_for_inverse_route)), (Ok(amount_out), Err(_)) => { Self::validate_sell(inverse_route, amount_out).map(|_| (reference_amount_in, amount_out)) diff --git a/pallets/route-executor/src/tests/mock.rs b/pallets/route-executor/src/tests/mock.rs index cebcaabab..19563ba91 100644 --- a/pallets/route-executor/src/tests/mock.rs +++ b/pallets/route-executor/src/tests/mock.rs @@ -62,6 +62,7 @@ impl frame_system::Config for Test { type BlockLength = (); type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; + type RuntimeTask = RuntimeTask; type Nonce = u64; type Block = Block; type Hash = H256; @@ -121,8 +122,8 @@ impl pallet_balances::Config for Test { type ReserveIdentifier = (); type FreezeIdentifier = (); type MaxFreezes = (); - type MaxHolds = (); type RuntimeHoldReason = (); + type RuntimeFreezeReason = (); } impl pallet_currencies::Config for Test { diff --git a/pallets/stableswap/src/lib.rs b/pallets/stableswap/src/lib.rs index 65b336311..c3c42b860 100644 --- a/pallets/stableswap/src/lib.rs +++ b/pallets/stableswap/src/lib.rs @@ -64,12 +64,9 @@ use sp_std::num::NonZeroU16; use sp_std::prelude::*; use sp_std::vec; -mod trade_execution; pub mod types; pub mod weights; -pub use trade_execution::*; - use crate::types::{AssetAmount, Balance, PoolInfo, PoolState, StableswapHooks, Tradability}; use hydra_dx_math::stableswap::types::AssetReserve; use hydradx_traits::pools::DustRemovalAccountWhitelist; @@ -1166,68 +1163,6 @@ impl Pallet { } impl Pallet { - fn calculate_shares(pool_id: T::AssetId, assets: &[AssetAmount]) -> Result { - let pool = Pools::::get(pool_id).ok_or(Error::::PoolNotFound)?; - let pool_account = Self::pool_account(pool_id); - - ensure!(assets.len() <= pool.assets.len(), Error::::MaxAssetsExceeded); - - let mut added_assets = BTreeMap::::new(); - for asset in assets.iter() { - ensure!( - Self::is_asset_allowed(pool_id, asset.asset_id, Tradability::ADD_LIQUIDITY), - Error::::NotAllowed - ); - ensure!( - asset.amount >= T::MinTradingLimit::get(), - Error::::InsufficientTradingAmount - ); - - ensure!(pool.find_asset(asset.asset_id).is_some(), Error::::AssetNotInPool); - - if added_assets.insert(asset.asset_id, asset.amount).is_some() { - return Err(Error::::IncorrectAssets.into()); - } - } - - let mut initial_reserves = Vec::with_capacity(pool.assets.len()); - let mut updated_reserves = Vec::with_capacity(pool.assets.len()); - for pool_asset in pool.assets.iter() { - let decimals = Self::retrieve_decimals(*pool_asset).ok_or(Error::::UnknownDecimals)?; - let reserve = T::Currency::free_balance(*pool_asset, &pool_account); - initial_reserves.push(AssetReserve { - amount: reserve, - decimals, - }); - if let Some(liq_added) = added_assets.remove(pool_asset) { - let inc_reserve = reserve.checked_add(liq_added).ok_or(ArithmeticError::Overflow)?; - updated_reserves.push(AssetReserve { - amount: inc_reserve, - decimals, - }); - } else { - ensure!(!reserve.is_zero(), Error::::InvalidInitialLiquidity); - updated_reserves.push(AssetReserve { - amount: reserve, - decimals, - }); - } - } - - let amplification = Self::get_amplification(&pool); - let share_issuance = T::Currency::total_issuance(pool_id); - let share_amount = hydra_dx_math::stableswap::calculate_shares::( - &initial_reserves, - &updated_reserves, - amplification, - share_issuance, - pool.fee, - ) - .ok_or(ArithmeticError::Overflow)?; - - Ok(share_amount) - } - // Trigger on_liquidity_changed hook. Initial reserves and issuance are required to calculate delta. // We need new updated reserves and new share price of each asset in pool, so for this, we can simply query the storage after the update. fn call_on_liquidity_change_hook( diff --git a/pallets/stableswap/src/tests/mock.rs b/pallets/stableswap/src/tests/mock.rs index c6ae86e8a..002690033 100644 --- a/pallets/stableswap/src/tests/mock.rs +++ b/pallets/stableswap/src/tests/mock.rs @@ -90,6 +90,7 @@ impl frame_system::Config for Test { type BlockLength = (); type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; + type RuntimeTask = RuntimeTask; type Nonce = u64; type Block = Block; type Hash = H256; diff --git a/pallets/staking/src/tests/mock.rs b/pallets/staking/src/tests/mock.rs index 90d5b6ecf..d149fb4e6 100644 --- a/pallets/staking/src/tests/mock.rs +++ b/pallets/staking/src/tests/mock.rs @@ -91,6 +91,7 @@ impl frame_system::Config for Test { type BlockLength = (); type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; + type RuntimeTask = RuntimeTask; type Nonce = u64; type Block = Block; type Hash = H256; @@ -126,8 +127,8 @@ impl pallet_balances::Config for Test { type ReserveIdentifier = [u8; 8]; type FreezeIdentifier = (); type MaxFreezes = (); - type MaxHolds = (); type RuntimeHoldReason = (); + type RuntimeFreezeReason = (); } parameter_types! { diff --git a/pallets/transaction-multi-payment/src/mock.rs b/pallets/transaction-multi-payment/src/mock.rs index b4e2f3c79..7b09c99cf 100644 --- a/pallets/transaction-multi-payment/src/mock.rs +++ b/pallets/transaction-multi-payment/src/mock.rs @@ -132,6 +132,7 @@ impl system::Config for Test { type BlockLength = (); type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; + type RuntimeTask = RuntimeTask; type Nonce = u64; type Block = Block; type Hash = H256; @@ -197,8 +198,8 @@ impl pallet_balances::Config for Test { type ReserveIdentifier = (); type FreezeIdentifier = (); type MaxFreezes = (); - type MaxHolds = (); type RuntimeHoldReason = (); + type RuntimeFreezeReason = (); } impl pallet_transaction_payment::Config for Test { diff --git a/pallets/transaction-multi-payment/src/tests.rs b/pallets/transaction-multi-payment/src/tests.rs index 20148acad..f1117d22b 100644 --- a/pallets/transaction-multi-payment/src/tests.rs +++ b/pallets/transaction-multi-payment/src/tests.rs @@ -15,7 +15,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -pub use crate::{mock::*, Config, Error}; +pub use crate::{mock::*, Error}; use crate::{AcceptedCurrencies, AcceptedCurrencyPrice, Event, PaymentInfo, Price}; use frame_support::{ @@ -31,7 +31,7 @@ use pallet_balances::Call as BalancesCall; use pallet_transaction_payment::ChargeTransactionPayment; const CALL: &::RuntimeCall = - &RuntimeCall::Balances(BalancesCall::transfer { dest: BOB, value: 69 }); + &RuntimeCall::Balances(BalancesCall::transfer_allow_death { dest: BOB, value: 69 }); #[test] fn on_initialize_should_fill_storage_with_prices() { diff --git a/pallets/transaction-pause/src/mock.rs b/pallets/transaction-pause/src/mock.rs index 8ba773130..2178e4772 100644 --- a/pallets/transaction-pause/src/mock.rs +++ b/pallets/transaction-pause/src/mock.rs @@ -52,6 +52,7 @@ impl frame_system::Config for Runtime { type AccountId = AccountId; type Lookup = IdentityLookup; type RuntimeEvent = RuntimeEvent; + type RuntimeTask = RuntimeTask; type BlockHashCount = ConstU64<250>; type BlockWeights = (); type BlockLength = (); @@ -80,8 +81,8 @@ impl pallet_balances::Config for Runtime { type WeightInfo = (); type FreezeIdentifier = (); type MaxFreezes = (); - type MaxHolds = (); type RuntimeHoldReason = (); + type RuntimeFreezeReason = (); } parameter_type_with_key! { diff --git a/pallets/xcm-rate-limiter/src/tests/mock.rs b/pallets/xcm-rate-limiter/src/tests/mock.rs index fc3bcf239..f1f0a6c02 100644 --- a/pallets/xcm-rate-limiter/src/tests/mock.rs +++ b/pallets/xcm-rate-limiter/src/tests/mock.rs @@ -97,6 +97,7 @@ impl frame_system::Config for Test { type DbWeight = (); type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; + type RuntimeTask = RuntimeTask; type Nonce = u64; type Block = Block; type Hash = H256; @@ -179,8 +180,8 @@ impl pallet_balances::Config for Test { type ReserveIdentifier = [u8; 8]; type FreezeIdentifier = (); type MaxFreezes = (); - type MaxHolds = (); type RuntimeHoldReason = (); + type RuntimeFreezeReason = (); } parameter_type_with_key! { diff --git a/pallets/xyk-liquidity-mining/src/tests/mock.rs b/pallets/xyk-liquidity-mining/src/tests/mock.rs index e5637ffa4..bc58c68c0 100644 --- a/pallets/xyk-liquidity-mining/src/tests/mock.rs +++ b/pallets/xyk-liquidity-mining/src/tests/mock.rs @@ -121,6 +121,7 @@ impl system::Config for Test { type DbWeight = DbWeight; type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; + type RuntimeTask = RuntimeTask; type Nonce = u64; type Block = Block; type Hash = H256; @@ -849,8 +850,8 @@ impl pallet_balances::Config for Test { type ReserveIdentifier = (); type FreezeIdentifier = (); type MaxFreezes = (); - type MaxHolds = (); type RuntimeHoldReason = (); + type RuntimeFreezeReason = (); } parameter_type_with_key! { diff --git a/pallets/xyk/src/tests/mock.rs b/pallets/xyk/src/tests/mock.rs index b8dffd442..00aaa71bb 100644 --- a/pallets/xyk/src/tests/mock.rs +++ b/pallets/xyk/src/tests/mock.rs @@ -125,6 +125,7 @@ impl system::Config for Test { type BlockLength = (); type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; + type RuntimeTask = RuntimeTask; type Nonce = u64; type Block = Block; type Hash = H256; diff --git a/runtime/hydradx/src/evm/mod.rs b/runtime/hydradx/src/evm/mod.rs index b280566e7..5c336de57 100644 --- a/runtime/hydradx/src/evm/mod.rs +++ b/runtime/hydradx/src/evm/mod.rs @@ -40,11 +40,6 @@ use orml_tokens::CurrencyAdapter; use pallet_currencies::fungibles::FungibleCurrencies; use pallet_evm::EnsureAddressTruncated; use pallet_transaction_payment::Multiplier; -use polkadot_xcm::v4::Junctions; -use polkadot_xcm::{ - latest::Location, - prelude::{AccountKey20, PalletInstance, Parachain}, -}; use primitives::{constants::chain::MAXIMUM_BLOCK_WEIGHT, AssetId}; use sp_core::{Get, U256}; diff --git a/runtime/hydradx/src/governance.rs b/runtime/hydradx/src/governance.rs index d48dc60c1..8dbf0c55e 100644 --- a/runtime/hydradx/src/governance.rs +++ b/runtime/hydradx/src/governance.rs @@ -21,9 +21,7 @@ use primitives::constants::{ time::{DAYS, HOURS}, }; -use frame_support::traits::fungible::HoldConsideration; use frame_support::traits::tokens::{PayFromAccount, UnityAssetBalanceConversion}; -use frame_support::traits::LinearStoragePrice; use frame_support::{ parameter_types, sp_runtime::{Perbill, Percent, Permill}, diff --git a/runtime/hydradx/src/migrations.rs b/runtime/hydradx/src/migrations.rs index 4b7a84c7a..22bdcbdff 100644 --- a/runtime/hydradx/src/migrations.rs +++ b/runtime/hydradx/src/migrations.rs @@ -1,6 +1,6 @@ -use crate::Runtime; +// use crate::Runtime; use frame_support::{traits::OnRuntimeUpgrade, weights::Weight}; -use pallet_evm_chain_id::ChainId; +// use pallet_evm_chain_id::ChainId; #[cfg(feature = "try-runtime")] use sp_std::prelude::*; diff --git a/runtime/hydradx/src/xcm.rs b/runtime/hydradx/src/xcm.rs index 0ef195cf1..2014375ab 100644 --- a/runtime/hydradx/src/xcm.rs +++ b/runtime/hydradx/src/xcm.rs @@ -3,7 +3,7 @@ use sp_std::marker::PhantomData; use codec::MaxEncodedLen; use hydradx_adapters::{ - MultiCurrencyTrader, RelayChainBlockNumberProvider, ReroutingMultiCurrencyAdapter, ToFeeReceiver, + MultiCurrencyTrader, ReroutingMultiCurrencyAdapter, ToFeeReceiver, }; use pallet_transaction_multi_payment::DepositAll; use primitives::AssetId; // shadow glob import of polkadot_xcm::v3::prelude::AssetId @@ -16,7 +16,6 @@ use frame_support::{ traits::{ConstU32, Contains, Everything, Get, Nothing}, PalletId, }; -use frame_system::EnsureRoot; use hydradx_adapters::xcm_exchange::XcmAssetExchanger; use hydradx_adapters::xcm_execute_filter::AllowTransferAndSwap; use orml_traits::{location::AbsoluteReserveProvider, parameter_type_with_key}; From 4871137ce6b0e8f037a44c33fcd420ed7b020328 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Mon, 29 Apr 2024 18:56:43 +0200 Subject: [PATCH 025/105] fix stand-alone build of pallet-stableswap --- pallets/stableswap/Cargo.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pallets/stableswap/Cargo.toml b/pallets/stableswap/Cargo.toml index 1ec8da512..3a3a95dfc 100644 --- a/pallets/stableswap/Cargo.toml +++ b/pallets/stableswap/Cargo.toml @@ -67,6 +67,7 @@ std = [ 'sp-std/std', "orml-tokens/std", "frame-benchmarking/std", + 'orml-traits/std', "hydra-dx-math/std", ] try-runtime = ["frame-support/try-runtime"] From dd54fd36ef465a2eb554062f9d22825da7763dfe Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Mon, 29 Apr 2024 19:01:15 +0200 Subject: [PATCH 026/105] fix missing trade execution impl --- pallets/stableswap/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/pallets/stableswap/src/lib.rs b/pallets/stableswap/src/lib.rs index c3c42b860..e3c88704a 100644 --- a/pallets/stableswap/src/lib.rs +++ b/pallets/stableswap/src/lib.rs @@ -65,6 +65,7 @@ use sp_std::prelude::*; use sp_std::vec; pub mod types; +mod trade_execution; pub mod weights; use crate::types::{AssetAmount, Balance, PoolInfo, PoolState, StableswapHooks, Tradability}; From f698e5c18dcf97c24c863978d8fb1841bb5b6c37 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Tue, 30 Apr 2024 11:22:07 +0200 Subject: [PATCH 027/105] add removed calculate_shares --- pallets/stableswap/src/lib.rs | 62 +++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) diff --git a/pallets/stableswap/src/lib.rs b/pallets/stableswap/src/lib.rs index e3c88704a..f414799de 100644 --- a/pallets/stableswap/src/lib.rs +++ b/pallets/stableswap/src/lib.rs @@ -1164,6 +1164,68 @@ impl Pallet { } impl Pallet { + fn calculate_shares(pool_id: T::AssetId, assets: &[AssetAmount]) -> Result { + let pool = Pools::::get(pool_id).ok_or(Error::::PoolNotFound)?; + let pool_account = Self::pool_account(pool_id); + + ensure!(assets.len() <= pool.assets.len(), Error::::MaxAssetsExceeded); + + let mut added_assets = BTreeMap::::new(); + for asset in assets.iter() { + ensure!( + Self::is_asset_allowed(pool_id, asset.asset_id, Tradability::ADD_LIQUIDITY), + Error::::NotAllowed + ); + ensure!( + asset.amount >= T::MinTradingLimit::get(), + Error::::InsufficientTradingAmount + ); + + ensure!(pool.find_asset(asset.asset_id).is_some(), Error::::AssetNotInPool); + + if added_assets.insert(asset.asset_id, asset.amount).is_some() { + return Err(Error::::IncorrectAssets.into()); + } + } + + let mut initial_reserves = Vec::with_capacity(pool.assets.len()); + let mut updated_reserves = Vec::with_capacity(pool.assets.len()); + for pool_asset in pool.assets.iter() { + let decimals = Self::retrieve_decimals(*pool_asset).ok_or(Error::::UnknownDecimals)?; + let reserve = T::Currency::free_balance(*pool_asset, &pool_account); + initial_reserves.push(AssetReserve { + amount: reserve, + decimals, + }); + if let Some(liq_added) = added_assets.remove(pool_asset) { + let inc_reserve = reserve.checked_add(liq_added).ok_or(ArithmeticError::Overflow)?; + updated_reserves.push(AssetReserve { + amount: inc_reserve, + decimals, + }); + } else { + ensure!(!reserve.is_zero(), Error::::InvalidInitialLiquidity); + updated_reserves.push(AssetReserve { + amount: reserve, + decimals, + }); + } + } + + let amplification = Self::get_amplification(&pool); + let share_issuance = T::Currency::total_issuance(pool_id); + let share_amount = hydra_dx_math::stableswap::calculate_shares::( + &initial_reserves, + &updated_reserves, + amplification, + share_issuance, + pool.fee, + ) + .ok_or(ArithmeticError::Overflow)?; + + Ok(share_amount) + } + // Trigger on_liquidity_changed hook. Initial reserves and issuance are required to calculate delta. // We need new updated reserves and new share price of each asset in pool, so for this, we can simply query the storage after the update. fn call_on_liquidity_change_hook( From b4feb2bbb066f9dd7787ca48960c13a2e7bf1c5e Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Wed, 8 May 2024 10:02:36 +0200 Subject: [PATCH 028/105] fix clippy and tests build --- Cargo.lock | 2 + Cargo.toml | 3 +- integration-tests/Cargo.toml | 5 + integration-tests/src/call_filter.rs | 10 +- integration-tests/src/cross_chain_transfer.rs | 185 ++++++------ integration-tests/src/dca.rs | 6 +- integration-tests/src/dust.rs | 2 +- integration-tests/src/exchange_asset.rs | 181 +++++++++--- .../src/global_account_derivation.rs | 96 ++++--- integration-tests/src/lib.rs | 2 - integration-tests/src/polkadot_test_net.rs | 149 ++++++---- integration-tests/src/staking.rs | 2 +- integration-tests/src/transact_call_filter.rs | 191 ++++++------ integration-tests/src/xcm_defer.rs | 32 --- integration-tests/src/xcm_rate_limiter.rs | 271 ------------------ math/src/liquidity_mining/invariants.rs | 2 +- node/src/chain_spec/local.rs | 4 +- node/src/chain_spec/mod.rs | 1 - node/src/chain_spec/rococo.rs | 4 +- node/src/chain_spec/staging.rs | 4 +- node/src/rpc.rs | 8 +- .../src/tests/add_liquidity_limit.rs | 2 +- .../src/tests/ensure_add_liquidity_limit.rs | 2 +- .../tests/ensure_remove_liquidity_limit.rs | 2 +- pallets/circuit-breaker/src/tests/mock.rs | 2 +- .../src/tests/remove_liquidity_limit.rs | 2 +- .../circuit-breaker/src/tests/trade_volume.rs | 2 +- pallets/dca/src/lib.rs | 14 +- pallets/dca/src/tests/mock.rs | 6 +- pallets/democracy/src/lib.rs | 14 +- pallets/democracy/src/tests.rs | 3 +- pallets/democracy/src/tests/fast_tracking.rs | 2 +- pallets/democracy/src/tests/metadata.rs | 16 +- .../democracy/src/tests/public_proposals.rs | 2 +- pallets/dynamic-evm-fee/src/lib.rs | 11 +- pallets/dynamic-fees/src/lib.rs | 8 +- pallets/ema-oracle/src/benchmarking.rs | 8 +- pallets/ema-oracle/src/lib.rs | 8 +- pallets/ema-oracle/src/tests/mod.rs | 4 +- pallets/lbp/src/invariants.rs | 3 +- pallets/lbp/src/mock.rs | 4 +- pallets/lbp/src/tests.rs | 4 +- pallets/nft/src/mock.rs | 5 - .../src/tests/mock.rs | 2 +- pallets/omnipool/src/tests/mock.rs | 2 +- pallets/omnipool/src/types.rs | 2 + pallets/referrals/src/migration.rs | 48 +++- pallets/route-executor/src/lib.rs | 2 +- pallets/stableswap/src/lib.rs | 2 +- pallets/stableswap/src/tests/mock.rs | 2 +- pallets/stableswap/src/types.rs | 2 + pallets/transaction-pause/src/tests.rs | 6 +- runtime/adapters/src/lib.rs | 6 +- runtime/adapters/src/tests/mock.rs | 5 +- runtime/adapters/src/tests/trader.rs | 85 +++--- runtime/adapters/src/tests/xcm_exchange.rs | 87 +++--- .../adapters/src/tests/xcm_execute_filter.rs | 62 ++-- runtime/hydradx/src/migrations.rs | 4 +- runtime/hydradx/src/tests.rs | 2 +- runtime/hydradx/src/weights/identity.rs | 12 +- runtime/hydradx/src/weights/preimage.rs | 2 +- runtime/hydradx/src/xcm.rs | 42 +-- scraper/src/lib.rs | 4 +- scraper/src/main.rs | 2 +- 64 files changed, 776 insertions(+), 889 deletions(-) delete mode 100644 integration-tests/src/xcm_defer.rs delete mode 100644 integration-tests/src/xcm_rate_limiter.rs diff --git a/Cargo.lock b/Cargo.lock index 1f1d927a3..e51f4e4d3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -11844,6 +11844,7 @@ dependencies = [ "polkadot-service", "pretty_assertions", "primitives", + "rococo-runtime", "sc-consensus-grandpa", "scraper", "sp-api", @@ -11851,6 +11852,7 @@ dependencies = [ "sp-block-builder", "sp-consensus-aura", "sp-consensus-babe", + "sp-consensus-beefy", "sp-core", "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-inherents", diff --git a/Cargo.toml b/Cargo.toml index 078cca3c3..f1f44fe73 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,7 +11,6 @@ members = [ 'utils/build-script-utils', 'integration-tests', 'pallets/circuit-breaker', - #'pallets/xcm-rate-limiter', 'pallets/omnipool-liquidity-mining', 'scraper', 'traits', @@ -81,7 +80,6 @@ pallet-transaction-multi-payment = { path = "pallets/transaction-multi-payment", pallet-transaction-pause = { path = "pallets/transaction-pause", default-features = false } pallet-staking = { path = "pallets/staking", default-features = false } pallet-democracy= { path = "pallets/democracy", default-features = false } -#pallet-xcm-rate-limiter = { path = "pallets/xcm-rate-limiter", default-features = false } warehouse-liquidity-mining = { package = "pallet-liquidity-mining", path = "pallets/liquidity-mining", default-features = false } pallet-bonds = { path = "pallets/bonds", default-features = false} pallet-lbp = { path = "pallets/lbp", default-features = false} @@ -120,6 +118,7 @@ sp-blockchain = { git = "https://github.com/paritytech/polkadot-sdk", branch = " sp-consensus = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } sp-consensus-aura = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } sp-consensus-babe = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +sp-consensus-beefy = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } sp-core = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } sp-externalities = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } sp-inherents = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } diff --git a/integration-tests/Cargo.toml b/integration-tests/Cargo.toml index 61500c76f..0944783d4 100644 --- a/integration-tests/Cargo.toml +++ b/integration-tests/Cargo.toml @@ -119,12 +119,14 @@ sp-staking = { workspace = true } sp-trie = { workspace = true } sp-io = { workspace = true } sp-consensus-babe = { workspace = true } +sp-consensus-beefy = { workspace = true } sp-authority-discovery = { workspace = true } sc-consensus-grandpa = { workspace = true } polkadot-primitives = { workspace = true } polkadot-service = { workspace = true, features = ["full-node"] } polkadot-runtime-parachains = { workspace = true } +rococo-runtime = { workspace = true } [dev-dependencies] pretty_assertions = "1.2.1" @@ -172,6 +174,7 @@ std = [ "sp-block-builder/std", "sp-consensus-aura/std", "sp-consensus-babe/std", + "sp-consensus-beefy/std", "sp-core/std", "sp-io/std", "sp-inherents/std", @@ -193,6 +196,7 @@ std = [ "hydradx-traits/std", "pallet-relaychain-info/std", "hydradx-runtime/std", + "rococo-runtime/std", "pallet-staking/std", "scraper/std", "pallet-dynamic-evm-fee/std" @@ -201,6 +205,7 @@ std = [ # we don't include integration tests when benchmarking feature is enabled runtime-benchmarks = [ "hydradx-runtime/runtime-benchmarks", + "rococo-runtime/runtime-benchmarks", ] try-runtime = [ ] diff --git a/integration-tests/src/call_filter.rs b/integration-tests/src/call_filter.rs index 3563f15ea..419a6353d 100644 --- a/integration-tests/src/call_filter.rs +++ b/integration-tests/src/call_filter.rs @@ -7,7 +7,7 @@ use frame_support::{ traits::Contains, weights::Weight, }; -use polkadot_xcm::latest::prelude::*; +use polkadot_xcm::v3::prelude::*; use polkadot_xcm::VersionedXcm; use xcm_emulator::TestExt; @@ -35,11 +35,11 @@ fn transfer_should_not_work_when_transfering_omnipool_assets_to_omnipool_account // Balances::transfer // transfer to Alice should not be filtered - let successful_call = hydradx_runtime::RuntimeCall::Balances(pallet_balances::Call::transfer { + let successful_call = hydradx_runtime::RuntimeCall::Balances(pallet_balances::Call::transfer_allow_death { dest: ALICE.into(), value: 10 * UNITS, }); - let filtered_call = hydradx_runtime::RuntimeCall::Balances(pallet_balances::Call::transfer { + let filtered_call = hydradx_runtime::RuntimeCall::Balances(pallet_balances::Call::transfer_allow_death { dest: omnipool_account.clone(), value: 10 * UNITS, }); @@ -230,7 +230,7 @@ fn calling_pallet_xcm_send_extrinsic_should_not_be_filtered_by_call_filter() { Hydra::execute_with(|| { // the values here don't need to make sense, all we need is a valid Call let call = hydradx_runtime::RuntimeCall::PolkadotXcm(pallet_xcm::Call::send { - dest: Box::new(MultiLocation::parent().into()), + dest: Box::new(MultiLocation::parent().into_versioned()), message: Box::new(VersionedXcm::from(Xcm(vec![]))), }); @@ -260,7 +260,7 @@ fn calling_orml_xcm_extrinsic_should_be_filtered_by_call_filter() { Hydra::execute_with(|| { // the values here don't need to make sense, all we need is a valid Call let call = hydradx_runtime::RuntimeCall::OrmlXcm(orml_xcm::Call::send_as_sovereign { - dest: Box::new(MultiLocation::parent().into()), + dest: Box::new(MultiLocation::parent().into_versioned()), message: Box::new(VersionedXcm::from(Xcm(vec![]))), }); diff --git a/integration-tests/src/cross_chain_transfer.rs b/integration-tests/src/cross_chain_transfer.rs index ef40e57a1..91ee1fe8f 100644 --- a/integration-tests/src/cross_chain_transfer.rs +++ b/integration-tests/src/cross_chain_transfer.rs @@ -1,32 +1,33 @@ #![cfg(test)] +use crate::polkadot_test_net::Rococo; use crate::polkadot_test_net::*; use frame_support::{assert_noop, assert_ok}; -use polkadot_xcm::{latest::prelude::*, v3::WeightLimit, VersionedMultiAssets, VersionedXcm}; +use polkadot_xcm::{v4::prelude::*, VersionedAssets, VersionedXcm}; use cumulus_primitives_core::ParaId; use frame_support::weights::Weight; -use hex_literal::hex; use hydradx_traits::registry::Mutate; use orml_traits::currency::MultiCurrency; +use polkadot_xcm::opaque::v3::Junction; +use polkadot_xcm::opaque::v3::Junctions::{X1, X2}; +use polkadot_xcm::opaque::v3::MultiLocation; use pretty_assertions::assert_eq; use primitives::AccountId; use sp_core::H256; use sp_runtime::traits::{AccountIdConversion, BlakeTwo256, Hash}; +use sp_std::sync::Arc; use xcm_emulator::TestExt; // Determine the hash for assets expected to be have been trapped. -fn determine_hash(origin: &MultiLocation, assets: M) -> H256 -where - M: Into, -{ - let versioned = VersionedMultiAssets::from(assets.into()); +fn determine_hash(origin: &MultiLocation, assets: Vec) -> H256 { + let versioned = VersionedAssets::from(Assets::from(assets)); BlakeTwo256::hash_of(&(origin, &versioned)) } #[test] -fn hydra_should_receive_asset_when_transferred_from_polkadot_relay_chain() { +fn hydra_should_receive_asset_when_transferred_from_rococo_relay_chain() { //Arrange Hydra::execute_with(|| { assert_ok!(hydradx_runtime::AssetRegistry::set_location( @@ -35,19 +36,19 @@ fn hydra_should_receive_asset_when_transferred_from_polkadot_relay_chain() { )); }); - PolkadotRelay::execute_with(|| { + Rococo::execute_with(|| { //Act - assert_ok!(polkadot_runtime::XcmPallet::reserve_transfer_assets( - polkadot_runtime::RuntimeOrigin::signed(ALICE.into()), + assert_ok!(rococo_runtime::XcmPallet::reserve_transfer_assets( + rococo_runtime::RuntimeOrigin::signed(ALICE.into()), Box::new(Parachain(HYDRA_PARA_ID).into_versioned()), - Box::new(Junction::AccountId32 { id: BOB, network: None }.into()), + Box::new(Junction::AccountId32 { id: BOB, network: None }.into_versioned()), Box::new((Here, 300 * UNITS).into()), 0, )); //Assert assert_eq!( - polkadot_runtime::Balances::free_balance(AccountIdConversion::::into_account_truncating( + rococo_runtime::Balances::free_balance(AccountIdConversion::::into_account_truncating( &ParaId::from(HYDRA_PARA_ID) )), 310 * UNITS @@ -66,9 +67,9 @@ fn hydra_should_receive_asset_when_transferred_from_polkadot_relay_chain() { } #[test] -fn polkadot_should_receive_asset_when_sent_from_hydra() { +fn rococo_should_receive_asset_when_sent_from_hydra() { //Arrange - PolkadotRelay::execute_with(|| { + Rococo::execute_with(|| { assert_eq!(hydradx_runtime::Balances::free_balance(AccountId::from(BOB)), 0); }); @@ -83,7 +84,7 @@ fn polkadot_should_receive_asset_when_sent_from_hydra() { hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), 1, 3 * UNITS, - Box::new(MultiLocation::new(1, X1(Junction::AccountId32 { id: BOB, network: None })).into()), + Box::new(MultiLocation::new(1, X1(Junction::AccountId32 { id: BOB, network: None })).into_versioned()), WeightLimit::Unlimited, )); @@ -94,7 +95,7 @@ fn polkadot_should_receive_asset_when_sent_from_hydra() { ); }); - PolkadotRelay::execute_with(|| { + Rococo::execute_with(|| { assert_eq!( hydradx_runtime::Balances::free_balance(AccountId::from(BOB)), 2999978937205 // 3 * HDX - fee @@ -110,7 +111,10 @@ fn hydra_should_receive_asset_when_transferred_from_acala() { Hydra::execute_with(|| { assert_ok!(hydradx_runtime::AssetRegistry::set_location( ACA, - hydradx_runtime::AssetLocation(MultiLocation::new(1, X2(Parachain(ACALA_PARA_ID), GeneralIndex(0)))) + hydradx_runtime::AssetLocation(MultiLocation::new( + 1, + X2(Junction::Parachain(ACALA_PARA_ID), Junction::GeneralIndex(0)) + )) )); }); @@ -128,7 +132,7 @@ fn hydra_should_receive_asset_when_transferred_from_acala() { Junction::AccountId32 { id: BOB, network: None } ) ) - .into() + .into_versioned() ), WeightLimit::Limited(Weight::from_parts(399_600_000_000, 0)) )); @@ -158,7 +162,10 @@ fn hydra_should_receive_asset_when_transferred_from_acala_to_eth_address() { Hydra::execute_with(|| { assert_ok!(hydradx_runtime::AssetRegistry::set_location( ACA, - hydradx_runtime::AssetLocation(MultiLocation::new(1, X2(Parachain(ACALA_PARA_ID), GeneralIndex(0)))) + hydradx_runtime::AssetLocation(MultiLocation::new( + 1, + X2(Junction::Parachain(ACALA_PARA_ID), Junction::GeneralIndex(0)) + )) )); }); @@ -180,7 +187,7 @@ fn hydra_should_receive_asset_when_transferred_from_acala_to_eth_address() { } ) ) - .into() + .into_versioned() ), WeightLimit::Limited(Weight::from_parts(399_600_000_000, 0)) )); @@ -209,7 +216,10 @@ fn hydra_should_receive_asset_when_transferred_from_acala_to_same_address_repres Hydra::execute_with(|| { assert_ok!(hydradx_runtime::AssetRegistry::set_location( ACA, - hydradx_runtime::AssetLocation(MultiLocation::new(1, X2(Parachain(ACALA_PARA_ID), GeneralIndex(0)))) + hydradx_runtime::AssetLocation(MultiLocation::new( + 1, + X2(Junction::Parachain(ACALA_PARA_ID), Junction::GeneralIndex(0)) + )) )); }); @@ -231,7 +241,7 @@ fn hydra_should_receive_asset_when_transferred_from_acala_to_same_address_repres } ) ) - .into() + .into_versioned() ), WeightLimit::Limited(Weight::from_parts(399_600_000_000, 0)) )); @@ -252,7 +262,7 @@ fn hydra_should_receive_asset_when_transferred_from_acala_to_same_address_repres } ) ) - .into() + .into_versioned() ), WeightLimit::Limited(Weight::from_parts(399_600_000_000, 0)) )); @@ -281,7 +291,10 @@ fn transfer_from_acala_should_fail_when_transferring_insufficient_amount() { Hydra::execute_with(|| { assert_ok!(hydradx_runtime::AssetRegistry::set_location( 1, - hydradx_runtime::AssetLocation(MultiLocation::new(1, X2(Parachain(ACALA_PARA_ID), GeneralIndex(0)))) + hydradx_runtime::AssetLocation(MultiLocation::new( + 1, + X2(Junction::Parachain(ACALA_PARA_ID), Junction::GeneralIndex(0)) + )) )); }); @@ -299,7 +312,7 @@ fn transfer_from_acala_should_fail_when_transferring_insufficient_amount() { Junction::AccountId32 { id: BOB, network: None } ) ) - .into() + .into_versioned() ), WeightLimit::Limited(Weight::from_parts(399_600_000_000, 0)) ), @@ -331,7 +344,10 @@ fn hydra_treasury_should_receive_asset_when_transferred_to_protocol_account() { assert_ok!(hydradx_runtime::AssetRegistry::set_location( DAI, // we pretend that the incoming tokens are DAI - hydradx_runtime::AssetLocation(MultiLocation::new(1, X2(Parachain(ACALA_PARA_ID), GeneralIndex(0)))) + hydradx_runtime::AssetLocation(MultiLocation::new( + 1, + X2(Junction::Parachain(ACALA_PARA_ID), Junction::GeneralIndex(0)) + )) )); assert_eq!( @@ -357,7 +373,7 @@ fn hydra_treasury_should_receive_asset_when_transferred_to_protocol_account() { } ) ) - .into() + .into_versioned() ), WeightLimit::Limited(Weight::from_parts(399_600_000_000, 0)) )); @@ -398,7 +414,7 @@ fn assets_should_be_trapped_when_assets_are_unknown() { Junction::AccountId32 { id: BOB, network: None } ) ) - .into() + .into_versioned() ), WeightLimit::Limited(Weight::from_parts(399_600_000_000, 0)) )); @@ -409,23 +425,22 @@ fn assets_should_be_trapped_when_assets_are_unknown() { }); Hydra::execute_with(|| { - expect_hydra_events(vec![ - cumulus_pallet_xcmp_queue::Event::Fail { - message_hash: hex!["30291d1dfb68ae6f66d4c841facb78f44e7611ab2a25c84f4fb7347f448d2944"], - message_id: hex!["30291d1dfb68ae6f66d4c841facb78f44e7611ab2a25c84f4fb7347f448d2944"], - error: XcmError::AssetNotFound, - weight: Weight::from_parts(300_000_000, 0), - } - .into(), - pallet_relaychain_info::Event::CurrentBlockNumbers { - parachain_block_number: 3, - relaychain_block_number: 7, - } - .into(), - ]); - let origin = MultiLocation::new(1, X1(Parachain(ACALA_PARA_ID))); - let loc = MultiLocation::new(1, X2(Parachain(ACALA_PARA_ID), GeneralIndex(0))); - let asset: MultiAsset = (loc, 30 * UNITS).into(); + assert_xcm_message_processing_failed(); + let origin = MultiLocation::new(1, X1(Junction::Parachain(ACALA_PARA_ID))); + let asset: Asset = Asset { + id: cumulus_primitives_core::AssetId(Location::new( + 1, + cumulus_primitives_core::Junctions::X2(Arc::new( + vec![ + cumulus_primitives_core::Junction::Parachain(ACALA_PARA_ID), + cumulus_primitives_core::Junction::GeneralIndex(0), + ] + .try_into() + .unwrap(), + )), + )), + fun: Fungible(30 * UNITS), + }; let hash = determine_hash(&origin, vec![asset]); assert_eq!(hydradx_runtime::PolkadotXcm::asset_trap(hash), 1); }); @@ -442,11 +457,23 @@ fn claim_trapped_asset_should_work() { Hydra::execute_with(|| { assert_ok!(hydradx_runtime::AssetRegistry::set_location( 1, - hydradx_runtime::AssetLocation(MultiLocation::new(1, X2(Parachain(ACALA_PARA_ID), GeneralIndex(0)))) + hydradx_runtime::AssetLocation(MultiLocation::new( + 1, + X2(Junction::Parachain(ACALA_PARA_ID), Junction::GeneralIndex(0)) + )) )); }); - claim_asset(asset.clone(), BOB); + let bob_loc = Location::new( + 0, + cumulus_primitives_core::Junctions::X1(Arc::new( + vec![cumulus_primitives_core::Junction::AccountId32 { id: BOB, network: None }] + .try_into() + .unwrap(), + )), + ); + + claim_asset(asset.clone(), bob_loc); Hydra::execute_with(|| { assert_eq!( @@ -454,13 +481,13 @@ fn claim_trapped_asset_should_work() { 1_029_939_717_395_149 //1000 * UNITS + 30 * UNITS - fee ); - let origin = MultiLocation::new(1, X1(Parachain(ACALA_PARA_ID))); + let origin = MultiLocation::new(1, X1(Junction::Parachain(ACALA_PARA_ID))); let hash = determine_hash(&origin, vec![asset]); assert_eq!(hydradx_runtime::PolkadotXcm::asset_trap(hash), 0); }); } -fn trap_asset() -> MultiAsset { +fn trap_asset() -> Asset { Acala::execute_with(|| { assert_eq!( hydradx_runtime::Balances::free_balance(AccountId::from(ALICE)), @@ -478,7 +505,7 @@ fn trap_asset() -> MultiAsset { Junction::AccountId32 { id: BOB, network: None } ) ) - .into() + .into_versioned() ), WeightLimit::Limited(Weight::from_parts(399_600_000_000, 0)) )); @@ -488,43 +515,33 @@ fn trap_asset() -> MultiAsset { ); }); - let loc = MultiLocation::new(1, X2(Parachain(ACALA_PARA_ID), GeneralIndex(0))); - let asset: MultiAsset = (loc, 30 * UNITS).into(); + let asset: Asset = Asset { + id: cumulus_primitives_core::AssetId(Location::new( + 1, + cumulus_primitives_core::Junctions::X2(Arc::new( + vec![ + cumulus_primitives_core::Junction::Parachain(ACALA_PARA_ID), + cumulus_primitives_core::Junction::GeneralIndex(0), + ] + .try_into() + .unwrap(), + )), + )), + fun: Fungible(30 * UNITS), + }; Hydra::execute_with(|| { - expect_hydra_events(vec![ - cumulus_pallet_xcmp_queue::Event::Fail { - message_hash: hex!["30291d1dfb68ae6f66d4c841facb78f44e7611ab2a25c84f4fb7347f448d2944"], - message_id: hex!["30291d1dfb68ae6f66d4c841facb78f44e7611ab2a25c84f4fb7347f448d2944"], - error: XcmError::AssetNotFound, - weight: Weight::from_parts(300_000_000, 0), - } - .into(), - pallet_relaychain_info::Event::CurrentBlockNumbers { - parachain_block_number: 3, - relaychain_block_number: 7, - } - .into(), - ]); - let origin = MultiLocation::new(1, X1(Parachain(ACALA_PARA_ID))); - let loc = MultiLocation::new(1, X2(Parachain(ACALA_PARA_ID), GeneralIndex(0))); - let asset: MultiAsset = (loc, 30 * UNITS).into(); - let hash = determine_hash(&origin, vec![asset]); + assert_xcm_message_processing_failed(); + let origin = MultiLocation::new(1, X1(Junction::Parachain(ACALA_PARA_ID))); + let hash = determine_hash(&origin, vec![asset.clone()]); assert_eq!(hydradx_runtime::PolkadotXcm::asset_trap(hash), 1); }); asset } -fn claim_asset(asset: MultiAsset, recipient: [u8; 32]) { +fn claim_asset(asset: Asset, recipient: Location) { Acala::execute_with(|| { - let recipient = MultiLocation::new( - 0, - X1(Junction::AccountId32 { - network: None, - id: recipient, - }), - ); let xcm_msg = Xcm(vec![ ClaimAsset { assets: vec![asset.clone()].into(), @@ -541,28 +558,28 @@ fn claim_asset(asset: MultiAsset, recipient: [u8; 32]) { ]); assert_ok!(hydradx_runtime::PolkadotXcm::send( hydradx_runtime::RuntimeOrigin::root(), - Box::new(MultiLocation::new(1, X1(Parachain(HYDRA_PARA_ID))).into()), + Box::new(MultiLocation::new(1, X1(Junction::Parachain(HYDRA_PARA_ID))).into_versioned()), Box::new(VersionedXcm::from(xcm_msg)) )); }); } #[test] -fn polkadot_xcm_execute_extrinsic_should_be_allowed() { +fn rococo_xcm_execute_extrinsic_should_be_allowed() { TestNet::reset(); Hydra::execute_with(|| { - let message = VersionedXcm::V3(Xcm(vec![ + let message = Xcm(vec![ WithdrawAsset((Here, 410000000000u128).into()), BuyExecution { fees: (Here, 400000000000u128).into(), weight_limit: Unlimited, }, - ])); + ]); assert_ok!(hydradx_runtime::PolkadotXcm::execute( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), - Box::new(message), + Box::new(VersionedXcm::from(message)), Weight::from_parts(400_000_000_000, 0) ),); }); diff --git a/integration-tests/src/dca.rs b/integration-tests/src/dca.rs index 19ceff68f..9b05b15ac 100644 --- a/integration-tests/src/dca.rs +++ b/integration-tests/src/dca.rs @@ -519,7 +519,7 @@ mod omnipool { BOB.into(), )); - polkadot_run_to_block(11); + rococo_run_to_block(11); let alice_init_hdx_balance = 5000 * UNITS; assert_ok!(Balances::force_set_balance( @@ -565,7 +565,7 @@ mod omnipool { ETH, BOB.into(), )); - polkadot_run_to_block(12); + rococo_run_to_block(12); //Assert let schedule_id = 0; @@ -3447,7 +3447,7 @@ pub fn init_stableswap_with_three_assets_having_different_decimals( let mut added_liquidity: Vec::AssetId>> = vec![]; let mut asset_ids: Vec<::AssetId> = Vec::new(); - let decimals_for_each_asset = vec![12u8, 6u8, 6u8]; + let decimals_for_each_asset = [12u8, 6u8, 6u8]; for idx in 0u32..3 { let name: Vec = idx.to_ne_bytes().to_vec(); diff --git a/integration-tests/src/dust.rs b/integration-tests/src/dust.rs index 54153ece9..5aea6e96f 100644 --- a/integration-tests/src/dust.rs +++ b/integration-tests/src/dust.rs @@ -30,7 +30,7 @@ fn balance_should_be_dusted_when_native_balance_is_below_ed() { hdx_ed, )); - assert_ok!(Balances::transfer( + assert_ok!(Balances::transfer_allow_death( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), BOB.into(), transfer_amount, diff --git a/integration-tests/src/exchange_asset.rs b/integration-tests/src/exchange_asset.rs index 019d6ae53..6bfc7d97d 100644 --- a/integration-tests/src/exchange_asset.rs +++ b/integration-tests/src/exchange_asset.rs @@ -11,12 +11,14 @@ use hydradx_runtime::AssetRegistry; use hydradx_traits::AssetKind; use hydradx_traits::Create; use orml_traits::currency::MultiCurrency; -use polkadot_xcm::{latest::prelude::*, VersionedXcm}; +use polkadot_xcm::opaque::v3::{Junction, Junctions::X2, MultiLocation}; +use polkadot_xcm::{v4::prelude::*, VersionedXcm}; use pretty_assertions::assert_eq; use primitives::constants::chain::CORE_ASSET_ID; use sp_runtime::traits::{Convert, Zero}; use sp_runtime::DispatchResult; use sp_runtime::{FixedU128, Permill, TransactionOutcome}; +use sp_std::sync::Arc; use xcm_emulator::TestExt; pub const SELL: bool = true; @@ -60,8 +62,8 @@ fn hydra_should_swap_assets_when_receiving_from_acala_with_sell() { Acala::execute_with(|| { let xcm = craft_exchange_asset_xcm::<_, hydradx_runtime::RuntimeCall>( - MultiAsset::from((GeneralIndex(0), 50 * UNITS)), - MultiAsset::from((GeneralIndex(CORE_ASSET_ID.into()), 300 * UNITS)), + Asset::from((GeneralIndex(0), 50 * UNITS)), + Asset::from((GeneralIndex(CORE_ASSET_ID.into()), 300 * UNITS)), SELL, ); //Act @@ -130,8 +132,8 @@ fn hydra_should_swap_assets_when_receiving_from_acala_with_buy() { Acala::execute_with(|| { let xcm = craft_exchange_asset_xcm::<_, hydradx_runtime::RuntimeCall>( - MultiAsset::from((GeneralIndex(0), 50 * UNITS)), - MultiAsset::from((GeneralIndex(CORE_ASSET_ID.into()), 300 * UNITS)), + Asset::from((GeneralIndex(0), 50 * UNITS)), + Asset::from((GeneralIndex(CORE_ASSET_ID.into()), 300 * UNITS)), BUY, ); //Act @@ -255,8 +257,8 @@ fn transfer_and_swap_should_work_with_4_hops() { //Act let give_amount = 1000 * UNITS; - let give = MultiAsset::from((hydradx_runtime::CurrencyIdConvert::convert(GLMR).unwrap(), give_amount)); - let want = MultiAsset::from((hydradx_runtime::CurrencyIdConvert::convert(IBTC).unwrap(), 550 * UNITS)); + let give = Asset::from((hydradx_runtime::CurrencyIdConvert::convert(GLMR).unwrap(), give_amount)); + let want = Asset::from((hydradx_runtime::CurrencyIdConvert::convert(IBTC).unwrap(), 550 * UNITS)); let xcm = craft_transfer_and_swap_xcm_with_4_hops::(give, want, SELL); assert_ok!(hydradx_runtime::PolkadotXcm::execute( @@ -308,7 +310,7 @@ fn register_glmr() { None, Some(hydradx_runtime::AssetLocation(MultiLocation::new( 1, - X2(Parachain(MOONBEAM_PARA_ID), GeneralIndex(0)) + X2(Junction::Parachain(MOONBEAM_PARA_ID), Junction::GeneralIndex(0)) ))), None, )); @@ -324,7 +326,7 @@ fn register_aca() { None, Some(hydradx_runtime::AssetLocation(MultiLocation::new( 1, - X2(Parachain(ACALA_PARA_ID), GeneralIndex(0)) + X2(Junction::Parachain(ACALA_PARA_ID), Junction::GeneralIndex(0)) ))), None, )); @@ -340,7 +342,7 @@ fn register_ibtc() { None, Some(hydradx_runtime::AssetLocation(MultiLocation::new( 1, - X2(Parachain(INTERLAY_PARA_ID), GeneralIndex(0)) + X2(Junction::Parachain(INTERLAY_PARA_ID), Junction::GeneralIndex(0)) ))), None, )); @@ -358,7 +360,7 @@ fn add_currency_price(asset_id: u32, price: FixedU128) { } /// Returns amount if `asset` is fungible, or zero. -fn fungible_amount(asset: &MultiAsset) -> u128 { +fn fungible_amount(asset: &Asset) -> u128 { if let Fungible(amount) = &asset.fun { *amount } else { @@ -366,54 +368,107 @@ fn fungible_amount(asset: &MultiAsset) -> u128 { } } -fn half(asset: &MultiAsset) -> MultiAsset { +fn half(asset: &Asset) -> Asset { let half_amount = fungible_amount(asset) .checked_div(2) .expect("div 2 can't overflow; qed"); - MultiAsset { + Asset { fun: Fungible(half_amount), - id: asset.id, + id: asset.clone().id, } } fn craft_transfer_and_swap_xcm_with_4_hops( - give_asset: MultiAsset, - want_asset: MultiAsset, + give_asset: Asset, + want_asset: Asset, is_sell: bool, ) -> VersionedXcm { - use polkadot_runtime::xcm_config::BaseXcmWeight; + use rococo_runtime::xcm_config::BaseXcmWeight; use xcm_builder::FixedWeightBounds; use xcm_executor::traits::WeightBounds; type Weigher = FixedWeightBounds>; - let give_reserve_chain = MultiLocation::new(1, Parachain(MOONBEAM_PARA_ID)); - let want_reserve_chain = MultiLocation::new(1, Parachain(INTERLAY_PARA_ID)); - let swap_chain = MultiLocation::new(1, Parachain(HYDRA_PARA_ID)); - let dest = MultiLocation::new(1, Parachain(ACALA_PARA_ID)); - let beneficiary = Junction::AccountId32 { id: BOB, network: None }.into(); - let assets: MultiAssets = MultiAsset::from((GeneralIndex(0), 100 * UNITS)).into(); // hardcoded + let give_reserve_chain = Location::new( + 1, + cumulus_primitives_core::Junctions::X1(Arc::new( + vec![cumulus_primitives_core::Junction::Parachain(MOONBEAM_PARA_ID)] + .try_into() + .unwrap(), + )), + ); + let want_reserve_chain = Location::new( + 1, + cumulus_primitives_core::Junctions::X1(Arc::new( + vec![cumulus_primitives_core::Junction::Parachain(INTERLAY_PARA_ID)] + .try_into() + .unwrap(), + )), + ); + let swap_chain = Location::new( + 1, + cumulus_primitives_core::Junctions::X1(Arc::new( + vec![cumulus_primitives_core::Junction::Parachain(HYDRA_PARA_ID)] + .try_into() + .unwrap(), + )), + ); + let dest = Location::new( + 1, + cumulus_primitives_core::Junctions::X1(Arc::new( + vec![cumulus_primitives_core::Junction::Parachain(ACALA_PARA_ID)] + .try_into() + .unwrap(), + )), + ); + let beneficiary = Location::new( + 0, + cumulus_primitives_core::Junctions::X1(Arc::new( + vec![cumulus_primitives_core::Junction::AccountId32 { id: BOB, network: None }] + .try_into() + .unwrap(), + )), + ); + let assets: Assets = Asset { + id: cumulus_primitives_core::AssetId(Location::new( + 0, + cumulus_primitives_core::Junctions::X1(Arc::new( + vec![cumulus_primitives_core::Junction::GeneralIndex(0)] + .try_into() + .unwrap(), + )), + )), + fun: Fungible(100 * UNITS), + } + .into(); let max_assets = assets.len() as u32 + 1; - let origin_context = X2(GlobalConsensus(NetworkId::Polkadot), Parachain(ACALA_PARA_ID)); + let origin_context = cumulus_primitives_core::Junctions::X2(Arc::new( + vec![ + cumulus_primitives_core::Junction::GlobalConsensus(NetworkId::Polkadot), + cumulus_primitives_core::Junction::Parachain(ACALA_PARA_ID), + ] + .try_into() + .unwrap(), + )); let give = give_asset .clone() - .reanchored(&dest, origin_context) + .reanchored(&dest, &origin_context) .expect("should reanchor give"); - let give: MultiAssetFilter = Definite(give.into()); - let want: MultiAssets = want_asset.clone().into(); + let give: AssetFilter = Definite(give.into()); + let want: Assets = want_asset.clone().into(); let fees = give_asset .clone() - .reanchored(&swap_chain, give_reserve_chain.interior) + .reanchored(&swap_chain, &give_reserve_chain.interior) .expect("should reanchor"); let reserve_fees = want_asset .clone() - .reanchored(&want_reserve_chain, swap_chain.interior) + .reanchored(&want_reserve_chain, &swap_chain.interior) .expect("should reanchor"); let destination_fee = want_asset - .reanchored(&dest, want_reserve_chain.interior) + .reanchored(&dest, &want_reserve_chain.interior) .expect("should reanchor"); let weight_limit = { @@ -432,7 +487,7 @@ fn craft_transfer_and_swap_xcm_with_4_hops( }, InitiateReserveWithdraw { assets: want.clone().into(), - reserve: want_reserve_chain, + reserve: want_reserve_chain.clone(), xcm: Xcm(vec![ BuyExecution { fees: reserve_fees.clone(), //reserve fee @@ -440,7 +495,7 @@ fn craft_transfer_and_swap_xcm_with_4_hops( }, DepositReserveAsset { assets: Wild(AllCounted(max_assets)), - dest, + dest: dest.clone(), xcm: Xcm(vec![ BuyExecution { fees: destination_fee.clone(), //destination fee @@ -448,7 +503,7 @@ fn craft_transfer_and_swap_xcm_with_4_hops( }, DepositAsset { assets: Wild(AllCounted(max_assets)), - beneficiary, + beneficiary: beneficiary.clone(), }, ]), }, @@ -501,7 +556,7 @@ fn craft_transfer_and_swap_xcm_with_4_hops( let give_reserve_fees = give_asset .clone() - .reanchored(&give_reserve_chain, origin_context) + .reanchored(&give_reserve_chain, &origin_context) .expect("should reanchor"); // executed on local (acala) @@ -524,33 +579,65 @@ fn craft_transfer_and_swap_xcm_with_4_hops( ]), }, ]); - VersionedXcm::V3(message) + VersionedXcm::from(message) } -fn craft_exchange_asset_xcm, RC: Decode + GetDispatchInfo>( - give: MultiAsset, +fn craft_exchange_asset_xcm, RC: Decode + GetDispatchInfo>( + give: Asset, want: M, is_sell: bool, ) -> VersionedXcm { - use polkadot_runtime::xcm_config::BaseXcmWeight; + use rococo_runtime::xcm_config::BaseXcmWeight; use xcm_builder::FixedWeightBounds; use xcm_executor::traits::WeightBounds; type Weigher = FixedWeightBounds>; - let dest = MultiLocation::new(1, Parachain(HYDRA_PARA_ID)); - let beneficiary = Junction::AccountId32 { id: BOB, network: None }.into(); - let assets: MultiAssets = MultiAsset::from((GeneralIndex(0), 100 * UNITS)).into(); // hardcoded + let dest = Location::new( + 1, + cumulus_primitives_core::Junctions::X1(Arc::new( + vec![cumulus_primitives_core::Junction::Parachain(HYDRA_PARA_ID)] + .try_into() + .unwrap(), + )), + ); + let beneficiary = Location::new( + 0, + cumulus_primitives_core::Junctions::X1(Arc::new( + vec![cumulus_primitives_core::Junction::AccountId32 { id: BOB, network: None }] + .try_into() + .unwrap(), + )), + ); + let assets: Assets = Asset { + id: cumulus_primitives_core::AssetId(Location::new( + 0, + cumulus_primitives_core::Junctions::X1(Arc::new( + vec![cumulus_primitives_core::Junction::GeneralIndex(0)] + .try_into() + .unwrap(), + )), + )), + fun: Fungible(100 * UNITS), + } + .into(); let max_assets = assets.len() as u32 + 1; - let context = X2(GlobalConsensus(NetworkId::Polkadot), Parachain(ACALA_PARA_ID)); + let context = cumulus_primitives_core::Junctions::X2(Arc::new( + vec![ + cumulus_primitives_core::Junction::GlobalConsensus(NetworkId::Polkadot), + cumulus_primitives_core::Junction::Parachain(ACALA_PARA_ID), + ] + .try_into() + .unwrap(), + )); let fees = assets .get(0) .expect("should have at least 1 asset") .clone() - .reanchored(&dest, context) + .reanchored(&dest, &context) .expect("should reanchor"); - let give = give.reanchored(&dest, context).expect("should reanchor give"); - let give: MultiAssetFilter = Definite(give.into()); + let give = give.reanchored(&dest, &context).expect("should reanchor give"); + let give: AssetFilter = Definite(give.into()); let want = want.into(); let weight_limit = { let fees = fees.clone(); @@ -568,7 +655,7 @@ fn craft_exchange_asset_xcm, RC: Decode + GetDispatchInfo>( }, DepositAsset { assets: Wild(AllCounted(max_assets)), - beneficiary, + beneficiary: beneficiary.clone(), }, ]); // use local weight for remote message and hope for the best. @@ -593,5 +680,5 @@ fn craft_exchange_asset_xcm, RC: Decode + GetDispatchInfo>( SetFeesMode { jit_withdraw: true }, TransferReserveAsset { assets, dest, xcm }, ]); - VersionedXcm::V3(message) + VersionedXcm::from(message) } diff --git a/integration-tests/src/global_account_derivation.rs b/integration-tests/src/global_account_derivation.rs index 954037063..a3ef0bf60 100644 --- a/integration-tests/src/global_account_derivation.rs +++ b/integration-tests/src/global_account_derivation.rs @@ -6,31 +6,41 @@ use sp_runtime::codec::Encode; use frame_support::dispatch::GetDispatchInfo; use orml_traits::MultiCurrency; -use polkadot_xcm::latest::prelude::*; +use polkadot_xcm::v4::prelude::*; +use sp_std::sync::Arc; use xcm_builder::DescribeAllTerminal; use xcm_builder::DescribeFamily; use xcm_builder::HashedDescription; use xcm_emulator::ConvertLocation; use xcm_emulator::TestExt; + #[test] fn other_chain_remote_account_should_work_on_hydra() { // Arrange TestNet::reset(); - let xcm_interior_at_acala = X1(Junction::AccountId32 { - network: None, - id: evm_account().into(), - }); + let xcm_interior_at_acala = cumulus_primitives_core::Junctions::X1(Arc::new( + vec![cumulus_primitives_core::Junction::AccountId32 { + network: None, + id: evm_account().into(), + }] + .try_into() + .unwrap(), + )); - let xcm_origin_at_hydra = MultiLocation { + let xcm_origin_at_hydra = Location { parents: 1, - interior: X2( - Junction::Parachain(ACALA_PARA_ID), - Junction::AccountId32 { - network: None, - id: evm_account().into(), - }, - ), + interior: cumulus_primitives_core::Junctions::X2(Arc::new( + vec![ + cumulus_primitives_core::Junction::Parachain(ACALA_PARA_ID), + cumulus_primitives_core::Junction::AccountId32 { + network: None, + id: evm_account().into(), + }, + ] + .try_into() + .unwrap(), + )), }; let acala_account_id_at_hydra: AccountId = @@ -40,7 +50,7 @@ fn other_chain_remote_account_should_work_on_hydra() { Hydra::execute_with(|| { init_omnipool(); - assert_ok!(hydradx_runtime::Balances::transfer( + assert_ok!(hydradx_runtime::Balances::transfer_allow_death( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), acala_account_id_at_hydra.clone(), 1_000 * UNITS, @@ -62,26 +72,30 @@ fn other_chain_remote_account_should_work_on_hydra() { min_buy_amount: 0, }); + let hdx_loc = Location::new( + 1, + cumulus_primitives_core::Junctions::X2(Arc::new( + vec![ + cumulus_primitives_core::Junction::Parachain(HYDRA_PARA_ID), + cumulus_primitives_core::Junction::GeneralIndex(0), + ] + .try_into() + .unwrap(), + )), + ); + let asset_to_withdraw: Asset = Asset { + id: cumulus_primitives_core::AssetId(hdx_loc.clone()), + fun: Fungible(900 * UNITS), + }; + let asset_for_buy_execution: Asset = Asset { + id: cumulus_primitives_core::AssetId(hdx_loc), + fun: Fungible(800 * UNITS), + }; + let message = Xcm(vec![ - WithdrawAsset( - ( - MultiLocation { - parents: 1, - interior: X2(Parachain(HYDRA_PARA_ID), GeneralIndex(0)), - }, - 900 * UNITS, - ) - .into(), - ), + WithdrawAsset(asset_to_withdraw.into()), BuyExecution { - fees: ( - MultiLocation { - parents: 1, - interior: X2(Parachain(HYDRA_PARA_ID), GeneralIndex(0)), - }, - 800 * UNITS, - ) - .into(), + fees: asset_for_buy_execution, weight_limit: Unlimited, }, Transact { @@ -93,7 +107,7 @@ fn other_chain_remote_account_should_work_on_hydra() { RefundSurplus, DepositAsset { assets: All.into(), - beneficiary: Junction::AccountId32 { + beneficiary: cumulus_primitives_core::Junction::AccountId32 { id: acala_account_id_at_hydra.clone().into(), network: None, } @@ -101,19 +115,25 @@ fn other_chain_remote_account_should_work_on_hydra() { }, ]); + let dest_hydradx = Location::new( + 1, + cumulus_primitives_core::Junctions::X1(Arc::new( + vec![cumulus_primitives_core::Junction::Parachain(HYDRA_PARA_ID)] + .try_into() + .unwrap(), + )), + ); + assert_ok!(hydradx_runtime::PolkadotXcm::send_xcm( xcm_interior_at_acala, - MultiLocation::new(1, X1(Parachain(HYDRA_PARA_ID))), + dest_hydradx, message )); }); // Assert Hydra::execute_with(|| { - assert!(hydradx_runtime::System::events().iter().any(|r| matches!( - r.event, - hydradx_runtime::RuntimeEvent::XcmpQueue(cumulus_pallet_xcmp_queue::Event::Success { .. }) - ))); + assert_xcm_message_processing_passed(); let dai_balance = hydradx_runtime::Currencies::free_balance(DAI, &AccountId::from(acala_account_id_at_hydra)); assert!( diff --git a/integration-tests/src/lib.rs b/integration-tests/src/lib.rs index ce227c87b..83959767f 100644 --- a/integration-tests/src/lib.rs +++ b/integration-tests/src/lib.rs @@ -25,8 +25,6 @@ mod router; mod staking; mod transact_call_filter; mod vesting; -mod xcm_defer; -mod xcm_rate_limiter; mod xyk; mod xyk_liquidity_mining; diff --git a/integration-tests/src/polkadot_test_net.rs b/integration-tests/src/polkadot_test_net.rs index 58e801ae1..85d0a118f 100644 --- a/integration-tests/src/polkadot_test_net.rs +++ b/integration-tests/src/polkadot_test_net.rs @@ -7,25 +7,24 @@ use frame_support::{ }, traits::{GetCallMetadata, OnInitialize}, }; -pub use hydradx_runtime::{ - evm::ExtendedAddressMapping, AccountId, Currencies, NativeExistentialDeposit, Treasury, VestingPalletId, -}; +pub use hydradx_runtime::{AccountId, Currencies, NativeExistentialDeposit, Treasury, VestingPalletId}; use pallet_transaction_multi_payment::Price; pub use primitives::{constants::chain::CORE_ASSET_ID, AssetId, Balance, Moment}; use cumulus_primitives_core::ParaId; use cumulus_test_relay_sproof_builder::RelayStateSproofBuilder; -pub use frame_system::{pallet_prelude::BlockNumberFor, RawOrigin}; +pub use frame_system::RawOrigin; use hex_literal::hex; use hydradx_runtime::{evm::WETH_ASSET_LOCATION, Referrals, RuntimeOrigin}; pub use hydradx_traits::{evm::InspectEvmAccounts, registry::Mutate}; use pallet_referrals::{FeeDistribution, Level}; -pub use polkadot_primitives::v5::{BlockNumber, MAX_CODE_SIZE, MAX_POV_SIZE}; +pub use polkadot_primitives::v6::{BlockNumber, MAX_CODE_SIZE, MAX_POV_SIZE}; use polkadot_runtime_parachains::configuration::HostConfiguration; +use sp_consensus_beefy::ecdsa_crypto::AuthorityId as BeefyId; use sp_core::storage::Storage; use sp_core::H160; pub use xcm_emulator::Network; -use xcm_emulator::{decl_test_networks, decl_test_parachains, decl_test_relay_chains, DefaultMessageProcessor}; +use xcm_emulator::{decl_test_networks, decl_test_parachains, decl_test_relay_chains}; pub const ALICE: [u8; 32] = [4u8; 32]; pub const BOB: [u8; 32] = [5u8; 32]; @@ -93,28 +92,46 @@ pub const INSUFFICIENT_ASSET: AssetId = 500; pub const NOW: Moment = 1689844300000; // unix time in milliseconds +pub type Rococo = RococoRelayChain; +pub type Hydra = HydraParachain; +pub type Acala = AcalaParachain; +pub type Moonbeam = MoonbeamParachain; +pub type Interlay = InterlayParachain; + +decl_test_networks! { + pub struct TestNet { + relay_chain = RococoRelayChain, + parachains = vec![ + HydraParachain, + AcalaParachain, + MoonbeamParachain, + InterlayParachain, + ], + bridge = () + }, +} + decl_test_relay_chains! { - #[api_version(5)] - pub struct PolkadotRelay { - genesis = polkadot::genesis(), + #[api_version(10)] + pub struct RococoRelayChain { + genesis = rococo::genesis(), on_init = { - polkadot_runtime::System::set_block_number(1); + rococo_runtime::System::set_block_number(1); }, - runtime = polkadot_runtime, + runtime = rococo_runtime, core = { - MessageProcessor: DefaultMessageProcessor, - SovereignAccountOf: polkadot_runtime::xcm_config::SovereignAccountOf, + SovereignAccountOf: rococo_runtime::xcm_config::LocationConverter, }, pallets = { - XcmPallet: polkadot_runtime::XcmPallet, - Balances: polkadot_runtime::Balances, - Hrmp: polkadot_runtime::Hrmp, + XcmPallet: rococo_runtime::XcmPallet, + Balances: rococo_runtime::Balances, + Hrmp: rococo_runtime::Hrmp, } } } decl_test_parachains! { - pub struct Hydra { + pub struct HydraParachain { genesis = hydra::genesis(), on_init = { hydradx_runtime::System::set_block_number(1); @@ -126,16 +143,16 @@ decl_test_parachains! { runtime = hydradx_runtime, core = { XcmpMessageHandler: hydradx_runtime::XcmpQueue, - DmpMessageHandler: hydradx_runtime::DmpQueue, LocationToAccountId: hydradx_runtime::xcm::LocationToAccountId, ParachainInfo: hydradx_runtime::ParachainInfo, + MessageOrigin: cumulus_primitives_core::AggregateMessageOrigin, }, pallets = { PolkadotXcm: hydradx_runtime::PolkadotXcm, Balances: hydradx_runtime::Balances, } }, - pub struct Acala { + pub struct AcalaParachain { genesis = para::genesis(ACALA_PARA_ID), on_init = { hydradx_runtime::System::set_block_number(1); @@ -143,16 +160,16 @@ decl_test_parachains! { runtime = hydradx_runtime, core = { XcmpMessageHandler: hydradx_runtime::XcmpQueue, - DmpMessageHandler: hydradx_runtime::DmpQueue, LocationToAccountId: hydradx_runtime::xcm::LocationToAccountId, ParachainInfo: hydradx_runtime::ParachainInfo, + MessageOrigin: cumulus_primitives_core::AggregateMessageOrigin, }, pallets = { PolkadotXcm: hydradx_runtime::PolkadotXcm, Balances: hydradx_runtime::Balances, } }, - pub struct Moonbeam { + pub struct MoonbeamParachain { genesis = para::genesis(MOONBEAM_PARA_ID), on_init = { hydradx_runtime::System::set_block_number(1); @@ -160,16 +177,16 @@ decl_test_parachains! { runtime = hydradx_runtime, core = { XcmpMessageHandler: hydradx_runtime::XcmpQueue, - DmpMessageHandler: hydradx_runtime::DmpQueue, LocationToAccountId: hydradx_runtime::xcm::LocationToAccountId, ParachainInfo: hydradx_runtime::ParachainInfo, + MessageOrigin: cumulus_primitives_core::AggregateMessageOrigin, }, pallets = { PolkadotXcm: hydradx_runtime::PolkadotXcm, Balances: hydradx_runtime::Balances, } }, - pub struct Interlay { + pub struct InterlayParachain { genesis = para::genesis(INTERLAY_PARA_ID), on_init = { hydradx_runtime::System::set_block_number(1); @@ -177,9 +194,9 @@ decl_test_parachains! { runtime = hydradx_runtime, core = { XcmpMessageHandler: hydradx_runtime::XcmpQueue, - DmpMessageHandler: hydradx_runtime::DmpQueue, LocationToAccountId: hydradx_runtime::xcm::LocationToAccountId, ParachainInfo: hydradx_runtime::ParachainInfo, + MessageOrigin: cumulus_primitives_core::AggregateMessageOrigin, }, pallets = { PolkadotXcm: hydradx_runtime::PolkadotXcm, @@ -188,20 +205,7 @@ decl_test_parachains! { } } -decl_test_networks! { - pub struct TestNet { - relay_chain = PolkadotRelay, - parachains = vec![ - Acala, - Moonbeam, - Interlay, - Hydra, - ], - bridge = () - }, -} - -pub mod polkadot { +pub mod rococo { use super::*; fn get_host_configuration() -> HostConfiguration { @@ -238,61 +242,80 @@ pub mod polkadot { } } - use pallet_im_online::sr25519::AuthorityId as ImOnlineId; + use sp_core::{Pair, Public}; + use polkadot_primitives::{AssignmentId, ValidatorId}; use polkadot_service::chain_spec::get_authority_keys_from_seed_no_beefy; use sc_consensus_grandpa::AuthorityId as GrandpaId; use sp_authority_discovery::AuthorityId as AuthorityDiscoveryId; use sp_consensus_babe::AuthorityId as BabeId; + /// Helper function to generate a crypto pair from seed + fn get_from_seed(seed: &str) -> ::Public { + TPublic::Pair::from_string(&format!("//{}", seed), None) + .expect("static values are valid; qed") + .public() + } + #[allow(clippy::type_complexity)] pub fn initial_authorities() -> Vec<( AccountId, AccountId, BabeId, GrandpaId, - ImOnlineId, ValidatorId, AssignmentId, AuthorityDiscoveryId, + BeefyId, )> { - vec![get_authority_keys_from_seed_no_beefy("Alice")] + let no_beefy = get_authority_keys_from_seed_no_beefy("Alice"); + let with_beefy = ( + no_beefy.0, + no_beefy.1, + no_beefy.2, + no_beefy.3, + no_beefy.4, + no_beefy.5, + no_beefy.6, + get_from_seed::("Alice"), + ); + vec![with_beefy] } fn session_keys( babe: BabeId, grandpa: GrandpaId, - im_online: ImOnlineId, para_validator: ValidatorId, para_assignment: AssignmentId, authority_discovery: AuthorityDiscoveryId, - ) -> polkadot_runtime::SessionKeys { - polkadot_runtime::SessionKeys { + beefy: BeefyId, + ) -> rococo_runtime::SessionKeys { + rococo_runtime::SessionKeys { babe, grandpa, - im_online, para_validator, para_assignment, authority_discovery, + beefy, } } pub fn genesis() -> Storage { - let genesis_config = polkadot_runtime::RuntimeGenesisConfig { - balances: polkadot_runtime::BalancesConfig { + let genesis_config = rococo_runtime::RuntimeGenesisConfig { + balances: rococo_runtime::BalancesConfig { balances: vec![ (AccountId::from(ALICE), 2_002 * UNITS), (ParaId::from(HYDRA_PARA_ID).into_account_truncating(), 10 * UNITS), ], }, - session: polkadot_runtime::SessionConfig { + session: rococo_runtime::SessionConfig { keys: initial_authorities() .iter() .map(|x| { ( x.0.clone(), x.0.clone(), - polkadot::session_keys( + session_keys( x.2.clone(), x.3.clone(), x.4.clone(), @@ -304,16 +327,16 @@ pub mod polkadot { }) .collect::>(), }, - configuration: polkadot_runtime::ConfigurationConfig { + configuration: rococo_runtime::ConfigurationConfig { config: get_host_configuration(), }, - xcm_pallet: polkadot_runtime::XcmPalletConfig { + xcm_pallet: rococo_runtime::XcmPalletConfig { safe_xcm_version: Some(3), ..Default::default() }, - babe: polkadot_runtime::BabeConfig { + babe: rococo_runtime::BabeConfig { authorities: Default::default(), - epoch_config: Some(polkadot_runtime::BABE_GENESIS_EPOCH_CONFIG), + epoch_config: Some(rococo_runtime::BABE_GENESIS_EPOCH_CONFIG), ..Default::default() }, ..Default::default() @@ -614,7 +637,7 @@ pub fn set_relaychain_block_number(number: BlockNumber) { // We need to set block number this way as well because tarpaulin code coverage tool does not like the way // how we set the block number with `cumulus-test-relay-sproof-builder` package - polkadot_run_to_block(number); + rococo_run_to_block(number); ParachainSystem::on_initialize(number); @@ -662,7 +685,7 @@ pub fn hydradx_run_to_block(to: BlockNumber) { } } -pub fn polkadot_run_to_block(to: BlockNumber) { +pub fn rococo_run_to_block(to: BlockNumber) { use frame_support::traits::OnFinalize; while hydradx_runtime::System::block_number() < to { @@ -775,3 +798,19 @@ pub fn set_zero_reward_for_referrals(asset_id: AssetId) { FeeDistribution::default(), )); } + +use xcm_emulator::pallet_message_queue; + +pub fn assert_xcm_message_processing_failed() { + assert!(hydradx_runtime::System::events().iter().any(|r| matches!( + r.event, + hydradx_runtime::RuntimeEvent::MessageQueue(pallet_message_queue::Event::Processed { success: false, .. }) + ))); +} + +pub fn assert_xcm_message_processing_passed() { + assert!(hydradx_runtime::System::events().iter().any(|r| matches!( + r.event, + hydradx_runtime::RuntimeEvent::MessageQueue(pallet_message_queue::Event::Processed { success: true, .. }) + ))); +} diff --git a/integration-tests/src/staking.rs b/integration-tests/src/staking.rs index 32e200ff3..6e8240a73 100644 --- a/integration-tests/src/staking.rs +++ b/integration-tests/src/staking.rs @@ -21,7 +21,7 @@ use sp_runtime::AccountId32; use xcm_emulator::TestExt; type CallOf = ::RuntimeCall; -type BoundedCallOf = Bounded>; +type BoundedCallOf = Bounded, ::Hashing>; type Schedule = VestingSchedule; fn vesting_schedule() -> Schedule { diff --git a/integration-tests/src/transact_call_filter.rs b/integration-tests/src/transact_call_filter.rs index f1c49ce1d..156ea1380 100644 --- a/integration-tests/src/transact_call_filter.rs +++ b/integration-tests/src/transact_call_filter.rs @@ -4,7 +4,8 @@ use crate::polkadot_test_net::*; use frame_support::{assert_ok, dispatch::GetDispatchInfo}; use sp_runtime::codec::Encode; -use polkadot_xcm::latest::prelude::*; +use polkadot_xcm::v4::prelude::*; +use sp_std::sync::Arc; use xcm_emulator::TestExt; #[test] @@ -13,7 +14,7 @@ fn allowed_transact_call_should_pass_filter() { TestNet::reset(); Hydra::execute_with(|| { - assert_ok!(hydradx_runtime::Balances::transfer( + assert_ok!(hydradx_runtime::Balances::transfer_allow_death( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), parachain_reserve_account(), 1_000 * UNITS, @@ -22,30 +23,35 @@ fn allowed_transact_call_should_pass_filter() { Acala::execute_with(|| { // allowed by SafeCallFilter and the runtime call filter - let call = pallet_balances::Call::::transfer { + let call = pallet_balances::Call::::transfer_allow_death { dest: BOB.into(), value: UNITS, }; + + let hdx_loc = Location::new( + 1, + cumulus_primitives_core::Junctions::X2(Arc::new( + vec![ + cumulus_primitives_core::Junction::Parachain(HYDRA_PARA_ID), + cumulus_primitives_core::Junction::GeneralIndex(0), + ] + .try_into() + .unwrap(), + )), + ); + let asset_to_withdraw: Asset = Asset { + id: cumulus_primitives_core::AssetId(hdx_loc.clone()), + fun: Fungible(900 * UNITS), + }; + let asset_for_buy_execution: Asset = Asset { + id: cumulus_primitives_core::AssetId(hdx_loc), + fun: Fungible(800 * UNITS), + }; + let message = Xcm(vec![ - WithdrawAsset( - ( - MultiLocation { - parents: 1, - interior: X2(Parachain(HYDRA_PARA_ID), GeneralIndex(0)), - }, - 900 * UNITS, - ) - .into(), - ), + WithdrawAsset(asset_to_withdraw.into()), BuyExecution { - fees: ( - MultiLocation { - parents: 1, - interior: X2(Parachain(HYDRA_PARA_ID), GeneralIndex(0)), - }, - 800 * UNITS, - ) - .into(), + fees: asset_for_buy_execution, weight_limit: Unlimited, }, Transact { @@ -57,7 +63,7 @@ fn allowed_transact_call_should_pass_filter() { RefundSurplus, DepositAsset { assets: All.into(), - beneficiary: Junction::AccountId32 { + beneficiary: cumulus_primitives_core::Junction::AccountId32 { id: parachain_reserve_account().into(), network: None, } @@ -68,17 +74,22 @@ fn allowed_transact_call_should_pass_filter() { // Act assert_ok!(hydradx_runtime::PolkadotXcm::send_xcm( Here, - MultiLocation::new(1, X1(Parachain(HYDRA_PARA_ID))), + Location::new( + 1, + cumulus_primitives_core::Junctions::X1(Arc::new( + vec![cumulus_primitives_core::Junction::Parachain(HYDRA_PARA_ID)] + .try_into() + .unwrap(), + )), + ), message )); }); Hydra::execute_with(|| { // Assert - assert!(hydradx_runtime::System::events().iter().any(|r| matches!( - r.event, - hydradx_runtime::RuntimeEvent::XcmpQueue(cumulus_pallet_xcmp_queue::Event::Success { .. }) - ))); + assert_xcm_message_processing_passed(); + assert_eq!( hydradx_runtime::Balances::free_balance(AccountId::from(BOB)), BOB_INITIAL_NATIVE_BALANCE + UNITS @@ -92,7 +103,7 @@ fn blocked_transact_calls_should_not_pass_filter() { TestNet::reset(); Hydra::execute_with(|| { - assert_ok!(hydradx_runtime::Balances::transfer( + assert_ok!(hydradx_runtime::Balances::transfer_allow_death( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), parachain_reserve_account(), 1_000 * UNITS, @@ -105,26 +116,31 @@ fn blocked_transact_calls_should_not_pass_filter() { reason: vec![0, 10], who: BOB.into(), }; + + let hdx_loc = Location::new( + 1, + cumulus_primitives_core::Junctions::X2(Arc::new( + vec![ + cumulus_primitives_core::Junction::Parachain(HYDRA_PARA_ID), + cumulus_primitives_core::Junction::GeneralIndex(0), + ] + .try_into() + .unwrap(), + )), + ); + let asset_to_withdraw: Asset = Asset { + id: cumulus_primitives_core::AssetId(hdx_loc.clone()), + fun: Fungible(900 * UNITS), + }; + let asset_for_buy_execution: Asset = Asset { + id: cumulus_primitives_core::AssetId(hdx_loc), + fun: Fungible(800 * UNITS), + }; + let message = Xcm(vec![ - WithdrawAsset( - ( - MultiLocation { - parents: 1, - interior: X2(Parachain(HYDRA_PARA_ID), GeneralIndex(0)), - }, - 900 * UNITS, - ) - .into(), - ), + WithdrawAsset(asset_to_withdraw.into()), BuyExecution { - fees: ( - MultiLocation { - parents: 1, - interior: X2(Parachain(HYDRA_PARA_ID), GeneralIndex(0)), - }, - 800 * UNITS, - ) - .into(), + fees: asset_for_buy_execution, weight_limit: Unlimited, }, Transact { @@ -136,7 +152,7 @@ fn blocked_transact_calls_should_not_pass_filter() { RefundSurplus, DepositAsset { assets: All.into(), - beneficiary: Junction::AccountId32 { + beneficiary: cumulus_primitives_core::Junction::AccountId32 { id: parachain_reserve_account().into(), network: None, } @@ -147,20 +163,21 @@ fn blocked_transact_calls_should_not_pass_filter() { // Act assert_ok!(hydradx_runtime::PolkadotXcm::send_xcm( Here, - MultiLocation::new(1, X1(Parachain(HYDRA_PARA_ID))), + Location::new( + 1, + cumulus_primitives_core::Junctions::X1(Arc::new( + vec![cumulus_primitives_core::Junction::Parachain(HYDRA_PARA_ID)] + .try_into() + .unwrap(), + )), + ), message )); }); Hydra::execute_with(|| { // Assert - assert!(hydradx_runtime::System::events().iter().any(|r| matches!( - r.event, - hydradx_runtime::RuntimeEvent::XcmpQueue(cumulus_pallet_xcmp_queue::Event::Fail { - error: cumulus_primitives_core::XcmError::NoPermission, - .. - }) - ))); + assert_xcm_message_processing_failed(); }); } @@ -170,7 +187,7 @@ fn safe_call_filter_should_respect_runtime_call_filter() { TestNet::reset(); Hydra::execute_with(|| { - assert_ok!(hydradx_runtime::Balances::transfer( + assert_ok!(hydradx_runtime::Balances::transfer_allow_death( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), parachain_reserve_account(), 1_000 * UNITS, @@ -179,30 +196,35 @@ fn safe_call_filter_should_respect_runtime_call_filter() { Acala::execute_with(|| { // transfer to the Omnipool is filtered by the runtime call filter - let call = pallet_balances::Call::::transfer { + let call = pallet_balances::Call::::transfer_allow_death { dest: hydradx_runtime::Omnipool::protocol_account(), value: UNITS, }; + + let hdx_loc = Location::new( + 1, + cumulus_primitives_core::Junctions::X2(Arc::new( + vec![ + cumulus_primitives_core::Junction::Parachain(HYDRA_PARA_ID), + cumulus_primitives_core::Junction::GeneralIndex(0), + ] + .try_into() + .unwrap(), + )), + ); + let asset_to_withdraw: Asset = Asset { + id: cumulus_primitives_core::AssetId(hdx_loc.clone()), + fun: Fungible(900 * UNITS), + }; + let asset_for_buy_execution: Asset = Asset { + id: cumulus_primitives_core::AssetId(hdx_loc), + fun: Fungible(800 * UNITS), + }; + let message = Xcm(vec![ - WithdrawAsset( - ( - MultiLocation { - parents: 1, - interior: X2(Parachain(HYDRA_PARA_ID), GeneralIndex(0)), - }, - 900 * UNITS, - ) - .into(), - ), + WithdrawAsset(asset_to_withdraw.into()), BuyExecution { - fees: ( - MultiLocation { - parents: 1, - interior: X2(Parachain(HYDRA_PARA_ID), GeneralIndex(0)), - }, - 800 * UNITS, - ) - .into(), + fees: asset_for_buy_execution, weight_limit: Unlimited, }, Transact { @@ -214,7 +236,7 @@ fn safe_call_filter_should_respect_runtime_call_filter() { RefundSurplus, DepositAsset { assets: All.into(), - beneficiary: Junction::AccountId32 { + beneficiary: cumulus_primitives_core::Junction::AccountId32 { id: parachain_reserve_account().into(), network: None, } @@ -225,19 +247,20 @@ fn safe_call_filter_should_respect_runtime_call_filter() { // Act assert_ok!(hydradx_runtime::PolkadotXcm::send_xcm( Here, - MultiLocation::new(1, X1(Parachain(HYDRA_PARA_ID))), + Location::new( + 1, + cumulus_primitives_core::Junctions::X1(Arc::new( + vec![cumulus_primitives_core::Junction::Parachain(HYDRA_PARA_ID)] + .try_into() + .unwrap(), + )), + ), message )); }); Hydra::execute_with(|| { // Assert - assert!(hydradx_runtime::System::events().iter().any(|r| matches!( - r.event, - hydradx_runtime::RuntimeEvent::XcmpQueue(cumulus_pallet_xcmp_queue::Event::Fail { - error: cumulus_primitives_core::XcmError::NoPermission, - .. - }) - ))); + assert_xcm_message_processing_failed(); }); } diff --git a/integration-tests/src/xcm_defer.rs b/integration-tests/src/xcm_defer.rs deleted file mode 100644 index 9aa2477ed..000000000 --- a/integration-tests/src/xcm_defer.rs +++ /dev/null @@ -1,32 +0,0 @@ -#![cfg(test)] -use cumulus_pallet_xcmp_queue::WeightInfo; - -use hydradx_runtime::weights::xcmp_queue::HydraWeight; -use hydradx_runtime::BlockWeights; -use hydradx_runtime::{MaxBucketsProcessed, MaxDeferredMessages, ReservedXcmpWeight}; - -#[test] -fn xcmp_operations_should_fit_in_weight_budget() { - assert!( - HydraWeight::::try_place_in_deferred_queue(MaxDeferredMessages::get()) - .all_lte(ReservedXcmpWeight::get()), - "placing in deferred queue should fit in weight budget" - ); - assert!( - HydraWeight::::service_deferred(MaxBucketsProcessed::get()) - .all_lte(ReservedXcmpWeight::get()), - "processing deferred queue should fit in weight budget" - ); - // We take half the block weight as an arbitrary upper number for a reasonable weight here. - let half_block = BlockWeights::get().max_block / 2; - assert!( - HydraWeight::::discard_deferred_bucket(MaxDeferredMessages::get()) - .all_lte(half_block), - "discarding deferred messages should fit in block weight budget" - ); - assert!( - HydraWeight::::discard_deferred_individual(MaxDeferredMessages::get()) - .all_lte(half_block), - "discarding deferred messages should fit in block weight budget" - ); -} diff --git a/integration-tests/src/xcm_rate_limiter.rs b/integration-tests/src/xcm_rate_limiter.rs deleted file mode 100644 index 5c5fc6725..000000000 --- a/integration-tests/src/xcm_rate_limiter.rs +++ /dev/null @@ -1,271 +0,0 @@ -#![cfg(test)] - -use crate::polkadot_test_net::*; - -use frame_support::{assert_ok, pallet_prelude::Weight}; -use hydradx_traits::registry::Mutate; -use orml_traits::currency::MultiCurrency; -use polkadot_xcm::prelude::*; -use xcm_emulator::TestExt; - -/// Returns the message hash in the `XcmpMessageSent` event at the `n`th last event (1-indexed, so if the second to last -/// event has the hash, pass `2`); -fn get_message_hash_from_event(n: usize) -> Option<[u8; 32]> { - use cumulus_pallet_xcmp_queue::Event; - use hydradx_runtime::RuntimeEvent; - let RuntimeEvent::XcmpQueue(Event::XcmpMessageSent { message_hash }) = &last_hydra_events(n)[0] else { - panic!("expecting to find message sent event"); - }; - Some(*message_hash) -} - -#[test] -fn xcm_rate_limiter_should_limit_aca_when_limit_is_exceeded() { - // Arrange - TestNet::reset(); - - Hydra::execute_with(|| { - assert_ok!(hydradx_runtime::AssetRegistry::set_location( - ACA, - hydradx_runtime::AssetLocation(MultiLocation::new(1, X2(Parachain(ACALA_PARA_ID), GeneralIndex(0)))) - )); - - // set an xcm rate limit - assert_ok!(hydradx_runtime::AssetRegistry::update( - hydradx_runtime::RuntimeOrigin::root(), - ACA, - None, - None, - None, - Some(50 * UNITS), - None, - None, - None, - None - )); - - assert_eq!(hydradx_runtime::Tokens::free_balance(ACA, &AccountId::from(BOB)), 0); - - //Set it to same as the relay block number should be in XcmDeferFilter - //since we use different RelayChainBlockNumberProvider in runtime-benchmark feature - //where we return frame_system current time - frame_system::Pallet::::set_block_number(4); - }); - - let amount = 100 * UNITS; - let mut message_hash = None; - Acala::execute_with(|| { - // Act - assert_ok!(hydradx_runtime::XTokens::transfer( - hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), - 0, - amount, - Box::new( - MultiLocation::new( - 1, - X2( - Junction::Parachain(HYDRA_PARA_ID), - Junction::AccountId32 { id: BOB, network: None } - ) - ) - .into() - ), - WeightLimit::Limited(Weight::from_parts(399_600_000_000, 0)) - )); - - message_hash = get_message_hash_from_event(2); - - // Assert - assert_eq!( - hydradx_runtime::Balances::free_balance(AccountId::from(ALICE)), - ALICE_INITIAL_NATIVE_BALANCE - amount - ); - }); - - let relay_block = PolkadotRelay::execute_with(polkadot_runtime::System::block_number); - - Hydra::execute_with(|| { - expect_hydra_events(vec![ - cumulus_pallet_xcmp_queue::Event::XcmDeferred { - sender: ACALA_PARA_ID.into(), - sent_at: relay_block, - deferred_to: hydradx_runtime::DeferDuration::get() + relay_block - 1, - message_hash, - index: (hydradx_runtime::DeferDuration::get() + relay_block - 1, 0), - position: 0, - } - .into(), - pallet_relaychain_info::Event::CurrentBlockNumbers { - parachain_block_number: 5, - relaychain_block_number: relay_block + 1, - } - .into(), - ]); - assert_eq!(hydradx_runtime::Tokens::free_balance(ACA, &AccountId::from(BOB)), 0); - }); -} - -#[test] -fn xcm_rate_limiter_should_not_limit_aca_when_limit_is_not_exceeded() { - // Arrange - TestNet::reset(); - - Hydra::execute_with(|| { - assert_ok!(hydradx_runtime::AssetRegistry::set_location( - ACA, - hydradx_runtime::AssetLocation(MultiLocation::new(1, X2(Parachain(ACALA_PARA_ID), GeneralIndex(0)))) - )); - - // set an xcm rate limit - assert_ok!(hydradx_runtime::AssetRegistry::update( - hydradx_runtime::RuntimeOrigin::root(), - ACA, - None, - None, - None, - Some(101 * UNITS), - None, - None, - None, - None - )); - }); - - let amount = 100 * UNITS; - Acala::execute_with(|| { - // Act - assert_ok!(hydradx_runtime::XTokens::transfer( - hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), - 0, - amount, - Box::new( - MultiLocation::new( - 1, - X2( - Junction::Parachain(HYDRA_PARA_ID), - Junction::AccountId32 { id: BOB, network: None } - ) - ) - .into() - ), - WeightLimit::Limited(Weight::from_parts(399_600_000_000, 0)) - )); - - // Assert - assert_eq!( - hydradx_runtime::Balances::free_balance(AccountId::from(ALICE)), - ALICE_INITIAL_NATIVE_BALANCE - amount - ); - }); - - Hydra::execute_with(|| { - let fee = hydradx_runtime::Tokens::free_balance(ACA, &hydradx_runtime::Treasury::account_id()); - assert_eq!( - hydradx_runtime::Tokens::free_balance(ACA, &AccountId::from(BOB)), - amount - fee - ); - }); -} - -#[test] -fn deferred_messages_should_be_executable_by_root() { - // Arrange - TestNet::reset(); - - Hydra::execute_with(|| { - assert_ok!(hydradx_runtime::AssetRegistry::set_location( - ACA, - hydradx_runtime::AssetLocation(MultiLocation::new(1, X2(Parachain(ACALA_PARA_ID), GeneralIndex(0)))) - )); - - // set an xcm rate limit - assert_ok!(hydradx_runtime::AssetRegistry::update( - hydradx_runtime::RuntimeOrigin::root(), - ACA, - None, - None, - None, - Some(50 * UNITS), - None, - None, - None, - None - )); - - assert_eq!(hydradx_runtime::Tokens::free_balance(ACA, &AccountId::from(BOB)), 0); - - //Set it to same as the relay block number should be in XcmDeferFilter - //since we use different RelayChainBlockNumberProvider in runtime-benchmark feature - //where we return frame_system current time - frame_system::Pallet::::set_block_number(4); - }); - - let amount = 100 * UNITS; - let mut message_hash = None; - let max_weight = Weight::from_parts(399_600_000_000, 0); - Acala::execute_with(|| { - // Act - assert_ok!(hydradx_runtime::XTokens::transfer( - hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), - 0, - amount, - Box::new( - MultiLocation::new( - 1, - X2( - Junction::Parachain(HYDRA_PARA_ID), - Junction::AccountId32 { id: BOB, network: None } - ) - ) - .into() - ), - WeightLimit::Limited(max_weight), - )); - - message_hash = get_message_hash_from_event(2); - - // Assert - assert_eq!( - hydradx_runtime::Balances::free_balance(AccountId::from(ALICE)), - ALICE_INITIAL_NATIVE_BALANCE - amount - ); - }); - - let relay_block = PolkadotRelay::execute_with(polkadot_runtime::System::block_number); - - Hydra::execute_with(|| { - expect_hydra_events(vec![ - cumulus_pallet_xcmp_queue::Event::XcmDeferred { - sender: ACALA_PARA_ID.into(), - sent_at: relay_block, - deferred_to: hydradx_runtime::DeferDuration::get() + relay_block - 1, - message_hash, - index: (hydradx_runtime::DeferDuration::get() + relay_block - 1, 0), - position: 0, - } - .into(), - pallet_relaychain_info::Event::CurrentBlockNumbers { - parachain_block_number: 5, - relaychain_block_number: relay_block + 1, - } - .into(), - ]); - assert_eq!(hydradx_runtime::Tokens::free_balance(ACA, &AccountId::from(BOB)), 0); - - set_relaychain_block_number(hydradx_runtime::DeferDuration::get() + relay_block); - - assert_eq!(hydradx_runtime::Tokens::free_balance(ACA, &AccountId::from(BOB)), 0); - assert_ok!(hydradx_runtime::XcmpQueue::service_deferred( - hydradx_runtime::RuntimeOrigin::root(), - hydradx_runtime::ReservedXcmpWeight::get(), - ACALA_PARA_ID.into(), - hydradx_runtime::MaxDeferredBuckets::get(), - )); - - let fee = hydradx_runtime::Tokens::free_balance(ACA, &hydradx_runtime::Treasury::account_id()); - assert_eq!( - hydradx_runtime::Tokens::free_balance(ACA, &AccountId::from(BOB)), - amount - fee - ); - }); -} diff --git a/math/src/liquidity_mining/invariants.rs b/math/src/liquidity_mining/invariants.rs index 2949810a4..5d7a683e9 100644 --- a/math/src/liquidity_mining/invariants.rs +++ b/math/src/liquidity_mining/invariants.rs @@ -61,7 +61,7 @@ prop_compose! { } fn assert_loyalty_factor(b: FixedU128, periods: u32, scale_coef: u32, multiplier: FixedU128) { - let t = FixedU128::from(TryInto::::try_into(periods).unwrap()); + let t = FixedU128::from(Into::::into(periods)); let t_add_tb = b.checked_mul(&t).unwrap().checked_add(&t).unwrap(); let scale_coef_mul_b_add_one = FixedU128::one() diff --git a/node/src/chain_spec/local.rs b/node/src/chain_spec/local.rs index 987ee5770..073250c3d 100644 --- a/node/src/chain_spec/local.rs +++ b/node/src/chain_spec/local.rs @@ -10,6 +10,7 @@ pub fn parachain_config() -> Result { properties.insert("tokenDecimals".into(), TOKEN_DECIMALS.into()); properties.insert("tokenSymbol".into(), TOKEN_SYMBOL.into()); + #[allow(deprecated)] Ok(ChainSpec::from_genesis( // Name "HydraDX Local Testnet", @@ -18,7 +19,6 @@ pub fn parachain_config() -> Result { ChainType::Local, move || { parachain_genesis( - wasm_binary, // Sudo account get_account_id_from_seed::("Alice"), // initial authorities & invulnerables @@ -146,6 +146,6 @@ pub fn parachain_config() -> Result { para_id: PARA_ID, evm_since: 1, }, - vec![].as_slice(), + wasm_binary, )) } diff --git a/node/src/chain_spec/mod.rs b/node/src/chain_spec/mod.rs index f981f3e59..de14599aa 100644 --- a/node/src/chain_spec/mod.rs +++ b/node/src/chain_spec/mod.rs @@ -94,7 +94,6 @@ where #[allow(clippy::type_complexity)] pub fn parachain_genesis( - wasm_binary: &[u8], _root_key: AccountId, initial_authorities: (Vec<(AccountId, AuraId)>, Balance), // (initial auths, candidacy bond) endowed_accounts: Vec<(AccountId, Balance)>, diff --git a/node/src/chain_spec/rococo.rs b/node/src/chain_spec/rococo.rs index c8cf11b2e..4fa72ebea 100644 --- a/node/src/chain_spec/rococo.rs +++ b/node/src/chain_spec/rococo.rs @@ -19,6 +19,7 @@ pub fn _parachain_config_rococo() -> Result { properties.insert("tokenDecimals".into(), TOKEN_DECIMALS.into()); properties.insert("tokenSymbol".into(), TOKEN_SYMBOL.into()); + #[allow(deprecated)] Ok(ChainSpec::from_genesis( // Name "HydraDX testnet", @@ -27,7 +28,6 @@ pub fn _parachain_config_rococo() -> Result { ChainType::Live, move || { parachain_genesis( - wasm_binary, // Sudo account // Galactic Council // 7JcAAB6cXQxVQyVLksPUdthJwcoEGm8SW9hsNgdP6hjme5J1 @@ -138,6 +138,6 @@ pub fn _parachain_config_rococo() -> Result { para_id: PARA_ID, evm_since: 1, }, - vec![].as_slice(), + wasm_binary, )) } diff --git a/node/src/chain_spec/staging.rs b/node/src/chain_spec/staging.rs index b0cd30b35..2ee6d5d39 100644 --- a/node/src/chain_spec/staging.rs +++ b/node/src/chain_spec/staging.rs @@ -15,6 +15,7 @@ pub fn parachain_config() -> Result { properties.insert("tokenDecimals".into(), TOKEN_DECIMALS.into()); properties.insert("tokenSymbol".into(), TOKEN_SYMBOL.into()); + #[allow(deprecated)] Ok(ChainSpec::from_genesis( // Name "HydraDX", @@ -23,7 +24,6 @@ pub fn parachain_config() -> Result { ChainType::Live, move || { parachain_genesis( - wasm_binary, // Sudo account // Galactic Council // 7HqdGVRB4MXz1osLR77mfWoo536cWasTYsuAbVuicHdiKQXf @@ -133,6 +133,6 @@ pub fn parachain_config() -> Result { para_id: PARA_ID, evm_since: 1, }, - vec![].as_slice(), + wasm_binary, )) } diff --git a/node/src/rpc.rs b/node/src/rpc.rs index 7877703f0..0cc4ff983 100644 --- a/node/src/rpc.rs +++ b/node/src/rpc.rs @@ -26,13 +26,16 @@ use cumulus_primitives_parachain_inherent::ParachainInherentData; use cumulus_test_relay_sproof_builder::RelayStateSproofBuilder; use fc_db::kv::Backend as FrontierBackend; pub use fc_rpc::{ - EthApiServer, EthBlockDataCacheTask, OverrideHandle, RuntimeApiStorageOverride, SchemaV1Override, SchemaV2Override, + EthBlockDataCacheTask, OverrideHandle, RuntimeApiStorageOverride, SchemaV1Override, SchemaV2Override, SchemaV3Override, StorageOverride, }; use fc_rpc_core::types::CallRequest; pub use fc_rpc_core::types::{FeeHistoryCache, FeeHistoryCacheLimit, FilterPool}; use fp_rpc::{ConvertTransaction, ConvertTransactionRuntimeApi, EthereumRuntimeRPCApi}; -use hydradx_runtime::{opaque::{Block, Hash}, AccountId, Balance, Index}; +use hydradx_runtime::{ + opaque::{Block, Hash}, + AccountId, Balance, Index, +}; use sc_client_api::{ backend::{Backend, StateBackend, StorageProvider}, client::BlockchainEvents, @@ -46,7 +49,6 @@ use sc_transaction_pool_api::TransactionPool; use sp_api::{CallApiAt, ProvideRuntimeApi}; use sp_block_builder::BlockBuilder as BlockBuilderApi; use sp_blockchain::{Error as BlockChainError, HeaderBackend, HeaderMetadata}; -use sp_core::H256; use sp_runtime::traits::{BlakeTwo256, Block as BlockT}; //TODO: this is probably not correct for hydra.. verify what do diff --git a/pallets/circuit-breaker/src/tests/add_liquidity_limit.rs b/pallets/circuit-breaker/src/tests/add_liquidity_limit.rs index 5787283b5..e9f3c51fc 100644 --- a/pallets/circuit-breaker/src/tests/add_liquidity_limit.rs +++ b/pallets/circuit-breaker/src/tests/add_liquidity_limit.rs @@ -18,7 +18,7 @@ use crate::tests::mock::*; use crate::*; use frame_support::assert_storage_noop; -pub use pretty_assertions::{assert_eq, assert_ne}; +pub use pretty_assertions::assert_eq; #[test] fn liquidity_limit_should_be_stored_when_called_first_time() { diff --git a/pallets/circuit-breaker/src/tests/ensure_add_liquidity_limit.rs b/pallets/circuit-breaker/src/tests/ensure_add_liquidity_limit.rs index 36bd03e38..63107c8ed 100644 --- a/pallets/circuit-breaker/src/tests/ensure_add_liquidity_limit.rs +++ b/pallets/circuit-breaker/src/tests/ensure_add_liquidity_limit.rs @@ -17,7 +17,7 @@ use crate::tests::mock::*; use crate::*; -pub use pretty_assertions::{assert_eq, assert_ne}; +pub use pretty_assertions::assert_eq; #[test] fn ensure_add_liquidity_limit_should_be_ignored_for_admin_when_limit_is_reached() { diff --git a/pallets/circuit-breaker/src/tests/ensure_remove_liquidity_limit.rs b/pallets/circuit-breaker/src/tests/ensure_remove_liquidity_limit.rs index ec8213276..17b03517a 100644 --- a/pallets/circuit-breaker/src/tests/ensure_remove_liquidity_limit.rs +++ b/pallets/circuit-breaker/src/tests/ensure_remove_liquidity_limit.rs @@ -17,7 +17,7 @@ use crate::tests::mock::*; use crate::*; -pub use pretty_assertions::{assert_eq, assert_ne}; +pub use pretty_assertions::assert_eq; #[test] fn ensure_remove_liquidity_limit_should_be_ignored_for_admin_when_limit_is_reached() { diff --git a/pallets/circuit-breaker/src/tests/mock.rs b/pallets/circuit-breaker/src/tests/mock.rs index df930f9f3..61cef4482 100644 --- a/pallets/circuit-breaker/src/tests/mock.rs +++ b/pallets/circuit-breaker/src/tests/mock.rs @@ -390,7 +390,7 @@ where fn exists(asset_id: T::AssetId) -> bool { let asset = REGISTERED_ASSETS.with(|v| v.borrow().get(&(asset_id.into())).copied()); - matches!(asset, Some(_)) + asset.is_some() } fn is_banned(_id: Self::AssetId) -> bool { diff --git a/pallets/circuit-breaker/src/tests/remove_liquidity_limit.rs b/pallets/circuit-breaker/src/tests/remove_liquidity_limit.rs index 6f76c1ee1..8d9f3542f 100644 --- a/pallets/circuit-breaker/src/tests/remove_liquidity_limit.rs +++ b/pallets/circuit-breaker/src/tests/remove_liquidity_limit.rs @@ -18,7 +18,7 @@ use crate::tests::mock::*; use crate::*; use frame_support::assert_storage_noop; -pub use pretty_assertions::{assert_eq, assert_ne}; +pub use pretty_assertions::assert_eq; #[test] fn liquidity_limit_should_be_stored_when_called_first_time() { diff --git a/pallets/circuit-breaker/src/tests/trade_volume.rs b/pallets/circuit-breaker/src/tests/trade_volume.rs index e09de2780..7b878520d 100644 --- a/pallets/circuit-breaker/src/tests/trade_volume.rs +++ b/pallets/circuit-breaker/src/tests/trade_volume.rs @@ -18,7 +18,7 @@ use crate::tests::mock::*; use crate::*; use frame_support::assert_storage_noop; -pub use pretty_assertions::{assert_eq, assert_ne}; +pub use pretty_assertions::assert_eq; #[test] fn trade_volume_limit_should_be_stored_when_called_first_time() { diff --git a/pallets/dca/src/lib.rs b/pallets/dca/src/lib.rs index 482f61e00..09e786839 100644 --- a/pallets/dca/src/lib.rs +++ b/pallets/dca/src/lib.rs @@ -818,7 +818,7 @@ impl Pallet { }; let Ok(price_from_short_oracle) = Self::get_price_from_short_oracle(route) else { - return true; + return true; }; let max_allowed_diff = schedule @@ -827,18 +827,12 @@ impl Pallet { let max_allowed = FixedU128::from(max_allowed_diff); - let Some(price_sum) = last_block_price - .checked_add(&price_from_short_oracle) else { + let Some(price_sum) = last_block_price.checked_add(&price_from_short_oracle) else { return true; }; - let Ok(max_allowed_difference) = max_allowed - .checked_mul( - &price_sum, - ) - .ok_or(ArithmeticError::Overflow) - else { - return true; + let Ok(max_allowed_difference) = max_allowed.checked_mul(&price_sum).ok_or(ArithmeticError::Overflow) else { + return true; }; let diff = if last_block_price > price_from_short_oracle { diff --git a/pallets/dca/src/tests/mock.rs b/pallets/dca/src/tests/mock.rs index cf92a6d8d..9e8320420 100644 --- a/pallets/dca/src/tests/mock.rs +++ b/pallets/dca/src/tests/mock.rs @@ -477,7 +477,7 @@ impl TradeExecution for OmniPool }); }); - let Ok(who) = ensure_signed(who) else { + let Ok(who) = ensure_signed(who) else { return Err(ExecutorError::Error(Error::::InvalidState.into())); }; let amount_out = CALCULATED_AMOUNT_OUT_FOR_SELL.with(|v| *v.borrow()); @@ -512,7 +512,7 @@ impl TradeExecution for OmniPool }); }); - let Ok(who) = ensure_signed(origin) else { + let Ok(who) = ensure_signed(origin) else { return Err(ExecutorError::Error(Error::::InvalidState.into())); }; let amount_in = CALCULATED_AMOUNT_IN_FOR_OMNIPOOL_BUY; @@ -802,7 +802,7 @@ where fn exists(asset_id: T::AssetId) -> bool { let asset = REGISTERED_ASSETS.with(|v| v.borrow().get(&(asset_id.into())).copied()); - matches!(asset, Some(_)) + asset.is_some() } fn is_banned(_id: Self::AssetId) -> bool { diff --git a/pallets/democracy/src/lib.rs b/pallets/democracy/src/lib.rs index 292d8d87c..1da55bdd0 100644 --- a/pallets/democracy/src/lib.rs +++ b/pallets/democracy/src/lib.rs @@ -160,8 +160,8 @@ use frame_support::{ traits::{ defensive_prelude::*, schedule::{v3::Named as ScheduleNamed, DispatchTime}, - Bounded, Currency, EnsureOrigin, Get, LockIdentifier, LockableCurrency, OnUnbalanced, - QueryPreimage, ReservableCurrency, StorePreimage, WithdrawReasons, + Bounded, Currency, EnsureOrigin, Get, LockIdentifier, LockableCurrency, OnUnbalanced, QueryPreimage, + ReservableCurrency, StorePreimage, WithdrawReasons, }, weights::Weight, }; @@ -202,7 +202,7 @@ type BalanceOf = <::Currency as Currency< = <::Currency as Currency<::AccountId>>::NegativeImbalance; pub type CallOf = ::RuntimeCall; -pub type BoundedCallOf = Bounded, ::Hashing>; +pub type BoundedCallOf = Bounded, ::Hashing>; type AccountIdLookupOf = <::Lookup as StaticLookup>::Source; #[frame_support::pallet] @@ -479,7 +479,7 @@ pub mod pallet { until: BlockNumberFor, }, /// A proposal_hash has been blacklisted permanently. - Blacklisted { proposal_hash: T::Hash}, + Blacklisted { proposal_hash: T::Hash }, /// An account has voted in a referendum Voted { voter: T::AccountId, @@ -1137,11 +1137,7 @@ pub mod pallet { (MetadataOwner::Referendum(_), None) => T::WeightInfo::clear_referendum_metadata(), } )] - pub fn set_metadata( - origin: OriginFor, - owner: MetadataOwner, - maybe_hash: Option, - ) -> DispatchResult { + pub fn set_metadata(origin: OriginFor, owner: MetadataOwner, maybe_hash: Option) -> DispatchResult { match owner { MetadataOwner::External => { let (_, threshold) = >::get().ok_or(Error::::NoProposal)?; diff --git a/pallets/democracy/src/tests.rs b/pallets/democracy/src/tests.rs index 69e825ccb..20d40a14a 100644 --- a/pallets/democracy/src/tests.rs +++ b/pallets/democracy/src/tests.rs @@ -124,6 +124,7 @@ impl pallet_preimage::Config for Test { type WeightInfo = (); type Currency = Balances; type ManagerOrigin = EnsureRoot; + type Consideration = (); } impl pallet_scheduler::Config for Test { @@ -305,7 +306,7 @@ fn tally(r: ReferendumIndex) -> Tally { } /// note a new preimage without registering. -fn note_preimage(who: u64) -> PreimageHash { +fn note_preimage(who: u64) -> sp_core::H256 { use std::sync::atomic::{AtomicU8, Ordering}; // note a new preimage on every function invoke. static COUNTER: AtomicU8 = AtomicU8::new(0); diff --git a/pallets/democracy/src/tests/fast_tracking.rs b/pallets/democracy/src/tests/fast_tracking.rs index db478c2b7..03f4e2916 100644 --- a/pallets/democracy/src/tests/fast_tracking.rs +++ b/pallets/democracy/src/tests/fast_tracking.rs @@ -32,7 +32,7 @@ fn fast_track_referendum_works() { RuntimeOrigin::signed(3), set_balance_proposal(2) )); - let hash = note_preimage(1); + let hash = note_preimage::(1); assert!(>::get(MetadataOwner::External).is_none()); assert_ok!(Democracy::set_metadata( RuntimeOrigin::signed(3), diff --git a/pallets/democracy/src/tests/metadata.rs b/pallets/democracy/src/tests/metadata.rs index 0dd313a09..30d34210d 100644 --- a/pallets/democracy/src/tests/metadata.rs +++ b/pallets/democracy/src/tests/metadata.rs @@ -23,7 +23,7 @@ use super::*; fn set_external_metadata_works() { new_test_ext().execute_with(|| { // invalid preimage hash. - let invalid_hash: Test::Hash = [1u8; 32].into(); + let invalid_hash = [1u8; 32].into(); // metadata owner is an external proposal. let owner = MetadataOwner::External; // fails to set metadata if an external proposal does not exist. @@ -48,7 +48,7 @@ fn set_external_metadata_works() { Error::::PreimageNotExist, ); // set metadata successful. - let hash = note_preimage(1); + let hash = note_preimage::(1); assert_ok!(Democracy::set_metadata( RuntimeOrigin::signed(2), owner.clone(), @@ -70,7 +70,7 @@ fn clear_metadata_works() { )); assert!(>::exists()); // set metadata. - let hash = note_preimage(1); + let hash = note_preimage::(1); assert_ok!(Democracy::set_metadata( RuntimeOrigin::signed(2), owner.clone(), @@ -91,7 +91,7 @@ fn clear_metadata_works() { fn set_proposal_metadata_works() { new_test_ext().execute_with(|| { // invalid preimage hash. - let invalid_hash: Test::Hash = [1u8; 32].into(); + let invalid_hash = [1u8; 32].into(); // create an external proposal. assert_ok!(propose_set_balance(1, 2, 5)); // metadata owner is a public proposal. @@ -102,7 +102,7 @@ fn set_proposal_metadata_works() { Error::::PreimageNotExist, ); // note preimage. - let hash = note_preimage(1); + let hash = note_preimage::(1); // fails to set a preimage if an origin is not a proposer. assert_noop!( Democracy::set_metadata(RuntimeOrigin::signed(3), owner.clone(), Some(hash)), @@ -126,7 +126,7 @@ fn clear_proposal_metadata_works() { // metadata owner is a public proposal. let owner = MetadataOwner::Proposal(Democracy::public_prop_count() - 1); // set metadata. - let hash = note_preimage(1); + let hash = note_preimage::(1); assert_ok!(Democracy::set_metadata( RuntimeOrigin::signed(1), owner.clone(), @@ -150,7 +150,7 @@ fn set_referendum_metadata_by_root() { // metadata owner is a referendum. let owner = MetadataOwner::Referendum(index); // note preimage. - let hash = note_preimage(1); + let hash = note_preimage::(1); // fails to set if not a root. assert_noop!( Democracy::set_metadata(RuntimeOrigin::signed(3), owner.clone(), Some(hash)), @@ -185,7 +185,7 @@ fn clear_referendum_metadata_works() { // metadata owner is a referendum. let owner = MetadataOwner::Referendum(index); // set metadata. - let hash = note_preimage(1); + let hash = note_preimage::(1); // referendum finished. MetadataOf::::insert(owner.clone(), hash); // no permission to clear metadata of an ongoing referendum. diff --git a/pallets/democracy/src/tests/public_proposals.rs b/pallets/democracy/src/tests/public_proposals.rs index bb74771ce..3a9bfd1a5 100644 --- a/pallets/democracy/src/tests/public_proposals.rs +++ b/pallets/democracy/src/tests/public_proposals.rs @@ -94,7 +94,7 @@ fn cancel_proposal_should_work() { assert_ok!(propose_set_balance(1, 2, 2)); assert_ok!(propose_set_balance(1, 4, 4)); assert_noop!(Democracy::cancel_proposal(RuntimeOrigin::signed(1), 0), BadOrigin); - let hash = note_preimage(1); + let hash = note_preimage::(1); assert_ok!(Democracy::set_metadata( RuntimeOrigin::signed(1), MetadataOwner::Proposal(0), diff --git a/pallets/dynamic-evm-fee/src/lib.rs b/pallets/dynamic-evm-fee/src/lib.rs index 8b9ee3f3b..7485eb85b 100644 --- a/pallets/dynamic-evm-fee/src/lib.rs +++ b/pallets/dynamic-evm-fee/src/lib.rs @@ -55,14 +55,17 @@ pub use pallet::*; pub use weights::WeightInfo; use codec::HasCompact; +use frame_support::pallet_prelude::{ + Get, Hooks, MaxEncodedLen, MaybeSerializeDeserialize, Member, Parameter, StorageValue, StorageVersion, TypeInfo, + ValueQuery, +}; +use frame_support::weights::Weight; use frame_system::pallet_prelude::BlockNumberFor; use hydra_dx_math::ema::EmaPrice; use hydradx_traits::NativePriceOracle; use sp_core::U256; use sp_runtime::FixedPointNumber; use sp_runtime::FixedU128; -use frame_support::weights::Weight; -use frame_support::pallet_prelude::{Member, Parameter, MaybeSerializeDeserialize, MaxEncodedLen, TypeInfo, Get, StorageVersion, StorageValue, ValueQuery, Hooks}; pub const ETH_HDX_REFERENCE_PRICE: FixedU128 = FixedU128::from_inner(8945857934143137845); //Current onchain ETH price on at block #4,534,103 @@ -143,7 +146,9 @@ pub mod pallet { return; }; - let Some(price_diff) = FixedU128::checked_from_rational(eth_hdx_price.into_inner(), ETH_HDX_REFERENCE_PRICE.into_inner()) else { + let Some(price_diff) = + FixedU128::checked_from_rational(eth_hdx_price.into_inner(), ETH_HDX_REFERENCE_PRICE.into_inner()) + else { log::warn!(target: "runtime::dynamic-evm-fee", "Could not get rational of eth-hdx price, current price: {}, reference price: {}", eth_hdx_price, ETH_HDX_REFERENCE_PRICE); return; }; diff --git a/pallets/dynamic-fees/src/lib.rs b/pallets/dynamic-fees/src/lib.rs index 24365cf1b..b5d2c7573 100644 --- a/pallets/dynamic-fees/src/lib.rs +++ b/pallets/dynamic-fees/src/lib.rs @@ -177,11 +177,11 @@ where .saturated_into(); let Some(volume) = T::Oracle::asset_volume(asset_id) else { - return (current_fee_entry.asset_fee, current_fee_entry.protocol_fee); - }; + return (current_fee_entry.asset_fee, current_fee_entry.protocol_fee); + }; let Some(liquidity) = T::Oracle::asset_liquidity(asset_id) else { - return (current_fee_entry.asset_fee, current_fee_entry.protocol_fee); - }; + return (current_fee_entry.asset_fee, current_fee_entry.protocol_fee); + }; let asset_fee = recalculate_asset_fee( OracleEntry { diff --git a/pallets/ema-oracle/src/benchmarking.rs b/pallets/ema-oracle/src/benchmarking.rs index d4336d1fa..baccedeef 100644 --- a/pallets/ema-oracle/src/benchmarking.rs +++ b/pallets/ema-oracle/src/benchmarking.rs @@ -105,7 +105,7 @@ benchmarks! { }: { EmaOracle::::on_finalize(block_num); } verify { assert!(Accumulator::::get().is_empty()); - assert_eq!(Oracles::::get((SOURCE, ordered_pair(HDX, DOT), LastBlock)).unwrap(), (entry, block_num)); + assert_eq!(Oracles::::get((SOURCE, ordered_pair(HDX, DOT), OraclePeriod::LastBlock)).unwrap(), (entry, block_num)); } #[extra] @@ -148,7 +148,7 @@ benchmarks! { }: { EmaOracle::::on_finalize(block_num); } verify { assert!(Accumulator::::get().is_empty()); - assert_eq!(Oracles::::get((SOURCE, ordered_pair(HDX, DOT), LastBlock)).unwrap(), (entry, initial_data_block)); + assert_eq!(Oracles::::get((SOURCE, ordered_pair(HDX, DOT), OraclePeriod::LastBlock)).unwrap(), (entry, initial_data_block)); } on_finalize_multiple_tokens { @@ -198,7 +198,7 @@ benchmarks! { for i in 0 .. b { let asset_a = i * 1_000; let asset_b = asset_a + 500; - assert_eq!(Oracles::::get((SOURCE, ordered_pair(asset_a, asset_b), LastBlock)).unwrap(), (entry.clone(), initial_data_block)); + assert_eq!(Oracles::::get((SOURCE, ordered_pair(asset_a, asset_b), OraclePeriod::LastBlock)).unwrap(), (entry.clone(), initial_data_block)); } } @@ -367,7 +367,7 @@ benchmarks! { let res = core::cell::RefCell::new(Err(OracleError::NotPresent)); // aim to find a period that is not `LastBlock`, falling back to `LastBlock` if none is found. - let period = T::SupportedPeriods::get().into_iter().find(|p| p != &LastBlock).unwrap_or(LastBlock); + let period = T::SupportedPeriods::get().into_iter().find(|p| p != &OraclePeriod::LastBlock).unwrap_or(OraclePeriod::LastBlock); }: { let _ = res.replace(EmaOracle::::get_entry(asset_a, asset_b, period, SOURCE)); } verify { diff --git a/pallets/ema-oracle/src/lib.rs b/pallets/ema-oracle/src/lib.rs index 64be94a46..76a7a71eb 100644 --- a/pallets/ema-oracle/src/lib.rs +++ b/pallets/ema-oracle/src/lib.rs @@ -72,8 +72,7 @@ use frame_support::traits::Contains; use frame_system::pallet_prelude::BlockNumberFor; use hydradx_traits::{ AggregatedEntry, AggregatedOracle, AggregatedPriceOracle, Liquidity, OnCreatePoolHandler, - OnLiquidityChangedHandler, OnTradeHandler, - Volume, + OnLiquidityChangedHandler, OnTradeHandler, Volume, }; use sp_arithmetic::traits::Saturating; use sp_std::marker::PhantomData; @@ -365,7 +364,10 @@ impl Pallet { fn update_oracles_from_accumulator() { for ((src, assets), oracle_entry) in Accumulator::::take().into_iter() { // First we update the non-immediate oracles with the value of the `LastBlock` oracle. - for period in T::SupportedPeriods::get().into_iter().filter(|p| *p != OraclePeriod::LastBlock) { + for period in T::SupportedPeriods::get() + .into_iter() + .filter(|p| *p != OraclePeriod::LastBlock) + { Self::update_oracle(src, assets, period, oracle_entry.clone()); } // As we use (the old value of) the `LastBlock` entry to update the other oracles it diff --git a/pallets/ema-oracle/src/tests/mod.rs b/pallets/ema-oracle/src/tests/mod.rs index 062cfc283..b1e74f6c3 100644 --- a/pallets/ema-oracle/src/tests/mod.rs +++ b/pallets/ema-oracle/src/tests/mod.rs @@ -20,9 +20,9 @@ mod invariants; mod mock; use super::*; +use crate::OraclePeriod::*; pub use mock::{ - BlockNumber, EmaOracle, ExtBuilder, RuntimeEvent as TestEvent, RuntimeOrigin, System, Test, ACA, DOT, HDX, - INSUFFICIENT_ASSET, ORACLE_ENTRY_1, ORACLE_ENTRY_2, + BlockNumber, EmaOracle, ExtBuilder, System, Test, ACA, DOT, HDX, INSUFFICIENT_ASSET, ORACLE_ENTRY_1, ORACLE_ENTRY_2, }; use frame_support::{assert_noop, assert_ok, assert_storage_noop}; diff --git a/pallets/lbp/src/invariants.rs b/pallets/lbp/src/invariants.rs index 0a375c65e..a0c9dbf0d 100644 --- a/pallets/lbp/src/invariants.rs +++ b/pallets/lbp/src/invariants.rs @@ -1,8 +1,7 @@ use super::*; use crate::mock::BlockNumber; pub use crate::mock::{ - set_block_number, Currency, ExtBuilder, LBPPallet, RuntimeEvent as TestEvent, RuntimeOrigin as Origin, Test, ALICE, - BOB, BSX, CHARLIE, ETH, HDX, KUSD, + set_block_number, Currency, ExtBuilder, LBPPallet, RuntimeOrigin as Origin, Test, ALICE, CHARLIE, }; use frame_support::assert_ok; use hydra_dx_math::types::HYDRA_ONE; diff --git a/pallets/lbp/src/mock.rs b/pallets/lbp/src/mock.rs index 6d566c3df..c685d6dc8 100644 --- a/pallets/lbp/src/mock.rs +++ b/pallets/lbp/src/mock.rs @@ -249,8 +249,8 @@ pub fn generate_trades( let buy_amount = sale_rate / 24; let sell_amount = sale_rate / sell_ratio / 24; - let skip = vec![0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; - let sells = vec![19, 20, 21, 33, 34, 35, 48, 49, 50, 62, 63, 64]; + let skip = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; + let sells = [19, 20, 21, 33, 34, 35, 48, 49, 50, 62, 63, 64]; for i in 0..=intervals { let block_num = start + (i * ((end - start) / intervals)); diff --git a/pallets/lbp/src/tests.rs b/pallets/lbp/src/tests.rs index 837c9e2c0..2b5f39ba1 100644 --- a/pallets/lbp/src/tests.rs +++ b/pallets/lbp/src/tests.rs @@ -23,8 +23,8 @@ use crate::mock::{ SAMPLE_AMM_TRANSFER, SAMPLE_POOL_DATA, }; pub use crate::mock::{ - set_block_number, Currency, ExtBuilder, LBPPallet, RuntimeEvent as TestEvent, RuntimeOrigin as Origin, Test, ALICE, - BOB, BSX, CHARLIE, ETH, HDX, KUSD, + set_block_number, Currency, ExtBuilder, LBPPallet, RuntimeOrigin as Origin, Test, ALICE, BOB, BSX, CHARLIE, ETH, + HDX, KUSD, }; use frame_support::{assert_err, assert_noop, assert_ok}; use hydradx_traits::{AMMTransfer, LockedBalance}; diff --git a/pallets/nft/src/mock.rs b/pallets/nft/src/mock.rs index 526c4214a..58d83fb36 100644 --- a/pallets/nft/src/mock.rs +++ b/pallets/nft/src/mock.rs @@ -27,11 +27,6 @@ use sp_runtime::{ BuildStorage, Perbill, }; -mod nfc { - // Re-export needed for `impl_outer_event!`. - pub use super::super::*; -} - type AccountId = AccountId32; type Block = frame_system::mocking::MockBlock; type Balance = u128; diff --git a/pallets/omnipool-liquidity-mining/src/tests/mock.rs b/pallets/omnipool-liquidity-mining/src/tests/mock.rs index 78dbcbe7a..ae4c5c608 100644 --- a/pallets/omnipool-liquidity-mining/src/tests/mock.rs +++ b/pallets/omnipool-liquidity-mining/src/tests/mock.rs @@ -663,7 +663,7 @@ where fn exists(asset_id: T::AssetId) -> bool { let asset = REGISTERED_ASSETS.with(|v| v.borrow().get(&(asset_id.into())).copied()); - matches!(asset, Some(_)) + asset.is_some() } fn is_banned(_id: Self::AssetId) -> bool { diff --git a/pallets/omnipool/src/tests/mock.rs b/pallets/omnipool/src/tests/mock.rs index dfdf5883d..80c0d0a78 100644 --- a/pallets/omnipool/src/tests/mock.rs +++ b/pallets/omnipool/src/tests/mock.rs @@ -529,7 +529,7 @@ where fn exists(asset_id: T::AssetId) -> bool { let asset = REGISTERED_ASSETS.with(|v| v.borrow().get(&(asset_id.into())).copied()); - matches!(asset, Some(_)) + asset.is_some() } fn decimals(_id: Self::AssetId) -> Option { diff --git a/pallets/omnipool/src/types.rs b/pallets/omnipool/src/types.rs index 757a3d395..1170c27ed 100644 --- a/pallets/omnipool/src/types.rs +++ b/pallets/omnipool/src/types.rs @@ -1,3 +1,5 @@ +#![allow(clippy::bad_bit_mask)] + use super::*; use codec::MaxEncodedLen; use frame_support::pallet_prelude::*; diff --git a/pallets/referrals/src/migration.rs b/pallets/referrals/src/migration.rs index fc1c812d6..ff042857d 100644 --- a/pallets/referrals/src/migration.rs +++ b/pallets/referrals/src/migration.rs @@ -27,51 +27,75 @@ where let accounts: [(&str, Option); 12] = [ ( "MOONBEAM", - Some(AccountId32::from(hex!["7369626cd4070000000000000000000000000000000000000000000000000000"])), + Some(AccountId32::from(hex![ + "7369626cd4070000000000000000000000000000000000000000000000000000" + ])), ), ( "ASSETHUB", - Some(AccountId32::from(hex!["7369626ce8030000000000000000000000000000000000000000000000000000"])), + Some(AccountId32::from(hex![ + "7369626ce8030000000000000000000000000000000000000000000000000000" + ])), ), ( "INTERLAY", - Some(AccountId32::from(hex!["7369626cf0070000000000000000000000000000000000000000000000000000"])), + Some(AccountId32::from(hex![ + "7369626cf0070000000000000000000000000000000000000000000000000000" + ])), ), ( "CENTRIFUGE", - Some(AccountId32::from(hex!["7369626cef070000000000000000000000000000000000000000000000000000"])), + Some(AccountId32::from(hex![ + "7369626cef070000000000000000000000000000000000000000000000000000" + ])), ), ( "ASTAR", - Some(AccountId32::from(hex!["7369626cd6070000000000000000000000000000000000000000000000000000"])), + Some(AccountId32::from(hex![ + "7369626cd6070000000000000000000000000000000000000000000000000000" + ])), ), ( "BIFROST", - Some(AccountId32::from(hex!["7369626cee070000000000000000000000000000000000000000000000000000"])), + Some(AccountId32::from(hex![ + "7369626cee070000000000000000000000000000000000000000000000000000" + ])), ), ( "ZEITGEIST", - Some(AccountId32::from(hex!["7369626c2c080000000000000000000000000000000000000000000000000000"])), + Some(AccountId32::from(hex![ + "7369626c2c080000000000000000000000000000000000000000000000000000" + ])), ), ( "PHALA", - Some(AccountId32::from(hex!["7369626cf3070000000000000000000000000000000000000000000000000000"])), + Some(AccountId32::from(hex![ + "7369626cf3070000000000000000000000000000000000000000000000000000" + ])), ), ( "UNIQUE", - Some(AccountId32::from(hex!["7369626cf5070000000000000000000000000000000000000000000000000000"])), + Some(AccountId32::from(hex![ + "7369626cf5070000000000000000000000000000000000000000000000000000" + ])), ), ( "NODLE", - Some(AccountId32::from(hex!["7369626cea070000000000000000000000000000000000000000000000000000"])), + Some(AccountId32::from(hex![ + "7369626cea070000000000000000000000000000000000000000000000000000" + ])), ), ( "SUBSOCIAL", - Some(AccountId32::from(hex!["7369626c35080000000000000000000000000000000000000000000000000000"])), + Some(AccountId32::from(hex![ + "7369626c35080000000000000000000000000000000000000000000000000000" + ])), ), ( "POLKADOT", - Some(AccountId32::from(hex!["506172656e740000000000000000000000000000000000000000000000000000"])), + Some(AccountId32::from(hex![ + "506172656e740000000000000000000000000000000000000000000000000000" + ])), ), ]; for (code, maybe_who) in accounts.into_iter() { diff --git a/pallets/route-executor/src/lib.rs b/pallets/route-executor/src/lib.rs index 30aa1fdcd..1940a646e 100644 --- a/pallets/route-executor/src/lib.rs +++ b/pallets/route-executor/src/lib.rs @@ -616,7 +616,7 @@ impl Pallet { with_transaction::(|| { let origin: OriginFor = Origin::::Signed(Self::router_account()).into(); let Ok(who) = ensure_signed(origin.clone()) else { - return TransactionOutcome::Rollback(Err(Error::::InvalidRoute.into())) + return TransactionOutcome::Rollback(Err(Error::::InvalidRoute.into())); }; let _ = T::Currency::mint_into(asset_in, &Self::router_account(), amount_in); diff --git a/pallets/stableswap/src/lib.rs b/pallets/stableswap/src/lib.rs index f414799de..4ade3069f 100644 --- a/pallets/stableswap/src/lib.rs +++ b/pallets/stableswap/src/lib.rs @@ -64,8 +64,8 @@ use sp_std::num::NonZeroU16; use sp_std::prelude::*; use sp_std::vec; -pub mod types; mod trade_execution; +pub mod types; pub mod weights; use crate::types::{AssetAmount, Balance, PoolInfo, PoolState, StableswapHooks, Tradability}; diff --git a/pallets/stableswap/src/tests/mock.rs b/pallets/stableswap/src/tests/mock.rs index 002690033..ff9238fdf 100644 --- a/pallets/stableswap/src/tests/mock.rs +++ b/pallets/stableswap/src/tests/mock.rs @@ -324,7 +324,7 @@ impl Inspect for DummyRegistry { fn exists(asset_id: AssetId) -> bool { let asset = REGISTERED_ASSETS.with(|v| v.borrow().get(&asset_id).copied()); - matches!(asset, Some(_)) + asset.is_some() } fn decimals(asset_id: AssetId) -> Option { diff --git a/pallets/stableswap/src/types.rs b/pallets/stableswap/src/types.rs index 85d965f05..17a8002d0 100644 --- a/pallets/stableswap/src/types.rs +++ b/pallets/stableswap/src/types.rs @@ -1,3 +1,5 @@ +#![allow(clippy::bad_bit_mask)] + #[cfg(feature = "std")] use serde::{Deserialize, Serialize}; diff --git a/pallets/transaction-pause/src/tests.rs b/pallets/transaction-pause/src/tests.rs index ee86414bb..bcfb5dbc8 100644 --- a/pallets/transaction-pause/src/tests.rs +++ b/pallets/transaction-pause/src/tests.rs @@ -26,7 +26,7 @@ use mock::{RuntimeEvent as Event, *}; use sp_runtime::traits::BadOrigin; const BALANCE_TRANSFER: &::RuntimeCall = - &mock::RuntimeCall::Balances(pallet_balances::Call::transfer { dest: ALICE, value: 10 }); + &mock::RuntimeCall::Balances(pallet_balances::Call::transfer_allow_death { dest: ALICE, value: 10 }); const TOKENS_TRANSFER: &::RuntimeCall = &mock::RuntimeCall::Tokens(orml_tokens::Call::transfer { dest: ALICE, @@ -172,7 +172,7 @@ fn paused_transaction_filter_work() { assert_ok!(TransactionPause::pause_transaction( RuntimeOrigin::signed(1), b"Balances".to_vec(), - b"transfer".to_vec() + b"transfer_allow_death".to_vec() )); assert_ok!(TransactionPause::pause_transaction( RuntimeOrigin::signed(1), @@ -184,7 +184,7 @@ fn paused_transaction_filter_work() { assert_ok!(TransactionPause::unpause_transaction( RuntimeOrigin::signed(1), b"Balances".to_vec(), - b"transfer".to_vec() + b"transfer_allow_death".to_vec() )); assert_ok!(TransactionPause::unpause_transaction( RuntimeOrigin::signed(1), diff --git a/runtime/adapters/src/lib.rs b/runtime/adapters/src/lib.rs index 7bb16d19a..fc307ea3d 100644 --- a/runtime/adapters/src/lib.rs +++ b/runtime/adapters/src/lib.rs @@ -113,7 +113,7 @@ impl< if let Some(asset) = payment.fungible_assets_iter().next() { ConvertCurrency::convert(asset.clone()) .and_then(|currency| AcceptedCurrencyPrices::price(currency)) - .and_then(|price| Some((asset.id.0, price))) + .map(|price| (asset.id.0, price)) } else { None } @@ -169,7 +169,7 @@ impl< self.paid_assets.insert(key, amount); } } - Ok(unused.into()) + Ok(unused) } /// Will refund up to `weight` from the first asset tracked by the trader. @@ -239,7 +239,7 @@ impl< let a = asset.clone(); // TODO: probably unnecessary but did not want to change the implementation. match asset { Asset { - id: asset_id, + id: _asset_id, fun: Fungibility::Fungible(amount), } => { C::convert(a).and_then(|id| { diff --git a/runtime/adapters/src/tests/mock.rs b/runtime/adapters/src/tests/mock.rs index 6221899c1..bdebf0dcf 100644 --- a/runtime/adapters/src/tests/mock.rs +++ b/runtime/adapters/src/tests/mock.rs @@ -108,6 +108,7 @@ impl frame_system::Config for Test { type BlockLength = (); type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; + type RuntimeTask = RuntimeTask; type Nonce = u64; type Block = Block; type Hash = H256; @@ -140,8 +141,8 @@ impl pallet_balances::Config for Test { type ReserveIdentifier = (); type FreezeIdentifier = (); type MaxFreezes = (); - type MaxHolds = (); type RuntimeHoldReason = (); + type RuntimeFreezeReason = (); } parameter_type_with_key! { @@ -637,7 +638,7 @@ where fn exists(asset_id: AssetId) -> bool { let asset = REGISTERED_ASSETS.with(|v| v.borrow().get(&(asset_id)).copied()); - matches!(asset, Some(_)) + asset.is_some() } fn is_banned(_id: Self::AssetId) -> bool { diff --git a/runtime/adapters/src/tests/trader.rs b/runtime/adapters/src/tests/trader.rs index 4d87e0d43..12ecf5a5d 100644 --- a/runtime/adapters/src/tests/trader.rs +++ b/runtime/adapters/src/tests/trader.rs @@ -21,6 +21,7 @@ use frame_support::{weights::IdentityFee, BoundedVec}; use sp_runtime::{traits::One, DispatchResult, FixedU128}; use sp_std::cell::RefCell; use sp_std::collections::btree_set::BTreeSet; +use sp_std::sync::Arc; type AccountId = u32; type AssetId = u32; @@ -47,33 +48,41 @@ impl NativePriceOracle for MockOracle { } struct MockConvert; -impl Convert> for MockConvert { - fn convert(id: AssetId) -> Option { +impl Convert> for MockConvert { + fn convert(id: AssetId) -> Option { match id { CORE_ASSET_ID | TEST_ASSET_ID | CHEAP_ASSET_ID | OVERFLOW_ASSET_ID => { let junction = Junction::from(BoundedVec::try_from(id.encode()).unwrap()); - Some(polkadot_xcm::v3::MultiLocation::new(0, X1(junction))) + Some(Location::new(0, Junctions::X1(Arc::new([junction])))) } _ => None, } } } -impl Convert> for MockConvert { - fn convert(location: MultiLocation) -> Option { +impl Convert> for MockConvert { + fn convert(location: Location) -> Option { match location { - MultiLocation { + Location { parents: 0, - interior: X1(GeneralKey { data, .. }), + interior: Junctions::X1(a), } => { - if let Ok(currency_id) = AssetId::decode(&mut &data[..]) { - // we currently have only one native asset - match currency_id { - CORE_ASSET_ID | TEST_ASSET_ID | CHEAP_ASSET_ID | OVERFLOW_ASSET_ID => Some(currency_id), - _ => None, + match (*a)[0] { + GeneralKey { data, .. } => { + match AssetId::decode(&mut &data[..]) { + Ok(currency_id) => { + // we currently have only one native asset + match currency_id { + CORE_ASSET_ID | TEST_ASSET_ID | CHEAP_ASSET_ID | OVERFLOW_ASSET_ID => { + Some(currency_id) + } + _ => None, + } + } + _ => None, + } } - } else { - None + _ => None, } } _ => None, @@ -81,28 +90,22 @@ impl Convert> for MockConvert { } } -impl Convert> for MockConvert { - fn convert(asset: MultiAsset) -> Option { - if let MultiAsset { - id: Concrete(location), .. - } = asset - { - Self::convert(location) - } else { - None - } +impl Convert> for MockConvert { + fn convert(asset: Asset) -> Option { + let Asset { id: asset_id, .. } = asset; + Self::convert(asset_id.0) } } thread_local! { - pub static TAKEN_REVENUE: RefCell> = RefCell::new(BTreeSet::new()); - pub static EXPECTED_REVENUE: RefCell> = RefCell::new(BTreeSet::new()); + pub static TAKEN_REVENUE: RefCell> = RefCell::new(BTreeSet::new()); + pub static EXPECTED_REVENUE: RefCell> = RefCell::new(BTreeSet::new()); } struct ExpectRevenue; impl ExpectRevenue { /// Register an asset to be expected. - fn register_expected_asset(asset: MultiAsset) { + fn register_expected_asset(asset: Asset) { EXPECTED_REVENUE.with(|e| e.borrow_mut().insert(asset)); } @@ -134,7 +137,7 @@ impl ExpectRevenue { } impl TakeRevenue for ExpectRevenue { - fn take_revenue(asset: MultiAsset) { + fn take_revenue(asset: Asset) { TAKEN_REVENUE.with(|t| t.borrow_mut().insert(asset)); } } @@ -187,21 +190,21 @@ fn can_buy_weight() { topic: None, }; - let core_payment: MultiAsset = (Concrete(core_id), 1_000_000).into(); + let core_payment: Asset = (core_id, Fungible(1_000_000)).into(); let res = dbg!(trader.buy_weight(Weight::from_parts(1_000_000, 0), core_payment.clone().into(), &ctx)); assert!(res .expect("buy_weight should succeed because payment == weight") .is_empty()); ExpectRevenue::register_expected_asset(core_payment); - let test_payment: MultiAsset = (Concrete(test_id), 500_000).into(); + let test_payment: Asset = (test_id, Fungible(500_000)).into(); let res = dbg!(trader.buy_weight(Weight::from_parts(1_000_000, 0), test_payment.clone().into(), &ctx)); assert!(res .expect("buy_weight should succeed because payment == 0.5 * weight") .is_empty()); ExpectRevenue::register_expected_asset(test_payment); - let cheap_payment: MultiAsset = (Concrete(cheap_id), 4_000_000).into(); + let cheap_payment: Asset = (cheap_id, Fungible(4_000_000)).into(); let res = dbg!(trader.buy_weight(Weight::from_parts(1_000_000, 0), cheap_payment.clone().into(), &ctx)); assert!(res .expect("buy_weight should succeed because payment == 4 * weight") @@ -227,17 +230,17 @@ fn can_buy_twice() { topic: None, }; - let payment1: MultiAsset = (Concrete(core_id), 1_000_000).into(); + let payment1: Asset = (core_id.clone(), Fungible(1_000_000)).into(); let res = dbg!(trader.buy_weight(Weight::from_parts(1_000_000, 0), payment1.into(), &ctx)); assert!(res .expect("buy_weight should succeed because payment == weight") .is_empty()); - let payment2: MultiAsset = (Concrete(core_id), 1_000_000).into(); + let payment2: Asset = (core_id.clone(), Fungible(1_000_000)).into(); let res = dbg!(trader.buy_weight(Weight::from_parts(1_000_000, 0), payment2.into(), &ctx)); assert!(res .expect("buy_weight should succeed because payment == weight") .is_empty()); - let total_payment: MultiAsset = (Concrete(core_id), 2_000_000).into(); + let total_payment: Asset = (core_id, Fungible(2_000_000)).into(); ExpectRevenue::register_expected_asset(total_payment); } ExpectRevenue::expect_revenue(); @@ -255,7 +258,7 @@ fn cannot_buy_with_too_few_tokens() { message_id: XcmHash::default(), topic: None, }; - let payment: MultiAsset = (Concrete(core_id), 69).into(); + let payment: Asset = (core_id, Fungible(69)).into(); let res = dbg!(trader.buy_weight(Weight::from_parts(1_000_000, 0), payment.into(), &ctx)); assert_eq!(res, Err(XcmError::TooExpensive)); @@ -273,7 +276,7 @@ fn cannot_buy_with_unknown_token() { message_id: XcmHash::default(), topic: None, }; - let payment: MultiAsset = (Concrete(unknown_token.into()), 1_000_000).into(); + let payment: Asset = (unknown_token, Fungible(1_000_000)).into(); let res = dbg!(trader.buy_weight(Weight::from_parts(1_000_000, 0), payment.into(), &ctx)); assert_eq!(res, Err(XcmError::AssetNotFound)); } @@ -290,7 +293,7 @@ fn cannot_buy_with_non_fungible() { message_id: XcmHash::default(), topic: None, }; - let payment: MultiAsset = (Concrete(unknown_token.into()), NonFungible(AssetInstance::Undefined)).into(); + let payment: Asset = (unknown_token, NonFungible(AssetInstance::Undefined)).into(); let res = dbg!(trader.buy_weight(Weight::from_parts(1_000_000, 0), payment.into(), &ctx)); assert_eq!(res, Err(XcmError::AssetNotFound)); @@ -321,7 +324,7 @@ fn overflow_errors() { }; let amount = 1_000; - let payment: MultiAsset = (Concrete(overflow_id), amount).into(); + let payment: Asset = (overflow_id, Fungible(amount)).into(); let weight = Weight::from_parts(1_000, 0); let res = dbg!(trader.buy_weight(weight, payment.into(), &ctx)); assert_eq!(res, Err(XcmError::Overflow)); @@ -346,7 +349,7 @@ fn refunds_first_asset_completely() { let weight = Weight::from_parts(1_000_000, 0); let tokens = 1_000_000; - let core_payment: MultiAsset = (Concrete(core_id), tokens).into(); + let core_payment: Asset = (core_id, Fungible(tokens)).into(); let res = dbg!(trader.buy_weight(weight, core_payment.clone().into(), &ctx)); assert!(res .expect("buy_weight should succeed because payment == weight") @@ -389,13 +392,13 @@ fn needs_multiple_refunds_for_multiple_currencies() { }; let weight = Weight::from_parts(1_000_000, 0); - let core_payment: MultiAsset = (Concrete(core_id), 1_000_000).into(); + let core_payment: Asset = (core_id, Fungible(1_000_000)).into(); let res = dbg!(trader.buy_weight(weight, core_payment.clone().into(), &ctx)); assert!(res .expect("buy_weight should succeed because payment == weight") .is_empty()); - let test_payment: MultiAsset = (Concrete(test_id), 500_000).into(); + let test_payment: Asset = (test_id, Fungible(500_000)).into(); let res = dbg!(trader.buy_weight(weight, test_payment.clone().into(), &ctx)); assert!(res .expect("buy_weight should succeed because payment == 0.5 * weight") diff --git a/runtime/adapters/src/tests/xcm_exchange.rs b/runtime/adapters/src/tests/xcm_exchange.rs index 1849b8c70..91c2a4e59 100644 --- a/runtime/adapters/src/tests/xcm_exchange.rs +++ b/runtime/adapters/src/tests/xcm_exchange.rs @@ -11,7 +11,7 @@ use pretty_assertions::assert_eq; use sp_runtime::traits::Convert; use sp_runtime::{FixedU128, SaturatedConversion}; use xcm_executor::traits::AssetExchange; -use xcm_executor::Assets; +use xcm_executor::AssetsInHolding; parameter_types! { pub ExchangeTempAccount: AccountId = 12345; @@ -24,28 +24,25 @@ const UNITS: u128 = 1_000_000_000_000; pub struct CurrencyIdConvert; -impl Convert> for CurrencyIdConvert { - fn convert(location: MultiLocation) -> Option { +impl Convert> for CurrencyIdConvert { + fn convert(location: Location) -> Option { match location { - MultiLocation { + Location { parents: 0, - interior: X1(GeneralIndex(index)), - } => Some(index.saturated_into()), + interior: Junctions::X1(a), + } => match (*a)[0] { + GeneralIndex(index) => Some(index.saturated_into()), + _ => None, + }, _ => None, } } } -impl Convert> for CurrencyIdConvert { - fn convert(asset: MultiAsset) -> Option { - if let MultiAsset { - id: Concrete(location), .. - } = asset - { - Self::convert(location) - } else { - None - } +impl Convert> for CurrencyIdConvert { + fn convert(asset: Asset) -> Option { + let Asset { id: asset_id, .. } = asset; + Self::convert(asset_id.0) } } @@ -60,15 +57,15 @@ fn xcm_exchanger_allows_selling_supported_assets() { .with_initial_pool(FixedU128::from_float(0.5), FixedU128::from(1)) .build() .execute_with(|| { - let give = MultiAsset::from((GeneralIndex(DAI.into()), 100 * UNITS)).into(); + let give: Assets = Asset::from((GeneralIndex(DAI.into()), 100 * UNITS)).into(); let wanted_amount = 45 * UNITS; // 50 - 5 to cover fees - let want: MultiAssets = MultiAsset::from((GeneralIndex(HDX.into()), wanted_amount)).into(); + let want: Assets = Asset::from((GeneralIndex(HDX.into()), wanted_amount)).into(); // Act - let received = exchange_asset(None, give, &want, SELL).expect("should return ok"); + let received: Assets = exchange_asset(None, give, &want, SELL).expect("should return ok").into(); // Assert - let mut iter = received.fungible_assets_iter(); + let mut iter = received.inner().iter().filter(|asset| asset.is_fungible(None)); let asset_received = iter.next().expect("there should be at least one asset"); assert!(iter.next().is_none(), "there should only be one asset returned"); let Fungible(received_amount) = asset_received.fun else { @@ -111,15 +108,15 @@ fn xcm_exchanger_should_work_with_onchain_route() { ], )); - let give = MultiAsset::from((GeneralIndex(DAI.into()), 100 * UNITS)).into(); + let give = Asset::from((GeneralIndex(DAI.into()), 100 * UNITS)).into(); let wanted_amount = 40 * UNITS; // 50 - 10 to cover fees - let want: MultiAssets = MultiAsset::from((GeneralIndex(DOT.into()), wanted_amount)).into(); + let want: Assets = Asset::from((GeneralIndex(DOT.into()), wanted_amount)).into(); // Act - let received = exchange_asset(None, give, &want, SELL).expect("should return ok"); + let received: Assets = exchange_asset(None, give, &want, SELL).expect("should return ok").into(); // Assert - let mut iter = received.fungible_assets_iter(); + let mut iter = received.inner().iter().filter(|asset| asset.is_fungible(None)); let asset_received = iter.next().expect("there should be at least one asset"); assert!(iter.next().is_none(), "there should only be one asset returned"); let Fungible(received_amount) = asset_received.fun else { @@ -143,26 +140,26 @@ fn xcm_exchanger_allows_buying_supported_assets() { .build() .execute_with(|| { let given_amount = 100 * UNITS; - let give_asset = MultiAsset::from((GeneralIndex(DAI.into()), given_amount)); + let give_asset = Asset::from((GeneralIndex(DAI.into()), given_amount)); let give = give_asset.into(); let wanted_amount = 45 * UNITS; // 50 - 5 to cover fees - let want_asset = MultiAsset::from((GeneralIndex(HDX.into()), wanted_amount)); - let want: MultiAssets = want_asset.clone().into(); + let want_asset = Asset::from((GeneralIndex(HDX.into()), wanted_amount)); + let want: Assets = want_asset.clone().into(); // Act - let received = exchange_asset(None, give, &want, BUY).expect("should return ok"); + let received: Assets = exchange_asset(None, give, &want, BUY).expect("should return ok").into(); // Assert - let mut iter = received.fungible_assets_iter(); + let mut iter = received.inner().iter().filter(|asset| asset.is_fungible(None)); let asset_received = iter.next().expect("there should be at least one asset"); - let left_over = iter.next().expect("there should be at least some left_over asset_in"); + let left_over = iter.next().expect("there should be at least some left_over asset_in").clone(); assert!(iter.next().is_none(), "there should only be two assets returned"); let Fungible(left_over_amount) = left_over.fun else { panic!("should be fungible") }; assert_eq!(left_over, (GeneralIndex(DAI.into()), left_over_amount).into()); assert!(left_over_amount < given_amount); - assert_eq!(asset_received, want_asset); + assert_eq!(*asset_received, want_asset); let Fungible(received_amount) = asset_received.fun else { panic!("should be fungible") }; @@ -183,14 +180,14 @@ fn xcm_exchanger_should_not_allow_trading_for_multiple_assets() { .with_initial_pool(FixedU128::from_float(0.5), FixedU128::from(1)) .build() .execute_with(|| { - let give: MultiAssets = MultiAsset::from((GeneralIndex(DAI.into()), 100 * UNITS)).into(); + let give: Assets = Asset::from((GeneralIndex(DAI.into()), 100 * UNITS)).into(); let wanted_amount = 45 * UNITS; // 50 - 5 to cover fees - let want1: MultiAsset = MultiAsset::from((GeneralIndex(HDX.into()), wanted_amount)); - let want2: MultiAsset = MultiAsset::from((GeneralIndex(DAI.into()), wanted_amount)); - let want: MultiAssets = vec![want1, want2].into(); + let want1: Asset = Asset::from((GeneralIndex(HDX.into()), wanted_amount)); + let want2: Asset = Asset::from((GeneralIndex(DAI.into()), wanted_amount)); + let want: Assets = vec![want1, want2].into(); // Act and assert - assert_noop!(exchange_asset(None, give.clone().into(), &want, SELL), give); + assert_noop!(exchange_asset(None, give.clone(), &want, SELL), give); }); } @@ -205,23 +202,21 @@ fn xcm_exchanger_works_with_specified_origin() { .with_initial_pool(FixedU128::from_float(0.5), FixedU128::from(1)) .build() .execute_with(|| { - let give = MultiAsset::from((GeneralIndex(DAI.into()), 100 * UNITS)).into(); + let give = Asset::from((GeneralIndex(DAI.into()), 100 * UNITS)).into(); let wanted_amount = 45 * UNITS; // 50 - 5 to cover fees - let want = MultiAsset::from((GeneralIndex(HDX.into()), wanted_amount)).into(); + let want = Asset::from((GeneralIndex(HDX.into()), wanted_amount)).into(); // Act and assert - assert_ok!(exchange_asset(Some(&MultiLocation::here()), give, &want, SELL)); + assert_ok!(exchange_asset(Some(&Location::here()), give, &want, SELL)); }); } -fn exchange_asset( - origin: Option<&MultiLocation>, - give: Assets, - want: &MultiAssets, - is_sell: bool, -) -> Result { +fn exchange_asset(origin: Option<&Location>, give: Assets, want: &Assets, is_sell: bool) -> Result { XcmAssetExchanger::::exchange_asset( - origin, give, want, is_sell, + origin, + give.into(), + want, + is_sell, ) } diff --git a/runtime/adapters/src/tests/xcm_execute_filter.rs b/runtime/adapters/src/tests/xcm_execute_filter.rs index 4f3b568ee..2c76aab19 100644 --- a/runtime/adapters/src/tests/xcm_execute_filter.rs +++ b/runtime/adapters/src/tests/xcm_execute_filter.rs @@ -15,7 +15,7 @@ fn xcm_execute_filter_should_not_allow_transact() { require_weight_at_most: Weight::from_parts(1, 1), call: call.into(), }]); - let loc = MultiLocation::new( + let loc = Location::new( 0, AccountId32 { network: None, @@ -28,11 +28,11 @@ fn xcm_execute_filter_should_not_allow_transact() { #[test] fn xcm_execute_filter_should_allow_a_transfer_and_swap() { //Arrange - let fees = MultiAsset::from((MultiLocation::here(), 10)); + let fees = Asset::from((Location::here(), 10)); let weight_limit = WeightLimit::Unlimited; - let give: MultiAssetFilter = fees.clone().into(); - let want: MultiAssets = fees.clone().into(); - let assets: MultiAssets = fees.clone().into(); + let give: AssetFilter = fees.clone().into(); + let want: Assets = fees.clone().into(); + let assets: Assets = fees.clone().into(); let max_assets = 2; let beneficiary = Junction::AccountId32 { @@ -40,7 +40,7 @@ fn xcm_execute_filter_should_allow_a_transfer_and_swap() { network: None, } .into(); - let dest = MultiLocation::new(1, Parachain(2047)); + let dest = Location::new(1, Parachain(2047)); let xcm = Xcm(vec![ BuyExecution { fees, weight_limit }, @@ -60,7 +60,7 @@ fn xcm_execute_filter_should_allow_a_transfer_and_swap() { TransferReserveAsset { assets, dest, xcm }, ]); - let loc = MultiLocation::new( + let loc = Location::new( 0, AccountId32 { network: None, @@ -75,8 +75,8 @@ fn xcm_execute_filter_should_allow_a_transfer_and_swap() { #[test] fn xcm_execute_filter_should_filter_too_deep_xcm() { //Arrange - let fees = MultiAsset::from((MultiLocation::here(), 10)); - let assets: MultiAssets = fees.into(); + let fees = Asset::from((Location::here(), 10)); + let assets: Assets = fees.into(); let max_assets = 2; let beneficiary = Junction::AccountId32 { @@ -84,7 +84,7 @@ fn xcm_execute_filter_should_filter_too_deep_xcm() { network: None, } .into(); - let dest = MultiLocation::new(1, Parachain(2047)); + let dest = Location::new(1, Parachain(2047)); let deposit = Xcm(vec![DepositAsset { assets: Wild(AllCounted(max_assets)), @@ -93,7 +93,7 @@ fn xcm_execute_filter_should_filter_too_deep_xcm() { let mut message = Xcm(vec![TransferReserveAsset { assets: assets.clone(), - dest, + dest: dest.clone(), xcm: deposit, }]); @@ -101,12 +101,12 @@ fn xcm_execute_filter_should_filter_too_deep_xcm() { let xcm = message.clone(); message = Xcm(vec![TransferReserveAsset { assets: assets.clone(), - dest, + dest: dest.clone(), xcm, }]); } - let loc = MultiLocation::new( + let loc = Location::new( 0, AccountId32 { network: None, @@ -121,8 +121,8 @@ fn xcm_execute_filter_should_filter_too_deep_xcm() { #[test] fn xcm_execute_filter_should_not_filter_message_with_max_deep() { //Arrange - let fees = MultiAsset::from((MultiLocation::here(), 10)); - let assets: MultiAssets = fees.into(); + let fees = Asset::from((Location::here(), 10)); + let assets: Assets = fees.into(); let max_assets = 2; let beneficiary = Junction::AccountId32 { @@ -130,7 +130,7 @@ fn xcm_execute_filter_should_not_filter_message_with_max_deep() { network: None, } .into(); - let dest = MultiLocation::new(1, Parachain(2047)); + let dest = Location::new(1, Parachain(2047)); let deposit = Xcm(vec![DepositAsset { assets: Wild(AllCounted(max_assets)), @@ -139,7 +139,7 @@ fn xcm_execute_filter_should_not_filter_message_with_max_deep() { let mut message = Xcm(vec![TransferReserveAsset { assets: assets.clone(), - dest, + dest: dest.clone(), xcm: deposit, }]); @@ -147,12 +147,12 @@ fn xcm_execute_filter_should_not_filter_message_with_max_deep() { let xcm = message.clone(); message = Xcm(vec![TransferReserveAsset { assets: assets.clone(), - dest, + dest: dest.clone(), xcm, }]); } - let loc = MultiLocation::new( + let loc = Location::new( 0, AccountId32 { network: None, @@ -169,25 +169,25 @@ fn xcm_execute_filter_should_not_filter_message_with_max_deep() { #[test] fn xcm_execute_filter_should_filter_messages_with_one_more_instruction_than_allowed_in_depth() { //Arrange - let fees = MultiAsset::from((MultiLocation::here(), 10)); - let assets: MultiAssets = fees.into(); + let fees = Asset::from((Location::here(), 10)); + let assets: Assets = fees.into(); let max_assets = 2; - let beneficiary = Junction::AccountId32 { + let beneficiary: Location = Junction::AccountId32 { id: [3; 32], network: None, } .into(); - let dest = MultiLocation::new(1, Parachain(2047)); + let dest = Location::new(1, Parachain(2047)); let deposit = Xcm(vec![DepositAsset { assets: Wild(AllCounted(max_assets)), - beneficiary, + beneficiary: beneficiary.clone(), }]); let mut message = Xcm(vec![TransferReserveAsset { assets: assets.clone(), - dest, + dest: dest.clone(), xcm: deposit, }]); @@ -195,7 +195,7 @@ fn xcm_execute_filter_should_filter_messages_with_one_more_instruction_than_allo let xcm = message.clone(); message = Xcm(vec![TransferReserveAsset { assets: assets.clone(), - dest, + dest: dest.clone(), xcm: xcm.clone(), }]); } @@ -203,7 +203,7 @@ fn xcm_execute_filter_should_filter_messages_with_one_more_instruction_than_allo //It has 5 instruction let mut instructions_with_inner_xcms: Vec> = vec![TransferReserveAsset { assets: assets.clone(), - dest, + dest: dest.clone(), xcm: message.clone(), }]; @@ -223,7 +223,7 @@ fn xcm_execute_filter_should_filter_messages_with_one_more_instruction_than_allo xcm: Xcm(instructions_with_inner_xcms.clone()), }]); - let loc = MultiLocation::new( + let loc = Location::new( 0, AccountId32 { network: None, @@ -253,7 +253,7 @@ fn xcm_execute_filter_should_filter_messages_with_one_more_instruction_than_allo 101 ]); - let loc = MultiLocation::new( + let loc = Location::new( 0, AccountId32 { network: None, @@ -268,10 +268,10 @@ fn xcm_execute_filter_should_filter_messages_with_one_more_instruction_than_allo ))); } -fn xcm_execute_filter_allows(loc_and_message: &(MultiLocation, Xcm)) -> bool { +fn xcm_execute_filter_allows(loc_and_message: &(Location, Xcm)) -> bool { AllowTransferAndSwap::, ConstU16<100>, RuntimeCall>::contains(loc_and_message) } -fn xcm_execute_filter_does_not_allow(loc_and_message: &(MultiLocation, Xcm<()>)) -> bool { +fn xcm_execute_filter_does_not_allow(loc_and_message: &(Location, Xcm<()>)) -> bool { !AllowTransferAndSwap::, ConstU16<100>, ()>::contains(loc_and_message) } diff --git a/runtime/hydradx/src/migrations.rs b/runtime/hydradx/src/migrations.rs index 22bdcbdff..46913b42b 100644 --- a/runtime/hydradx/src/migrations.rs +++ b/runtime/hydradx/src/migrations.rs @@ -19,8 +19,8 @@ impl OnRuntimeUpgrade for OnRuntimeUpgradeMigration { } fn on_runtime_upgrade() -> Weight { - let mut weight: Weight = Weight::zero(); /* + let mut weight: Weight = Weight::zero(); log::info!("Migrate Collator Selection Pallet to v1 start"); weight = weight @@ -42,7 +42,7 @@ impl OnRuntimeUpgrade for OnRuntimeUpgradeMigration { weight = weight.saturating_add(pallet_referrals::migration::preregister_parachain_codes::()); */ - weight + Weight::zero() } #[cfg(feature = "try-runtime")] diff --git a/runtime/hydradx/src/tests.rs b/runtime/hydradx/src/tests.rs index 0367d2097..7c975f228 100644 --- a/runtime/hydradx/src/tests.rs +++ b/runtime/hydradx/src/tests.rs @@ -49,7 +49,7 @@ fn extrinsic_base_fee_is_correct() { #[ignore] // Useful to calculate how much single transfer costs in native currency with fee components breakdown fn transfer_cost() { - let call = pallet_balances::Call::::transfer { + let call = pallet_balances::Call::::transfer_allow_death { dest: AccountId::new([0; 32]), value: Default::default(), }; diff --git a/runtime/hydradx/src/weights/identity.rs b/runtime/hydradx/src/weights/identity.rs index 3a0973fa6..7e592dfc4 100644 --- a/runtime/hydradx/src/weights/identity.rs +++ b/runtime/hydradx/src/weights/identity.rs @@ -63,7 +63,7 @@ impl pallet_identity::WeightInfo for HydraWeight { .saturating_add(T::DbWeight::get().writes(1)) } - fn set_identity(r: u32) -> Weight { + fn set_identity(_r: u32) -> Weight { todo!() } @@ -108,15 +108,15 @@ impl pallet_identity::WeightInfo for HydraWeight { .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) } - fn clear_identity(r: u32, s: u32) -> Weight { + fn clear_identity(_r: u32, _s: u32) -> Weight { todo!() } - fn request_judgement(r: u32) -> Weight { + fn request_judgement(_r: u32) -> Weight { todo!() } - fn cancel_request(r: u32) -> Weight { + fn cancel_request(_r: u32) -> Weight { todo!() } @@ -163,11 +163,11 @@ impl pallet_identity::WeightInfo for HydraWeight { .saturating_add(T::DbWeight::get().writes(1)) } - fn provide_judgement(r: u32) -> Weight { + fn provide_judgement(_r: u32) -> Weight { todo!() } - fn kill_identity(r: u32, s: u32) -> Weight { + fn kill_identity(_r: u32, _s: u32) -> Weight { todo!() } diff --git a/runtime/hydradx/src/weights/preimage.rs b/runtime/hydradx/src/weights/preimage.rs index cce79e364..e195372cd 100644 --- a/runtime/hydradx/src/weights/preimage.rs +++ b/runtime/hydradx/src/weights/preimage.rs @@ -202,7 +202,7 @@ impl pallet_preimage::WeightInfo for HydraWeight { .saturating_add(T::DbWeight::get().writes(1)) } - fn ensure_updated(n: u32) -> Weight { + fn ensure_updated(_n: u32) -> Weight { todo!() } } \ No newline at end of file diff --git a/runtime/hydradx/src/xcm.rs b/runtime/hydradx/src/xcm.rs index 2014375ab..ee2cefbb9 100644 --- a/runtime/hydradx/src/xcm.rs +++ b/runtime/hydradx/src/xcm.rs @@ -2,9 +2,7 @@ use super::*; use sp_std::marker::PhantomData; use codec::MaxEncodedLen; -use hydradx_adapters::{ - MultiCurrencyTrader, ReroutingMultiCurrencyAdapter, ToFeeReceiver, -}; +use hydradx_adapters::{MultiCurrencyTrader, ReroutingMultiCurrencyAdapter, ToFeeReceiver}; use pallet_transaction_multi_payment::DepositAll; use primitives::AssetId; // shadow glob import of polkadot_xcm::v3::prelude::AssetId @@ -28,8 +26,8 @@ use polkadot_xcm::v3::MultiLocation; use polkadot_xcm::v4::{prelude::*, Asset, InteriorLocation, Weight as XcmWeight}; use primitives::Price; use scale_info::TypeInfo; -use sp_runtime::Perbill; use sp_runtime::traits::MaybeEquivalence; +use sp_runtime::Perbill; use xcm_builder::{ AccountId32Aliases, AllowKnownQueryResponses, AllowSubscriptionsFrom, AllowTopLevelPaidExecutionFrom, DescribeAllTerminal, DescribeFamily, EnsureXcmOrigin, FixedWeightBounds, HashedDescription, ParentIsPreset, @@ -41,22 +39,21 @@ use xcm_executor::{Config, XcmExecutor}; #[derive(Debug, Default, Encode, Decode, Clone, PartialEq, Eq, TypeInfo, MaxEncodedLen)] pub struct AssetLocation(pub polkadot_xcm::v3::Location); -impl Into> for AssetLocation{ - fn into(self) -> Option { - xcm_builder::V4V3LocationConverter::convert_back(&self.0) +impl From for Option { + fn from(location: AssetLocation) -> Option { + xcm_builder::V4V3LocationConverter::convert_back(&location.0) } } -impl TryFrom for AssetLocation{ +impl TryFrom for AssetLocation { type Error = (); fn try_from(value: Location) -> Result { let loc: MultiLocation = value.try_into()?; - Ok(AssetLocation(loc.into())) + Ok(AssetLocation(loc)) } } - pub type LocalOriginToLocation = SignedToAccountId32; pub type Barrier = ( @@ -303,19 +300,6 @@ impl pallet_message_queue::Config for Runtime { type ServiceWeight = MessageQueueServiceWeight; } -/* -impl pallet_xcm_rate_limiter::Config for Runtime { - type RuntimeEvent = RuntimeEvent; - type AssetId = AssetId; - type DeferDuration = DeferDuration; - type MaxDeferDuration = MaxDeferDuration; - type RelayBlockNumberProvider = RelayChainBlockNumberProvider; - type CurrencyIdConvert = CurrencyIdConvert; - type RateLimitFor = pallet_asset_registry::XcmRateLimitsInRegistry; -} - - */ - pub struct CurrencyIdConvert; use crate::evm::ExtendedAddressMapping; use primitives::constants::chain::CORE_ASSET_ID; @@ -331,10 +315,10 @@ impl Convert> for CurrencyIdConvert { let loc = AssetRegistry::asset_to_location(id); if let Some(location) = loc { location.into() - }else{ + } else { None } - }, + } } } } @@ -359,7 +343,7 @@ impl Convert> for CurrencyIdConvert { } else { None } - }, + } } // Note: keeping the original code for reference until tests are successful @@ -387,11 +371,7 @@ impl Convert> for CurrencyIdConvert { impl Convert> for CurrencyIdConvert { fn convert(asset: Asset) -> Option { - if let Asset { id: asset_id, .. } = asset { - Self::convert(asset_id.0) - } else { - None - } + Self::convert(asset.id.0) } } diff --git a/scraper/src/lib.rs b/scraper/src/lib.rs index 3eb9792e4..e19978aba 100644 --- a/scraper/src/lib.rs +++ b/scraper/src/lib.rs @@ -150,7 +150,7 @@ fn extend_externalities_should_work() { hydradx_runtime::Balances::free_balance(hydradx_runtime::AccountId::from(BOB)), 0 ); - assert_ok!(hydradx_runtime::Balances::transfer( + assert_ok!(hydradx_runtime::Balances::transfer_allow_death( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), BOB.into(), 1_000_000_000_000, @@ -181,7 +181,7 @@ fn save_and_load_externalities_should_work() { hydradx_runtime::Balances::free_balance(hydradx_runtime::AccountId::from(BOB)), 0 ); - assert_ok!(hydradx_runtime::Balances::transfer( + assert_ok!(hydradx_runtime::Balances::transfer_allow_death( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), BOB.into(), 1_000_000_000_000, diff --git a/scraper/src/main.rs b/scraper/src/main.rs index 4234c310e..4ad27abf3 100644 --- a/scraper/src/main.rs +++ b/scraper/src/main.rs @@ -122,7 +122,7 @@ fn main() { .block_on(async { ChainApi::<(), Hash, Header, ()>::block_hash( &rpc, - Some(ListOrValue::Value(NumberOrHex::Number(block_num.try_into().unwrap()))), + Some(ListOrValue::Value(NumberOrHex::Number(block_num.into()))), ) .await .unwrap() From ff51f58504cbae09d1ca69abb7ade05c4e33d5e6 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Wed, 8 May 2024 11:40:18 +0200 Subject: [PATCH 029/105] upgrade democracy pallet --- pallets/democracy/src/benchmarking.rs | 21 +- pallets/democracy/src/conviction.rs | 27 +- pallets/democracy/src/lib.rs | 370 +++++++-------- pallets/democracy/src/migrations/mod.rs | 22 + .../unlock_and_unreserve_all_funds.rs | 430 ++++++++++++++++++ .../src/{migrations.rs => migrations/v1.rs} | 83 ++-- pallets/democracy/src/tests.rs | 70 +-- pallets/democracy/src/tests/cancellation.rs | 23 +- pallets/democracy/src/tests/decoders.rs | 14 +- pallets/democracy/src/tests/delegation.rs | 172 +------ .../democracy/src/tests/external_proposing.rs | 99 +--- pallets/democracy/src/tests/fast_tracking.rs | 30 +- pallets/democracy/src/tests/lock_voting.rs | 92 ++-- pallets/democracy/src/tests/metadata.rs | 105 +++-- .../democracy/src/tests/public_proposals.rs | 13 +- pallets/democracy/src/tests/scheduling.rs | 103 +++-- pallets/democracy/src/tests/voting.rs | 72 +-- pallets/democracy/src/types.rs | 45 +- pallets/democracy/src/vote.rs | 53 ++- pallets/democracy/src/vote_threshold.rs | 48 +- 20 files changed, 1033 insertions(+), 859 deletions(-) create mode 100644 pallets/democracy/src/migrations/mod.rs create mode 100644 pallets/democracy/src/migrations/unlock_and_unreserve_all_funds.rs rename pallets/democracy/src/{migrations.rs => migrations/v1.rs} (78%) diff --git a/pallets/democracy/src/benchmarking.rs b/pallets/democracy/src/benchmarking.rs index 165a2e336..72784f876 100644 --- a/pallets/democracy/src/benchmarking.rs +++ b/pallets/democracy/src/benchmarking.rs @@ -25,7 +25,6 @@ use frame_support::{ traits::{Currency, EnsureOrigin, Get, OnInitialize, UnfilteredDispatchable}, }; use frame_system::{pallet_prelude::BlockNumberFor, RawOrigin}; -use sp_core::H256; use sp_runtime::{traits::Bounded, BoundedVec}; use crate::Pallet as Democracy; @@ -46,7 +45,7 @@ fn make_proposal(n: u32) -> BoundedCallOf { ::Preimages::bound(call).unwrap() } -fn add_proposal(n: u32) -> Result { +fn add_proposal(n: u32) -> Result { let other = funded_account::("proposer", n); let value = T::MinimumDeposit::get(); let proposal = make_proposal::(n); @@ -55,21 +54,23 @@ fn add_proposal(n: u32) -> Result { } // add a referendum with a metadata. -fn add_referendum(n: u32) -> (ReferendumIndex, H256, PreimageHash) { +fn add_referendum(n: u32) -> (ReferendumIndex, T::Hash, T::Hash) { let vote_threshold = VoteThreshold::SimpleMajority; let proposal = make_proposal::(n); let hash = proposal.hash(); - let index = Democracy::::inject_referendum(T::LaunchPeriod::get(), proposal, vote_threshold, 0u32.into()); + let index = Democracy::::inject_referendum( + T::LaunchPeriod::get(), + proposal, + vote_threshold, + 0u32.into(), + ); let preimage_hash = note_preimage::(); - MetadataOf::::insert(crate::MetadataOwner::Referendum(index), preimage_hash.clone()); + MetadataOf::::insert(crate::MetadataOwner::Referendum(index), preimage_hash); (index, hash, preimage_hash) } fn account_vote(b: BalanceOf) -> AccountVote> { - let v = Vote { - aye: true, - conviction: Conviction::Locked1x, - }; + let v = Vote { aye: true, conviction: Conviction::Locked1x }; AccountVote::Standard { vote: v, balance: b } } @@ -83,7 +84,7 @@ fn assert_has_event(generic_event: ::RuntimeEvent) { } // note a new preimage. -fn note_preimage() -> PreimageHash { +fn note_preimage() -> T::Hash { use core::sync::atomic::{AtomicU8, Ordering}; use sp_std::borrow::Cow; // note a new preimage on every function invoke. diff --git a/pallets/democracy/src/conviction.rs b/pallets/democracy/src/conviction.rs index ffbf6445d..01dc5c876 100644 --- a/pallets/democracy/src/conviction.rs +++ b/pallets/democracy/src/conviction.rs @@ -27,9 +27,23 @@ use sp_runtime::{ use sp_std::{prelude::*, result::Result}; /// A value denoting the strength of conviction of a vote. -#[derive(Encode, MaxEncodedLen, Decode, Copy, Clone, Eq, PartialEq, Ord, PartialOrd, RuntimeDebug, TypeInfo)] +#[derive( + Default, + Encode, + MaxEncodedLen, + Decode, + Copy, + Clone, + Eq, + PartialEq, + Ord, + PartialOrd, + RuntimeDebug, + TypeInfo, +)] pub enum Conviction { /// 0.1x votes, unlocked. + #[default] None, /// 1x votes, locked for an enactment period following a successful vote. Locked1x, @@ -45,12 +59,6 @@ pub enum Conviction { Locked6x, } -impl Default for Conviction { - fn default() -> Self { - Conviction::None - } -} - impl From for u8 { fn from(c: Conviction) -> u8 { match c { @@ -97,7 +105,10 @@ impl Conviction { } /// The votes of a voter of the given `balance` with our conviction. - pub fn votes + Zero + Copy + CheckedMul + CheckedDiv + Bounded>(self, capital: B) -> Delegations { + pub fn votes + Zero + Copy + CheckedMul + CheckedDiv + Bounded>( + self, + capital: B, + ) -> Delegations { let votes = match self { Conviction::None => capital.checked_div(&10u8.into()).unwrap_or_else(Zero::zero), x => capital.checked_mul(&u8::from(x).into()).unwrap_or_else(B::max_value), diff --git a/pallets/democracy/src/lib.rs b/pallets/democracy/src/lib.rs index 1da55bdd0..2121a0989 100644 --- a/pallets/democracy/src/lib.rs +++ b/pallets/democracy/src/lib.rs @@ -149,9 +149,9 @@ //! - `cancel_queued` - Cancels a proposal that is queued for enactment. //! - `clear_public_proposal` - Removes all public proposals. -#![allow(clippy::all)] #![recursion_limit = "256"] #![cfg_attr(not(feature = "std"), no_std)] +#![allow(clippy::type_complexity)] use codec::{Decode, Encode}; use frame_support::{ @@ -160,8 +160,8 @@ use frame_support::{ traits::{ defensive_prelude::*, schedule::{v3::Named as ScheduleNamed, DispatchTime}, - Bounded, Currency, EnsureOrigin, Get, LockIdentifier, LockableCurrency, OnUnbalanced, QueryPreimage, - ReservableCurrency, StorePreimage, WithdrawReasons, + Bounded, Currency, EnsureOrigin, Get, LockIdentifier, LockableCurrency, OnUnbalanced, + QueryPreimage, ReservableCurrency, StorePreimage, WithdrawReasons, }, weights::Weight, }; @@ -170,7 +170,7 @@ use sp_runtime::{ traits::{Bounded as ArithBounded, One, Saturating, StaticLookup, Zero}, ArithmeticError, DispatchError, DispatchResult, }; -use sp_std::{prelude::*, vec}; +use sp_std::prelude::*; mod conviction; pub mod traits; @@ -182,7 +182,8 @@ use crate::traits::DemocracyHooks; pub use conviction::Conviction; pub use pallet::*; pub use types::{ - Delegations, MetadataOwner, PropIndex, ReferendumIndex, ReferendumInfo, ReferendumStatus, Tally, UnvoteScope, + Delegations, MetadataOwner, PropIndex, ReferendumIndex, ReferendumInfo, ReferendumStatus, + Tally, UnvoteScope, }; pub use vote::{AccountVote, Vote, Voting}; pub use vote_threshold::{Approved, VoteThreshold}; @@ -198,9 +199,11 @@ pub mod migrations; pub(crate) const DEMOCRACY_ID: LockIdentifier = *b"democrac"; -type BalanceOf = <::Currency as Currency<::AccountId>>::Balance; -type NegativeImbalanceOf = - <::Currency as Currency<::AccountId>>::NegativeImbalance; +type BalanceOf = + <::Currency as Currency<::AccountId>>::Balance; +type NegativeImbalanceOf = <::Currency as Currency< + ::AccountId, +>>::NegativeImbalance; pub type CallOf = ::RuntimeCall; pub type BoundedCallOf = Bounded, ::Hashing>; type AccountIdLookupOf = <::Lookup as StaticLookup>::Source; @@ -208,7 +211,6 @@ type AccountIdLookupOf = <::Lookup as StaticLookup #[frame_support::pallet] pub mod pallet { use super::{DispatchResult, *}; - use crate::traits::DemocracyHooks; use frame_support::pallet_prelude::*; use frame_system::pallet_prelude::*; @@ -225,7 +227,12 @@ pub mod pallet { type RuntimeEvent: From> + IsType<::RuntimeEvent>; /// The Scheduler. - type Scheduler: ScheduleNamed, CallOf, Self::PalletsOrigin, Hasher = Self::Hashing>; + type Scheduler: ScheduleNamed< + BlockNumberFor, + CallOf, + Self::PalletsOrigin, + Hasher = Self::Hashing, + >; /// The Preimage provider. type Preimages: QueryPreimage + StorePreimage; @@ -352,16 +359,23 @@ pub mod pallet { /// The public proposals. Unsorted. The second item is the proposal. #[pallet::storage] #[pallet::getter(fn public_props)] - pub type PublicProps = - StorageValue<_, BoundedVec<(PropIndex, BoundedCallOf, T::AccountId), T::MaxProposals>, ValueQuery>; + pub type PublicProps = StorageValue< + _, + BoundedVec<(PropIndex, BoundedCallOf, T::AccountId), T::MaxProposals>, + ValueQuery, + >; /// Those who have locked a deposit. /// /// TWOX-NOTE: Safe, as increasing integer keys are safe. #[pallet::storage] #[pallet::getter(fn deposit_of)] - pub type DepositOf = - StorageMap<_, Twox64Concat, PropIndex, (BoundedVec, BalanceOf)>; + pub type DepositOf = StorageMap< + _, + Twox64Concat, + PropIndex, + (BoundedVec, BalanceOf), + >; /// The next free referendum index, aka the number of referenda started so far. #[pallet::storage] @@ -379,8 +393,12 @@ pub mod pallet { /// TWOX-NOTE: SAFE as indexes are not under an attacker’s control. #[pallet::storage] #[pallet::getter(fn referendum_info)] - pub type ReferendumInfoOf = - StorageMap<_, Twox64Concat, ReferendumIndex, ReferendumInfo, BoundedCallOf, BalanceOf>>; + pub type ReferendumInfoOf = StorageMap< + _, + Twox64Concat, + ReferendumIndex, + ReferendumInfo, BoundedCallOf, BalanceOf>, + >; /// All votes for a particular voter. We store the balance for the number of votes that we /// have recorded. The second item is the total amount of delegations, that will be added. @@ -410,15 +428,19 @@ pub mod pallet { /// A record of who vetoed what. Maps proposal hash to a possible existent block number /// (until when it may not be resubmitted) and who vetoed it. #[pallet::storage] - pub type Blacklist = - StorageMap<_, Identity, T::Hash, (BlockNumberFor, BoundedVec)>; + pub type Blacklist = StorageMap< + _, + Identity, + T::Hash, + (BlockNumberFor, BoundedVec), + >; /// Record of all proposals that have been subject to emergency cancellation. #[pallet::storage] pub type Cancellations = StorageMap<_, Identity, T::Hash, bool, ValueQuery>; /// General information concerning any proposal or referendum. - /// The `PreimageHash` refers to the preimage of the `Preimages` provider which can be a JSON + /// The `Hash` refers to the preimage of the `Preimages` provider which can be a JSON /// dump or IPFS hash of a JSON file. /// /// Consider a garbage collection for a metadata of finished referendums to `unrequest` (remove) @@ -446,22 +468,13 @@ pub mod pallet { #[pallet::generate_deposit(pub(super) fn deposit_event)] pub enum Event { /// A motion has been proposed by a public account. - Proposed { - proposal_index: PropIndex, - deposit: BalanceOf, - }, + Proposed { proposal_index: PropIndex, deposit: BalanceOf }, /// A public proposal has been tabled for referendum vote. - Tabled { - proposal_index: PropIndex, - deposit: BalanceOf, - }, + Tabled { proposal_index: PropIndex, deposit: BalanceOf }, /// An external proposal has been tabled. ExternalTabled, /// A referendum has begun. - Started { - ref_index: ReferendumIndex, - threshold: VoteThreshold, - }, + Started { ref_index: ReferendumIndex, threshold: VoteThreshold }, /// A proposal has been approved by referendum. Passed { ref_index: ReferendumIndex }, /// A proposal has been rejected by referendum. @@ -473,24 +486,13 @@ pub mod pallet { /// An account has cancelled a previous delegation operation. Undelegated { account: T::AccountId }, /// An external proposal has been vetoed. - Vetoed { - who: T::AccountId, - proposal_hash: T::Hash, - until: BlockNumberFor, - }, + Vetoed { who: T::AccountId, proposal_hash: T::Hash, until: BlockNumberFor }, /// A proposal_hash has been blacklisted permanently. Blacklisted { proposal_hash: T::Hash }, /// An account has voted in a referendum - Voted { - voter: T::AccountId, - ref_index: ReferendumIndex, - vote: AccountVote>, - }, + Voted { voter: T::AccountId, ref_index: ReferendumIndex, vote: AccountVote> }, /// An account has secconded a proposal - Seconded { - seconder: T::AccountId, - prop_index: PropIndex, - }, + Seconded { seconder: T::AccountId, prop_index: PropIndex }, /// A proposal got canceled. ProposalCanceled { prop_index: PropIndex }, /// Metadata for a proposal or a referendum has been set. @@ -620,12 +622,10 @@ pub mod pallet { PublicPropCount::::put(index + 1); - PublicProps::::try_append((index, proposal, who)).map_err(|_| Error::::TooMany)?; + PublicProps::::try_append((index, proposal, who)) + .map_err(|_| Error::::TooMany)?; - Self::deposit_event(Event::::Proposed { - proposal_index: index, - deposit: value, - }); + Self::deposit_event(Event::::Proposed { proposal_index: index, deposit: value }); Ok(()) } @@ -637,7 +637,10 @@ pub mod pallet { /// - `proposal`: The index of the proposal to second. #[pallet::call_index(1)] #[pallet::weight(T::WeightInfo::second())] - pub fn second(origin: OriginFor, #[pallet::compact] proposal: PropIndex) -> DispatchResult { + pub fn second( + origin: OriginFor, + #[pallet::compact] proposal: PropIndex, + ) -> DispatchResult { let who = ensure_signed(origin)?; let seconds = Self::len_of_deposit_of(proposal).ok_or(Error::::ProposalMissing)?; @@ -647,10 +650,7 @@ pub mod pallet { let ok = deposit.0.try_push(who.clone()).is_ok(); debug_assert!(ok, "`seconds` is below static limit; `try_insert` should succeed; qed"); >::insert(proposal, deposit); - Self::deposit_event(Event::::Seconded { - seconder: who, - prop_index: proposal, - }); + Self::deposit_event(Event::::Seconded { seconder: who, prop_index: proposal }); Ok(()) } @@ -682,7 +682,10 @@ pub mod pallet { /// Weight: `O(1)`. #[pallet::call_index(3)] #[pallet::weight((T::WeightInfo::emergency_cancel(), DispatchClass::Operational))] - pub fn emergency_cancel(origin: OriginFor, ref_index: ReferendumIndex) -> DispatchResult { + pub fn emergency_cancel( + origin: OriginFor, + ref_index: ReferendumIndex, + ) -> DispatchResult { T::CancellationOrigin::ensure_origin(origin)?; let status = Self::referendum_status(ref_index)?; @@ -702,7 +705,10 @@ pub mod pallet { /// - `proposal_hash`: The preimage hash of the proposal. #[pallet::call_index(4)] #[pallet::weight(T::WeightInfo::external_propose())] - pub fn external_propose(origin: OriginFor, proposal: BoundedCallOf) -> DispatchResult { + pub fn external_propose( + origin: OriginFor, + proposal: BoundedCallOf, + ) -> DispatchResult { T::ExternalOrigin::ensure_origin(origin)?; ensure!(!>::exists(), Error::::DuplicateProposal); if let Some((until, _)) = >::get(proposal.hash()) { @@ -728,7 +734,10 @@ pub mod pallet { /// Weight: `O(1)` #[pallet::call_index(5)] #[pallet::weight(T::WeightInfo::external_propose_majority())] - pub fn external_propose_majority(origin: OriginFor, proposal: BoundedCallOf) -> DispatchResult { + pub fn external_propose_majority( + origin: OriginFor, + proposal: BoundedCallOf, + ) -> DispatchResult { T::ExternalMajorityOrigin::ensure_origin(origin)?; >::put((proposal, VoteThreshold::SimpleMajority)); Ok(()) @@ -747,7 +756,10 @@ pub mod pallet { /// Weight: `O(1)` #[pallet::call_index(6)] #[pallet::weight(T::WeightInfo::external_propose_default())] - pub fn external_propose_default(origin: OriginFor, proposal: BoundedCallOf) -> DispatchResult { + pub fn external_propose_default( + origin: OriginFor, + proposal: BoundedCallOf, + ) -> DispatchResult { T::ExternalDefaultOrigin::ensure_origin(origin)?; >::put((proposal, VoteThreshold::SuperMajorityAgainst)); Ok(()) @@ -794,7 +806,8 @@ pub mod pallet { } ensure!(voting_period > Zero::zero(), Error::::VotingPeriodLow); - let (ext_proposal, threshold) = >::get().ok_or(Error::::ProposalMissing)?; + let (ext_proposal, threshold) = + >::get().ok_or(Error::::ProposalMissing)?; ensure!( threshold != VoteThreshold::SuperMajorityApprove, Error::::NotSimpleMajority, @@ -803,7 +816,12 @@ pub mod pallet { >::kill(); let now = >::block_number(); - let ref_index = Self::inject_referendum(now.saturating_add(voting_period), ext_proposal, threshold, delay); + let ref_index = Self::inject_referendum( + now.saturating_add(voting_period), + ext_proposal, + threshold, + delay, + ); Self::transfer_metadata(MetadataOwner::External, MetadataOwner::Referendum(ref_index)); Ok(()) } @@ -825,28 +843,22 @@ pub mod pallet { if let Some((ext_proposal, _)) = NextExternal::::get() { ensure!(proposal_hash == ext_proposal.hash(), Error::::ProposalMissing); } else { - return Err(Error::::NoProposal.into()); + return Err(Error::::NoProposal.into()) } - let mut existing_vetoers = >::get(&proposal_hash) - .map(|pair| pair.1) - .unwrap_or_default(); - let insert_position = existing_vetoers - .binary_search(&who) - .err() - .ok_or(Error::::AlreadyVetoed)?; + let mut existing_vetoers = + >::get(proposal_hash).map(|pair| pair.1).unwrap_or_default(); + let insert_position = + existing_vetoers.binary_search(&who).err().ok_or(Error::::AlreadyVetoed)?; existing_vetoers .try_insert(insert_position, who.clone()) .map_err(|_| Error::::TooMany)?; - let until = >::block_number().saturating_add(T::CooloffPeriod::get()); - >::insert(&proposal_hash, (until, existing_vetoers)); + let until = + >::block_number().saturating_add(T::CooloffPeriod::get()); + >::insert(proposal_hash, (until, existing_vetoers)); - Self::deposit_event(Event::::Vetoed { - who, - proposal_hash, - until, - }); + Self::deposit_event(Event::::Vetoed { who, proposal_hash, until }); >::kill(); Self::clear_metadata(MetadataOwner::External); Ok(()) @@ -1016,11 +1028,7 @@ pub mod pallet { ) -> DispatchResult { let who = ensure_signed(origin)?; let target = T::Lookup::lookup(target)?; - let scope = if target == who { - UnvoteScope::Any - } else { - UnvoteScope::OnlyExpired - }; + let scope = if target == who { UnvoteScope::Any } else { UnvoteScope::OnlyExpired }; Self::try_remove_vote(&target, index, scope)?; Ok(()) } @@ -1050,11 +1058,9 @@ pub mod pallet { T::BlacklistOrigin::ensure_origin(origin)?; // Insert the proposal into the blacklist. - let permanent = ( - BlockNumberFor::::max_value(), - BoundedVec::::default(), - ); - Blacklist::::insert(&proposal_hash, permanent); + let permanent = + (BlockNumberFor::::max_value(), BoundedVec::::default()); + Blacklist::::insert(proposal_hash, permanent); // Remove the queued proposal, if it's there. PublicProps::::mutate(|props| { @@ -1097,7 +1103,10 @@ pub mod pallet { /// Weight: `O(p)` where `p = PublicProps::::decode_len()` #[pallet::call_index(17)] #[pallet::weight(T::WeightInfo::cancel_proposal())] - pub fn cancel_proposal(origin: OriginFor, #[pallet::compact] prop_index: PropIndex) -> DispatchResult { + pub fn cancel_proposal( + origin: OriginFor, + #[pallet::compact] prop_index: PropIndex, + ) -> DispatchResult { T::CancelProposalOrigin::ensure_origin(origin)?; PublicProps::::mutate(|props| props.retain(|p| p.0 != prop_index)); @@ -1137,17 +1146,21 @@ pub mod pallet { (MetadataOwner::Referendum(_), None) => T::WeightInfo::clear_referendum_metadata(), } )] - pub fn set_metadata(origin: OriginFor, owner: MetadataOwner, maybe_hash: Option) -> DispatchResult { + pub fn set_metadata( + origin: OriginFor, + owner: MetadataOwner, + maybe_hash: Option, + ) -> DispatchResult { match owner { MetadataOwner::External => { let (_, threshold) = >::get().ok_or(Error::::NoProposal)?; Self::ensure_external_origin(threshold, origin)?; - } + }, MetadataOwner::Proposal(index) => { let who = ensure_signed(origin)?; let (_, _, proposer) = Self::proposal(index)?; ensure!(proposer == who, Error::::NoPermission); - } + }, MetadataOwner::Referendum(index) => { let is_root = ensure_signed_or_root(origin)?.is_none(); ensure!(is_root || maybe_hash.is_none(), Error::::NoPermission); @@ -1155,7 +1168,7 @@ pub mod pallet { is_root || Self::referendum_status(index).is_err(), Error::::NoPermission ); - } + }, } if let Some(hash) = maybe_hash { ensure!(T::Preimages::len(&hash).is_some(), Error::::PreimageNotExist); @@ -1170,15 +1183,16 @@ pub mod pallet { } pub trait EncodeInto: Encode { - fn encode_into + Default>(&self) -> T { + fn encode_into + Default, H: sp_core::Hasher>(&self) -> T { let mut t = T::default(); self.using_encoded(|data| { if data.len() <= t.as_mut().len() { t.as_mut()[0..data.len()].copy_from_slice(data); } else { - // encoded self is too big to fit into a T. hash it and use the first bytes of that - // instead. - let hash = sp_io::hashing::blake2_256(data); + // encoded self is too big to fit into a T. + // hash it and use the first bytes of that instead. + let hash = H::hash(data); + let hash = hash.as_ref(); let l = t.as_mut().len().min(hash.len()); t.as_mut()[0..l].copy_from_slice(&hash[0..l]); } @@ -1200,10 +1214,8 @@ impl Pallet { /// Get all referenda ready for tally at block `n`. pub fn maturing_referenda_at( n: BlockNumberFor, - ) -> Vec<( - ReferendumIndex, - ReferendumStatus, BoundedCallOf, BalanceOf>, - )> { + ) -> Vec<(ReferendumIndex, ReferendumStatus, BoundedCallOf, BalanceOf>)> + { let next = Self::lowest_unbaked(); let last = Self::referendum_count(); Self::maturing_referenda_at_inner(n, next..last) @@ -1212,10 +1224,8 @@ impl Pallet { fn maturing_referenda_at_inner( n: BlockNumberFor, range: core::ops::Range, - ) -> Vec<( - ReferendumIndex, - ReferendumStatus, BoundedCallOf, BalanceOf>, - )> { + ) -> Vec<(ReferendumIndex, ReferendumStatus, BoundedCallOf, BalanceOf>)> + { range .into_iter() .map(|i| (i, Self::referendum_info(i))) @@ -1255,7 +1265,8 @@ impl Pallet { /// Ok if the given referendum is active, Err otherwise fn ensure_ongoing( r: ReferendumInfo, BoundedCallOf, BalanceOf>, - ) -> Result, BoundedCallOf, BalanceOf>, DispatchError> { + ) -> Result, BoundedCallOf, BalanceOf>, DispatchError> + { match r { ReferendumInfo::Ongoing(s) => Ok(s), _ => Err(Error::::ReferendumInvalid.into()), @@ -1264,25 +1275,22 @@ impl Pallet { fn referendum_status( ref_index: ReferendumIndex, - ) -> Result, BoundedCallOf, BalanceOf>, DispatchError> { + ) -> Result, BoundedCallOf, BalanceOf>, DispatchError> + { let info = ReferendumInfoOf::::get(ref_index).ok_or(Error::::ReferendumInvalid)?; Self::ensure_ongoing(info) } /// Actually enact a vote, if legit. - fn try_vote(who: &T::AccountId, ref_index: ReferendumIndex, vote: AccountVote>) -> DispatchResult { + fn try_vote( + who: &T::AccountId, + ref_index: ReferendumIndex, + vote: AccountVote>, + ) -> DispatchResult { let mut status = Self::referendum_status(ref_index)?; - ensure!( - vote.balance() <= T::Currency::free_balance(who), - Error::::InsufficientFunds - ); + ensure!(vote.balance() <= T::Currency::free_balance(who), Error::::InsufficientFunds); VotingOf::::try_mutate(who, |voting| -> DispatchResult { - if let Voting::Direct { - ref mut votes, - delegations, - .. - } = voting - { + if let Voting::Direct { ref mut votes, delegations, .. } = voting { match votes.binary_search_by_key(&ref_index, |i| i.0) { Ok(i) => { // Shouldn't be possible to fail, but we handle it gracefully. @@ -1291,18 +1299,14 @@ impl Pallet { status.tally.reduce(approve, *delegations); } votes[i].1 = vote; - } + }, Err(i) => { votes .try_insert(i, (ref_index, vote)) .map_err(|_| Error::::MaxVotesReached)?; - } + }, } - Self::deposit_event(Event::::Voted { - voter: who.clone(), - ref_index, - vote, - }); + Self::deposit_event(Event::::Voted { voter: who.clone(), ref_index, vote }); // Shouldn't be possible to fail, but we handle it gracefully. status.tally.add(vote).ok_or(ArithmeticError::Overflow)?; if let Some(approve) = vote.as_standard() { @@ -1332,15 +1336,14 @@ impl Pallet { /// - The referendum has finished and the voter's lock period is up. /// /// This will generally be combined with a call to `unlock`. - fn try_remove_vote(who: &T::AccountId, ref_index: ReferendumIndex, scope: UnvoteScope) -> DispatchResult { + fn try_remove_vote( + who: &T::AccountId, + ref_index: ReferendumIndex, + scope: UnvoteScope, + ) -> DispatchResult { let info = ReferendumInfoOf::::get(ref_index); VotingOf::::try_mutate(who, |voting| -> DispatchResult { - if let Voting::Direct { - ref mut votes, - delegations, - ref mut prior, - } = voting - { + if let Voting::Direct { ref mut votes, delegations, ref mut prior } = voting { let i = votes .binary_search_by_key(&ref_index, |i| i.0) .map_err(|_| Error::::NotVoter)?; @@ -1354,30 +1357,31 @@ impl Pallet { } ReferendumInfoOf::::insert(ref_index, ReferendumInfo::Ongoing(status)); false - } + }, Some(ReferendumInfo::Finished { end, approved }) => { if let Some((lock_periods, balance)) = votes[i].1.locked_if(approved) { - let unlock_at = - end.saturating_add(T::VoteLockingPeriod::get().saturating_mul(lock_periods.into())); + let unlock_at = end.saturating_add( + T::VoteLockingPeriod::get().saturating_mul(lock_periods.into()), + ); let now = frame_system::Pallet::::block_number(); if now < unlock_at { - ensure!(matches!(scope, UnvoteScope::Any), Error::::NoPermission); + ensure!( + matches!(scope, UnvoteScope::Any), + Error::::NoPermission + ); prior.accumulate(unlock_at, balance) } false - } else { - let should_lock = if let AccountVote::Standard { vote, .. } = votes[i].1 { + } else if let AccountVote::Standard { vote, .. } = votes[i].1 { let unlock_at = end.saturating_add( T::VoteLockingPeriod::get().saturating_mul(vote.conviction.lock_periods().into()), ); let now = frame_system::Pallet::::block_number(); now < unlock_at + } else { false - }; - - should_lock - } + } } None => false, // Referendum was cancelled. }; @@ -1397,7 +1401,7 @@ impl Pallet { // We don't support second level delegating, so we don't need to do anything more. *delegations = delegations.saturating_add(amount); 1 - } + }, Voting::Direct { votes, delegations, .. } => { *delegations = delegations.saturating_add(amount); for &(ref_index, account_vote) in votes.iter() { @@ -1410,7 +1414,7 @@ impl Pallet { } } votes.len() as u32 - } + }, }) } @@ -1421,7 +1425,7 @@ impl Pallet { // We don't support second level delegating, so we don't need to do anything more. *delegations = delegations.saturating_sub(amount); 1 - } + }, Voting::Direct { votes, delegations, .. } => { *delegations = delegations.saturating_sub(amount); for &(ref_index, account_vote) in votes.iter() { @@ -1434,7 +1438,7 @@ impl Pallet { } } votes.len() as u32 - } + }, }) } @@ -1448,10 +1452,7 @@ impl Pallet { balance: BalanceOf, ) -> Result { ensure!(who != target, Error::::Nonsense); - ensure!( - balance <= T::Currency::free_balance(&who), - Error::::InsufficientFunds - ); + ensure!(balance <= T::Currency::free_balance(&who), Error::::InsufficientFunds); let votes = VotingOf::::try_mutate(&who, |voting| -> Result { let mut old = Voting::Delegating { balance, @@ -1463,30 +1464,22 @@ impl Pallet { sp_std::mem::swap(&mut old, voting); match old { Voting::Delegating { - balance, - target, - conviction, - delegations, - mut prior, - .. + balance, target, conviction, delegations, mut prior, .. } => { // remove any delegation votes to our current target. Self::reduce_upstream_delegation(&target, conviction.votes(balance)); let now = frame_system::Pallet::::block_number(); let lock_periods = conviction.lock_periods().into(); - let unlock_block = now.saturating_add(T::VoteLockingPeriod::get().saturating_mul(lock_periods)); + let unlock_block = now + .saturating_add(T::VoteLockingPeriod::get().saturating_mul(lock_periods)); prior.accumulate(unlock_block, balance); voting.set_common(delegations, prior); - } - Voting::Direct { - votes, - delegations, - prior, - } => { + }, + Voting::Direct { votes, delegations, prior } => { // here we just ensure that we're currently idling with no votes recorded. ensure!(votes.is_empty(), Error::::VotesExist); voting.set_common(delegations, prior); - } + }, } let votes = Self::increase_upstream_delegation(&target, conviction.votes(balance)); // Extend the lock to `balance` (rather than setting it) since we don't know what other @@ -1511,23 +1504,19 @@ impl Pallet { let mut old = Voting::default(); sp_std::mem::swap(&mut old, voting); match old { - Voting::Delegating { - balance, - target, - conviction, - delegations, - mut prior, - } => { + Voting::Delegating { balance, target, conviction, delegations, mut prior } => { // remove any delegation votes to our current target. - let votes = Self::reduce_upstream_delegation(&target, conviction.votes(balance)); + let votes = + Self::reduce_upstream_delegation(&target, conviction.votes(balance)); let now = frame_system::Pallet::::block_number(); let lock_periods = conviction.lock_periods().into(); - let unlock_block = now.saturating_add(T::VoteLockingPeriod::get().saturating_mul(lock_periods)); + let unlock_block = now + .saturating_add(T::VoteLockingPeriod::get().saturating_mul(lock_periods)); prior.accumulate(unlock_block, balance); voting.set_common(delegations, prior); Ok(votes) - } + }, Voting::Direct { .. } => Err(Error::::NotDelegating.into()), } })?; @@ -1563,13 +1552,8 @@ impl Pallet { ) -> ReferendumIndex { let ref_index = Self::referendum_count(); ReferendumCount::::put(ref_index + 1); - let status = ReferendumStatus { - end, - proposal, - threshold, - delay, - tally: Default::default(), - }; + let status = + ReferendumStatus { end, proposal, threshold, delay, tally: Default::default() }; let item = ReferendumInfo::Ongoing(status); >::insert(ref_index, item); Self::deposit_event(Event::::Started { ref_index, threshold }); @@ -1600,7 +1584,7 @@ impl Pallet { Self::transfer_metadata(MetadataOwner::External, MetadataOwner::Referendum(ref_index)); Ok(()) } else { - return Err(Error::::NoneWaiting.into()); + Err(Error::::NoneWaiting.into()) } } @@ -1619,10 +1603,7 @@ impl Pallet { for d in depositors.iter() { T::Currency::unreserve(d, deposit); } - Self::deposit_event(Event::::Tabled { - proposal_index: prop_index, - deposit, - }); + Self::deposit_event(Event::::Tabled { proposal_index: prop_index, deposit }); let ref_index = Self::inject_referendum( now.saturating_add(T::VotingPeriod::get()), proposal, @@ -1636,7 +1617,7 @@ impl Pallet { } Ok(()) } else { - return Err(Error::::NoneWaiting.into()); + Err(Error::::NoneWaiting.into()) } } @@ -1654,7 +1635,7 @@ impl Pallet { // Earliest it can be scheduled for is next block. let when = now.saturating_add(status.delay.max(One::one())); if T::Scheduler::schedule_named( - (DEMOCRACY_ID, index).encode_into(), + (DEMOCRACY_ID, index).encode_into::<_, T::Hashing>(), DispatchTime::At(when), None, 63, @@ -1715,8 +1696,8 @@ impl Pallet { // of unbaked referendum is bounded by this number. In case those number have changed in a // runtime upgrade the formula should be adjusted but the bound should still be sensible. >::mutate(|ref_index| { - while *ref_index < last - && Self::referendum_info(*ref_index) + while *ref_index < last && + Self::referendum_info(*ref_index) .map_or(true, |info| matches!(info, ReferendumInfo::Finished { .. })) { *ref_index += 1 @@ -1763,17 +1744,20 @@ impl Pallet { } /// Ensure external origin for corresponding vote threshold. - fn ensure_external_origin(threshold: VoteThreshold, origin: OriginFor) -> Result<(), BadOrigin> { + fn ensure_external_origin( + threshold: VoteThreshold, + origin: OriginFor, + ) -> Result<(), BadOrigin> { match threshold { VoteThreshold::SuperMajorityApprove => { let _ = T::ExternalOrigin::ensure_origin(origin)?; - } + }, VoteThreshold::SuperMajorityAgainst => { let _ = T::ExternalDefaultOrigin::ensure_origin(origin)?; - } + }, VoteThreshold::SimpleMajority => { let _ = T::ExternalMajorityOrigin::ensure_origin(origin)?; - } + }, }; Ok(()) } @@ -1792,6 +1776,6 @@ fn decode_compact_u32_at(key: &[u8]) -> Option { sp_runtime::print("Failed to decode compact u32 at:"); sp_runtime::print(key); None - } + }, } } diff --git a/pallets/democracy/src/migrations/mod.rs b/pallets/democracy/src/migrations/mod.rs new file mode 100644 index 000000000..3f77e0388 --- /dev/null +++ b/pallets/democracy/src/migrations/mod.rs @@ -0,0 +1,22 @@ +// This file is part of Substrate. +// Copyright (C) Parity Technologies (UK) Ltd. +// SPDX-License-Identifier: Apache-2.0 +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +//! All migrations of this pallet. + +/// Migration to unlock and unreserve all pallet funds. +pub mod unlock_and_unreserve_all_funds; + +/// V1 storage migrations for the preimage pallet. +pub mod v1; diff --git a/pallets/democracy/src/migrations/unlock_and_unreserve_all_funds.rs b/pallets/democracy/src/migrations/unlock_and_unreserve_all_funds.rs new file mode 100644 index 000000000..3e7b73af8 --- /dev/null +++ b/pallets/democracy/src/migrations/unlock_and_unreserve_all_funds.rs @@ -0,0 +1,430 @@ +// This file is part of Substrate. + +// Copyright (C) Parity Technologies (UK) Ltd. +// SPDX-License-Identifier: Apache-2.0 + +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +//! A migration that unreserves all deposit and unlocks all stake held in the context of this +//! pallet. + +use crate::{PropIndex, Voting, DEMOCRACY_ID}; +use core::iter::Sum; +use frame_support::{ + pallet_prelude::ValueQuery, + storage_alias, + traits::{Currency, LockableCurrency, OnRuntimeUpgrade, ReservableCurrency}, + weights::RuntimeDbWeight, + Parameter, Twox64Concat, +}; +use sp_core::Get; +use sp_runtime::{traits::Zero, BoundedVec, Saturating}; +use sp_std::{collections::btree_map::BTreeMap, vec::Vec}; + +const LOG_TARGET: &str = "runtime::democracy::migrations::unlock_and_unreserve_all_funds"; + +type BalanceOf = + <::Currency as Currency<::AccountId>>::Balance; + +/// The configuration for [`UnlockAndUnreserveAllFunds`]. +pub trait UnlockConfig: 'static { + /// The account ID used in the runtime. + type AccountId: Parameter + Ord; + /// The currency type used in the runtime. + /// + /// Should match the currency type previously used for the pallet, if applicable. + type Currency: LockableCurrency + ReservableCurrency; + /// The name of the pallet as previously configured in + /// [`construct_runtime!`](frame_support::construct_runtime). + type PalletName: Get<&'static str>; + /// The maximum number of votes as configured previously in the runtime. + type MaxVotes: Get; + /// The maximum deposit as configured previously in the runtime. + type MaxDeposits: Get; + /// The DB weight as configured in the runtime to calculate the correct weight. + type DbWeight: Get; + /// The block number as configured in the runtime. + type BlockNumber: Parameter + Zero + Copy + Ord; +} + +#[storage_alias(dynamic)] +type DepositOf = StorageMap< + ::PalletName, + Twox64Concat, + PropIndex, + (BoundedVec<::AccountId, ::MaxDeposits>, BalanceOf), +>; + +#[storage_alias(dynamic)] +type VotingOf = StorageMap< + ::PalletName, + Twox64Concat, + ::AccountId, + Voting< + BalanceOf, + ::AccountId, + ::BlockNumber, + ::MaxVotes, + >, + ValueQuery, +>; + +/// A migration that unreserves all deposit and unlocks all stake held in the context of this +/// pallet. +/// +/// Useful to prevent funds from being locked up when the pallet is being deprecated. +/// +/// The pallet should be made inoperable before this migration is run. +/// +/// (See also [`RemovePallet`][frame_support::migrations::RemovePallet]) +pub struct UnlockAndUnreserveAllFunds(sp_std::marker::PhantomData); + +impl UnlockAndUnreserveAllFunds { + /// Calculates and returns the total amounts reserved by each account by this pallet, and all + /// accounts with locks in the context of this pallet. + /// + /// There is no need to return the amount locked, because the entire lock is removed (always + /// should be zero post-migration). We need to return the amounts reserved to check that the + /// reserved amount is deducted correctly. + /// + /// # Returns + /// + /// This function returns a tuple of two `BTreeMap` collections and the weight of the reads: + /// + /// * `BTreeMap>`: Map of account IDs to their respective total + /// reserved balance by this pallet + /// * `BTreeMap>`: Map of account IDs to their respective total + /// locked balance by this pallet + /// * `frame_support::weights::Weight`: the weight consumed by this call. + fn get_account_deposits_and_locks() -> ( + BTreeMap>, + BTreeMap>, + frame_support::weights::Weight, + ) { + let mut deposit_of_len = 0; + + // Get all deposits (reserved). + let mut total_voting_vec_entries: u64 = 0; + let account_deposits: BTreeMap> = DepositOf::::iter() + .flat_map(|(_prop_index, (accounts, balance))| { + // Count the number of deposits + deposit_of_len.saturating_inc(); + + // Track the total number of vec entries to calculate the weight of the reads. + total_voting_vec_entries.saturating_accrue(accounts.len() as u64); + + // Create a vec of tuples where each account is associated with the given balance + accounts.into_iter().map(|account| (account, balance)).collect::>() + }) + .fold(BTreeMap::new(), |mut acc, (account, balance)| { + // Add the balance to the account's existing balance in the accumulator + acc.entry(account.clone()).or_insert(Zero::zero()).saturating_accrue(balance); + acc + }); + + // Voter accounts have amounts locked. + let account_stakes: BTreeMap> = VotingOf::::iter() + .map(|(account_id, voting)| (account_id, voting.locked_balance())) + .collect(); + let voting_of_len = account_stakes.len() as u64; + + ( + account_deposits, + account_stakes, + T::DbWeight::get().reads( + deposit_of_len.saturating_add(voting_of_len).saturating_add( + // Max items in a Voting enum is MaxVotes + 5 + total_voting_vec_entries + .saturating_mul(T::MaxVotes::get().saturating_add(5) as u64), + ), + ), + ) + } +} + +impl OnRuntimeUpgrade for UnlockAndUnreserveAllFunds +where + BalanceOf: Sum, +{ + /// Collects pre-migration data useful for validating the migration was successful, and also + /// checks the integrity of deposited and reserved balances. + /// + /// Steps: + /// 1. Gets the deposited balances for each account stored in this pallet. + /// 2. Collects actual pre-migration reserved balances for each account. + /// 3. Checks the integrity of the deposited balances. + /// 4. Prints summary statistics about the state to be migrated. + /// 5. Encodes and returns pre-migration data to be used in post_upgrade. + /// + /// Fails with a `TryRuntimeError` if somehow the amount reserved by this pallet is greater than + /// the actual total reserved amount for any accounts. + #[cfg(feature = "try-runtime")] + fn pre_upgrade() -> Result, sp_runtime::TryRuntimeError> { + use codec::Encode; + use sp_std::collections::btree_set::BTreeSet; + + // Get staked and deposited balances as reported by this pallet. + let (account_deposits, account_locks, _) = Self::get_account_deposits_and_locks(); + + let all_accounts = account_deposits + .keys() + .chain(account_locks.keys()) + .cloned() + .collect::>(); + let account_reserved_before: BTreeMap> = account_deposits + .keys() + .map(|account| (account.clone(), T::Currency::reserved_balance(&account))) + .collect(); + + // Total deposited for each account *should* be less than or equal to the total reserved, + // however this does not hold for all cases due to bugs in the reserve logic of this pallet. + let bugged_deposits = all_accounts + .iter() + .filter(|account| { + account_deposits.get(&account).unwrap_or(&Zero::zero()) > + account_reserved_before.get(&account).unwrap_or(&Zero::zero()) + }) + .count(); + + let total_deposits_to_unreserve = + account_deposits.clone().into_values().sum::>(); + let total_stake_to_unlock = account_locks.clone().into_values().sum::>(); + + log::info!(target: LOG_TARGET, "Total accounts: {:?}", all_accounts.len()); + log::info!(target: LOG_TARGET, "Total stake to unlock: {:?}", total_stake_to_unlock); + log::info!( + target: LOG_TARGET, + "Total deposit to unreserve: {:?}", + total_deposits_to_unreserve + ); + log::info!( + target: LOG_TARGET, + "Bugged deposits: {}/{}", + bugged_deposits, + account_deposits.len() + ); + + Ok(account_reserved_before.encode()) + } + + /// Executes the migration. + /// + /// Steps: + /// 1. Retrieves the deposit and accounts with locks for the pallet. + /// 2. Unreserves the deposited funds for each account. + /// 3. Unlocks the staked funds for each account. + fn on_runtime_upgrade() -> frame_support::weights::Weight { + // Get staked and deposited balances as reported by this pallet. + let (account_deposits, account_stakes, initial_reads) = + Self::get_account_deposits_and_locks(); + + // Deposited funds need to be unreserved. + for (account, unreserve_amount) in account_deposits.iter() { + if unreserve_amount.is_zero() { + log::warn!(target: LOG_TARGET, "Unexpected zero amount to unreserve!"); + continue + } + T::Currency::unreserve(account, *unreserve_amount); + } + + // Staked funds need to be unlocked. + for account in account_stakes.keys() { + T::Currency::remove_lock(DEMOCRACY_ID, account); + } + + T::DbWeight::get() + .reads_writes( + account_stakes.len().saturating_add(account_deposits.len()) as u64, + account_stakes.len().saturating_add(account_deposits.len()) as u64, + ) + .saturating_add(initial_reads) + } + + /// Performs post-upgrade sanity checks: + /// + /// 1. No locks remain for this pallet in Balances. + /// 2. The reserved balance for each account has been reduced by the expected amount. + #[cfg(feature = "try-runtime")] + fn post_upgrade( + account_reserved_before_bytes: Vec, + ) -> Result<(), sp_runtime::TryRuntimeError> { + use codec::Decode; + + let account_reserved_before = + BTreeMap::>::decode(&mut &account_reserved_before_bytes[..]) + .map_err(|_| "Failed to decode account_reserved_before_bytes")?; + + // Get staked and deposited balances as reported by this pallet. + let (account_deposits, _, _) = Self::get_account_deposits_and_locks(); + + // Check that the reserved balance is reduced by the expected deposited amount. + for (account, actual_reserved_before) in account_reserved_before { + let actual_reserved_after = T::Currency::reserved_balance(&account); + let expected_amount_deducted = *account_deposits + .get(&account) + .expect("account deposit must exist to be in pre_migration_data, qed"); + let expected_reserved_after = + actual_reserved_before.saturating_sub(expected_amount_deducted); + assert!( + actual_reserved_after == expected_reserved_after, + "Reserved balance for {:?} is incorrect. actual before: {:?}, actual after, {:?}, expected deducted: {:?}", + account, + actual_reserved_before, + actual_reserved_after, + expected_amount_deducted, + ); + } + + Ok(()) + } +} + +#[cfg(all(feature = "try-runtime", test))] +mod test { + use super::*; + use crate::{ + tests::{new_test_ext, Balances, Test}, + DepositOf, Voting, VotingOf, + }; + use frame_support::{ + assert_ok, parameter_types, + traits::{Currency, OnRuntimeUpgrade, ReservableCurrency, WithdrawReasons}, + BoundedVec, + }; + use frame_system::pallet_prelude::BlockNumberFor; + use sp_core::ConstU32; + + parameter_types! { + const PalletName: &'static str = "Democracy"; + } + + struct UnlockConfigImpl; + + impl super::UnlockConfig for UnlockConfigImpl { + type Currency = Balances; + type MaxVotes = ConstU32<100>; + type MaxDeposits = ConstU32<1000>; + type AccountId = u64; + type BlockNumber = BlockNumberFor; + type DbWeight = (); + type PalletName = PalletName; + } + + #[test] + fn unreserve_works_for_depositer() { + let depositer_0 = 10; + let depositer_1 = 11; + let deposit = 25; + let depositer_0_initial_reserved = 0; + let depositer_1_initial_reserved = 15; + let initial_balance = 100_000; + new_test_ext().execute_with(|| { + // Set up initial state. + ::Currency::make_free_balance_be(&depositer_0, initial_balance); + ::Currency::make_free_balance_be(&depositer_1, initial_balance); + assert_ok!(::Currency::reserve( + &depositer_0, + depositer_0_initial_reserved + deposit + )); + assert_ok!(::Currency::reserve( + &depositer_1, + depositer_1_initial_reserved + deposit + )); + let depositors = + BoundedVec::<_, ::MaxDeposits>::truncate_from(vec![ + depositer_0, + depositer_1, + ]); + DepositOf::::insert(0, (depositors, deposit)); + + // Sanity check: ensure initial reserved balance was set correctly. + assert_eq!( + ::Currency::reserved_balance(&depositer_0), + depositer_0_initial_reserved + deposit + ); + assert_eq!( + ::Currency::reserved_balance(&depositer_1), + depositer_1_initial_reserved + deposit + ); + + // Run the migration. + let bytes = UnlockAndUnreserveAllFunds::::pre_upgrade() + .unwrap_or_else(|e| panic!("pre_upgrade failed: {:?}", e)); + UnlockAndUnreserveAllFunds::::on_runtime_upgrade(); + assert_ok!(UnlockAndUnreserveAllFunds::::post_upgrade(bytes)); + + // Assert the reserved balance was reduced by the expected amount. + assert_eq!( + ::Currency::reserved_balance(&depositer_0), + depositer_0_initial_reserved + ); + assert_eq!( + ::Currency::reserved_balance(&depositer_1), + depositer_1_initial_reserved + ); + }); + } + + #[test] + fn unlock_works_for_voter() { + let voter = 10; + let stake = 25; + let initial_locks = vec![(b"somethin", 10)]; + let initial_balance = 100_000; + new_test_ext().execute_with(|| { + // Set up initial state. + ::Currency::make_free_balance_be(&voter, initial_balance); + for lock in initial_locks.clone() { + ::Currency::set_lock( + *lock.0, + &voter, + lock.1, + WithdrawReasons::all(), + ); + } + VotingOf::::insert(voter, Voting::default()); + ::Currency::set_lock( + DEMOCRACY_ID, + &voter, + stake, + WithdrawReasons::all(), + ); + + // Sanity check: ensure initial Balance state was set up correctly. + let mut voter_all_locks = initial_locks.clone(); + voter_all_locks.push((&DEMOCRACY_ID, stake)); + assert_eq!( + ::Currency::locks(&voter) + .iter() + .map(|lock| (&lock.id, lock.amount)) + .collect::>(), + voter_all_locks + ); + + // Run the migration. + let bytes = UnlockAndUnreserveAllFunds::::pre_upgrade() + .unwrap_or_else(|e| panic!("pre_upgrade failed: {:?}", e)); + UnlockAndUnreserveAllFunds::::on_runtime_upgrade(); + assert_ok!(UnlockAndUnreserveAllFunds::::post_upgrade(bytes)); + + // Assert the voter lock was removed + assert_eq!( + ::Currency::locks(&voter) + .iter() + .map(|lock| (&lock.id, lock.amount)) + .collect::>(), + initial_locks + ); + }); + } +} diff --git a/pallets/democracy/src/migrations.rs b/pallets/democracy/src/migrations/v1.rs similarity index 78% rename from pallets/democracy/src/migrations.rs rename to pallets/democracy/src/migrations/v1.rs index ac145b022..a79215860 100644 --- a/pallets/democracy/src/migrations.rs +++ b/pallets/democracy/src/migrations/v1.rs @@ -17,12 +17,15 @@ //! Storage migrations for the preimage pallet. -use super::*; +#![allow(clippy::module_inception)] + +use crate::*; use frame_support::{pallet_prelude::*, storage_alias, traits::OnRuntimeUpgrade, BoundedVec}; +use frame_system::pallet_prelude::BlockNumberFor; use sp_core::H256; /// The log target. -const TARGET: &'static str = "runtime::democracy::migration::v1"; +const TARGET: &str = "runtime::democracy::migration::v1"; /// The original data layout of the democracy pallet without a specific version number. mod v0 { @@ -31,16 +34,13 @@ mod v0 { #[storage_alias] pub type PublicProps = StorageValue< Pallet, - Vec<( - PropIndex, - ::Hash, - ::AccountId, - )>, + Vec<(PropIndex, ::Hash, ::AccountId)>, ValueQuery, >; #[storage_alias] - pub type NextExternal = StorageValue, (::Hash, VoteThreshold)>; + pub type NextExternal = + StorageValue, (::Hash, VoteThreshold)>; #[cfg(feature = "try-runtime")] #[storage_alias] @@ -61,10 +61,7 @@ pub mod v1 { impl> OnRuntimeUpgrade for Migration { #[cfg(feature = "try-runtime")] fn pre_upgrade() -> Result, sp_runtime::TryRuntimeError> { - ensure!( - StorageVersion::get::>() == 0, - "can only upgrade from version 0" - ); + ensure!(StorageVersion::get::>() == 0, "can only upgrade from version 0"); let props_count = v0::PublicProps::::get().len(); log::info!(target: TARGET, "{} public proposals will be migrated.", props_count,); @@ -85,23 +82,27 @@ pub mod v1 { "skipping on_runtime_upgrade: executed on wrong storage version.\ Expected version 0" ); - return weight; + return weight } - ReferendumInfoOf::::translate(|index, old: ReferendumInfo, T::Hash, BalanceOf>| { - weight.saturating_accrue(T::DbWeight::get().reads_writes(1, 1)); - log::info!(target: TARGET, "migrating referendum #{:?}", &index); - Some(match old { - ReferendumInfo::Ongoing(status) => ReferendumInfo::Ongoing(ReferendumStatus { - end: status.end, - proposal: Bounded::from_legacy_hash(status.proposal), - threshold: status.threshold, - delay: status.delay, - tally: status.tally, - }), - ReferendumInfo::Finished { approved, end } => ReferendumInfo::Finished { approved, end }, - }) - }); + ReferendumInfoOf::::translate( + |index, old: ReferendumInfo, T::Hash, BalanceOf>| { + weight.saturating_accrue(T::DbWeight::get().reads_writes(1, 1)); + log::info!(target: TARGET, "migrating referendum #{:?}", &index); + Some(match old { + ReferendumInfo::Ongoing(status) => + ReferendumInfo::Ongoing(ReferendumStatus { + end: status.end, + proposal: Bounded::from_legacy_hash(status.proposal), + threshold: status.threshold, + delay: status.delay, + tally: status.tally, + }), + ReferendumInfo::Finished { approved, end } => + ReferendumInfo::Finished { approved, end }, + }) + }, + ); let props = v0::PublicProps::::take() .into_iter() @@ -173,32 +174,25 @@ mod test { let hash = H256::repeat_byte(1); let status = ReferendumStatus { end: 1u32.into(), - proposal: hash.clone(), + proposal: hash, threshold: VoteThreshold::SuperMajorityApprove, delay: 1u32.into(), - tally: Tally { - ayes: 1u32.into(), - nays: 1u32.into(), - turnout: 1u32.into(), - }, + tally: Tally { ayes: 1u32.into(), nays: 1u32.into(), turnout: 1u32.into() }, }; v0::ReferendumInfoOf::::insert(1u32, ReferendumInfo::Ongoing(status)); // Case 2: Finished referendum v0::ReferendumInfoOf::::insert( 2u32, - ReferendumInfo::Finished { - approved: true, - end: 123u32.into(), - }, + ReferendumInfo::Finished { approved: true, end: 123u32.into() }, ); // Case 3: Public proposals let hash2 = H256::repeat_byte(2); - v0::PublicProps::::put(vec![(3u32, hash.clone(), 123u64), (4u32, hash2.clone(), 123u64)]); + v0::PublicProps::::put(vec![(3u32, hash, 123u64), (4u32, hash2, 123u64)]); // Case 4: Next external - v0::NextExternal::::put((hash.clone(), VoteThreshold::SuperMajorityApprove)); + v0::NextExternal::::put((hash, VoteThreshold::SuperMajorityApprove)); // Migrate. let state = v1::Migration::::pre_upgrade().unwrap(); @@ -214,20 +208,13 @@ mod test { proposal: Bounded::from_legacy_hash(hash), threshold: VoteThreshold::SuperMajorityApprove, delay: 1u32.into(), - tally: Tally { - ayes: 1u32.into(), - nays: 1u32.into(), - turnout: 1u32.into() - }, + tally: Tally { ayes: 1u32.into(), nays: 1u32.into(), turnout: 1u32.into() }, })) ); // Case 2: Finished referendum assert_eq!( ReferendumInfoOf::::get(2u32), - Some(ReferendumInfo::Finished { - approved: true, - end: 123u32.into() - }) + Some(ReferendumInfo::Finished { approved: true, end: 123u32.into() }) ); // Case 3: Public proposals let props: BoundedVec<_, ::MaxProposals> = bounded_vec![ diff --git a/pallets/democracy/src/tests.rs b/pallets/democracy/src/tests.rs index 20d40a14a..15c82efac 100644 --- a/pallets/democracy/src/tests.rs +++ b/pallets/democracy/src/tests.rs @@ -20,8 +20,11 @@ use super::*; use crate as pallet_democracy; use frame_support::{ - assert_noop, assert_ok, ord_parameter_types, parameter_types, - traits::{ConstU32, ConstU64, Contains, EqualPrivilegeOnly, OnInitialize, SortedMembers, StorePreimage}, + assert_noop, assert_ok, derive_impl, ord_parameter_types, parameter_types, + traits::{ + ConstU32, ConstU64, Contains, EqualPrivilegeOnly, OnInitialize, SortedMembers, + StorePreimage, + }, weights::Weight, }; use frame_system::{EnsureRoot, EnsureSigned, EnsureSignedBy}; @@ -42,33 +45,21 @@ mod public_proposals; mod scheduling; mod voting; -const AYE: Vote = Vote { - aye: true, - conviction: Conviction::None, -}; -const NAY: Vote = Vote { - aye: false, - conviction: Conviction::None, -}; -const BIG_AYE: Vote = Vote { - aye: true, - conviction: Conviction::Locked1x, -}; -const BIG_NAY: Vote = Vote { - aye: false, - conviction: Conviction::Locked1x, -}; +const AYE: Vote = Vote { aye: true, conviction: Conviction::None }; +const NAY: Vote = Vote { aye: false, conviction: Conviction::None }; +const BIG_AYE: Vote = Vote { aye: true, conviction: Conviction::Locked1x }; +const BIG_NAY: Vote = Vote { aye: false, conviction: Conviction::Locked1x }; type Block = frame_system::mocking::MockBlock; frame_support::construct_runtime!( pub enum Test { - System: frame_system::{Pallet, Call, Config, Storage, Event}, - Balances: pallet_balances::{Pallet, Call, Storage, Config, Event}, + System: frame_system, + Balances: pallet_balances, Preimage: pallet_preimage, - Scheduler: pallet_scheduler::{Pallet, Call, Storage, Event}, - Democracy: pallet_democracy::{Pallet, Call, Storage, Config, Event}, + Scheduler: pallet_scheduler, + Democracy: pallet_democracy, } ); @@ -76,10 +67,7 @@ frame_support::construct_runtime!( pub struct BaseFilter; impl Contains for BaseFilter { fn contains(call: &RuntimeCall) -> bool { - !matches!( - call, - &RuntimeCall::Balances(pallet_balances::Call::force_set_balance { .. }) - ) + !matches!(call, &RuntimeCall::Balances(pallet_balances::Call::force_set_balance { .. })) } } @@ -89,6 +77,8 @@ parameter_types! { Weight::from_parts(frame_support::weights::constants::WEIGHT_REF_TIME_PER_SECOND, u64::MAX), ); } + +#[derive_impl(frame_system::config_preludes::TestDefaultConfig as frame_system::DefaultConfig)] impl frame_system::Config for Test { type BaseCallFilter = BaseFilter; type BlockWeights = BlockWeights; @@ -97,7 +87,6 @@ impl frame_system::Config for Test { type RuntimeOrigin = RuntimeOrigin; type Nonce = u64; type RuntimeCall = RuntimeCall; - type RuntimeTask = RuntimeTask; type Hash = H256; type Hashing = BlakeTwo256; type AccountId = u64; @@ -234,10 +223,7 @@ fn params_should_work() { } fn set_balance_proposal(value: u64) -> BoundedCallOf { - let inner = pallet_balances::Call::force_set_balance { - who: 42, - new_free: value, - }; + let inner = pallet_balances::Call::force_set_balance { who: 42, new_free: value }; let outer = RuntimeCall::Balances(inner); Preimage::bound(outer).unwrap() } @@ -274,31 +260,19 @@ fn begin_referendum() -> ReferendumIndex { } fn aye(who: u64) -> AccountVote { - AccountVote::Standard { - vote: AYE, - balance: Balances::free_balance(&who), - } + AccountVote::Standard { vote: AYE, balance: Balances::free_balance(who) } } fn nay(who: u64) -> AccountVote { - AccountVote::Standard { - vote: NAY, - balance: Balances::free_balance(&who), - } + AccountVote::Standard { vote: NAY, balance: Balances::free_balance(who) } } fn big_aye(who: u64) -> AccountVote { - AccountVote::Standard { - vote: BIG_AYE, - balance: Balances::free_balance(&who), - } + AccountVote::Standard { vote: BIG_AYE, balance: Balances::free_balance(who) } } fn big_nay(who: u64) -> AccountVote { - AccountVote::Standard { - vote: BIG_NAY, - balance: Balances::free_balance(&who), - } + AccountVote::Standard { vote: BIG_NAY, balance: Balances::free_balance(who) } } fn tally(r: ReferendumIndex) -> Tally { @@ -306,7 +280,7 @@ fn tally(r: ReferendumIndex) -> Tally { } /// note a new preimage without registering. -fn note_preimage(who: u64) -> sp_core::H256 { +fn note_preimage(who: u64) -> ::Hash { use std::sync::atomic::{AtomicU8, Ordering}; // note a new preimage on every function invoke. static COUNTER: AtomicU8 = AtomicU8::new(0); diff --git a/pallets/democracy/src/tests/cancellation.rs b/pallets/democracy/src/tests/cancellation.rs index b2e7c3d0e..298381160 100644 --- a/pallets/democracy/src/tests/cancellation.rs +++ b/pallets/democracy/src/tests/cancellation.rs @@ -22,9 +22,14 @@ use super::*; #[test] fn cancel_referendum_should_work() { new_test_ext().execute_with(|| { - let r = Democracy::inject_referendum(2, set_balance_proposal(2), VoteThreshold::SuperMajorityApprove, 0); + let r = Democracy::inject_referendum( + 2, + set_balance_proposal(2), + VoteThreshold::SuperMajorityApprove, + 0, + ); assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, aye(1))); - assert_ok!(Democracy::cancel_referendum(RuntimeOrigin::root(), r.into())); + assert_ok!(Democracy::cancel_referendum(RuntimeOrigin::root(), r)); assert_eq!(Democracy::lowest_unbaked(), 0); next_block(); @@ -41,7 +46,12 @@ fn cancel_referendum_should_work() { fn emergency_cancel_should_work() { new_test_ext().execute_with(|| { System::set_block_number(0); - let r = Democracy::inject_referendum(2, set_balance_proposal(2), VoteThreshold::SuperMajorityApprove, 2); + let r = Democracy::inject_referendum( + 2, + set_balance_proposal(2), + VoteThreshold::SuperMajorityApprove, + 2, + ); assert!(Democracy::referendum_status(r).is_ok()); assert_noop!(Democracy::emergency_cancel(RuntimeOrigin::signed(3), r), BadOrigin); @@ -50,7 +60,12 @@ fn emergency_cancel_should_work() { // some time later... - let r = Democracy::inject_referendum(2, set_balance_proposal(2), VoteThreshold::SuperMajorityApprove, 2); + let r = Democracy::inject_referendum( + 2, + set_balance_proposal(2), + VoteThreshold::SuperMajorityApprove, + 2, + ); assert!(Democracy::referendum_status(r).is_ok()); assert_noop!( Democracy::emergency_cancel(RuntimeOrigin::signed(4), r), diff --git a/pallets/democracy/src/tests/decoders.rs b/pallets/democracy/src/tests/decoders.rs index f3365b130..0eea87373 100644 --- a/pallets/democracy/src/tests/decoders.rs +++ b/pallets/democracy/src/tests/decoders.rs @@ -30,7 +30,7 @@ fn test_decode_compact_u32_at() { migration::put_storage_value(b"test", b"", &[], v); assert_eq!(decode_compact_u32_at(b"test"), None); - for v in vec![0, 10, u32::MAX] { + for v in [0, 10, u32::MAX] { let compact_v = codec::Compact(v); unhashed::put(b"test", &compact_v); assert_eq!(decode_compact_u32_at(b"test"), Some(v)); @@ -44,15 +44,9 @@ fn test_decode_compact_u32_at() { #[test] fn len_of_deposit_of() { new_test_ext().execute_with(|| { - for l in vec![0, 1, 200, 1000] { - let value: (BoundedVec, u64) = ( - (0..l) - .map(|_| Default::default()) - .collect::>() - .try_into() - .unwrap(), - 3u64, - ); + for l in [0, 1, 200, 1000] { + let value: (BoundedVec, u64) = + ((0..l).map(|_| Default::default()).collect::>().try_into().unwrap(), 3u64); DepositOf::::insert(2, value); assert_eq!(Democracy::len_of_deposit_of(2), Some(l)); } diff --git a/pallets/democracy/src/tests/delegation.rs b/pallets/democracy/src/tests/delegation.rs index c0aa0a921..710faf919 100644 --- a/pallets/democracy/src/tests/delegation.rs +++ b/pallets/democracy/src/tests/delegation.rs @@ -32,85 +32,31 @@ fn single_proposal_should_work_with_delegation() { assert_ok!(Democracy::delegate(RuntimeOrigin::signed(2), 1, Conviction::None, 20)); let r = 0; assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, aye(1))); - assert_eq!( - tally(r), - Tally { - ayes: 3, - nays: 0, - turnout: 30 - } - ); + assert_eq!(tally(r), Tally { ayes: 3, nays: 0, turnout: 30 }); // Delegate a second vote. assert_ok!(Democracy::delegate(RuntimeOrigin::signed(3), 1, Conviction::None, 30)); - assert_eq!( - tally(r), - Tally { - ayes: 6, - nays: 0, - turnout: 60 - } - ); + assert_eq!(tally(r), Tally { ayes: 6, nays: 0, turnout: 60 }); // Reduce first vote. assert_ok!(Democracy::delegate(RuntimeOrigin::signed(2), 1, Conviction::None, 10)); - assert_eq!( - tally(r), - Tally { - ayes: 5, - nays: 0, - turnout: 50 - } - ); + assert_eq!(tally(r), Tally { ayes: 5, nays: 0, turnout: 50 }); // Second vote delegates to first; we don't do tiered delegation, so it doesn't get used. assert_ok!(Democracy::delegate(RuntimeOrigin::signed(3), 2, Conviction::None, 30)); - assert_eq!( - tally(r), - Tally { - ayes: 2, - nays: 0, - turnout: 20 - } - ); + assert_eq!(tally(r), Tally { ayes: 2, nays: 0, turnout: 20 }); // Main voter cancels their vote assert_ok!(Democracy::remove_vote(RuntimeOrigin::signed(1), r)); - assert_eq!( - tally(r), - Tally { - ayes: 0, - nays: 0, - turnout: 0 - } - ); + assert_eq!(tally(r), Tally { ayes: 0, nays: 0, turnout: 0 }); // First delegator delegates half funds with conviction; nothing changes yet. - assert_ok!(Democracy::delegate( - RuntimeOrigin::signed(2), - 1, - Conviction::Locked1x, - 10 - )); - assert_eq!( - tally(r), - Tally { - ayes: 0, - nays: 0, - turnout: 0 - } - ); + assert_ok!(Democracy::delegate(RuntimeOrigin::signed(2), 1, Conviction::Locked1x, 10)); + assert_eq!(tally(r), Tally { ayes: 0, nays: 0, turnout: 0 }); // Main voter reinstates their vote assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, aye(1))); - assert_eq!( - tally(r), - Tally { - ayes: 11, - nays: 0, - turnout: 20 - } - ); + assert_eq!(tally(r), Tally { ayes: 11, nays: 0, turnout: 20 }); }); } @@ -144,14 +90,7 @@ fn cyclic_delegation_should_unwind() { assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, nay(1))); // Delegated vote is counted. - assert_eq!( - tally(r), - Tally { - ayes: 3, - nays: 3, - turnout: 60 - } - ); + assert_eq!(tally(r), Tally { ayes: 3, nays: 3, turnout: 60 }); }); } @@ -168,27 +107,13 @@ fn single_proposal_should_work_with_vote_and_delegation() { let r = 0; assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, aye(1))); assert_ok!(Democracy::vote(RuntimeOrigin::signed(2), r, nay(2))); - assert_eq!( - tally(r), - Tally { - ayes: 1, - nays: 2, - turnout: 30 - } - ); + assert_eq!(tally(r), Tally { ayes: 1, nays: 2, turnout: 30 }); // Delegate vote. assert_ok!(Democracy::remove_vote(RuntimeOrigin::signed(2), r)); assert_ok!(Democracy::delegate(RuntimeOrigin::signed(2), 1, Conviction::None, 20)); // Delegated vote replaces the explicit vote. - assert_eq!( - tally(r), - Tally { - ayes: 3, - nays: 0, - turnout: 30 - } - ); + assert_eq!(tally(r), Tally { ayes: 3, nays: 0, turnout: 30 }); }); } @@ -208,14 +133,7 @@ fn single_proposal_should_work_with_undelegation() { assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, aye(1))); // Delegated vote is not counted. - assert_eq!( - tally(r), - Tally { - ayes: 1, - nays: 0, - turnout: 10 - } - ); + assert_eq!(tally(r), Tally { ayes: 1, nays: 0, turnout: 10 }); }); } @@ -227,25 +145,11 @@ fn single_proposal_should_work_with_delegation_and_vote() { // Delegate, undelegate and vote. assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, aye(1))); assert_ok!(Democracy::delegate(RuntimeOrigin::signed(2), 1, Conviction::None, 20)); - assert_eq!( - tally(r), - Tally { - ayes: 3, - nays: 0, - turnout: 30 - } - ); + assert_eq!(tally(r), Tally { ayes: 3, nays: 0, turnout: 30 }); assert_ok!(Democracy::undelegate(RuntimeOrigin::signed(2))); assert_ok!(Democracy::vote(RuntimeOrigin::signed(2), r, aye(2))); // Delegated vote is not counted. - assert_eq!( - tally(r), - Tally { - ayes: 3, - nays: 0, - turnout: 30 - } - ); + assert_eq!(tally(r), Tally { ayes: 3, nays: 0, turnout: 30 }); }); } @@ -255,22 +159,10 @@ fn conviction_should_be_honored_in_delegation() { new_test_ext().execute_with(|| { let r = begin_referendum(); // Delegate and vote. - assert_ok!(Democracy::delegate( - RuntimeOrigin::signed(2), - 1, - Conviction::Locked6x, - 20 - )); + assert_ok!(Democracy::delegate(RuntimeOrigin::signed(2), 1, Conviction::Locked6x, 20)); assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, aye(1))); // Delegated vote is huge. - assert_eq!( - tally(r), - Tally { - ayes: 121, - nays: 0, - turnout: 30 - } - ); + assert_eq!(tally(r), Tally { ayes: 121, nays: 0, turnout: 30 }); }); } @@ -279,26 +171,14 @@ fn split_vote_delegation_should_be_ignored() { // If transactor voted, delegated vote is overwritten. new_test_ext().execute_with(|| { let r = begin_referendum(); - assert_ok!(Democracy::delegate( - RuntimeOrigin::signed(2), - 1, - Conviction::Locked6x, - 20 - )); + assert_ok!(Democracy::delegate(RuntimeOrigin::signed(2), 1, Conviction::Locked6x, 20)); assert_ok!(Democracy::vote( RuntimeOrigin::signed(1), r, AccountVote::Split { aye: 10, nay: 0 } )); // Delegated vote is huge. - assert_eq!( - tally(r), - Tally { - ayes: 1, - nays: 0, - turnout: 10 - } - ); + assert_eq!(tally(r), Tally { ayes: 1, nays: 0, turnout: 10 }); }); } @@ -308,22 +188,10 @@ fn redelegation_keeps_lock() { new_test_ext().execute_with(|| { let r = begin_referendum(); // Delegate and vote. - assert_ok!(Democracy::delegate( - RuntimeOrigin::signed(2), - 1, - Conviction::Locked6x, - 20 - )); + assert_ok!(Democracy::delegate(RuntimeOrigin::signed(2), 1, Conviction::Locked6x, 20)); assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, aye(1))); // Delegated vote is huge. - assert_eq!( - tally(r), - Tally { - ayes: 121, - nays: 0, - turnout: 30 - } - ); + assert_eq!(tally(r), Tally { ayes: 121, nays: 0, turnout: 30 }); let mut prior_lock = vote::PriorLock::default(); diff --git a/pallets/democracy/src/tests/external_proposing.rs b/pallets/democracy/src/tests/external_proposing.rs index 465b82f66..08b497ab4 100644 --- a/pallets/democracy/src/tests/external_proposing.rs +++ b/pallets/democracy/src/tests/external_proposing.rs @@ -23,10 +23,7 @@ use super::*; fn veto_external_works() { new_test_ext().execute_with(|| { System::set_block_number(0); - assert_ok!(Democracy::external_propose( - RuntimeOrigin::signed(2), - set_balance_proposal(2), - )); + assert_ok!(Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(2),)); assert!(>::exists()); let h = set_balance_proposal(2).hash(); @@ -48,10 +45,7 @@ fn veto_external_works() { fast_forward_to(2); // works; as we're out of the cooloff period. - assert_ok!(Democracy::external_propose( - RuntimeOrigin::signed(2), - set_balance_proposal(2), - )); + assert_ok!(Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(2),)); assert!(>::exists()); // 3 can't veto the same thing twice. @@ -72,10 +66,7 @@ fn veto_external_works() { Error::::ProposalBlacklisted ); // different proposal works fine. - assert_ok!(Democracy::external_propose( - RuntimeOrigin::signed(2), - set_balance_proposal(3), - )); + assert_ok!(Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(3),)); }); } @@ -84,10 +75,7 @@ fn external_blacklisting_should_work() { new_test_ext().execute_with(|| { System::set_block_number(0); - assert_ok!(Democracy::external_propose( - RuntimeOrigin::signed(2), - set_balance_proposal(2), - )); + assert_ok!(Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(2),)); let hash = set_balance_proposal(2).hash(); assert_ok!(Democracy::blacklist(RuntimeOrigin::root(), hash, None)); @@ -110,10 +98,7 @@ fn external_referendum_works() { Democracy::external_propose(RuntimeOrigin::signed(1), set_balance_proposal(2),), BadOrigin, ); - assert_ok!(Democracy::external_propose( - RuntimeOrigin::signed(2), - set_balance_proposal(2), - )); + assert_ok!(Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(2),)); assert_noop!( Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(1),), Error::::DuplicateProposal @@ -126,11 +111,7 @@ fn external_referendum_works() { proposal: set_balance_proposal(2), threshold: VoteThreshold::SuperMajorityApprove, delay: 2, - tally: Tally { - ayes: 0, - nays: 0, - turnout: 0 - }, + tally: Tally { ayes: 0, nays: 0, turnout: 0 }, }) ); }); @@ -156,11 +137,7 @@ fn external_majority_referendum_works() { proposal: set_balance_proposal(2), threshold: VoteThreshold::SimpleMajority, delay: 2, - tally: Tally { - ayes: 0, - nays: 0, - turnout: 0 - }, + tally: Tally { ayes: 0, nays: 0, turnout: 0 }, }) ); }); @@ -186,11 +163,7 @@ fn external_default_referendum_works() { proposal: set_balance_proposal(2), threshold: VoteThreshold::SuperMajorityAgainst, delay: 2, - tally: Tally { - ayes: 0, - nays: 0, - turnout: 0 - }, + tally: Tally { ayes: 0, nays: 0, turnout: 0 }, }) ); }); @@ -200,10 +173,7 @@ fn external_default_referendum_works() { fn external_and_public_interleaving_works() { new_test_ext().execute_with(|| { System::set_block_number(0); - assert_ok!(Democracy::external_propose( - RuntimeOrigin::signed(2), - set_balance_proposal(1), - )); + assert_ok!(Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(1),)); assert_ok!(propose_set_balance(6, 2, 2)); fast_forward_to(2); @@ -216,18 +186,11 @@ fn external_and_public_interleaving_works() { proposal: set_balance_proposal(1), threshold: VoteThreshold::SuperMajorityApprove, delay: 2, - tally: Tally { - ayes: 0, - nays: 0, - turnout: 0 - }, + tally: Tally { ayes: 0, nays: 0, turnout: 0 }, }) ); // replenish external - assert_ok!(Democracy::external_propose( - RuntimeOrigin::signed(2), - set_balance_proposal(3), - )); + assert_ok!(Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(3),)); fast_forward_to(4); @@ -239,11 +202,7 @@ fn external_and_public_interleaving_works() { proposal: set_balance_proposal(2), threshold: VoteThreshold::SuperMajorityApprove, delay: 2, - tally: Tally { - ayes: 0, - nays: 0, - turnout: 0 - }, + tally: Tally { ayes: 0, nays: 0, turnout: 0 }, }) ); // don't replenish public @@ -258,18 +217,11 @@ fn external_and_public_interleaving_works() { proposal: set_balance_proposal(3), threshold: VoteThreshold::SuperMajorityApprove, delay: 2, - tally: Tally { - ayes: 0, - nays: 0, - turnout: 0 - }, + tally: Tally { ayes: 0, nays: 0, turnout: 0 }, }) ); // replenish external - assert_ok!(Democracy::external_propose( - RuntimeOrigin::signed(2), - set_balance_proposal(5), - )); + assert_ok!(Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(5),)); fast_forward_to(8); @@ -281,18 +233,11 @@ fn external_and_public_interleaving_works() { proposal: set_balance_proposal(5), threshold: VoteThreshold::SuperMajorityApprove, delay: 2, - tally: Tally { - ayes: 0, - nays: 0, - turnout: 0 - }, + tally: Tally { ayes: 0, nays: 0, turnout: 0 }, }) ); // replenish both - assert_ok!(Democracy::external_propose( - RuntimeOrigin::signed(2), - set_balance_proposal(7), - )); + assert_ok!(Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(7),)); assert_ok!(propose_set_balance(6, 4, 2)); fast_forward_to(10); @@ -305,11 +250,7 @@ fn external_and_public_interleaving_works() { proposal: set_balance_proposal(4), threshold: VoteThreshold::SuperMajorityApprove, delay: 2, - tally: Tally { - ayes: 0, - nays: 0, - turnout: 0 - }, + tally: Tally { ayes: 0, nays: 0, turnout: 0 }, }) ); // replenish public again @@ -328,11 +269,7 @@ fn external_and_public_interleaving_works() { proposal: set_balance_proposal(6), threshold: VoteThreshold::SuperMajorityApprove, delay: 2, - tally: Tally { - ayes: 0, - nays: 0, - turnout: 0 - }, + tally: Tally { ayes: 0, nays: 0, turnout: 0 }, }) ); }); diff --git a/pallets/democracy/src/tests/fast_tracking.rs b/pallets/democracy/src/tests/fast_tracking.rs index 03f4e2916..85e7792a4 100644 --- a/pallets/democracy/src/tests/fast_tracking.rs +++ b/pallets/democracy/src/tests/fast_tracking.rs @@ -32,7 +32,7 @@ fn fast_track_referendum_works() { RuntimeOrigin::signed(3), set_balance_proposal(2) )); - let hash = note_preimage::(1); + let hash = note_preimage(1); assert!(>::get(MetadataOwner::External).is_none()); assert_ok!(Democracy::set_metadata( RuntimeOrigin::signed(3), @@ -49,11 +49,7 @@ fn fast_track_referendum_works() { proposal: set_balance_proposal(2), threshold: VoteThreshold::SimpleMajority, delay: 0, - tally: Tally { - ayes: 0, - nays: 0, - turnout: 0 - }, + tally: Tally { ayes: 0, nays: 0, turnout: 0 }, }) ); // metadata reset from the external proposal to the referendum. @@ -94,11 +90,7 @@ fn instant_referendum_works() { proposal: set_balance_proposal(2), threshold: VoteThreshold::SimpleMajority, delay: 0, - tally: Tally { - ayes: 0, - nays: 0, - turnout: 0 - }, + tally: Tally { ayes: 0, nays: 0, turnout: 0 }, }) ); }); @@ -141,11 +133,7 @@ fn instant_next_block_referendum_backed() { proposal, threshold: VoteThreshold::SimpleMajority, delay, - tally: Tally { - ayes: 0, - nays: 0, - turnout: 0 - }, + tally: Tally { ayes: 0, nays: 0, turnout: 0 }, }) ); @@ -157,10 +145,7 @@ fn instant_next_block_referendum_backed() { // the only referendum in the storage is finished and not approved assert_eq!( ReferendumInfoOf::::get(0).unwrap(), - ReferendumInfo::Finished { - approved: false, - end: start_block_number + voting_period - } + ReferendumInfo::Finished { approved: false, end: start_block_number + voting_period } ); }); } @@ -170,10 +155,7 @@ fn fast_track_referendum_fails_when_no_simple_majority() { new_test_ext().execute_with(|| { System::set_block_number(0); let h = set_balance_proposal(2).hash(); - assert_ok!(Democracy::external_propose( - RuntimeOrigin::signed(2), - set_balance_proposal(2) - )); + assert_ok!(Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(2))); assert_noop!( Democracy::fast_track(RuntimeOrigin::signed(5), h, 3, 2), Error::::NotSimpleMajority diff --git a/pallets/democracy/src/tests/lock_voting.rs b/pallets/democracy/src/tests/lock_voting.rs index 45bb04a78..31f2e3f3d 100644 --- a/pallets/democracy/src/tests/lock_voting.rs +++ b/pallets/democracy/src/tests/lock_voting.rs @@ -21,50 +21,38 @@ use super::*; fn aye(x: u8, balance: u64) -> AccountVote { AccountVote::Standard { - vote: Vote { - aye: true, - conviction: Conviction::try_from(x).unwrap(), - }, + vote: Vote { aye: true, conviction: Conviction::try_from(x).unwrap() }, balance, } } fn nay(x: u8, balance: u64) -> AccountVote { AccountVote::Standard { - vote: Vote { - aye: false, - conviction: Conviction::try_from(x).unwrap(), - }, + vote: Vote { aye: false, conviction: Conviction::try_from(x).unwrap() }, balance, } } fn the_lock(amount: u64) -> BalanceLock { - BalanceLock { - id: DEMOCRACY_ID, - amount, - reasons: pallet_balances::Reasons::All, - } + BalanceLock { id: DEMOCRACY_ID, amount, reasons: pallet_balances::Reasons::All } } #[test] fn lock_voting_should_work() { new_test_ext().execute_with(|| { System::set_block_number(0); - let r = Democracy::inject_referendum(2, set_balance_proposal(2), VoteThreshold::SuperMajorityApprove, 0); + let r = Democracy::inject_referendum( + 2, + set_balance_proposal(2), + VoteThreshold::SuperMajorityApprove, + 0, + ); assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, nay(5, 10))); assert_ok!(Democracy::vote(RuntimeOrigin::signed(2), r, aye(4, 20))); assert_ok!(Democracy::vote(RuntimeOrigin::signed(3), r, aye(3, 30))); assert_ok!(Democracy::vote(RuntimeOrigin::signed(4), r, aye(2, 40))); assert_ok!(Democracy::vote(RuntimeOrigin::signed(5), r, nay(1, 50))); - assert_eq!( - tally(r), - Tally { - ayes: 250, - nays: 100, - turnout: 150 - } - ); + assert_eq!(tally(r), Tally { ayes: 250, nays: 100, turnout: 150 }); // All balances are currently locked. for i in 1..=5 { @@ -136,7 +124,12 @@ fn lock_voting_should_work() { fn no_locks_without_conviction_should_work() { new_test_ext().execute_with(|| { System::set_block_number(0); - let r = Democracy::inject_referendum(2, set_balance_proposal(2), VoteThreshold::SuperMajorityApprove, 0); + let r = Democracy::inject_referendum( + 2, + set_balance_proposal(2), + VoteThreshold::SuperMajorityApprove, + 0, + ); assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, aye(0, 10))); fast_forward_to(3); @@ -151,26 +144,19 @@ fn no_locks_without_conviction_should_work() { #[test] fn lock_voting_should_work_with_delegation() { new_test_ext().execute_with(|| { - let r = Democracy::inject_referendum(2, set_balance_proposal(2), VoteThreshold::SuperMajorityApprove, 0); + let r = Democracy::inject_referendum( + 2, + set_balance_proposal(2), + VoteThreshold::SuperMajorityApprove, + 0, + ); assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, nay(5, 10))); assert_ok!(Democracy::vote(RuntimeOrigin::signed(2), r, aye(4, 20))); assert_ok!(Democracy::vote(RuntimeOrigin::signed(3), r, aye(3, 30))); - assert_ok!(Democracy::delegate( - RuntimeOrigin::signed(4), - 2, - Conviction::Locked2x, - 40 - )); + assert_ok!(Democracy::delegate(RuntimeOrigin::signed(4), 2, Conviction::Locked2x, 40)); assert_ok!(Democracy::vote(RuntimeOrigin::signed(5), r, nay(1, 50))); - assert_eq!( - tally(r), - Tally { - ayes: 250, - nays: 100, - turnout: 150 - } - ); + assert_eq!(tally(r), Tally { ayes: 250, nays: 100, turnout: 150 }); next_block(); next_block(); @@ -181,13 +167,16 @@ fn lock_voting_should_work_with_delegation() { fn setup_three_referenda() -> (u32, u32, u32) { System::set_block_number(0); - let r1 = Democracy::inject_referendum(2, set_balance_proposal(2), VoteThreshold::SimpleMajority, 0); + let r1 = + Democracy::inject_referendum(2, set_balance_proposal(2), VoteThreshold::SimpleMajority, 0); assert_ok!(Democracy::vote(RuntimeOrigin::signed(5), r1, aye(4, 10))); - let r2 = Democracy::inject_referendum(2, set_balance_proposal(2), VoteThreshold::SimpleMajority, 0); + let r2 = + Democracy::inject_referendum(2, set_balance_proposal(2), VoteThreshold::SimpleMajority, 0); assert_ok!(Democracy::vote(RuntimeOrigin::signed(5), r2, aye(3, 20))); - let r3 = Democracy::inject_referendum(2, set_balance_proposal(2), VoteThreshold::SimpleMajority, 0); + let r3 = + Democracy::inject_referendum(2, set_balance_proposal(2), VoteThreshold::SimpleMajority, 0); assert_ok!(Democracy::vote(RuntimeOrigin::signed(5), r3, aye(2, 50))); fast_forward_to(2); @@ -303,18 +292,18 @@ fn multi_consolidation_of_lockvotes_should_be_conservative() { fn locks_should_persist_from_voting_to_delegation() { new_test_ext().execute_with(|| { System::set_block_number(0); - let r = Democracy::inject_referendum(2, set_balance_proposal(2), VoteThreshold::SimpleMajority, 0); + let r = Democracy::inject_referendum( + 2, + set_balance_proposal(2), + VoteThreshold::SimpleMajority, + 0, + ); assert_ok!(Democracy::vote(RuntimeOrigin::signed(5), r, aye(4, 10))); fast_forward_to(2); assert_ok!(Democracy::remove_vote(RuntimeOrigin::signed(5), r)); // locked 10 until #26. - assert_ok!(Democracy::delegate( - RuntimeOrigin::signed(5), - 1, - Conviction::Locked3x, - 20 - )); + assert_ok!(Democracy::delegate(RuntimeOrigin::signed(5), 1, Conviction::Locked3x, 20)); // locked 20. assert!(Balances::locks(5)[0].amount == 20); @@ -343,12 +332,7 @@ fn locks_should_persist_from_voting_to_delegation() { fn locks_should_persist_from_delegation_to_voting() { new_test_ext().execute_with(|| { System::set_block_number(0); - assert_ok!(Democracy::delegate( - RuntimeOrigin::signed(5), - 1, - Conviction::Locked5x, - 5 - )); + assert_ok!(Democracy::delegate(RuntimeOrigin::signed(5), 1, Conviction::Locked5x, 5)); assert_ok!(Democracy::undelegate(RuntimeOrigin::signed(5))); // locked 5 until 16 * 3 = #48 diff --git a/pallets/democracy/src/tests/metadata.rs b/pallets/democracy/src/tests/metadata.rs index 30d34210d..1b6d66a8b 100644 --- a/pallets/democracy/src/tests/metadata.rs +++ b/pallets/democracy/src/tests/metadata.rs @@ -23,7 +23,7 @@ use super::*; fn set_external_metadata_works() { new_test_ext().execute_with(|| { // invalid preimage hash. - let invalid_hash = [1u8; 32].into(); + let invalid_hash: ::Hash = [1u8; 32].into(); // metadata owner is an external proposal. let owner = MetadataOwner::External; // fails to set metadata if an external proposal does not exist. @@ -32,10 +32,7 @@ fn set_external_metadata_works() { Error::::NoProposal, ); // create an external proposal. - assert_ok!(Democracy::external_propose( - RuntimeOrigin::signed(2), - set_balance_proposal(2) - )); + assert_ok!(Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(2))); assert!(>::exists()); // fails to set metadata with non external origin. assert_noop!( @@ -48,13 +45,12 @@ fn set_external_metadata_works() { Error::::PreimageNotExist, ); // set metadata successful. - let hash = note_preimage::(1); - assert_ok!(Democracy::set_metadata( - RuntimeOrigin::signed(2), - owner.clone(), - Some(hash) - )); - System::assert_last_event(RuntimeEvent::Democracy(crate::Event::MetadataSet { owner, hash })); + let hash = note_preimage(1); + assert_ok!(Democracy::set_metadata(RuntimeOrigin::signed(2), owner.clone(), Some(hash))); + System::assert_last_event(RuntimeEvent::Democracy(crate::Event::MetadataSet { + owner, + hash, + })); }); } @@ -64,18 +60,11 @@ fn clear_metadata_works() { // metadata owner is an external proposal. let owner = MetadataOwner::External; // create an external proposal. - assert_ok!(Democracy::external_propose( - RuntimeOrigin::signed(2), - set_balance_proposal(2) - )); + assert_ok!(Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(2))); assert!(>::exists()); // set metadata. - let hash = note_preimage::(1); - assert_ok!(Democracy::set_metadata( - RuntimeOrigin::signed(2), - owner.clone(), - Some(hash) - )); + let hash = note_preimage(1); + assert_ok!(Democracy::set_metadata(RuntimeOrigin::signed(2), owner.clone(), Some(hash))); // fails to clear metadata with a wrong origin. assert_noop!( Democracy::set_metadata(RuntimeOrigin::signed(1), owner.clone(), None), @@ -83,7 +72,10 @@ fn clear_metadata_works() { ); // clear metadata successful. assert_ok!(Democracy::set_metadata(RuntimeOrigin::signed(2), owner.clone(), None)); - System::assert_last_event(RuntimeEvent::Democracy(crate::Event::MetadataCleared { owner, hash })); + System::assert_last_event(RuntimeEvent::Democracy(crate::Event::MetadataCleared { + owner, + hash, + })); }); } @@ -91,7 +83,7 @@ fn clear_metadata_works() { fn set_proposal_metadata_works() { new_test_ext().execute_with(|| { // invalid preimage hash. - let invalid_hash = [1u8; 32].into(); + let invalid_hash: ::Hash = [1u8; 32].into(); // create an external proposal. assert_ok!(propose_set_balance(1, 2, 5)); // metadata owner is a public proposal. @@ -102,19 +94,18 @@ fn set_proposal_metadata_works() { Error::::PreimageNotExist, ); // note preimage. - let hash = note_preimage::(1); + let hash = note_preimage(1); // fails to set a preimage if an origin is not a proposer. assert_noop!( Democracy::set_metadata(RuntimeOrigin::signed(3), owner.clone(), Some(hash)), Error::::NoPermission, ); // set metadata successful. - assert_ok!(Democracy::set_metadata( - RuntimeOrigin::signed(1), - owner.clone(), - Some(hash) - )); - System::assert_last_event(RuntimeEvent::Democracy(crate::Event::MetadataSet { owner, hash })); + assert_ok!(Democracy::set_metadata(RuntimeOrigin::signed(1), owner.clone(), Some(hash))); + System::assert_last_event(RuntimeEvent::Democracy(crate::Event::MetadataSet { + owner, + hash, + })); }); } @@ -126,12 +117,8 @@ fn clear_proposal_metadata_works() { // metadata owner is a public proposal. let owner = MetadataOwner::Proposal(Democracy::public_prop_count() - 1); // set metadata. - let hash = note_preimage::(1); - assert_ok!(Democracy::set_metadata( - RuntimeOrigin::signed(1), - owner.clone(), - Some(hash) - )); + let hash = note_preimage(1); + assert_ok!(Democracy::set_metadata(RuntimeOrigin::signed(1), owner.clone(), Some(hash))); // fails to clear metadata with a wrong origin. assert_noop!( Democracy::set_metadata(RuntimeOrigin::signed(3), owner.clone(), None), @@ -139,18 +126,26 @@ fn clear_proposal_metadata_works() { ); // clear metadata successful. assert_ok!(Democracy::set_metadata(RuntimeOrigin::signed(1), owner.clone(), None)); - System::assert_last_event(RuntimeEvent::Democracy(crate::Event::MetadataCleared { owner, hash })); + System::assert_last_event(RuntimeEvent::Democracy(crate::Event::MetadataCleared { + owner, + hash, + })); }); } #[test] fn set_referendum_metadata_by_root() { new_test_ext().execute_with(|| { - let index = Democracy::inject_referendum(2, set_balance_proposal(2), VoteThreshold::SuperMajorityApprove, 0); + let index = Democracy::inject_referendum( + 2, + set_balance_proposal(2), + VoteThreshold::SuperMajorityApprove, + 0, + ); // metadata owner is a referendum. let owner = MetadataOwner::Referendum(index); // note preimage. - let hash = note_preimage::(1); + let hash = note_preimage(1); // fails to set if not a root. assert_noop!( Democracy::set_metadata(RuntimeOrigin::signed(3), owner.clone(), Some(hash)), @@ -162,18 +157,17 @@ fn set_referendum_metadata_by_root() { Error::::NoPermission, ); // succeed to set metadata by a root for an ongoing referendum. - assert_ok!(Democracy::set_metadata( - RuntimeOrigin::root(), - owner.clone(), - Some(hash) - )); + assert_ok!(Democracy::set_metadata(RuntimeOrigin::root(), owner.clone(), Some(hash))); System::assert_last_event(RuntimeEvent::Democracy(crate::Event::MetadataSet { owner: owner.clone(), hash, })); // succeed to clear metadata by a root for an ongoing referendum. assert_ok!(Democracy::set_metadata(RuntimeOrigin::root(), owner.clone(), None)); - System::assert_last_event(RuntimeEvent::Democracy(crate::Event::MetadataCleared { owner, hash })); + System::assert_last_event(RuntimeEvent::Democracy(crate::Event::MetadataCleared { + owner, + hash, + })); }); } @@ -181,11 +175,16 @@ fn set_referendum_metadata_by_root() { fn clear_referendum_metadata_works() { new_test_ext().execute_with(|| { // create a referendum. - let index = Democracy::inject_referendum(2, set_balance_proposal(2), VoteThreshold::SuperMajorityApprove, 0); + let index = Democracy::inject_referendum( + 2, + set_balance_proposal(2), + VoteThreshold::SuperMajorityApprove, + 0, + ); // metadata owner is a referendum. let owner = MetadataOwner::Referendum(index); // set metadata. - let hash = note_preimage::(1); + let hash = note_preimage(1); // referendum finished. MetadataOf::::insert(owner.clone(), hash); // no permission to clear metadata of an ongoing referendum. @@ -194,9 +193,15 @@ fn clear_referendum_metadata_works() { Error::::NoPermission, ); // referendum finished. - ReferendumInfoOf::::insert(index, ReferendumInfo::Finished { end: 1, approved: true }); + ReferendumInfoOf::::insert( + index, + ReferendumInfo::Finished { end: 1, approved: true }, + ); // clear metadata successful. assert_ok!(Democracy::set_metadata(RuntimeOrigin::signed(1), owner.clone(), None)); - System::assert_last_event(RuntimeEvent::Democracy(crate::Event::MetadataCleared { owner, hash })); + System::assert_last_event(RuntimeEvent::Democracy(crate::Event::MetadataCleared { + owner, + hash, + })); }); } diff --git a/pallets/democracy/src/tests/public_proposals.rs b/pallets/democracy/src/tests/public_proposals.rs index 3a9bfd1a5..69a2d3e25 100644 --- a/pallets/democracy/src/tests/public_proposals.rs +++ b/pallets/democracy/src/tests/public_proposals.rs @@ -70,10 +70,7 @@ fn proposal_with_deposit_below_minimum_should_not_work() { #[test] fn poor_proposer_should_not_work() { new_test_ext().execute_with(|| { - assert_noop!( - propose_set_balance(1, 2, 11), - BalancesError::::InsufficientBalance - ); + assert_noop!(propose_set_balance(1, 2, 11), BalancesError::::InsufficientBalance); }); } @@ -94,7 +91,7 @@ fn cancel_proposal_should_work() { assert_ok!(propose_set_balance(1, 2, 2)); assert_ok!(propose_set_balance(1, 4, 4)); assert_noop!(Democracy::cancel_proposal(RuntimeOrigin::signed(1), 0), BadOrigin); - let hash = note_preimage::(1); + let hash = note_preimage(1); assert_ok!(Democracy::set_metadata( RuntimeOrigin::signed(1), MetadataOwner::Proposal(0), @@ -106,11 +103,7 @@ fn cancel_proposal_should_work() { assert!(>::get(MetadataOwner::Proposal(0)).is_none()); System::assert_has_event(crate::Event::ProposalCanceled { prop_index: 0 }.into()); System::assert_last_event( - crate::Event::MetadataCleared { - owner: MetadataOwner::Proposal(0), - hash, - } - .into(), + crate::Event::MetadataCleared { owner: MetadataOwner::Proposal(0), hash }.into(), ); assert_eq!(Democracy::backing_for(0), None); assert_eq!(Democracy::backing_for(1), Some(4)); diff --git a/pallets/democracy/src/tests/scheduling.rs b/pallets/democracy/src/tests/scheduling.rs index c4060f2ea..34cc265fb 100644 --- a/pallets/democracy/src/tests/scheduling.rs +++ b/pallets/democracy/src/tests/scheduling.rs @@ -22,16 +22,14 @@ use super::*; #[test] fn simple_passing_should_work() { new_test_ext().execute_with(|| { - let r = Democracy::inject_referendum(2, set_balance_proposal(2), VoteThreshold::SuperMajorityApprove, 0); - assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, aye(1))); - assert_eq!( - tally(r), - Tally { - ayes: 1, - nays: 0, - turnout: 10 - } + let r = Democracy::inject_referendum( + 2, + set_balance_proposal(2), + VoteThreshold::SuperMajorityApprove, + 0, ); + assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, aye(1))); + assert_eq!(tally(r), Tally { ayes: 1, nays: 0, turnout: 10 }); assert_eq!(Democracy::lowest_unbaked(), 0); next_block(); next_block(); @@ -43,16 +41,14 @@ fn simple_passing_should_work() { #[test] fn simple_failing_should_work() { new_test_ext().execute_with(|| { - let r = Democracy::inject_referendum(2, set_balance_proposal(2), VoteThreshold::SuperMajorityApprove, 0); - assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, nay(1))); - assert_eq!( - tally(r), - Tally { - ayes: 0, - nays: 1, - turnout: 10 - } + let r = Democracy::inject_referendum( + 2, + set_balance_proposal(2), + VoteThreshold::SuperMajorityApprove, + 0, ); + assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, nay(1))); + assert_eq!(tally(r), Tally { ayes: 0, nays: 1, turnout: 10 }); next_block(); next_block(); @@ -64,30 +60,26 @@ fn simple_failing_should_work() { #[test] fn ooo_inject_referendums_should_work() { new_test_ext().execute_with(|| { - let r1 = Democracy::inject_referendum(3, set_balance_proposal(3), VoteThreshold::SuperMajorityApprove, 0); - let r2 = Democracy::inject_referendum(2, set_balance_proposal(2), VoteThreshold::SuperMajorityApprove, 0); + let r1 = Democracy::inject_referendum( + 3, + set_balance_proposal(3), + VoteThreshold::SuperMajorityApprove, + 0, + ); + let r2 = Democracy::inject_referendum( + 2, + set_balance_proposal(2), + VoteThreshold::SuperMajorityApprove, + 0, + ); assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r2, aye(1))); - assert_eq!( - tally(r2), - Tally { - ayes: 1, - nays: 0, - turnout: 10 - } - ); + assert_eq!(tally(r2), Tally { ayes: 1, nays: 0, turnout: 10 }); next_block(); assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r1, aye(1))); - assert_eq!( - tally(r1), - Tally { - ayes: 1, - nays: 0, - turnout: 10 - } - ); + assert_eq!(tally(r1), Tally { ayes: 1, nays: 0, turnout: 10 }); next_block(); assert_eq!(Balances::free_balance(42), 2); @@ -100,7 +92,12 @@ fn ooo_inject_referendums_should_work() { #[test] fn delayed_enactment_should_work() { new_test_ext().execute_with(|| { - let r = Democracy::inject_referendum(2, set_balance_proposal(2), VoteThreshold::SuperMajorityApprove, 1); + let r = Democracy::inject_referendum( + 2, + set_balance_proposal(2), + VoteThreshold::SuperMajorityApprove, + 1, + ); assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, aye(1))); assert_ok!(Democracy::vote(RuntimeOrigin::signed(2), r, aye(2))); assert_ok!(Democracy::vote(RuntimeOrigin::signed(3), r, aye(3))); @@ -108,14 +105,7 @@ fn delayed_enactment_should_work() { assert_ok!(Democracy::vote(RuntimeOrigin::signed(5), r, aye(5))); assert_ok!(Democracy::vote(RuntimeOrigin::signed(6), r, aye(6))); - assert_eq!( - tally(r), - Tally { - ayes: 21, - nays: 0, - turnout: 210 - } - ); + assert_eq!(tally(r), Tally { ayes: 21, nays: 0, turnout: 210 }); next_block(); assert_eq!(Balances::free_balance(42), 0); @@ -128,13 +118,28 @@ fn delayed_enactment_should_work() { #[test] fn lowest_unbaked_should_be_sensible() { new_test_ext().execute_with(|| { - let r1 = Democracy::inject_referendum(3, set_balance_proposal(1), VoteThreshold::SuperMajorityApprove, 0); - let r2 = Democracy::inject_referendum(2, set_balance_proposal(2), VoteThreshold::SuperMajorityApprove, 0); - let r3 = Democracy::inject_referendum(10, set_balance_proposal(3), VoteThreshold::SuperMajorityApprove, 0); + let r1 = Democracy::inject_referendum( + 3, + set_balance_proposal(1), + VoteThreshold::SuperMajorityApprove, + 0, + ); + let r2 = Democracy::inject_referendum( + 2, + set_balance_proposal(2), + VoteThreshold::SuperMajorityApprove, + 0, + ); + let r3 = Democracy::inject_referendum( + 10, + set_balance_proposal(3), + VoteThreshold::SuperMajorityApprove, + 0, + ); assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r1, aye(1))); assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r2, aye(1))); // r3 is canceled - assert_ok!(Democracy::cancel_referendum(RuntimeOrigin::root(), r3.into())); + assert_ok!(Democracy::cancel_referendum(RuntimeOrigin::root(), r3)); assert_eq!(Democracy::lowest_unbaked(), 0); next_block(); diff --git a/pallets/democracy/src/tests/voting.rs b/pallets/democracy/src/tests/voting.rs index d922ea7f6..f096b633e 100644 --- a/pallets/democracy/src/tests/voting.rs +++ b/pallets/democracy/src/tests/voting.rs @@ -42,14 +42,7 @@ fn split_voting_should_work() { let v = AccountVote::Split { aye: 30, nay: 20 }; assert_ok!(Democracy::vote(RuntimeOrigin::signed(5), r, v)); - assert_eq!( - tally(r), - Tally { - ayes: 3, - nays: 2, - turnout: 50 - } - ); + assert_eq!(tally(r), Tally { ayes: 3, nays: 2, turnout: 50 }); }); } @@ -60,14 +53,7 @@ fn split_vote_cancellation_should_work() { let v = AccountVote::Split { aye: 30, nay: 20 }; assert_ok!(Democracy::vote(RuntimeOrigin::signed(5), r, v)); assert_ok!(Democracy::remove_vote(RuntimeOrigin::signed(5), r)); - assert_eq!( - tally(r), - Tally { - ayes: 0, - nays: 0, - turnout: 0 - } - ); + assert_eq!(tally(r), Tally { ayes: 0, nays: 0, turnout: 0 }); assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5)); assert_eq!(Balances::locks(5), vec![]); }); @@ -93,11 +79,7 @@ fn single_proposal_should_work() { proposal: set_balance_proposal(2), threshold: VoteThreshold::SuperMajorityApprove, delay: 2, - tally: Tally { - ayes: 1, - nays: 0, - turnout: 10 - }, + tally: Tally { ayes: 1, nays: 0, turnout: 10 }, }) ); @@ -122,7 +104,12 @@ fn single_proposal_should_work() { #[test] fn controversial_voting_should_work() { new_test_ext().execute_with(|| { - let r = Democracy::inject_referendum(2, set_balance_proposal(2), VoteThreshold::SuperMajorityApprove, 0); + let r = Democracy::inject_referendum( + 2, + set_balance_proposal(2), + VoteThreshold::SuperMajorityApprove, + 0, + ); assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, big_aye(1))); assert_ok!(Democracy::vote(RuntimeOrigin::signed(2), r, big_nay(2))); @@ -131,14 +118,7 @@ fn controversial_voting_should_work() { assert_ok!(Democracy::vote(RuntimeOrigin::signed(5), r, big_nay(5))); assert_ok!(Democracy::vote(RuntimeOrigin::signed(6), r, big_aye(6))); - assert_eq!( - tally(r), - Tally { - ayes: 110, - nays: 100, - turnout: 210 - } - ); + assert_eq!(tally(r), Tally { ayes: 110, nays: 100, turnout: 210 }); next_block(); next_block(); @@ -150,18 +130,16 @@ fn controversial_voting_should_work() { #[test] fn controversial_low_turnout_voting_should_work() { new_test_ext().execute_with(|| { - let r = Democracy::inject_referendum(2, set_balance_proposal(2), VoteThreshold::SuperMajorityApprove, 0); + let r = Democracy::inject_referendum( + 2, + set_balance_proposal(2), + VoteThreshold::SuperMajorityApprove, + 0, + ); assert_ok!(Democracy::vote(RuntimeOrigin::signed(5), r, big_nay(5))); assert_ok!(Democracy::vote(RuntimeOrigin::signed(6), r, big_aye(6))); - assert_eq!( - tally(r), - Tally { - ayes: 60, - nays: 50, - turnout: 110 - } - ); + assert_eq!(tally(r), Tally { ayes: 60, nays: 50, turnout: 110 }); next_block(); next_block(); @@ -176,18 +154,16 @@ fn passing_low_turnout_voting_should_work() { assert_eq!(Balances::free_balance(42), 0); assert_eq!(Balances::total_issuance(), 210); - let r = Democracy::inject_referendum(2, set_balance_proposal(2), VoteThreshold::SuperMajorityApprove, 0); + let r = Democracy::inject_referendum( + 2, + set_balance_proposal(2), + VoteThreshold::SuperMajorityApprove, + 0, + ); assert_ok!(Democracy::vote(RuntimeOrigin::signed(4), r, big_aye(4))); assert_ok!(Democracy::vote(RuntimeOrigin::signed(5), r, big_nay(5))); assert_ok!(Democracy::vote(RuntimeOrigin::signed(6), r, big_aye(6))); - assert_eq!( - tally(r), - Tally { - ayes: 100, - nays: 50, - turnout: 150 - } - ); + assert_eq!(tally(r), Tally { ayes: 100, nays: 50, turnout: 150 }); next_block(); next_block(); diff --git a/pallets/democracy/src/types.rs b/pallets/democracy/src/types.rs index 2f562b055..ee6e2e0aa 100644 --- a/pallets/democracy/src/types.rs +++ b/pallets/democracy/src/types.rs @@ -43,7 +43,9 @@ pub struct Tally { } /// Amount of votes and capital placed in delegation for an account. -#[derive(Encode, MaxEncodedLen, Decode, Default, Copy, Clone, PartialEq, Eq, RuntimeDebug, TypeInfo)] +#[derive( + Encode, MaxEncodedLen, Decode, Default, Copy, Clone, PartialEq, Eq, RuntimeDebug, TypeInfo, +)] pub struct Delegations { /// The number of votes (this is post-conviction). pub votes: Balance, @@ -74,15 +76,21 @@ impl Saturating for Delegations { } fn saturating_pow(self, exp: usize) -> Self { - Self { - votes: self.votes.saturating_pow(exp), - capital: self.capital.saturating_pow(exp), - } + Self { votes: self.votes.saturating_pow(exp), capital: self.capital.saturating_pow(exp) } } } -impl + Zero + Copy + CheckedAdd + CheckedSub + CheckedMul + CheckedDiv + Bounded + Saturating> - Tally +impl< + Balance: From + + Zero + + Copy + + CheckedAdd + + CheckedSub + + CheckedMul + + CheckedDiv + + Bounded + + Saturating, + > Tally { /// Create a new tally. pub fn new(vote: Vote, balance: Balance) -> Self { @@ -104,14 +112,14 @@ impl + Zero + Copy + CheckedAdd + CheckedSub + CheckedMul + Ch true => self.ayes = self.ayes.checked_add(&votes)?, false => self.nays = self.nays.checked_add(&votes)?, } - } + }, AccountVote::Split { aye, nay } => { let aye = Conviction::None.votes(aye); let nay = Conviction::None.votes(nay); self.turnout = self.turnout.checked_add(&aye.capital)?.checked_add(&nay.capital)?; self.ayes = self.ayes.checked_add(&aye.votes)?; self.nays = self.nays.checked_add(&nay.votes)?; - } + }, } Some(()) } @@ -126,14 +134,14 @@ impl + Zero + Copy + CheckedAdd + CheckedSub + CheckedMul + Ch true => self.ayes = self.ayes.checked_sub(&votes)?, false => self.nays = self.nays.checked_sub(&votes)?, } - } + }, AccountVote::Split { aye, nay } => { let aye = Conviction::None.votes(aye); let nay = Conviction::None.votes(nay); self.turnout = self.turnout.checked_sub(&aye.capital)?.checked_sub(&nay.capital)?; self.ayes = self.ayes.checked_sub(&aye.votes)?; self.nays = self.nays.checked_sub(&nay.votes)?; - } + }, } Some(()) } @@ -185,14 +193,13 @@ pub enum ReferendumInfo { impl ReferendumInfo { /// Create a new instance. - pub fn new(end: BlockNumber, proposal: Proposal, threshold: VoteThreshold, delay: BlockNumber) -> Self { - let s = ReferendumStatus { - end, - proposal, - threshold, - delay, - tally: Tally::default(), - }; + pub fn new( + end: BlockNumber, + proposal: Proposal, + threshold: VoteThreshold, + delay: BlockNumber, + ) -> Self { + let s = ReferendumStatus { end, proposal, threshold, delay, tally: Tally::default() }; ReferendumInfo::Ongoing(s) } } diff --git a/pallets/democracy/src/vote.rs b/pallets/democracy/src/vote.rs index 126be514d..b3fe9aa28 100644 --- a/pallets/democracy/src/vote.rs +++ b/pallets/democracy/src/vote.rs @@ -53,7 +53,8 @@ impl Decode for Vote { let b = input.read_byte()?; Ok(Vote { aye: (b & 0b1000_0000) == 0b1000_0000, - conviction: Conviction::try_from(b & 0b0111_1111).map_err(|_| codec::Error::from("Invalid conviction"))?, + conviction: Conviction::try_from(b & 0b0111_1111) + .map_err(|_| codec::Error::from("Invalid conviction"))?, }) } } @@ -87,9 +88,8 @@ impl AccountVote { pub fn locked_if(self, approved: bool) -> Option<(u32, Balance)> { // winning side: can only be removed after the lock period ends. match self { - AccountVote::Standard { vote, balance } if vote.aye == approved => { - Some((vote.conviction.lock_periods(), balance)) - } + AccountVote::Standard { vote, balance } if vote.aye == approved => + Some((vote.conviction.lock_periods(), balance)), _ => None, } } @@ -114,7 +114,18 @@ impl AccountVote { /// A "prior" lock, i.e. a lock for some now-forgotten reason. #[derive( - Encode, MaxEncodedLen, Decode, Default, Copy, Clone, Eq, PartialEq, Ord, PartialOrd, RuntimeDebug, TypeInfo, + Encode, + MaxEncodedLen, + Decode, + Default, + Copy, + Clone, + Eq, + PartialEq, + Ord, + PartialOrd, + RuntimeDebug, + TypeInfo, )] pub struct PriorLock(BlockNumber, Balance); @@ -176,8 +187,12 @@ impl> Default } } -impl> - Voting +impl< + Balance: Saturating + Ord + Zero + Copy, + BlockNumber: Ord + Copy + Zero, + AccountId, + MaxVotes: Get, + > Voting { pub fn rejig(&mut self, now: BlockNumber) { match self { @@ -190,26 +205,20 @@ impl Balance { match self { - Voting::Direct { votes, prior, .. } => votes - .iter() - .map(|i| i.1.balance()) - .fold(prior.locked(), |a, i| a.max(i)), + Voting::Direct { votes, prior, .. } => + votes.iter().map(|i| i.1.balance()).fold(prior.locked(), |a, i| a.max(i)), Voting::Delegating { balance, prior, .. } => *balance.max(&prior.locked()), } } - pub fn set_common(&mut self, delegations: Delegations, prior: PriorLock) { + pub fn set_common( + &mut self, + delegations: Delegations, + prior: PriorLock, + ) { let (d, p) = match self { - Voting::Direct { - ref mut delegations, - ref mut prior, - .. - } => (delegations, prior), - Voting::Delegating { - ref mut delegations, - ref mut prior, - .. - } => (delegations, prior), + Voting::Direct { ref mut delegations, ref mut prior, .. } => (delegations, prior), + Voting::Delegating { ref mut delegations, ref mut prior, .. } => (delegations, prior), }; *d = delegations; *p = prior; diff --git a/pallets/democracy/src/vote_threshold.rs b/pallets/democracy/src/vote_threshold.rs index 86e201a04..e8efa179e 100644 --- a/pallets/democracy/src/vote_threshold.rs +++ b/pallets/democracy/src/vote_threshold.rs @@ -26,7 +26,9 @@ use sp_runtime::traits::{IntegerSquareRoot, Zero}; use sp_std::ops::{Add, Div, Mul, Rem}; /// A means of determining if a vote is past pass threshold. -#[derive(Clone, Copy, PartialEq, Eq, Encode, MaxEncodedLen, Decode, sp_runtime::RuntimeDebug, TypeInfo)] +#[derive( + Clone, Copy, PartialEq, Eq, Encode, MaxEncodedLen, Decode, sp_runtime::RuntimeDebug, TypeInfo, +)] #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] pub enum VoteThreshold { /// A supermajority of approvals is needed to pass this vote. @@ -44,7 +46,9 @@ pub trait Approved { } /// Return `true` iff `n1 / d1 < n2 / d2`. `d1` and `d2` may not be zero. -fn compare_rationals + Div + Rem + Ord + Copy>( +fn compare_rationals< + T: Zero + Mul + Div + Rem + Ord + Copy, +>( mut n1: T, mut d1: T, mut n2: T, @@ -56,18 +60,18 @@ fn compare_rationals + Div + Rem { - compare_rationals(tally.nays, sqrt_voters, tally.ayes, sqrt_electorate) - } - VoteThreshold::SuperMajorityAgainst => { - compare_rationals(tally.nays, sqrt_electorate, tally.ayes, sqrt_voters) - } + VoteThreshold::SuperMajorityApprove => + compare_rationals(tally.nays, sqrt_voters, tally.ayes, sqrt_electorate), + VoteThreshold::SuperMajorityAgainst => + compare_rationals(tally.nays, sqrt_electorate, tally.ayes, sqrt_voters), VoteThreshold::SimpleMajority => tally.ayes > tally.nays, } } @@ -111,21 +113,9 @@ mod tests { #[test] fn should_work() { - assert!(!VoteThreshold::SuperMajorityApprove.approved( - Tally { - ayes: 60, - nays: 50, - turnout: 110 - }, - 210 - )); - assert!(VoteThreshold::SuperMajorityApprove.approved( - Tally { - ayes: 100, - nays: 50, - turnout: 150 - }, - 210 - )); + assert!(!VoteThreshold::SuperMajorityApprove + .approved(Tally { ayes: 60, nays: 50, turnout: 110 }, 210)); + assert!(VoteThreshold::SuperMajorityApprove + .approved(Tally { ayes: 100, nays: 50, turnout: 150 }, 210)); } } From 3e279041229ed7deff196ea89683860aaae758e6 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Wed, 8 May 2024 11:40:48 +0200 Subject: [PATCH 030/105] formatting --- pallets/democracy/src/benchmarking.rs | 12 +- pallets/democracy/src/conviction.rs | 18 +- pallets/democracy/src/lib.rs | 352 +++++++++--------- .../unlock_and_unreserve_all_funds.rs | 66 ++-- pallets/democracy/src/migrations/v1.rs | 70 ++-- pallets/democracy/src/tests.rs | 55 ++- pallets/democracy/src/tests/cancellation.rs | 21 +- pallets/democracy/src/tests/decoders.rs | 10 +- pallets/democracy/src/tests/delegation.rs | 172 ++++++++- .../democracy/src/tests/external_proposing.rs | 99 ++++- pallets/democracy/src/tests/fast_tracking.rs | 28 +- pallets/democracy/src/tests/lock_voting.rs | 92 +++-- pallets/democracy/src/tests/metadata.rs | 89 +++-- .../democracy/src/tests/public_proposals.rs | 11 +- pallets/democracy/src/tests/scheduling.rs | 101 +++-- pallets/democracy/src/tests/voting.rs | 72 ++-- pallets/democracy/src/types.rs | 45 +-- pallets/democracy/src/vote.rs | 53 ++- pallets/democracy/src/vote_threshold.rs | 48 ++- runtime/adapters/src/tests/xcm_exchange.rs | 20 +- 20 files changed, 853 insertions(+), 581 deletions(-) diff --git a/pallets/democracy/src/benchmarking.rs b/pallets/democracy/src/benchmarking.rs index 72784f876..d0df3de0b 100644 --- a/pallets/democracy/src/benchmarking.rs +++ b/pallets/democracy/src/benchmarking.rs @@ -58,19 +58,17 @@ fn add_referendum(n: u32) -> (ReferendumIndex, T::Hash, T::Hash) { let vote_threshold = VoteThreshold::SimpleMajority; let proposal = make_proposal::(n); let hash = proposal.hash(); - let index = Democracy::::inject_referendum( - T::LaunchPeriod::get(), - proposal, - vote_threshold, - 0u32.into(), - ); + let index = Democracy::::inject_referendum(T::LaunchPeriod::get(), proposal, vote_threshold, 0u32.into()); let preimage_hash = note_preimage::(); MetadataOf::::insert(crate::MetadataOwner::Referendum(index), preimage_hash); (index, hash, preimage_hash) } fn account_vote(b: BalanceOf) -> AccountVote> { - let v = Vote { aye: true, conviction: Conviction::Locked1x }; + let v = Vote { + aye: true, + conviction: Conviction::Locked1x, + }; AccountVote::Standard { vote: v, balance: b } } diff --git a/pallets/democracy/src/conviction.rs b/pallets/democracy/src/conviction.rs index 01dc5c876..902b6b4c9 100644 --- a/pallets/democracy/src/conviction.rs +++ b/pallets/democracy/src/conviction.rs @@ -28,18 +28,7 @@ use sp_std::{prelude::*, result::Result}; /// A value denoting the strength of conviction of a vote. #[derive( - Default, - Encode, - MaxEncodedLen, - Decode, - Copy, - Clone, - Eq, - PartialEq, - Ord, - PartialOrd, - RuntimeDebug, - TypeInfo, + Default, Encode, MaxEncodedLen, Decode, Copy, Clone, Eq, PartialEq, Ord, PartialOrd, RuntimeDebug, TypeInfo, )] pub enum Conviction { /// 0.1x votes, unlocked. @@ -105,10 +94,7 @@ impl Conviction { } /// The votes of a voter of the given `balance` with our conviction. - pub fn votes + Zero + Copy + CheckedMul + CheckedDiv + Bounded>( - self, - capital: B, - ) -> Delegations { + pub fn votes + Zero + Copy + CheckedMul + CheckedDiv + Bounded>(self, capital: B) -> Delegations { let votes = match self { Conviction::None => capital.checked_div(&10u8.into()).unwrap_or_else(Zero::zero), x => capital.checked_mul(&u8::from(x).into()).unwrap_or_else(B::max_value), diff --git a/pallets/democracy/src/lib.rs b/pallets/democracy/src/lib.rs index 2121a0989..8b529ad5f 100644 --- a/pallets/democracy/src/lib.rs +++ b/pallets/democracy/src/lib.rs @@ -160,8 +160,8 @@ use frame_support::{ traits::{ defensive_prelude::*, schedule::{v3::Named as ScheduleNamed, DispatchTime}, - Bounded, Currency, EnsureOrigin, Get, LockIdentifier, LockableCurrency, OnUnbalanced, - QueryPreimage, ReservableCurrency, StorePreimage, WithdrawReasons, + Bounded, Currency, EnsureOrigin, Get, LockIdentifier, LockableCurrency, OnUnbalanced, QueryPreimage, + ReservableCurrency, StorePreimage, WithdrawReasons, }, weights::Weight, }; @@ -182,8 +182,7 @@ use crate::traits::DemocracyHooks; pub use conviction::Conviction; pub use pallet::*; pub use types::{ - Delegations, MetadataOwner, PropIndex, ReferendumIndex, ReferendumInfo, ReferendumStatus, - Tally, UnvoteScope, + Delegations, MetadataOwner, PropIndex, ReferendumIndex, ReferendumInfo, ReferendumStatus, Tally, UnvoteScope, }; pub use vote::{AccountVote, Vote, Voting}; pub use vote_threshold::{Approved, VoteThreshold}; @@ -199,11 +198,9 @@ pub mod migrations; pub(crate) const DEMOCRACY_ID: LockIdentifier = *b"democrac"; -type BalanceOf = - <::Currency as Currency<::AccountId>>::Balance; -type NegativeImbalanceOf = <::Currency as Currency< - ::AccountId, ->>::NegativeImbalance; +type BalanceOf = <::Currency as Currency<::AccountId>>::Balance; +type NegativeImbalanceOf = + <::Currency as Currency<::AccountId>>::NegativeImbalance; pub type CallOf = ::RuntimeCall; pub type BoundedCallOf = Bounded, ::Hashing>; type AccountIdLookupOf = <::Lookup as StaticLookup>::Source; @@ -227,12 +224,7 @@ pub mod pallet { type RuntimeEvent: From> + IsType<::RuntimeEvent>; /// The Scheduler. - type Scheduler: ScheduleNamed< - BlockNumberFor, - CallOf, - Self::PalletsOrigin, - Hasher = Self::Hashing, - >; + type Scheduler: ScheduleNamed, CallOf, Self::PalletsOrigin, Hasher = Self::Hashing>; /// The Preimage provider. type Preimages: QueryPreimage + StorePreimage; @@ -359,23 +351,16 @@ pub mod pallet { /// The public proposals. Unsorted. The second item is the proposal. #[pallet::storage] #[pallet::getter(fn public_props)] - pub type PublicProps = StorageValue< - _, - BoundedVec<(PropIndex, BoundedCallOf, T::AccountId), T::MaxProposals>, - ValueQuery, - >; + pub type PublicProps = + StorageValue<_, BoundedVec<(PropIndex, BoundedCallOf, T::AccountId), T::MaxProposals>, ValueQuery>; /// Those who have locked a deposit. /// /// TWOX-NOTE: Safe, as increasing integer keys are safe. #[pallet::storage] #[pallet::getter(fn deposit_of)] - pub type DepositOf = StorageMap< - _, - Twox64Concat, - PropIndex, - (BoundedVec, BalanceOf), - >; + pub type DepositOf = + StorageMap<_, Twox64Concat, PropIndex, (BoundedVec, BalanceOf)>; /// The next free referendum index, aka the number of referenda started so far. #[pallet::storage] @@ -393,12 +378,8 @@ pub mod pallet { /// TWOX-NOTE: SAFE as indexes are not under an attacker’s control. #[pallet::storage] #[pallet::getter(fn referendum_info)] - pub type ReferendumInfoOf = StorageMap< - _, - Twox64Concat, - ReferendumIndex, - ReferendumInfo, BoundedCallOf, BalanceOf>, - >; + pub type ReferendumInfoOf = + StorageMap<_, Twox64Concat, ReferendumIndex, ReferendumInfo, BoundedCallOf, BalanceOf>>; /// All votes for a particular voter. We store the balance for the number of votes that we /// have recorded. The second item is the total amount of delegations, that will be added. @@ -428,12 +409,8 @@ pub mod pallet { /// A record of who vetoed what. Maps proposal hash to a possible existent block number /// (until when it may not be resubmitted) and who vetoed it. #[pallet::storage] - pub type Blacklist = StorageMap< - _, - Identity, - T::Hash, - (BlockNumberFor, BoundedVec), - >; + pub type Blacklist = + StorageMap<_, Identity, T::Hash, (BlockNumberFor, BoundedVec)>; /// Record of all proposals that have been subject to emergency cancellation. #[pallet::storage] @@ -468,13 +445,22 @@ pub mod pallet { #[pallet::generate_deposit(pub(super) fn deposit_event)] pub enum Event { /// A motion has been proposed by a public account. - Proposed { proposal_index: PropIndex, deposit: BalanceOf }, + Proposed { + proposal_index: PropIndex, + deposit: BalanceOf, + }, /// A public proposal has been tabled for referendum vote. - Tabled { proposal_index: PropIndex, deposit: BalanceOf }, + Tabled { + proposal_index: PropIndex, + deposit: BalanceOf, + }, /// An external proposal has been tabled. ExternalTabled, /// A referendum has begun. - Started { ref_index: ReferendumIndex, threshold: VoteThreshold }, + Started { + ref_index: ReferendumIndex, + threshold: VoteThreshold, + }, /// A proposal has been approved by referendum. Passed { ref_index: ReferendumIndex }, /// A proposal has been rejected by referendum. @@ -486,13 +472,24 @@ pub mod pallet { /// An account has cancelled a previous delegation operation. Undelegated { account: T::AccountId }, /// An external proposal has been vetoed. - Vetoed { who: T::AccountId, proposal_hash: T::Hash, until: BlockNumberFor }, + Vetoed { + who: T::AccountId, + proposal_hash: T::Hash, + until: BlockNumberFor, + }, /// A proposal_hash has been blacklisted permanently. Blacklisted { proposal_hash: T::Hash }, /// An account has voted in a referendum - Voted { voter: T::AccountId, ref_index: ReferendumIndex, vote: AccountVote> }, + Voted { + voter: T::AccountId, + ref_index: ReferendumIndex, + vote: AccountVote>, + }, /// An account has secconded a proposal - Seconded { seconder: T::AccountId, prop_index: PropIndex }, + Seconded { + seconder: T::AccountId, + prop_index: PropIndex, + }, /// A proposal got canceled. ProposalCanceled { prop_index: PropIndex }, /// Metadata for a proposal or a referendum has been set. @@ -622,10 +619,12 @@ pub mod pallet { PublicPropCount::::put(index + 1); - PublicProps::::try_append((index, proposal, who)) - .map_err(|_| Error::::TooMany)?; + PublicProps::::try_append((index, proposal, who)).map_err(|_| Error::::TooMany)?; - Self::deposit_event(Event::::Proposed { proposal_index: index, deposit: value }); + Self::deposit_event(Event::::Proposed { + proposal_index: index, + deposit: value, + }); Ok(()) } @@ -637,10 +636,7 @@ pub mod pallet { /// - `proposal`: The index of the proposal to second. #[pallet::call_index(1)] #[pallet::weight(T::WeightInfo::second())] - pub fn second( - origin: OriginFor, - #[pallet::compact] proposal: PropIndex, - ) -> DispatchResult { + pub fn second(origin: OriginFor, #[pallet::compact] proposal: PropIndex) -> DispatchResult { let who = ensure_signed(origin)?; let seconds = Self::len_of_deposit_of(proposal).ok_or(Error::::ProposalMissing)?; @@ -650,7 +646,10 @@ pub mod pallet { let ok = deposit.0.try_push(who.clone()).is_ok(); debug_assert!(ok, "`seconds` is below static limit; `try_insert` should succeed; qed"); >::insert(proposal, deposit); - Self::deposit_event(Event::::Seconded { seconder: who, prop_index: proposal }); + Self::deposit_event(Event::::Seconded { + seconder: who, + prop_index: proposal, + }); Ok(()) } @@ -682,10 +681,7 @@ pub mod pallet { /// Weight: `O(1)`. #[pallet::call_index(3)] #[pallet::weight((T::WeightInfo::emergency_cancel(), DispatchClass::Operational))] - pub fn emergency_cancel( - origin: OriginFor, - ref_index: ReferendumIndex, - ) -> DispatchResult { + pub fn emergency_cancel(origin: OriginFor, ref_index: ReferendumIndex) -> DispatchResult { T::CancellationOrigin::ensure_origin(origin)?; let status = Self::referendum_status(ref_index)?; @@ -705,10 +701,7 @@ pub mod pallet { /// - `proposal_hash`: The preimage hash of the proposal. #[pallet::call_index(4)] #[pallet::weight(T::WeightInfo::external_propose())] - pub fn external_propose( - origin: OriginFor, - proposal: BoundedCallOf, - ) -> DispatchResult { + pub fn external_propose(origin: OriginFor, proposal: BoundedCallOf) -> DispatchResult { T::ExternalOrigin::ensure_origin(origin)?; ensure!(!>::exists(), Error::::DuplicateProposal); if let Some((until, _)) = >::get(proposal.hash()) { @@ -734,10 +727,7 @@ pub mod pallet { /// Weight: `O(1)` #[pallet::call_index(5)] #[pallet::weight(T::WeightInfo::external_propose_majority())] - pub fn external_propose_majority( - origin: OriginFor, - proposal: BoundedCallOf, - ) -> DispatchResult { + pub fn external_propose_majority(origin: OriginFor, proposal: BoundedCallOf) -> DispatchResult { T::ExternalMajorityOrigin::ensure_origin(origin)?; >::put((proposal, VoteThreshold::SimpleMajority)); Ok(()) @@ -756,10 +746,7 @@ pub mod pallet { /// Weight: `O(1)` #[pallet::call_index(6)] #[pallet::weight(T::WeightInfo::external_propose_default())] - pub fn external_propose_default( - origin: OriginFor, - proposal: BoundedCallOf, - ) -> DispatchResult { + pub fn external_propose_default(origin: OriginFor, proposal: BoundedCallOf) -> DispatchResult { T::ExternalDefaultOrigin::ensure_origin(origin)?; >::put((proposal, VoteThreshold::SuperMajorityAgainst)); Ok(()) @@ -806,8 +793,7 @@ pub mod pallet { } ensure!(voting_period > Zero::zero(), Error::::VotingPeriodLow); - let (ext_proposal, threshold) = - >::get().ok_or(Error::::ProposalMissing)?; + let (ext_proposal, threshold) = >::get().ok_or(Error::::ProposalMissing)?; ensure!( threshold != VoteThreshold::SuperMajorityApprove, Error::::NotSimpleMajority, @@ -816,12 +802,7 @@ pub mod pallet { >::kill(); let now = >::block_number(); - let ref_index = Self::inject_referendum( - now.saturating_add(voting_period), - ext_proposal, - threshold, - delay, - ); + let ref_index = Self::inject_referendum(now.saturating_add(voting_period), ext_proposal, threshold, delay); Self::transfer_metadata(MetadataOwner::External, MetadataOwner::Referendum(ref_index)); Ok(()) } @@ -843,22 +824,28 @@ pub mod pallet { if let Some((ext_proposal, _)) = NextExternal::::get() { ensure!(proposal_hash == ext_proposal.hash(), Error::::ProposalMissing); } else { - return Err(Error::::NoProposal.into()) + return Err(Error::::NoProposal.into()); } - let mut existing_vetoers = - >::get(proposal_hash).map(|pair| pair.1).unwrap_or_default(); - let insert_position = - existing_vetoers.binary_search(&who).err().ok_or(Error::::AlreadyVetoed)?; + let mut existing_vetoers = >::get(proposal_hash) + .map(|pair| pair.1) + .unwrap_or_default(); + let insert_position = existing_vetoers + .binary_search(&who) + .err() + .ok_or(Error::::AlreadyVetoed)?; existing_vetoers .try_insert(insert_position, who.clone()) .map_err(|_| Error::::TooMany)?; - let until = - >::block_number().saturating_add(T::CooloffPeriod::get()); + let until = >::block_number().saturating_add(T::CooloffPeriod::get()); >::insert(proposal_hash, (until, existing_vetoers)); - Self::deposit_event(Event::::Vetoed { who, proposal_hash, until }); + Self::deposit_event(Event::::Vetoed { + who, + proposal_hash, + until, + }); >::kill(); Self::clear_metadata(MetadataOwner::External); Ok(()) @@ -1028,7 +1015,11 @@ pub mod pallet { ) -> DispatchResult { let who = ensure_signed(origin)?; let target = T::Lookup::lookup(target)?; - let scope = if target == who { UnvoteScope::Any } else { UnvoteScope::OnlyExpired }; + let scope = if target == who { + UnvoteScope::Any + } else { + UnvoteScope::OnlyExpired + }; Self::try_remove_vote(&target, index, scope)?; Ok(()) } @@ -1058,8 +1049,10 @@ pub mod pallet { T::BlacklistOrigin::ensure_origin(origin)?; // Insert the proposal into the blacklist. - let permanent = - (BlockNumberFor::::max_value(), BoundedVec::::default()); + let permanent = ( + BlockNumberFor::::max_value(), + BoundedVec::::default(), + ); Blacklist::::insert(proposal_hash, permanent); // Remove the queued proposal, if it's there. @@ -1103,10 +1096,7 @@ pub mod pallet { /// Weight: `O(p)` where `p = PublicProps::::decode_len()` #[pallet::call_index(17)] #[pallet::weight(T::WeightInfo::cancel_proposal())] - pub fn cancel_proposal( - origin: OriginFor, - #[pallet::compact] prop_index: PropIndex, - ) -> DispatchResult { + pub fn cancel_proposal(origin: OriginFor, #[pallet::compact] prop_index: PropIndex) -> DispatchResult { T::CancelProposalOrigin::ensure_origin(origin)?; PublicProps::::mutate(|props| props.retain(|p| p.0 != prop_index)); @@ -1146,21 +1136,17 @@ pub mod pallet { (MetadataOwner::Referendum(_), None) => T::WeightInfo::clear_referendum_metadata(), } )] - pub fn set_metadata( - origin: OriginFor, - owner: MetadataOwner, - maybe_hash: Option, - ) -> DispatchResult { + pub fn set_metadata(origin: OriginFor, owner: MetadataOwner, maybe_hash: Option) -> DispatchResult { match owner { MetadataOwner::External => { let (_, threshold) = >::get().ok_or(Error::::NoProposal)?; Self::ensure_external_origin(threshold, origin)?; - }, + } MetadataOwner::Proposal(index) => { let who = ensure_signed(origin)?; let (_, _, proposer) = Self::proposal(index)?; ensure!(proposer == who, Error::::NoPermission); - }, + } MetadataOwner::Referendum(index) => { let is_root = ensure_signed_or_root(origin)?.is_none(); ensure!(is_root || maybe_hash.is_none(), Error::::NoPermission); @@ -1168,7 +1154,7 @@ pub mod pallet { is_root || Self::referendum_status(index).is_err(), Error::::NoPermission ); - }, + } } if let Some(hash) = maybe_hash { ensure!(T::Preimages::len(&hash).is_some(), Error::::PreimageNotExist); @@ -1214,8 +1200,10 @@ impl Pallet { /// Get all referenda ready for tally at block `n`. pub fn maturing_referenda_at( n: BlockNumberFor, - ) -> Vec<(ReferendumIndex, ReferendumStatus, BoundedCallOf, BalanceOf>)> - { + ) -> Vec<( + ReferendumIndex, + ReferendumStatus, BoundedCallOf, BalanceOf>, + )> { let next = Self::lowest_unbaked(); let last = Self::referendum_count(); Self::maturing_referenda_at_inner(n, next..last) @@ -1224,8 +1212,10 @@ impl Pallet { fn maturing_referenda_at_inner( n: BlockNumberFor, range: core::ops::Range, - ) -> Vec<(ReferendumIndex, ReferendumStatus, BoundedCallOf, BalanceOf>)> - { + ) -> Vec<( + ReferendumIndex, + ReferendumStatus, BoundedCallOf, BalanceOf>, + )> { range .into_iter() .map(|i| (i, Self::referendum_info(i))) @@ -1265,8 +1255,7 @@ impl Pallet { /// Ok if the given referendum is active, Err otherwise fn ensure_ongoing( r: ReferendumInfo, BoundedCallOf, BalanceOf>, - ) -> Result, BoundedCallOf, BalanceOf>, DispatchError> - { + ) -> Result, BoundedCallOf, BalanceOf>, DispatchError> { match r { ReferendumInfo::Ongoing(s) => Ok(s), _ => Err(Error::::ReferendumInvalid.into()), @@ -1275,22 +1264,25 @@ impl Pallet { fn referendum_status( ref_index: ReferendumIndex, - ) -> Result, BoundedCallOf, BalanceOf>, DispatchError> - { + ) -> Result, BoundedCallOf, BalanceOf>, DispatchError> { let info = ReferendumInfoOf::::get(ref_index).ok_or(Error::::ReferendumInvalid)?; Self::ensure_ongoing(info) } /// Actually enact a vote, if legit. - fn try_vote( - who: &T::AccountId, - ref_index: ReferendumIndex, - vote: AccountVote>, - ) -> DispatchResult { + fn try_vote(who: &T::AccountId, ref_index: ReferendumIndex, vote: AccountVote>) -> DispatchResult { let mut status = Self::referendum_status(ref_index)?; - ensure!(vote.balance() <= T::Currency::free_balance(who), Error::::InsufficientFunds); + ensure!( + vote.balance() <= T::Currency::free_balance(who), + Error::::InsufficientFunds + ); VotingOf::::try_mutate(who, |voting| -> DispatchResult { - if let Voting::Direct { ref mut votes, delegations, .. } = voting { + if let Voting::Direct { + ref mut votes, + delegations, + .. + } = voting + { match votes.binary_search_by_key(&ref_index, |i| i.0) { Ok(i) => { // Shouldn't be possible to fail, but we handle it gracefully. @@ -1299,14 +1291,18 @@ impl Pallet { status.tally.reduce(approve, *delegations); } votes[i].1 = vote; - }, + } Err(i) => { votes .try_insert(i, (ref_index, vote)) .map_err(|_| Error::::MaxVotesReached)?; - }, + } } - Self::deposit_event(Event::::Voted { voter: who.clone(), ref_index, vote }); + Self::deposit_event(Event::::Voted { + voter: who.clone(), + ref_index, + vote, + }); // Shouldn't be possible to fail, but we handle it gracefully. status.tally.add(vote).ok_or(ArithmeticError::Overflow)?; if let Some(approve) = vote.as_standard() { @@ -1336,14 +1332,15 @@ impl Pallet { /// - The referendum has finished and the voter's lock period is up. /// /// This will generally be combined with a call to `unlock`. - fn try_remove_vote( - who: &T::AccountId, - ref_index: ReferendumIndex, - scope: UnvoteScope, - ) -> DispatchResult { + fn try_remove_vote(who: &T::AccountId, ref_index: ReferendumIndex, scope: UnvoteScope) -> DispatchResult { let info = ReferendumInfoOf::::get(ref_index); VotingOf::::try_mutate(who, |voting| -> DispatchResult { - if let Voting::Direct { ref mut votes, delegations, ref mut prior } = voting { + if let Voting::Direct { + ref mut votes, + delegations, + ref mut prior, + } = voting + { let i = votes .binary_search_by_key(&ref_index, |i| i.0) .map_err(|_| Error::::NotVoter)?; @@ -1357,31 +1354,26 @@ impl Pallet { } ReferendumInfoOf::::insert(ref_index, ReferendumInfo::Ongoing(status)); false - }, + } Some(ReferendumInfo::Finished { end, approved }) => { if let Some((lock_periods, balance)) = votes[i].1.locked_if(approved) { - let unlock_at = end.saturating_add( - T::VoteLockingPeriod::get().saturating_mul(lock_periods.into()), - ); + let unlock_at = + end.saturating_add(T::VoteLockingPeriod::get().saturating_mul(lock_periods.into())); let now = frame_system::Pallet::::block_number(); if now < unlock_at { - ensure!( - matches!(scope, UnvoteScope::Any), - Error::::NoPermission - ); + ensure!(matches!(scope, UnvoteScope::Any), Error::::NoPermission); prior.accumulate(unlock_at, balance) } false } else if let AccountVote::Standard { vote, .. } = votes[i].1 { - let unlock_at = end.saturating_add( - T::VoteLockingPeriod::get().saturating_mul(vote.conviction.lock_periods().into()), - ); - let now = frame_system::Pallet::::block_number(); - now < unlock_at - - } else { - false - } + let unlock_at = end.saturating_add( + T::VoteLockingPeriod::get().saturating_mul(vote.conviction.lock_periods().into()), + ); + let now = frame_system::Pallet::::block_number(); + now < unlock_at + } else { + false + } } None => false, // Referendum was cancelled. }; @@ -1401,7 +1393,7 @@ impl Pallet { // We don't support second level delegating, so we don't need to do anything more. *delegations = delegations.saturating_add(amount); 1 - }, + } Voting::Direct { votes, delegations, .. } => { *delegations = delegations.saturating_add(amount); for &(ref_index, account_vote) in votes.iter() { @@ -1414,7 +1406,7 @@ impl Pallet { } } votes.len() as u32 - }, + } }) } @@ -1425,7 +1417,7 @@ impl Pallet { // We don't support second level delegating, so we don't need to do anything more. *delegations = delegations.saturating_sub(amount); 1 - }, + } Voting::Direct { votes, delegations, .. } => { *delegations = delegations.saturating_sub(amount); for &(ref_index, account_vote) in votes.iter() { @@ -1438,7 +1430,7 @@ impl Pallet { } } votes.len() as u32 - }, + } }) } @@ -1452,7 +1444,10 @@ impl Pallet { balance: BalanceOf, ) -> Result { ensure!(who != target, Error::::Nonsense); - ensure!(balance <= T::Currency::free_balance(&who), Error::::InsufficientFunds); + ensure!( + balance <= T::Currency::free_balance(&who), + Error::::InsufficientFunds + ); let votes = VotingOf::::try_mutate(&who, |voting| -> Result { let mut old = Voting::Delegating { balance, @@ -1464,22 +1459,30 @@ impl Pallet { sp_std::mem::swap(&mut old, voting); match old { Voting::Delegating { - balance, target, conviction, delegations, mut prior, .. + balance, + target, + conviction, + delegations, + mut prior, + .. } => { // remove any delegation votes to our current target. Self::reduce_upstream_delegation(&target, conviction.votes(balance)); let now = frame_system::Pallet::::block_number(); let lock_periods = conviction.lock_periods().into(); - let unlock_block = now - .saturating_add(T::VoteLockingPeriod::get().saturating_mul(lock_periods)); + let unlock_block = now.saturating_add(T::VoteLockingPeriod::get().saturating_mul(lock_periods)); prior.accumulate(unlock_block, balance); voting.set_common(delegations, prior); - }, - Voting::Direct { votes, delegations, prior } => { + } + Voting::Direct { + votes, + delegations, + prior, + } => { // here we just ensure that we're currently idling with no votes recorded. ensure!(votes.is_empty(), Error::::VotesExist); voting.set_common(delegations, prior); - }, + } } let votes = Self::increase_upstream_delegation(&target, conviction.votes(balance)); // Extend the lock to `balance` (rather than setting it) since we don't know what other @@ -1504,19 +1507,23 @@ impl Pallet { let mut old = Voting::default(); sp_std::mem::swap(&mut old, voting); match old { - Voting::Delegating { balance, target, conviction, delegations, mut prior } => { + Voting::Delegating { + balance, + target, + conviction, + delegations, + mut prior, + } => { // remove any delegation votes to our current target. - let votes = - Self::reduce_upstream_delegation(&target, conviction.votes(balance)); + let votes = Self::reduce_upstream_delegation(&target, conviction.votes(balance)); let now = frame_system::Pallet::::block_number(); let lock_periods = conviction.lock_periods().into(); - let unlock_block = now - .saturating_add(T::VoteLockingPeriod::get().saturating_mul(lock_periods)); + let unlock_block = now.saturating_add(T::VoteLockingPeriod::get().saturating_mul(lock_periods)); prior.accumulate(unlock_block, balance); voting.set_common(delegations, prior); Ok(votes) - }, + } Voting::Direct { .. } => Err(Error::::NotDelegating.into()), } })?; @@ -1552,8 +1559,13 @@ impl Pallet { ) -> ReferendumIndex { let ref_index = Self::referendum_count(); ReferendumCount::::put(ref_index + 1); - let status = - ReferendumStatus { end, proposal, threshold, delay, tally: Default::default() }; + let status = ReferendumStatus { + end, + proposal, + threshold, + delay, + tally: Default::default(), + }; let item = ReferendumInfo::Ongoing(status); >::insert(ref_index, item); Self::deposit_event(Event::::Started { ref_index, threshold }); @@ -1603,7 +1615,10 @@ impl Pallet { for d in depositors.iter() { T::Currency::unreserve(d, deposit); } - Self::deposit_event(Event::::Tabled { proposal_index: prop_index, deposit }); + Self::deposit_event(Event::::Tabled { + proposal_index: prop_index, + deposit, + }); let ref_index = Self::inject_referendum( now.saturating_add(T::VotingPeriod::get()), proposal, @@ -1696,8 +1711,8 @@ impl Pallet { // of unbaked referendum is bounded by this number. In case those number have changed in a // runtime upgrade the formula should be adjusted but the bound should still be sensible. >::mutate(|ref_index| { - while *ref_index < last && - Self::referendum_info(*ref_index) + while *ref_index < last + && Self::referendum_info(*ref_index) .map_or(true, |info| matches!(info, ReferendumInfo::Finished { .. })) { *ref_index += 1 @@ -1744,20 +1759,17 @@ impl Pallet { } /// Ensure external origin for corresponding vote threshold. - fn ensure_external_origin( - threshold: VoteThreshold, - origin: OriginFor, - ) -> Result<(), BadOrigin> { + fn ensure_external_origin(threshold: VoteThreshold, origin: OriginFor) -> Result<(), BadOrigin> { match threshold { VoteThreshold::SuperMajorityApprove => { let _ = T::ExternalOrigin::ensure_origin(origin)?; - }, + } VoteThreshold::SuperMajorityAgainst => { let _ = T::ExternalDefaultOrigin::ensure_origin(origin)?; - }, + } VoteThreshold::SimpleMajority => { let _ = T::ExternalMajorityOrigin::ensure_origin(origin)?; - }, + } }; Ok(()) } @@ -1776,6 +1788,6 @@ fn decode_compact_u32_at(key: &[u8]) -> Option { sp_runtime::print("Failed to decode compact u32 at:"); sp_runtime::print(key); None - }, + } } } diff --git a/pallets/democracy/src/migrations/unlock_and_unreserve_all_funds.rs b/pallets/democracy/src/migrations/unlock_and_unreserve_all_funds.rs index 3e7b73af8..f403e21b7 100644 --- a/pallets/democracy/src/migrations/unlock_and_unreserve_all_funds.rs +++ b/pallets/democracy/src/migrations/unlock_and_unreserve_all_funds.rs @@ -33,8 +33,7 @@ use sp_std::{collections::btree_map::BTreeMap, vec::Vec}; const LOG_TARGET: &str = "runtime::democracy::migrations::unlock_and_unreserve_all_funds"; -type BalanceOf = - <::Currency as Currency<::AccountId>>::Balance; +type BalanceOf = <::Currency as Currency<::AccountId>>::Balance; /// The configuration for [`UnlockAndUnreserveAllFunds`]. pub trait UnlockConfig: 'static { @@ -62,7 +61,10 @@ type DepositOf = StorageMap< ::PalletName, Twox64Concat, PropIndex, - (BoundedVec<::AccountId, ::MaxDeposits>, BalanceOf), + ( + BoundedVec<::AccountId, ::MaxDeposits>, + BalanceOf, + ), >; #[storage_alias(dynamic)] @@ -124,11 +126,16 @@ impl UnlockAndUnreserveAllFunds { total_voting_vec_entries.saturating_accrue(accounts.len() as u64); // Create a vec of tuples where each account is associated with the given balance - accounts.into_iter().map(|account| (account, balance)).collect::>() + accounts + .into_iter() + .map(|account| (account, balance)) + .collect::>() }) .fold(BTreeMap::new(), |mut acc, (account, balance)| { // Add the balance to the account's existing balance in the accumulator - acc.entry(account.clone()).or_insert(Zero::zero()).saturating_accrue(balance); + acc.entry(account.clone()) + .or_insert(Zero::zero()) + .saturating_accrue(balance); acc }); @@ -141,13 +148,10 @@ impl UnlockAndUnreserveAllFunds { ( account_deposits, account_stakes, - T::DbWeight::get().reads( - deposit_of_len.saturating_add(voting_of_len).saturating_add( - // Max items in a Voting enum is MaxVotes + 5 - total_voting_vec_entries - .saturating_mul(T::MaxVotes::get().saturating_add(5) as u64), - ), - ), + T::DbWeight::get().reads(deposit_of_len.saturating_add(voting_of_len).saturating_add( + // Max items in a Voting enum is MaxVotes + 5 + total_voting_vec_entries.saturating_mul(T::MaxVotes::get().saturating_add(5) as u64), + )), ) } } @@ -191,13 +195,12 @@ where let bugged_deposits = all_accounts .iter() .filter(|account| { - account_deposits.get(&account).unwrap_or(&Zero::zero()) > - account_reserved_before.get(&account).unwrap_or(&Zero::zero()) + account_deposits.get(&account).unwrap_or(&Zero::zero()) + > account_reserved_before.get(&account).unwrap_or(&Zero::zero()) }) .count(); - let total_deposits_to_unreserve = - account_deposits.clone().into_values().sum::>(); + let total_deposits_to_unreserve = account_deposits.clone().into_values().sum::>(); let total_stake_to_unlock = account_locks.clone().into_values().sum::>(); log::info!(target: LOG_TARGET, "Total accounts: {:?}", all_accounts.len()); @@ -225,14 +228,13 @@ where /// 3. Unlocks the staked funds for each account. fn on_runtime_upgrade() -> frame_support::weights::Weight { // Get staked and deposited balances as reported by this pallet. - let (account_deposits, account_stakes, initial_reads) = - Self::get_account_deposits_and_locks(); + let (account_deposits, account_stakes, initial_reads) = Self::get_account_deposits_and_locks(); // Deposited funds need to be unreserved. for (account, unreserve_amount) in account_deposits.iter() { if unreserve_amount.is_zero() { log::warn!(target: LOG_TARGET, "Unexpected zero amount to unreserve!"); - continue + continue; } T::Currency::unreserve(account, *unreserve_amount); } @@ -255,9 +257,7 @@ where /// 1. No locks remain for this pallet in Balances. /// 2. The reserved balance for each account has been reduced by the expected amount. #[cfg(feature = "try-runtime")] - fn post_upgrade( - account_reserved_before_bytes: Vec, - ) -> Result<(), sp_runtime::TryRuntimeError> { + fn post_upgrade(account_reserved_before_bytes: Vec) -> Result<(), sp_runtime::TryRuntimeError> { use codec::Decode; let account_reserved_before = @@ -273,8 +273,7 @@ where let expected_amount_deducted = *account_deposits .get(&account) .expect("account deposit must exist to be in pre_migration_data, qed"); - let expected_reserved_after = - actual_reserved_before.saturating_sub(expected_amount_deducted); + let expected_reserved_after = actual_reserved_before.saturating_sub(expected_amount_deducted); assert!( actual_reserved_after == expected_reserved_after, "Reserved balance for {:?} is incorrect. actual before: {:?}, actual after, {:?}, expected deducted: {:?}", @@ -341,10 +340,7 @@ mod test { depositer_1_initial_reserved + deposit )); let depositors = - BoundedVec::<_, ::MaxDeposits>::truncate_from(vec![ - depositer_0, - depositer_1, - ]); + BoundedVec::<_, ::MaxDeposits>::truncate_from(vec![depositer_0, depositer_1]); DepositOf::::insert(0, (depositors, deposit)); // Sanity check: ensure initial reserved balance was set correctly. @@ -385,20 +381,10 @@ mod test { // Set up initial state. ::Currency::make_free_balance_be(&voter, initial_balance); for lock in initial_locks.clone() { - ::Currency::set_lock( - *lock.0, - &voter, - lock.1, - WithdrawReasons::all(), - ); + ::Currency::set_lock(*lock.0, &voter, lock.1, WithdrawReasons::all()); } VotingOf::::insert(voter, Voting::default()); - ::Currency::set_lock( - DEMOCRACY_ID, - &voter, - stake, - WithdrawReasons::all(), - ); + ::Currency::set_lock(DEMOCRACY_ID, &voter, stake, WithdrawReasons::all()); // Sanity check: ensure initial Balance state was set up correctly. let mut voter_all_locks = initial_locks.clone(); diff --git a/pallets/democracy/src/migrations/v1.rs b/pallets/democracy/src/migrations/v1.rs index a79215860..bf10ed7e4 100644 --- a/pallets/democracy/src/migrations/v1.rs +++ b/pallets/democracy/src/migrations/v1.rs @@ -34,13 +34,16 @@ mod v0 { #[storage_alias] pub type PublicProps = StorageValue< Pallet, - Vec<(PropIndex, ::Hash, ::AccountId)>, + Vec<( + PropIndex, + ::Hash, + ::AccountId, + )>, ValueQuery, >; #[storage_alias] - pub type NextExternal = - StorageValue, (::Hash, VoteThreshold)>; + pub type NextExternal = StorageValue, (::Hash, VoteThreshold)>; #[cfg(feature = "try-runtime")] #[storage_alias] @@ -61,7 +64,10 @@ pub mod v1 { impl> OnRuntimeUpgrade for Migration { #[cfg(feature = "try-runtime")] fn pre_upgrade() -> Result, sp_runtime::TryRuntimeError> { - ensure!(StorageVersion::get::>() == 0, "can only upgrade from version 0"); + ensure!( + StorageVersion::get::>() == 0, + "can only upgrade from version 0" + ); let props_count = v0::PublicProps::::get().len(); log::info!(target: TARGET, "{} public proposals will be migrated.", props_count,); @@ -82,27 +88,23 @@ pub mod v1 { "skipping on_runtime_upgrade: executed on wrong storage version.\ Expected version 0" ); - return weight + return weight; } - ReferendumInfoOf::::translate( - |index, old: ReferendumInfo, T::Hash, BalanceOf>| { - weight.saturating_accrue(T::DbWeight::get().reads_writes(1, 1)); - log::info!(target: TARGET, "migrating referendum #{:?}", &index); - Some(match old { - ReferendumInfo::Ongoing(status) => - ReferendumInfo::Ongoing(ReferendumStatus { - end: status.end, - proposal: Bounded::from_legacy_hash(status.proposal), - threshold: status.threshold, - delay: status.delay, - tally: status.tally, - }), - ReferendumInfo::Finished { approved, end } => - ReferendumInfo::Finished { approved, end }, - }) - }, - ); + ReferendumInfoOf::::translate(|index, old: ReferendumInfo, T::Hash, BalanceOf>| { + weight.saturating_accrue(T::DbWeight::get().reads_writes(1, 1)); + log::info!(target: TARGET, "migrating referendum #{:?}", &index); + Some(match old { + ReferendumInfo::Ongoing(status) => ReferendumInfo::Ongoing(ReferendumStatus { + end: status.end, + proposal: Bounded::from_legacy_hash(status.proposal), + threshold: status.threshold, + delay: status.delay, + tally: status.tally, + }), + ReferendumInfo::Finished { approved, end } => ReferendumInfo::Finished { approved, end }, + }) + }); let props = v0::PublicProps::::take() .into_iter() @@ -177,14 +179,21 @@ mod test { proposal: hash, threshold: VoteThreshold::SuperMajorityApprove, delay: 1u32.into(), - tally: Tally { ayes: 1u32.into(), nays: 1u32.into(), turnout: 1u32.into() }, + tally: Tally { + ayes: 1u32.into(), + nays: 1u32.into(), + turnout: 1u32.into(), + }, }; v0::ReferendumInfoOf::::insert(1u32, ReferendumInfo::Ongoing(status)); // Case 2: Finished referendum v0::ReferendumInfoOf::::insert( 2u32, - ReferendumInfo::Finished { approved: true, end: 123u32.into() }, + ReferendumInfo::Finished { + approved: true, + end: 123u32.into(), + }, ); // Case 3: Public proposals @@ -208,13 +217,20 @@ mod test { proposal: Bounded::from_legacy_hash(hash), threshold: VoteThreshold::SuperMajorityApprove, delay: 1u32.into(), - tally: Tally { ayes: 1u32.into(), nays: 1u32.into(), turnout: 1u32.into() }, + tally: Tally { + ayes: 1u32.into(), + nays: 1u32.into(), + turnout: 1u32.into() + }, })) ); // Case 2: Finished referendum assert_eq!( ReferendumInfoOf::::get(2u32), - Some(ReferendumInfo::Finished { approved: true, end: 123u32.into() }) + Some(ReferendumInfo::Finished { + approved: true, + end: 123u32.into() + }) ); // Case 3: Public proposals let props: BoundedVec<_, ::MaxProposals> = bounded_vec![ diff --git a/pallets/democracy/src/tests.rs b/pallets/democracy/src/tests.rs index 15c82efac..7cf2564b2 100644 --- a/pallets/democracy/src/tests.rs +++ b/pallets/democracy/src/tests.rs @@ -21,10 +21,7 @@ use super::*; use crate as pallet_democracy; use frame_support::{ assert_noop, assert_ok, derive_impl, ord_parameter_types, parameter_types, - traits::{ - ConstU32, ConstU64, Contains, EqualPrivilegeOnly, OnInitialize, SortedMembers, - StorePreimage, - }, + traits::{ConstU32, ConstU64, Contains, EqualPrivilegeOnly, OnInitialize, SortedMembers, StorePreimage}, weights::Weight, }; use frame_system::{EnsureRoot, EnsureSigned, EnsureSignedBy}; @@ -45,10 +42,22 @@ mod public_proposals; mod scheduling; mod voting; -const AYE: Vote = Vote { aye: true, conviction: Conviction::None }; -const NAY: Vote = Vote { aye: false, conviction: Conviction::None }; -const BIG_AYE: Vote = Vote { aye: true, conviction: Conviction::Locked1x }; -const BIG_NAY: Vote = Vote { aye: false, conviction: Conviction::Locked1x }; +const AYE: Vote = Vote { + aye: true, + conviction: Conviction::None, +}; +const NAY: Vote = Vote { + aye: false, + conviction: Conviction::None, +}; +const BIG_AYE: Vote = Vote { + aye: true, + conviction: Conviction::Locked1x, +}; +const BIG_NAY: Vote = Vote { + aye: false, + conviction: Conviction::Locked1x, +}; type Block = frame_system::mocking::MockBlock; @@ -67,7 +76,10 @@ frame_support::construct_runtime!( pub struct BaseFilter; impl Contains for BaseFilter { fn contains(call: &RuntimeCall) -> bool { - !matches!(call, &RuntimeCall::Balances(pallet_balances::Call::force_set_balance { .. })) + !matches!( + call, + &RuntimeCall::Balances(pallet_balances::Call::force_set_balance { .. }) + ) } } @@ -223,7 +235,10 @@ fn params_should_work() { } fn set_balance_proposal(value: u64) -> BoundedCallOf { - let inner = pallet_balances::Call::force_set_balance { who: 42, new_free: value }; + let inner = pallet_balances::Call::force_set_balance { + who: 42, + new_free: value, + }; let outer = RuntimeCall::Balances(inner); Preimage::bound(outer).unwrap() } @@ -260,19 +275,31 @@ fn begin_referendum() -> ReferendumIndex { } fn aye(who: u64) -> AccountVote { - AccountVote::Standard { vote: AYE, balance: Balances::free_balance(who) } + AccountVote::Standard { + vote: AYE, + balance: Balances::free_balance(who), + } } fn nay(who: u64) -> AccountVote { - AccountVote::Standard { vote: NAY, balance: Balances::free_balance(who) } + AccountVote::Standard { + vote: NAY, + balance: Balances::free_balance(who), + } } fn big_aye(who: u64) -> AccountVote { - AccountVote::Standard { vote: BIG_AYE, balance: Balances::free_balance(who) } + AccountVote::Standard { + vote: BIG_AYE, + balance: Balances::free_balance(who), + } } fn big_nay(who: u64) -> AccountVote { - AccountVote::Standard { vote: BIG_NAY, balance: Balances::free_balance(who) } + AccountVote::Standard { + vote: BIG_NAY, + balance: Balances::free_balance(who), + } } fn tally(r: ReferendumIndex) -> Tally { diff --git a/pallets/democracy/src/tests/cancellation.rs b/pallets/democracy/src/tests/cancellation.rs index 298381160..3a789c119 100644 --- a/pallets/democracy/src/tests/cancellation.rs +++ b/pallets/democracy/src/tests/cancellation.rs @@ -22,12 +22,7 @@ use super::*; #[test] fn cancel_referendum_should_work() { new_test_ext().execute_with(|| { - let r = Democracy::inject_referendum( - 2, - set_balance_proposal(2), - VoteThreshold::SuperMajorityApprove, - 0, - ); + let r = Democracy::inject_referendum(2, set_balance_proposal(2), VoteThreshold::SuperMajorityApprove, 0); assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, aye(1))); assert_ok!(Democracy::cancel_referendum(RuntimeOrigin::root(), r)); assert_eq!(Democracy::lowest_unbaked(), 0); @@ -46,12 +41,7 @@ fn cancel_referendum_should_work() { fn emergency_cancel_should_work() { new_test_ext().execute_with(|| { System::set_block_number(0); - let r = Democracy::inject_referendum( - 2, - set_balance_proposal(2), - VoteThreshold::SuperMajorityApprove, - 2, - ); + let r = Democracy::inject_referendum(2, set_balance_proposal(2), VoteThreshold::SuperMajorityApprove, 2); assert!(Democracy::referendum_status(r).is_ok()); assert_noop!(Democracy::emergency_cancel(RuntimeOrigin::signed(3), r), BadOrigin); @@ -60,12 +50,7 @@ fn emergency_cancel_should_work() { // some time later... - let r = Democracy::inject_referendum( - 2, - set_balance_proposal(2), - VoteThreshold::SuperMajorityApprove, - 2, - ); + let r = Democracy::inject_referendum(2, set_balance_proposal(2), VoteThreshold::SuperMajorityApprove, 2); assert!(Democracy::referendum_status(r).is_ok()); assert_noop!( Democracy::emergency_cancel(RuntimeOrigin::signed(4), r), diff --git a/pallets/democracy/src/tests/decoders.rs b/pallets/democracy/src/tests/decoders.rs index 0eea87373..198e052a3 100644 --- a/pallets/democracy/src/tests/decoders.rs +++ b/pallets/democracy/src/tests/decoders.rs @@ -45,8 +45,14 @@ fn test_decode_compact_u32_at() { fn len_of_deposit_of() { new_test_ext().execute_with(|| { for l in [0, 1, 200, 1000] { - let value: (BoundedVec, u64) = - ((0..l).map(|_| Default::default()).collect::>().try_into().unwrap(), 3u64); + let value: (BoundedVec, u64) = ( + (0..l) + .map(|_| Default::default()) + .collect::>() + .try_into() + .unwrap(), + 3u64, + ); DepositOf::::insert(2, value); assert_eq!(Democracy::len_of_deposit_of(2), Some(l)); } diff --git a/pallets/democracy/src/tests/delegation.rs b/pallets/democracy/src/tests/delegation.rs index 710faf919..c0aa0a921 100644 --- a/pallets/democracy/src/tests/delegation.rs +++ b/pallets/democracy/src/tests/delegation.rs @@ -32,31 +32,85 @@ fn single_proposal_should_work_with_delegation() { assert_ok!(Democracy::delegate(RuntimeOrigin::signed(2), 1, Conviction::None, 20)); let r = 0; assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, aye(1))); - assert_eq!(tally(r), Tally { ayes: 3, nays: 0, turnout: 30 }); + assert_eq!( + tally(r), + Tally { + ayes: 3, + nays: 0, + turnout: 30 + } + ); // Delegate a second vote. assert_ok!(Democracy::delegate(RuntimeOrigin::signed(3), 1, Conviction::None, 30)); - assert_eq!(tally(r), Tally { ayes: 6, nays: 0, turnout: 60 }); + assert_eq!( + tally(r), + Tally { + ayes: 6, + nays: 0, + turnout: 60 + } + ); // Reduce first vote. assert_ok!(Democracy::delegate(RuntimeOrigin::signed(2), 1, Conviction::None, 10)); - assert_eq!(tally(r), Tally { ayes: 5, nays: 0, turnout: 50 }); + assert_eq!( + tally(r), + Tally { + ayes: 5, + nays: 0, + turnout: 50 + } + ); // Second vote delegates to first; we don't do tiered delegation, so it doesn't get used. assert_ok!(Democracy::delegate(RuntimeOrigin::signed(3), 2, Conviction::None, 30)); - assert_eq!(tally(r), Tally { ayes: 2, nays: 0, turnout: 20 }); + assert_eq!( + tally(r), + Tally { + ayes: 2, + nays: 0, + turnout: 20 + } + ); // Main voter cancels their vote assert_ok!(Democracy::remove_vote(RuntimeOrigin::signed(1), r)); - assert_eq!(tally(r), Tally { ayes: 0, nays: 0, turnout: 0 }); + assert_eq!( + tally(r), + Tally { + ayes: 0, + nays: 0, + turnout: 0 + } + ); // First delegator delegates half funds with conviction; nothing changes yet. - assert_ok!(Democracy::delegate(RuntimeOrigin::signed(2), 1, Conviction::Locked1x, 10)); - assert_eq!(tally(r), Tally { ayes: 0, nays: 0, turnout: 0 }); + assert_ok!(Democracy::delegate( + RuntimeOrigin::signed(2), + 1, + Conviction::Locked1x, + 10 + )); + assert_eq!( + tally(r), + Tally { + ayes: 0, + nays: 0, + turnout: 0 + } + ); // Main voter reinstates their vote assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, aye(1))); - assert_eq!(tally(r), Tally { ayes: 11, nays: 0, turnout: 20 }); + assert_eq!( + tally(r), + Tally { + ayes: 11, + nays: 0, + turnout: 20 + } + ); }); } @@ -90,7 +144,14 @@ fn cyclic_delegation_should_unwind() { assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, nay(1))); // Delegated vote is counted. - assert_eq!(tally(r), Tally { ayes: 3, nays: 3, turnout: 60 }); + assert_eq!( + tally(r), + Tally { + ayes: 3, + nays: 3, + turnout: 60 + } + ); }); } @@ -107,13 +168,27 @@ fn single_proposal_should_work_with_vote_and_delegation() { let r = 0; assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, aye(1))); assert_ok!(Democracy::vote(RuntimeOrigin::signed(2), r, nay(2))); - assert_eq!(tally(r), Tally { ayes: 1, nays: 2, turnout: 30 }); + assert_eq!( + tally(r), + Tally { + ayes: 1, + nays: 2, + turnout: 30 + } + ); // Delegate vote. assert_ok!(Democracy::remove_vote(RuntimeOrigin::signed(2), r)); assert_ok!(Democracy::delegate(RuntimeOrigin::signed(2), 1, Conviction::None, 20)); // Delegated vote replaces the explicit vote. - assert_eq!(tally(r), Tally { ayes: 3, nays: 0, turnout: 30 }); + assert_eq!( + tally(r), + Tally { + ayes: 3, + nays: 0, + turnout: 30 + } + ); }); } @@ -133,7 +208,14 @@ fn single_proposal_should_work_with_undelegation() { assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, aye(1))); // Delegated vote is not counted. - assert_eq!(tally(r), Tally { ayes: 1, nays: 0, turnout: 10 }); + assert_eq!( + tally(r), + Tally { + ayes: 1, + nays: 0, + turnout: 10 + } + ); }); } @@ -145,11 +227,25 @@ fn single_proposal_should_work_with_delegation_and_vote() { // Delegate, undelegate and vote. assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, aye(1))); assert_ok!(Democracy::delegate(RuntimeOrigin::signed(2), 1, Conviction::None, 20)); - assert_eq!(tally(r), Tally { ayes: 3, nays: 0, turnout: 30 }); + assert_eq!( + tally(r), + Tally { + ayes: 3, + nays: 0, + turnout: 30 + } + ); assert_ok!(Democracy::undelegate(RuntimeOrigin::signed(2))); assert_ok!(Democracy::vote(RuntimeOrigin::signed(2), r, aye(2))); // Delegated vote is not counted. - assert_eq!(tally(r), Tally { ayes: 3, nays: 0, turnout: 30 }); + assert_eq!( + tally(r), + Tally { + ayes: 3, + nays: 0, + turnout: 30 + } + ); }); } @@ -159,10 +255,22 @@ fn conviction_should_be_honored_in_delegation() { new_test_ext().execute_with(|| { let r = begin_referendum(); // Delegate and vote. - assert_ok!(Democracy::delegate(RuntimeOrigin::signed(2), 1, Conviction::Locked6x, 20)); + assert_ok!(Democracy::delegate( + RuntimeOrigin::signed(2), + 1, + Conviction::Locked6x, + 20 + )); assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, aye(1))); // Delegated vote is huge. - assert_eq!(tally(r), Tally { ayes: 121, nays: 0, turnout: 30 }); + assert_eq!( + tally(r), + Tally { + ayes: 121, + nays: 0, + turnout: 30 + } + ); }); } @@ -171,14 +279,26 @@ fn split_vote_delegation_should_be_ignored() { // If transactor voted, delegated vote is overwritten. new_test_ext().execute_with(|| { let r = begin_referendum(); - assert_ok!(Democracy::delegate(RuntimeOrigin::signed(2), 1, Conviction::Locked6x, 20)); + assert_ok!(Democracy::delegate( + RuntimeOrigin::signed(2), + 1, + Conviction::Locked6x, + 20 + )); assert_ok!(Democracy::vote( RuntimeOrigin::signed(1), r, AccountVote::Split { aye: 10, nay: 0 } )); // Delegated vote is huge. - assert_eq!(tally(r), Tally { ayes: 1, nays: 0, turnout: 10 }); + assert_eq!( + tally(r), + Tally { + ayes: 1, + nays: 0, + turnout: 10 + } + ); }); } @@ -188,10 +308,22 @@ fn redelegation_keeps_lock() { new_test_ext().execute_with(|| { let r = begin_referendum(); // Delegate and vote. - assert_ok!(Democracy::delegate(RuntimeOrigin::signed(2), 1, Conviction::Locked6x, 20)); + assert_ok!(Democracy::delegate( + RuntimeOrigin::signed(2), + 1, + Conviction::Locked6x, + 20 + )); assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, aye(1))); // Delegated vote is huge. - assert_eq!(tally(r), Tally { ayes: 121, nays: 0, turnout: 30 }); + assert_eq!( + tally(r), + Tally { + ayes: 121, + nays: 0, + turnout: 30 + } + ); let mut prior_lock = vote::PriorLock::default(); diff --git a/pallets/democracy/src/tests/external_proposing.rs b/pallets/democracy/src/tests/external_proposing.rs index 08b497ab4..465b82f66 100644 --- a/pallets/democracy/src/tests/external_proposing.rs +++ b/pallets/democracy/src/tests/external_proposing.rs @@ -23,7 +23,10 @@ use super::*; fn veto_external_works() { new_test_ext().execute_with(|| { System::set_block_number(0); - assert_ok!(Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(2),)); + assert_ok!(Democracy::external_propose( + RuntimeOrigin::signed(2), + set_balance_proposal(2), + )); assert!(>::exists()); let h = set_balance_proposal(2).hash(); @@ -45,7 +48,10 @@ fn veto_external_works() { fast_forward_to(2); // works; as we're out of the cooloff period. - assert_ok!(Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(2),)); + assert_ok!(Democracy::external_propose( + RuntimeOrigin::signed(2), + set_balance_proposal(2), + )); assert!(>::exists()); // 3 can't veto the same thing twice. @@ -66,7 +72,10 @@ fn veto_external_works() { Error::::ProposalBlacklisted ); // different proposal works fine. - assert_ok!(Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(3),)); + assert_ok!(Democracy::external_propose( + RuntimeOrigin::signed(2), + set_balance_proposal(3), + )); }); } @@ -75,7 +84,10 @@ fn external_blacklisting_should_work() { new_test_ext().execute_with(|| { System::set_block_number(0); - assert_ok!(Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(2),)); + assert_ok!(Democracy::external_propose( + RuntimeOrigin::signed(2), + set_balance_proposal(2), + )); let hash = set_balance_proposal(2).hash(); assert_ok!(Democracy::blacklist(RuntimeOrigin::root(), hash, None)); @@ -98,7 +110,10 @@ fn external_referendum_works() { Democracy::external_propose(RuntimeOrigin::signed(1), set_balance_proposal(2),), BadOrigin, ); - assert_ok!(Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(2),)); + assert_ok!(Democracy::external_propose( + RuntimeOrigin::signed(2), + set_balance_proposal(2), + )); assert_noop!( Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(1),), Error::::DuplicateProposal @@ -111,7 +126,11 @@ fn external_referendum_works() { proposal: set_balance_proposal(2), threshold: VoteThreshold::SuperMajorityApprove, delay: 2, - tally: Tally { ayes: 0, nays: 0, turnout: 0 }, + tally: Tally { + ayes: 0, + nays: 0, + turnout: 0 + }, }) ); }); @@ -137,7 +156,11 @@ fn external_majority_referendum_works() { proposal: set_balance_proposal(2), threshold: VoteThreshold::SimpleMajority, delay: 2, - tally: Tally { ayes: 0, nays: 0, turnout: 0 }, + tally: Tally { + ayes: 0, + nays: 0, + turnout: 0 + }, }) ); }); @@ -163,7 +186,11 @@ fn external_default_referendum_works() { proposal: set_balance_proposal(2), threshold: VoteThreshold::SuperMajorityAgainst, delay: 2, - tally: Tally { ayes: 0, nays: 0, turnout: 0 }, + tally: Tally { + ayes: 0, + nays: 0, + turnout: 0 + }, }) ); }); @@ -173,7 +200,10 @@ fn external_default_referendum_works() { fn external_and_public_interleaving_works() { new_test_ext().execute_with(|| { System::set_block_number(0); - assert_ok!(Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(1),)); + assert_ok!(Democracy::external_propose( + RuntimeOrigin::signed(2), + set_balance_proposal(1), + )); assert_ok!(propose_set_balance(6, 2, 2)); fast_forward_to(2); @@ -186,11 +216,18 @@ fn external_and_public_interleaving_works() { proposal: set_balance_proposal(1), threshold: VoteThreshold::SuperMajorityApprove, delay: 2, - tally: Tally { ayes: 0, nays: 0, turnout: 0 }, + tally: Tally { + ayes: 0, + nays: 0, + turnout: 0 + }, }) ); // replenish external - assert_ok!(Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(3),)); + assert_ok!(Democracy::external_propose( + RuntimeOrigin::signed(2), + set_balance_proposal(3), + )); fast_forward_to(4); @@ -202,7 +239,11 @@ fn external_and_public_interleaving_works() { proposal: set_balance_proposal(2), threshold: VoteThreshold::SuperMajorityApprove, delay: 2, - tally: Tally { ayes: 0, nays: 0, turnout: 0 }, + tally: Tally { + ayes: 0, + nays: 0, + turnout: 0 + }, }) ); // don't replenish public @@ -217,11 +258,18 @@ fn external_and_public_interleaving_works() { proposal: set_balance_proposal(3), threshold: VoteThreshold::SuperMajorityApprove, delay: 2, - tally: Tally { ayes: 0, nays: 0, turnout: 0 }, + tally: Tally { + ayes: 0, + nays: 0, + turnout: 0 + }, }) ); // replenish external - assert_ok!(Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(5),)); + assert_ok!(Democracy::external_propose( + RuntimeOrigin::signed(2), + set_balance_proposal(5), + )); fast_forward_to(8); @@ -233,11 +281,18 @@ fn external_and_public_interleaving_works() { proposal: set_balance_proposal(5), threshold: VoteThreshold::SuperMajorityApprove, delay: 2, - tally: Tally { ayes: 0, nays: 0, turnout: 0 }, + tally: Tally { + ayes: 0, + nays: 0, + turnout: 0 + }, }) ); // replenish both - assert_ok!(Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(7),)); + assert_ok!(Democracy::external_propose( + RuntimeOrigin::signed(2), + set_balance_proposal(7), + )); assert_ok!(propose_set_balance(6, 4, 2)); fast_forward_to(10); @@ -250,7 +305,11 @@ fn external_and_public_interleaving_works() { proposal: set_balance_proposal(4), threshold: VoteThreshold::SuperMajorityApprove, delay: 2, - tally: Tally { ayes: 0, nays: 0, turnout: 0 }, + tally: Tally { + ayes: 0, + nays: 0, + turnout: 0 + }, }) ); // replenish public again @@ -269,7 +328,11 @@ fn external_and_public_interleaving_works() { proposal: set_balance_proposal(6), threshold: VoteThreshold::SuperMajorityApprove, delay: 2, - tally: Tally { ayes: 0, nays: 0, turnout: 0 }, + tally: Tally { + ayes: 0, + nays: 0, + turnout: 0 + }, }) ); }); diff --git a/pallets/democracy/src/tests/fast_tracking.rs b/pallets/democracy/src/tests/fast_tracking.rs index 85e7792a4..db478c2b7 100644 --- a/pallets/democracy/src/tests/fast_tracking.rs +++ b/pallets/democracy/src/tests/fast_tracking.rs @@ -49,7 +49,11 @@ fn fast_track_referendum_works() { proposal: set_balance_proposal(2), threshold: VoteThreshold::SimpleMajority, delay: 0, - tally: Tally { ayes: 0, nays: 0, turnout: 0 }, + tally: Tally { + ayes: 0, + nays: 0, + turnout: 0 + }, }) ); // metadata reset from the external proposal to the referendum. @@ -90,7 +94,11 @@ fn instant_referendum_works() { proposal: set_balance_proposal(2), threshold: VoteThreshold::SimpleMajority, delay: 0, - tally: Tally { ayes: 0, nays: 0, turnout: 0 }, + tally: Tally { + ayes: 0, + nays: 0, + turnout: 0 + }, }) ); }); @@ -133,7 +141,11 @@ fn instant_next_block_referendum_backed() { proposal, threshold: VoteThreshold::SimpleMajority, delay, - tally: Tally { ayes: 0, nays: 0, turnout: 0 }, + tally: Tally { + ayes: 0, + nays: 0, + turnout: 0 + }, }) ); @@ -145,7 +157,10 @@ fn instant_next_block_referendum_backed() { // the only referendum in the storage is finished and not approved assert_eq!( ReferendumInfoOf::::get(0).unwrap(), - ReferendumInfo::Finished { approved: false, end: start_block_number + voting_period } + ReferendumInfo::Finished { + approved: false, + end: start_block_number + voting_period + } ); }); } @@ -155,7 +170,10 @@ fn fast_track_referendum_fails_when_no_simple_majority() { new_test_ext().execute_with(|| { System::set_block_number(0); let h = set_balance_proposal(2).hash(); - assert_ok!(Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(2))); + assert_ok!(Democracy::external_propose( + RuntimeOrigin::signed(2), + set_balance_proposal(2) + )); assert_noop!( Democracy::fast_track(RuntimeOrigin::signed(5), h, 3, 2), Error::::NotSimpleMajority diff --git a/pallets/democracy/src/tests/lock_voting.rs b/pallets/democracy/src/tests/lock_voting.rs index 31f2e3f3d..45bb04a78 100644 --- a/pallets/democracy/src/tests/lock_voting.rs +++ b/pallets/democracy/src/tests/lock_voting.rs @@ -21,38 +21,50 @@ use super::*; fn aye(x: u8, balance: u64) -> AccountVote { AccountVote::Standard { - vote: Vote { aye: true, conviction: Conviction::try_from(x).unwrap() }, + vote: Vote { + aye: true, + conviction: Conviction::try_from(x).unwrap(), + }, balance, } } fn nay(x: u8, balance: u64) -> AccountVote { AccountVote::Standard { - vote: Vote { aye: false, conviction: Conviction::try_from(x).unwrap() }, + vote: Vote { + aye: false, + conviction: Conviction::try_from(x).unwrap(), + }, balance, } } fn the_lock(amount: u64) -> BalanceLock { - BalanceLock { id: DEMOCRACY_ID, amount, reasons: pallet_balances::Reasons::All } + BalanceLock { + id: DEMOCRACY_ID, + amount, + reasons: pallet_balances::Reasons::All, + } } #[test] fn lock_voting_should_work() { new_test_ext().execute_with(|| { System::set_block_number(0); - let r = Democracy::inject_referendum( - 2, - set_balance_proposal(2), - VoteThreshold::SuperMajorityApprove, - 0, - ); + let r = Democracy::inject_referendum(2, set_balance_proposal(2), VoteThreshold::SuperMajorityApprove, 0); assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, nay(5, 10))); assert_ok!(Democracy::vote(RuntimeOrigin::signed(2), r, aye(4, 20))); assert_ok!(Democracy::vote(RuntimeOrigin::signed(3), r, aye(3, 30))); assert_ok!(Democracy::vote(RuntimeOrigin::signed(4), r, aye(2, 40))); assert_ok!(Democracy::vote(RuntimeOrigin::signed(5), r, nay(1, 50))); - assert_eq!(tally(r), Tally { ayes: 250, nays: 100, turnout: 150 }); + assert_eq!( + tally(r), + Tally { + ayes: 250, + nays: 100, + turnout: 150 + } + ); // All balances are currently locked. for i in 1..=5 { @@ -124,12 +136,7 @@ fn lock_voting_should_work() { fn no_locks_without_conviction_should_work() { new_test_ext().execute_with(|| { System::set_block_number(0); - let r = Democracy::inject_referendum( - 2, - set_balance_proposal(2), - VoteThreshold::SuperMajorityApprove, - 0, - ); + let r = Democracy::inject_referendum(2, set_balance_proposal(2), VoteThreshold::SuperMajorityApprove, 0); assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, aye(0, 10))); fast_forward_to(3); @@ -144,19 +151,26 @@ fn no_locks_without_conviction_should_work() { #[test] fn lock_voting_should_work_with_delegation() { new_test_ext().execute_with(|| { - let r = Democracy::inject_referendum( - 2, - set_balance_proposal(2), - VoteThreshold::SuperMajorityApprove, - 0, - ); + let r = Democracy::inject_referendum(2, set_balance_proposal(2), VoteThreshold::SuperMajorityApprove, 0); assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, nay(5, 10))); assert_ok!(Democracy::vote(RuntimeOrigin::signed(2), r, aye(4, 20))); assert_ok!(Democracy::vote(RuntimeOrigin::signed(3), r, aye(3, 30))); - assert_ok!(Democracy::delegate(RuntimeOrigin::signed(4), 2, Conviction::Locked2x, 40)); + assert_ok!(Democracy::delegate( + RuntimeOrigin::signed(4), + 2, + Conviction::Locked2x, + 40 + )); assert_ok!(Democracy::vote(RuntimeOrigin::signed(5), r, nay(1, 50))); - assert_eq!(tally(r), Tally { ayes: 250, nays: 100, turnout: 150 }); + assert_eq!( + tally(r), + Tally { + ayes: 250, + nays: 100, + turnout: 150 + } + ); next_block(); next_block(); @@ -167,16 +181,13 @@ fn lock_voting_should_work_with_delegation() { fn setup_three_referenda() -> (u32, u32, u32) { System::set_block_number(0); - let r1 = - Democracy::inject_referendum(2, set_balance_proposal(2), VoteThreshold::SimpleMajority, 0); + let r1 = Democracy::inject_referendum(2, set_balance_proposal(2), VoteThreshold::SimpleMajority, 0); assert_ok!(Democracy::vote(RuntimeOrigin::signed(5), r1, aye(4, 10))); - let r2 = - Democracy::inject_referendum(2, set_balance_proposal(2), VoteThreshold::SimpleMajority, 0); + let r2 = Democracy::inject_referendum(2, set_balance_proposal(2), VoteThreshold::SimpleMajority, 0); assert_ok!(Democracy::vote(RuntimeOrigin::signed(5), r2, aye(3, 20))); - let r3 = - Democracy::inject_referendum(2, set_balance_proposal(2), VoteThreshold::SimpleMajority, 0); + let r3 = Democracy::inject_referendum(2, set_balance_proposal(2), VoteThreshold::SimpleMajority, 0); assert_ok!(Democracy::vote(RuntimeOrigin::signed(5), r3, aye(2, 50))); fast_forward_to(2); @@ -292,18 +303,18 @@ fn multi_consolidation_of_lockvotes_should_be_conservative() { fn locks_should_persist_from_voting_to_delegation() { new_test_ext().execute_with(|| { System::set_block_number(0); - let r = Democracy::inject_referendum( - 2, - set_balance_proposal(2), - VoteThreshold::SimpleMajority, - 0, - ); + let r = Democracy::inject_referendum(2, set_balance_proposal(2), VoteThreshold::SimpleMajority, 0); assert_ok!(Democracy::vote(RuntimeOrigin::signed(5), r, aye(4, 10))); fast_forward_to(2); assert_ok!(Democracy::remove_vote(RuntimeOrigin::signed(5), r)); // locked 10 until #26. - assert_ok!(Democracy::delegate(RuntimeOrigin::signed(5), 1, Conviction::Locked3x, 20)); + assert_ok!(Democracy::delegate( + RuntimeOrigin::signed(5), + 1, + Conviction::Locked3x, + 20 + )); // locked 20. assert!(Balances::locks(5)[0].amount == 20); @@ -332,7 +343,12 @@ fn locks_should_persist_from_voting_to_delegation() { fn locks_should_persist_from_delegation_to_voting() { new_test_ext().execute_with(|| { System::set_block_number(0); - assert_ok!(Democracy::delegate(RuntimeOrigin::signed(5), 1, Conviction::Locked5x, 5)); + assert_ok!(Democracy::delegate( + RuntimeOrigin::signed(5), + 1, + Conviction::Locked5x, + 5 + )); assert_ok!(Democracy::undelegate(RuntimeOrigin::signed(5))); // locked 5 until 16 * 3 = #48 diff --git a/pallets/democracy/src/tests/metadata.rs b/pallets/democracy/src/tests/metadata.rs index 1b6d66a8b..e1dd6355e 100644 --- a/pallets/democracy/src/tests/metadata.rs +++ b/pallets/democracy/src/tests/metadata.rs @@ -32,7 +32,10 @@ fn set_external_metadata_works() { Error::::NoProposal, ); // create an external proposal. - assert_ok!(Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(2))); + assert_ok!(Democracy::external_propose( + RuntimeOrigin::signed(2), + set_balance_proposal(2) + )); assert!(>::exists()); // fails to set metadata with non external origin. assert_noop!( @@ -46,11 +49,12 @@ fn set_external_metadata_works() { ); // set metadata successful. let hash = note_preimage(1); - assert_ok!(Democracy::set_metadata(RuntimeOrigin::signed(2), owner.clone(), Some(hash))); - System::assert_last_event(RuntimeEvent::Democracy(crate::Event::MetadataSet { - owner, - hash, - })); + assert_ok!(Democracy::set_metadata( + RuntimeOrigin::signed(2), + owner.clone(), + Some(hash) + )); + System::assert_last_event(RuntimeEvent::Democracy(crate::Event::MetadataSet { owner, hash })); }); } @@ -60,11 +64,18 @@ fn clear_metadata_works() { // metadata owner is an external proposal. let owner = MetadataOwner::External; // create an external proposal. - assert_ok!(Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(2))); + assert_ok!(Democracy::external_propose( + RuntimeOrigin::signed(2), + set_balance_proposal(2) + )); assert!(>::exists()); // set metadata. let hash = note_preimage(1); - assert_ok!(Democracy::set_metadata(RuntimeOrigin::signed(2), owner.clone(), Some(hash))); + assert_ok!(Democracy::set_metadata( + RuntimeOrigin::signed(2), + owner.clone(), + Some(hash) + )); // fails to clear metadata with a wrong origin. assert_noop!( Democracy::set_metadata(RuntimeOrigin::signed(1), owner.clone(), None), @@ -72,10 +83,7 @@ fn clear_metadata_works() { ); // clear metadata successful. assert_ok!(Democracy::set_metadata(RuntimeOrigin::signed(2), owner.clone(), None)); - System::assert_last_event(RuntimeEvent::Democracy(crate::Event::MetadataCleared { - owner, - hash, - })); + System::assert_last_event(RuntimeEvent::Democracy(crate::Event::MetadataCleared { owner, hash })); }); } @@ -101,11 +109,12 @@ fn set_proposal_metadata_works() { Error::::NoPermission, ); // set metadata successful. - assert_ok!(Democracy::set_metadata(RuntimeOrigin::signed(1), owner.clone(), Some(hash))); - System::assert_last_event(RuntimeEvent::Democracy(crate::Event::MetadataSet { - owner, - hash, - })); + assert_ok!(Democracy::set_metadata( + RuntimeOrigin::signed(1), + owner.clone(), + Some(hash) + )); + System::assert_last_event(RuntimeEvent::Democracy(crate::Event::MetadataSet { owner, hash })); }); } @@ -118,7 +127,11 @@ fn clear_proposal_metadata_works() { let owner = MetadataOwner::Proposal(Democracy::public_prop_count() - 1); // set metadata. let hash = note_preimage(1); - assert_ok!(Democracy::set_metadata(RuntimeOrigin::signed(1), owner.clone(), Some(hash))); + assert_ok!(Democracy::set_metadata( + RuntimeOrigin::signed(1), + owner.clone(), + Some(hash) + )); // fails to clear metadata with a wrong origin. assert_noop!( Democracy::set_metadata(RuntimeOrigin::signed(3), owner.clone(), None), @@ -126,22 +139,14 @@ fn clear_proposal_metadata_works() { ); // clear metadata successful. assert_ok!(Democracy::set_metadata(RuntimeOrigin::signed(1), owner.clone(), None)); - System::assert_last_event(RuntimeEvent::Democracy(crate::Event::MetadataCleared { - owner, - hash, - })); + System::assert_last_event(RuntimeEvent::Democracy(crate::Event::MetadataCleared { owner, hash })); }); } #[test] fn set_referendum_metadata_by_root() { new_test_ext().execute_with(|| { - let index = Democracy::inject_referendum( - 2, - set_balance_proposal(2), - VoteThreshold::SuperMajorityApprove, - 0, - ); + let index = Democracy::inject_referendum(2, set_balance_proposal(2), VoteThreshold::SuperMajorityApprove, 0); // metadata owner is a referendum. let owner = MetadataOwner::Referendum(index); // note preimage. @@ -157,17 +162,18 @@ fn set_referendum_metadata_by_root() { Error::::NoPermission, ); // succeed to set metadata by a root for an ongoing referendum. - assert_ok!(Democracy::set_metadata(RuntimeOrigin::root(), owner.clone(), Some(hash))); + assert_ok!(Democracy::set_metadata( + RuntimeOrigin::root(), + owner.clone(), + Some(hash) + )); System::assert_last_event(RuntimeEvent::Democracy(crate::Event::MetadataSet { owner: owner.clone(), hash, })); // succeed to clear metadata by a root for an ongoing referendum. assert_ok!(Democracy::set_metadata(RuntimeOrigin::root(), owner.clone(), None)); - System::assert_last_event(RuntimeEvent::Democracy(crate::Event::MetadataCleared { - owner, - hash, - })); + System::assert_last_event(RuntimeEvent::Democracy(crate::Event::MetadataCleared { owner, hash })); }); } @@ -175,12 +181,7 @@ fn set_referendum_metadata_by_root() { fn clear_referendum_metadata_works() { new_test_ext().execute_with(|| { // create a referendum. - let index = Democracy::inject_referendum( - 2, - set_balance_proposal(2), - VoteThreshold::SuperMajorityApprove, - 0, - ); + let index = Democracy::inject_referendum(2, set_balance_proposal(2), VoteThreshold::SuperMajorityApprove, 0); // metadata owner is a referendum. let owner = MetadataOwner::Referendum(index); // set metadata. @@ -193,15 +194,9 @@ fn clear_referendum_metadata_works() { Error::::NoPermission, ); // referendum finished. - ReferendumInfoOf::::insert( - index, - ReferendumInfo::Finished { end: 1, approved: true }, - ); + ReferendumInfoOf::::insert(index, ReferendumInfo::Finished { end: 1, approved: true }); // clear metadata successful. assert_ok!(Democracy::set_metadata(RuntimeOrigin::signed(1), owner.clone(), None)); - System::assert_last_event(RuntimeEvent::Democracy(crate::Event::MetadataCleared { - owner, - hash, - })); + System::assert_last_event(RuntimeEvent::Democracy(crate::Event::MetadataCleared { owner, hash })); }); } diff --git a/pallets/democracy/src/tests/public_proposals.rs b/pallets/democracy/src/tests/public_proposals.rs index 69a2d3e25..bb74771ce 100644 --- a/pallets/democracy/src/tests/public_proposals.rs +++ b/pallets/democracy/src/tests/public_proposals.rs @@ -70,7 +70,10 @@ fn proposal_with_deposit_below_minimum_should_not_work() { #[test] fn poor_proposer_should_not_work() { new_test_ext().execute_with(|| { - assert_noop!(propose_set_balance(1, 2, 11), BalancesError::::InsufficientBalance); + assert_noop!( + propose_set_balance(1, 2, 11), + BalancesError::::InsufficientBalance + ); }); } @@ -103,7 +106,11 @@ fn cancel_proposal_should_work() { assert!(>::get(MetadataOwner::Proposal(0)).is_none()); System::assert_has_event(crate::Event::ProposalCanceled { prop_index: 0 }.into()); System::assert_last_event( - crate::Event::MetadataCleared { owner: MetadataOwner::Proposal(0), hash }.into(), + crate::Event::MetadataCleared { + owner: MetadataOwner::Proposal(0), + hash, + } + .into(), ); assert_eq!(Democracy::backing_for(0), None); assert_eq!(Democracy::backing_for(1), Some(4)); diff --git a/pallets/democracy/src/tests/scheduling.rs b/pallets/democracy/src/tests/scheduling.rs index 34cc265fb..4371cbb54 100644 --- a/pallets/democracy/src/tests/scheduling.rs +++ b/pallets/democracy/src/tests/scheduling.rs @@ -22,14 +22,16 @@ use super::*; #[test] fn simple_passing_should_work() { new_test_ext().execute_with(|| { - let r = Democracy::inject_referendum( - 2, - set_balance_proposal(2), - VoteThreshold::SuperMajorityApprove, - 0, - ); + let r = Democracy::inject_referendum(2, set_balance_proposal(2), VoteThreshold::SuperMajorityApprove, 0); assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, aye(1))); - assert_eq!(tally(r), Tally { ayes: 1, nays: 0, turnout: 10 }); + assert_eq!( + tally(r), + Tally { + ayes: 1, + nays: 0, + turnout: 10 + } + ); assert_eq!(Democracy::lowest_unbaked(), 0); next_block(); next_block(); @@ -41,14 +43,16 @@ fn simple_passing_should_work() { #[test] fn simple_failing_should_work() { new_test_ext().execute_with(|| { - let r = Democracy::inject_referendum( - 2, - set_balance_proposal(2), - VoteThreshold::SuperMajorityApprove, - 0, - ); + let r = Democracy::inject_referendum(2, set_balance_proposal(2), VoteThreshold::SuperMajorityApprove, 0); assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, nay(1))); - assert_eq!(tally(r), Tally { ayes: 0, nays: 1, turnout: 10 }); + assert_eq!( + tally(r), + Tally { + ayes: 0, + nays: 1, + turnout: 10 + } + ); next_block(); next_block(); @@ -60,26 +64,30 @@ fn simple_failing_should_work() { #[test] fn ooo_inject_referendums_should_work() { new_test_ext().execute_with(|| { - let r1 = Democracy::inject_referendum( - 3, - set_balance_proposal(3), - VoteThreshold::SuperMajorityApprove, - 0, - ); - let r2 = Democracy::inject_referendum( - 2, - set_balance_proposal(2), - VoteThreshold::SuperMajorityApprove, - 0, - ); + let r1 = Democracy::inject_referendum(3, set_balance_proposal(3), VoteThreshold::SuperMajorityApprove, 0); + let r2 = Democracy::inject_referendum(2, set_balance_proposal(2), VoteThreshold::SuperMajorityApprove, 0); assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r2, aye(1))); - assert_eq!(tally(r2), Tally { ayes: 1, nays: 0, turnout: 10 }); + assert_eq!( + tally(r2), + Tally { + ayes: 1, + nays: 0, + turnout: 10 + } + ); next_block(); assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r1, aye(1))); - assert_eq!(tally(r1), Tally { ayes: 1, nays: 0, turnout: 10 }); + assert_eq!( + tally(r1), + Tally { + ayes: 1, + nays: 0, + turnout: 10 + } + ); next_block(); assert_eq!(Balances::free_balance(42), 2); @@ -92,12 +100,7 @@ fn ooo_inject_referendums_should_work() { #[test] fn delayed_enactment_should_work() { new_test_ext().execute_with(|| { - let r = Democracy::inject_referendum( - 2, - set_balance_proposal(2), - VoteThreshold::SuperMajorityApprove, - 1, - ); + let r = Democracy::inject_referendum(2, set_balance_proposal(2), VoteThreshold::SuperMajorityApprove, 1); assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, aye(1))); assert_ok!(Democracy::vote(RuntimeOrigin::signed(2), r, aye(2))); assert_ok!(Democracy::vote(RuntimeOrigin::signed(3), r, aye(3))); @@ -105,7 +108,14 @@ fn delayed_enactment_should_work() { assert_ok!(Democracy::vote(RuntimeOrigin::signed(5), r, aye(5))); assert_ok!(Democracy::vote(RuntimeOrigin::signed(6), r, aye(6))); - assert_eq!(tally(r), Tally { ayes: 21, nays: 0, turnout: 210 }); + assert_eq!( + tally(r), + Tally { + ayes: 21, + nays: 0, + turnout: 210 + } + ); next_block(); assert_eq!(Balances::free_balance(42), 0); @@ -118,24 +128,9 @@ fn delayed_enactment_should_work() { #[test] fn lowest_unbaked_should_be_sensible() { new_test_ext().execute_with(|| { - let r1 = Democracy::inject_referendum( - 3, - set_balance_proposal(1), - VoteThreshold::SuperMajorityApprove, - 0, - ); - let r2 = Democracy::inject_referendum( - 2, - set_balance_proposal(2), - VoteThreshold::SuperMajorityApprove, - 0, - ); - let r3 = Democracy::inject_referendum( - 10, - set_balance_proposal(3), - VoteThreshold::SuperMajorityApprove, - 0, - ); + let r1 = Democracy::inject_referendum(3, set_balance_proposal(1), VoteThreshold::SuperMajorityApprove, 0); + let r2 = Democracy::inject_referendum(2, set_balance_proposal(2), VoteThreshold::SuperMajorityApprove, 0); + let r3 = Democracy::inject_referendum(10, set_balance_proposal(3), VoteThreshold::SuperMajorityApprove, 0); assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r1, aye(1))); assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r2, aye(1))); // r3 is canceled diff --git a/pallets/democracy/src/tests/voting.rs b/pallets/democracy/src/tests/voting.rs index f096b633e..d922ea7f6 100644 --- a/pallets/democracy/src/tests/voting.rs +++ b/pallets/democracy/src/tests/voting.rs @@ -42,7 +42,14 @@ fn split_voting_should_work() { let v = AccountVote::Split { aye: 30, nay: 20 }; assert_ok!(Democracy::vote(RuntimeOrigin::signed(5), r, v)); - assert_eq!(tally(r), Tally { ayes: 3, nays: 2, turnout: 50 }); + assert_eq!( + tally(r), + Tally { + ayes: 3, + nays: 2, + turnout: 50 + } + ); }); } @@ -53,7 +60,14 @@ fn split_vote_cancellation_should_work() { let v = AccountVote::Split { aye: 30, nay: 20 }; assert_ok!(Democracy::vote(RuntimeOrigin::signed(5), r, v)); assert_ok!(Democracy::remove_vote(RuntimeOrigin::signed(5), r)); - assert_eq!(tally(r), Tally { ayes: 0, nays: 0, turnout: 0 }); + assert_eq!( + tally(r), + Tally { + ayes: 0, + nays: 0, + turnout: 0 + } + ); assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5)); assert_eq!(Balances::locks(5), vec![]); }); @@ -79,7 +93,11 @@ fn single_proposal_should_work() { proposal: set_balance_proposal(2), threshold: VoteThreshold::SuperMajorityApprove, delay: 2, - tally: Tally { ayes: 1, nays: 0, turnout: 10 }, + tally: Tally { + ayes: 1, + nays: 0, + turnout: 10 + }, }) ); @@ -104,12 +122,7 @@ fn single_proposal_should_work() { #[test] fn controversial_voting_should_work() { new_test_ext().execute_with(|| { - let r = Democracy::inject_referendum( - 2, - set_balance_proposal(2), - VoteThreshold::SuperMajorityApprove, - 0, - ); + let r = Democracy::inject_referendum(2, set_balance_proposal(2), VoteThreshold::SuperMajorityApprove, 0); assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, big_aye(1))); assert_ok!(Democracy::vote(RuntimeOrigin::signed(2), r, big_nay(2))); @@ -118,7 +131,14 @@ fn controversial_voting_should_work() { assert_ok!(Democracy::vote(RuntimeOrigin::signed(5), r, big_nay(5))); assert_ok!(Democracy::vote(RuntimeOrigin::signed(6), r, big_aye(6))); - assert_eq!(tally(r), Tally { ayes: 110, nays: 100, turnout: 210 }); + assert_eq!( + tally(r), + Tally { + ayes: 110, + nays: 100, + turnout: 210 + } + ); next_block(); next_block(); @@ -130,16 +150,18 @@ fn controversial_voting_should_work() { #[test] fn controversial_low_turnout_voting_should_work() { new_test_ext().execute_with(|| { - let r = Democracy::inject_referendum( - 2, - set_balance_proposal(2), - VoteThreshold::SuperMajorityApprove, - 0, - ); + let r = Democracy::inject_referendum(2, set_balance_proposal(2), VoteThreshold::SuperMajorityApprove, 0); assert_ok!(Democracy::vote(RuntimeOrigin::signed(5), r, big_nay(5))); assert_ok!(Democracy::vote(RuntimeOrigin::signed(6), r, big_aye(6))); - assert_eq!(tally(r), Tally { ayes: 60, nays: 50, turnout: 110 }); + assert_eq!( + tally(r), + Tally { + ayes: 60, + nays: 50, + turnout: 110 + } + ); next_block(); next_block(); @@ -154,16 +176,18 @@ fn passing_low_turnout_voting_should_work() { assert_eq!(Balances::free_balance(42), 0); assert_eq!(Balances::total_issuance(), 210); - let r = Democracy::inject_referendum( - 2, - set_balance_proposal(2), - VoteThreshold::SuperMajorityApprove, - 0, - ); + let r = Democracy::inject_referendum(2, set_balance_proposal(2), VoteThreshold::SuperMajorityApprove, 0); assert_ok!(Democracy::vote(RuntimeOrigin::signed(4), r, big_aye(4))); assert_ok!(Democracy::vote(RuntimeOrigin::signed(5), r, big_nay(5))); assert_ok!(Democracy::vote(RuntimeOrigin::signed(6), r, big_aye(6))); - assert_eq!(tally(r), Tally { ayes: 100, nays: 50, turnout: 150 }); + assert_eq!( + tally(r), + Tally { + ayes: 100, + nays: 50, + turnout: 150 + } + ); next_block(); next_block(); diff --git a/pallets/democracy/src/types.rs b/pallets/democracy/src/types.rs index ee6e2e0aa..2f562b055 100644 --- a/pallets/democracy/src/types.rs +++ b/pallets/democracy/src/types.rs @@ -43,9 +43,7 @@ pub struct Tally { } /// Amount of votes and capital placed in delegation for an account. -#[derive( - Encode, MaxEncodedLen, Decode, Default, Copy, Clone, PartialEq, Eq, RuntimeDebug, TypeInfo, -)] +#[derive(Encode, MaxEncodedLen, Decode, Default, Copy, Clone, PartialEq, Eq, RuntimeDebug, TypeInfo)] pub struct Delegations { /// The number of votes (this is post-conviction). pub votes: Balance, @@ -76,21 +74,15 @@ impl Saturating for Delegations { } fn saturating_pow(self, exp: usize) -> Self { - Self { votes: self.votes.saturating_pow(exp), capital: self.capital.saturating_pow(exp) } + Self { + votes: self.votes.saturating_pow(exp), + capital: self.capital.saturating_pow(exp), + } } } -impl< - Balance: From - + Zero - + Copy - + CheckedAdd - + CheckedSub - + CheckedMul - + CheckedDiv - + Bounded - + Saturating, - > Tally +impl + Zero + Copy + CheckedAdd + CheckedSub + CheckedMul + CheckedDiv + Bounded + Saturating> + Tally { /// Create a new tally. pub fn new(vote: Vote, balance: Balance) -> Self { @@ -112,14 +104,14 @@ impl< true => self.ayes = self.ayes.checked_add(&votes)?, false => self.nays = self.nays.checked_add(&votes)?, } - }, + } AccountVote::Split { aye, nay } => { let aye = Conviction::None.votes(aye); let nay = Conviction::None.votes(nay); self.turnout = self.turnout.checked_add(&aye.capital)?.checked_add(&nay.capital)?; self.ayes = self.ayes.checked_add(&aye.votes)?; self.nays = self.nays.checked_add(&nay.votes)?; - }, + } } Some(()) } @@ -134,14 +126,14 @@ impl< true => self.ayes = self.ayes.checked_sub(&votes)?, false => self.nays = self.nays.checked_sub(&votes)?, } - }, + } AccountVote::Split { aye, nay } => { let aye = Conviction::None.votes(aye); let nay = Conviction::None.votes(nay); self.turnout = self.turnout.checked_sub(&aye.capital)?.checked_sub(&nay.capital)?; self.ayes = self.ayes.checked_sub(&aye.votes)?; self.nays = self.nays.checked_sub(&nay.votes)?; - }, + } } Some(()) } @@ -193,13 +185,14 @@ pub enum ReferendumInfo { impl ReferendumInfo { /// Create a new instance. - pub fn new( - end: BlockNumber, - proposal: Proposal, - threshold: VoteThreshold, - delay: BlockNumber, - ) -> Self { - let s = ReferendumStatus { end, proposal, threshold, delay, tally: Tally::default() }; + pub fn new(end: BlockNumber, proposal: Proposal, threshold: VoteThreshold, delay: BlockNumber) -> Self { + let s = ReferendumStatus { + end, + proposal, + threshold, + delay, + tally: Tally::default(), + }; ReferendumInfo::Ongoing(s) } } diff --git a/pallets/democracy/src/vote.rs b/pallets/democracy/src/vote.rs index b3fe9aa28..126be514d 100644 --- a/pallets/democracy/src/vote.rs +++ b/pallets/democracy/src/vote.rs @@ -53,8 +53,7 @@ impl Decode for Vote { let b = input.read_byte()?; Ok(Vote { aye: (b & 0b1000_0000) == 0b1000_0000, - conviction: Conviction::try_from(b & 0b0111_1111) - .map_err(|_| codec::Error::from("Invalid conviction"))?, + conviction: Conviction::try_from(b & 0b0111_1111).map_err(|_| codec::Error::from("Invalid conviction"))?, }) } } @@ -88,8 +87,9 @@ impl AccountVote { pub fn locked_if(self, approved: bool) -> Option<(u32, Balance)> { // winning side: can only be removed after the lock period ends. match self { - AccountVote::Standard { vote, balance } if vote.aye == approved => - Some((vote.conviction.lock_periods(), balance)), + AccountVote::Standard { vote, balance } if vote.aye == approved => { + Some((vote.conviction.lock_periods(), balance)) + } _ => None, } } @@ -114,18 +114,7 @@ impl AccountVote { /// A "prior" lock, i.e. a lock for some now-forgotten reason. #[derive( - Encode, - MaxEncodedLen, - Decode, - Default, - Copy, - Clone, - Eq, - PartialEq, - Ord, - PartialOrd, - RuntimeDebug, - TypeInfo, + Encode, MaxEncodedLen, Decode, Default, Copy, Clone, Eq, PartialEq, Ord, PartialOrd, RuntimeDebug, TypeInfo, )] pub struct PriorLock(BlockNumber, Balance); @@ -187,12 +176,8 @@ impl> Default } } -impl< - Balance: Saturating + Ord + Zero + Copy, - BlockNumber: Ord + Copy + Zero, - AccountId, - MaxVotes: Get, - > Voting +impl> + Voting { pub fn rejig(&mut self, now: BlockNumber) { match self { @@ -205,20 +190,26 @@ impl< /// The amount of this account's balance that must currently be locked due to voting. pub fn locked_balance(&self) -> Balance { match self { - Voting::Direct { votes, prior, .. } => - votes.iter().map(|i| i.1.balance()).fold(prior.locked(), |a, i| a.max(i)), + Voting::Direct { votes, prior, .. } => votes + .iter() + .map(|i| i.1.balance()) + .fold(prior.locked(), |a, i| a.max(i)), Voting::Delegating { balance, prior, .. } => *balance.max(&prior.locked()), } } - pub fn set_common( - &mut self, - delegations: Delegations, - prior: PriorLock, - ) { + pub fn set_common(&mut self, delegations: Delegations, prior: PriorLock) { let (d, p) = match self { - Voting::Direct { ref mut delegations, ref mut prior, .. } => (delegations, prior), - Voting::Delegating { ref mut delegations, ref mut prior, .. } => (delegations, prior), + Voting::Direct { + ref mut delegations, + ref mut prior, + .. + } => (delegations, prior), + Voting::Delegating { + ref mut delegations, + ref mut prior, + .. + } => (delegations, prior), }; *d = delegations; *p = prior; diff --git a/pallets/democracy/src/vote_threshold.rs b/pallets/democracy/src/vote_threshold.rs index e8efa179e..86e201a04 100644 --- a/pallets/democracy/src/vote_threshold.rs +++ b/pallets/democracy/src/vote_threshold.rs @@ -26,9 +26,7 @@ use sp_runtime::traits::{IntegerSquareRoot, Zero}; use sp_std::ops::{Add, Div, Mul, Rem}; /// A means of determining if a vote is past pass threshold. -#[derive( - Clone, Copy, PartialEq, Eq, Encode, MaxEncodedLen, Decode, sp_runtime::RuntimeDebug, TypeInfo, -)] +#[derive(Clone, Copy, PartialEq, Eq, Encode, MaxEncodedLen, Decode, sp_runtime::RuntimeDebug, TypeInfo)] #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] pub enum VoteThreshold { /// A supermajority of approvals is needed to pass this vote. @@ -46,9 +44,7 @@ pub trait Approved { } /// Return `true` iff `n1 / d1 < n2 / d2`. `d1` and `d2` may not be zero. -fn compare_rationals< - T: Zero + Mul + Div + Rem + Ord + Copy, ->( +fn compare_rationals + Div + Rem + Ord + Copy>( mut n1: T, mut d1: T, mut n2: T, @@ -60,18 +56,18 @@ fn compare_rationals< let q1 = n1 / d1; let q2 = n2 / d2; if q1 < q2 { - return true + return true; } if q2 < q1 { - return false + return false; } let r1 = n1 % d1; let r2 = n2 % d2; if r2.is_zero() { - return false + return false; } if r1.is_zero() { - return true + return true; } n1 = d2; n2 = d1; @@ -95,13 +91,15 @@ impl< let sqrt_voters = tally.turnout.integer_sqrt(); let sqrt_electorate = electorate.integer_sqrt(); if sqrt_voters.is_zero() { - return false + return false; } match *self { - VoteThreshold::SuperMajorityApprove => - compare_rationals(tally.nays, sqrt_voters, tally.ayes, sqrt_electorate), - VoteThreshold::SuperMajorityAgainst => - compare_rationals(tally.nays, sqrt_electorate, tally.ayes, sqrt_voters), + VoteThreshold::SuperMajorityApprove => { + compare_rationals(tally.nays, sqrt_voters, tally.ayes, sqrt_electorate) + } + VoteThreshold::SuperMajorityAgainst => { + compare_rationals(tally.nays, sqrt_electorate, tally.ayes, sqrt_voters) + } VoteThreshold::SimpleMajority => tally.ayes > tally.nays, } } @@ -113,9 +111,21 @@ mod tests { #[test] fn should_work() { - assert!(!VoteThreshold::SuperMajorityApprove - .approved(Tally { ayes: 60, nays: 50, turnout: 110 }, 210)); - assert!(VoteThreshold::SuperMajorityApprove - .approved(Tally { ayes: 100, nays: 50, turnout: 150 }, 210)); + assert!(!VoteThreshold::SuperMajorityApprove.approved( + Tally { + ayes: 60, + nays: 50, + turnout: 110 + }, + 210 + )); + assert!(VoteThreshold::SuperMajorityApprove.approved( + Tally { + ayes: 100, + nays: 50, + turnout: 150 + }, + 210 + )); } } diff --git a/runtime/adapters/src/tests/xcm_exchange.rs b/runtime/adapters/src/tests/xcm_exchange.rs index 91c2a4e59..b22d70a01 100644 --- a/runtime/adapters/src/tests/xcm_exchange.rs +++ b/runtime/adapters/src/tests/xcm_exchange.rs @@ -62,7 +62,9 @@ fn xcm_exchanger_allows_selling_supported_assets() { let want: Assets = Asset::from((GeneralIndex(HDX.into()), wanted_amount)).into(); // Act - let received: Assets = exchange_asset(None, give, &want, SELL).expect("should return ok").into(); + let received: Assets = exchange_asset(None, give, &want, SELL) + .expect("should return ok") + .into(); // Assert let mut iter = received.inner().iter().filter(|asset| asset.is_fungible(None)); @@ -113,7 +115,9 @@ fn xcm_exchanger_should_work_with_onchain_route() { let want: Assets = Asset::from((GeneralIndex(DOT.into()), wanted_amount)).into(); // Act - let received: Assets = exchange_asset(None, give, &want, SELL).expect("should return ok").into(); + let received: Assets = exchange_asset(None, give, &want, SELL) + .expect("should return ok") + .into(); // Assert let mut iter = received.inner().iter().filter(|asset| asset.is_fungible(None)); @@ -152,7 +156,10 @@ fn xcm_exchanger_allows_buying_supported_assets() { // Assert let mut iter = received.inner().iter().filter(|asset| asset.is_fungible(None)); let asset_received = iter.next().expect("there should be at least one asset"); - let left_over = iter.next().expect("there should be at least some left_over asset_in").clone(); + let left_over = iter + .next() + .expect("there should be at least some left_over asset_in") + .clone(); assert!(iter.next().is_none(), "there should only be two assets returned"); let Fungible(left_over_amount) = left_over.fun else { panic!("should be fungible") @@ -211,7 +218,12 @@ fn xcm_exchanger_works_with_specified_origin() { }); } -fn exchange_asset(origin: Option<&Location>, give: Assets, want: &Assets, is_sell: bool) -> Result { +fn exchange_asset( + origin: Option<&Location>, + give: Assets, + want: &Assets, + is_sell: bool, +) -> Result { XcmAssetExchanger::::exchange_asset( origin, give.into(), From 5b2da21fc25670a5c92d727a4e08bfc436c26f4c Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Wed, 8 May 2024 14:47:21 +0200 Subject: [PATCH 031/105] satisfy clippy --- pallets/democracy/src/benchmarking.rs | 6 +- .../unlock_and_unreserve_all_funds.rs | 18 +- runtime/hydradx/src/lib.rs | 156 ++++++++++-------- runtime/hydradx/src/migrations.rs | 2 +- runtime/hydradx/src/weights/xcmp_queue.rs | 12 +- 5 files changed, 103 insertions(+), 91 deletions(-) diff --git a/pallets/democracy/src/benchmarking.rs b/pallets/democracy/src/benchmarking.rs index d0df3de0b..ecfd1b693 100644 --- a/pallets/democracy/src/benchmarking.rs +++ b/pallets/democracy/src/benchmarking.rs @@ -88,8 +88,7 @@ fn note_preimage() -> T::Hash { // note a new preimage on every function invoke. static COUNTER: AtomicU8 = AtomicU8::new(0); let data = Cow::from(vec![COUNTER.fetch_add(1, Ordering::Relaxed)]); - let hash = ::Preimages::note(data).unwrap(); - hash + ::Preimages::note(data).unwrap() } benchmarks! { @@ -254,7 +253,6 @@ benchmarks! { // Add proposal to blacklist with block number 0 let addresses: BoundedVec<_, _> = (0..(T::MaxBlacklisted::get() - 1)) - .into_iter() .map(|i| account::("blacklist", i, SEED)) .collect::>() .try_into() @@ -340,7 +338,7 @@ benchmarks! { }: _(origin, proposal_hash) verify { assert!(NextExternal::::get().is_none()); - let (_, new_vetoers) = >::get(&proposal_hash).ok_or("no blacklist")?; + let (_, new_vetoers) = >::get(proposal_hash).ok_or("no blacklist")?; assert_eq!(new_vetoers.len(), T::MaxBlacklisted::get() as usize, "vetoers not added"); } diff --git a/pallets/democracy/src/migrations/unlock_and_unreserve_all_funds.rs b/pallets/democracy/src/migrations/unlock_and_unreserve_all_funds.rs index f403e21b7..b90ba2324 100644 --- a/pallets/democracy/src/migrations/unlock_and_unreserve_all_funds.rs +++ b/pallets/democracy/src/migrations/unlock_and_unreserve_all_funds.rs @@ -187,7 +187,7 @@ where .collect::>(); let account_reserved_before: BTreeMap> = account_deposits .keys() - .map(|account| (account.clone(), T::Currency::reserved_balance(&account))) + .map(|account| (account.clone(), T::Currency::reserved_balance(account))) .collect(); // Total deposited for each account *should* be less than or equal to the total reserved, @@ -195,8 +195,8 @@ where let bugged_deposits = all_accounts .iter() .filter(|account| { - account_deposits.get(&account).unwrap_or(&Zero::zero()) - > account_reserved_before.get(&account).unwrap_or(&Zero::zero()) + account_deposits.get(account).unwrap_or(&Zero::zero()) + > account_reserved_before.get(account).unwrap_or(&Zero::zero()) }) .count(); @@ -345,11 +345,11 @@ mod test { // Sanity check: ensure initial reserved balance was set correctly. assert_eq!( - ::Currency::reserved_balance(&depositer_0), + ::Currency::reserved_balance(depositer_0), depositer_0_initial_reserved + deposit ); assert_eq!( - ::Currency::reserved_balance(&depositer_1), + ::Currency::reserved_balance(depositer_1), depositer_1_initial_reserved + deposit ); @@ -361,11 +361,11 @@ mod test { // Assert the reserved balance was reduced by the expected amount. assert_eq!( - ::Currency::reserved_balance(&depositer_0), + ::Currency::reserved_balance(depositer_0), depositer_0_initial_reserved ); assert_eq!( - ::Currency::reserved_balance(&depositer_1), + ::Currency::reserved_balance(depositer_1), depositer_1_initial_reserved ); }); @@ -390,7 +390,7 @@ mod test { let mut voter_all_locks = initial_locks.clone(); voter_all_locks.push((&DEMOCRACY_ID, stake)); assert_eq!( - ::Currency::locks(&voter) + ::Currency::locks(voter) .iter() .map(|lock| (&lock.id, lock.amount)) .collect::>(), @@ -405,7 +405,7 @@ mod test { // Assert the voter lock was removed assert_eq!( - ::Currency::locks(&voter) + ::Currency::locks(voter) .iter() .map(|lock| (&lock.id, lock.amount)) .collect::>(), diff --git a/runtime/hydradx/src/lib.rs b/runtime/hydradx/src/lib.rs index 50caf1780..f0c082a33 100644 --- a/runtime/hydradx/src/lib.rs +++ b/runtime/hydradx/src/lib.rs @@ -65,7 +65,7 @@ use sp_version::NativeVersion; use sp_version::RuntimeVersion; // A few exports that help ease life for downstream crates. use frame_support::pallet_prelude::Hooks; -use frame_support::{construct_runtime, weights::Weight}; +use frame_support::{construct_runtime, parameter_types, weights::Weight}; pub use hex_literal::hex; /// Import HydraDX pallets pub use pallet_claims; @@ -687,46 +687,15 @@ impl_runtime_apis! { Vec, Vec, ) { - use frame_benchmarking::{list_benchmark, Benchmarking, BenchmarkList}; + use frame_benchmarking::{Benchmarking, BenchmarkList}; use frame_support::traits::StorageInfoTrait; use orml_benchmarking::list_benchmark as orml_list_benchmark; + use frame_system_benchmarking::Pallet as SystemBench; + use pallet_xcm::benchmarking::Pallet as PalletXcmExtrinsiscsBenchmark; let mut list = Vec::::new(); - - list_benchmark!(list, extra, frame_system, SystemBench::); - list_benchmark!(list, extra, pallet_balances, Balances); - list_benchmark!(list, extra, pallet_collator_selection, CollatorSelection); - list_benchmark!(list, extra, pallet_timestamp, Timestamp); - list_benchmark!(list, extra, pallet_treasury, Treasury); - list_benchmark!(list, extra, pallet_preimage, Preimage); - list_benchmark!(list, extra, pallet_scheduler, Scheduler); - list_benchmark!(list, extra, pallet_identity, Identity); - list_benchmark!(list, extra, pallet_tips, Tips); - list_benchmark!(list, extra, pallet_proxy, Proxy); - list_benchmark!(list, extra, pallet_utility, Utility); - list_benchmark!(list, extra, pallet_democracy, Democracy); - list_benchmark!(list, extra, pallet_elections_phragmen, Elections); - list_benchmark!(list, extra, council, Council); - list_benchmark!(list, extra, tech, TechnicalCommittee); - list_benchmark!(list, extra, pallet_omnipool_liquidity_mining, OmnipoolLiquidityMining); - list_benchmark!(list, extra, pallet_circuit_breaker, CircuitBreaker); - list_benchmark!(list, extra, pallet_bonds, Bonds); - list_benchmark!(list, extra, pallet_stableswap, Stableswap); - - list_benchmark!(list, extra, pallet_asset_registry, AssetRegistry); - list_benchmark!(list, extra, pallet_claims, Claims); - list_benchmark!(list, extra, pallet_ema_oracle, EmaOracle); - list_benchmark!(list, extra, pallet_staking, Staking); - list_benchmark!(list, extra, pallet_lbp, LBP); - list_benchmark!(list, extra, pallet_referrals, Referrals); - list_benchmark!(list, extra, pallet_evm_accounts, EVMAccounts); - - list_benchmark!(list, extra, cumulus_pallet_xcmp_queue, XcmpQueue); - list_benchmark!(list, extra, pallet_transaction_pause, TransactionPause); - - list_benchmark!(list, extra, pallet_otc, OTC); - list_benchmark!(list, extra, pallet_xcm, PolkadotXcm); + list_benchmarks!(list, extra); orml_list_benchmark!(list, extra, pallet_currencies, benchmarking::currencies); orml_list_benchmark!(list, extra, orml_tokens, benchmarking::tokens); @@ -748,9 +717,11 @@ impl_runtime_apis! { fn dispatch_benchmark( config: frame_benchmarking::BenchmarkConfig ) -> Result, sp_runtime::RuntimeString> { - use frame_benchmarking::{BenchmarkError, Benchmarking, BenchmarkBatch, add_benchmark}; + use frame_benchmarking::{BenchmarkError, Benchmarking, BenchmarkBatch}; use frame_support::traits::TrackedStorageKey; use orml_benchmarking::add_benchmark as orml_add_benchmark; + + use pallet_xcm::benchmarking::Pallet as PalletXcmExtrinsiscsBenchmark; use frame_system_benchmarking::Pallet as SystemBench; impl frame_system_benchmarking::Config for Runtime { fn setup_set_code_requirements(code: &sp_std::vec::Vec) -> Result<(), BenchmarkError> { @@ -763,6 +734,40 @@ impl_runtime_apis! { } } + parameter_types! { + pub const RandomParaId: ParaId = ParaId::new(22222222); + pub const ExistentialDeposit: u128= 0; + } + + use cumulus_primitives_core::ParaId; + use polkadot_xcm::latest::prelude::{Location, AssetId, Fungible, Asset, ParentThen, Parachain, Parent}; + + impl pallet_xcm::benchmarking::Config for Runtime { + fn reachable_dest() -> Option { + Some(Parent.into()) + } + + fn teleportable_asset_and_dest() -> Option<(Asset, Location)> { + Some(( + Asset { + fun: Fungible(ExistentialDeposit::get()), + id: AssetId(Parent.into()) + }, + Parent.into(), + )) + } + + fn reserve_transferable_asset_and_dest() -> Option<(Asset, Location)> { + Some(( + Asset { + fun: Fungible(ExistentialDeposit::get()), + id: AssetId(Parent.into()) + }, + ParentThen(Parachain(RandomParaId::get().into()).into()).into(), + )) + } + } + let whitelist: Vec = vec![ // Block Number hex!("26aa394eea5630e07c48ae0c9558cef702a5c1b19ab7a04f536c519aca4983ac").to_vec().into(), @@ -778,40 +783,7 @@ impl_runtime_apis! { let mut batches = Vec::::new(); let params = (&config, &whitelist); - - // Substrate pallets - add_benchmark!(params, batches, frame_system, SystemBench::); - add_benchmark!(params, batches, pallet_balances, Balances); - add_benchmark!(params, batches, pallet_collator_selection, CollatorSelection); - add_benchmark!(params, batches, pallet_timestamp, Timestamp); - add_benchmark!(params, batches, pallet_treasury, Treasury); - add_benchmark!(params, batches, pallet_preimage, Preimage); - add_benchmark!(params, batches, pallet_scheduler, Scheduler); - add_benchmark!(params, batches, pallet_identity, Identity); - add_benchmark!(params, batches, pallet_tips, Tips); - add_benchmark!(params, batches, pallet_proxy, Proxy); - add_benchmark!(params, batches, pallet_utility, Utility); - add_benchmark!(params, batches, pallet_democracy, Democracy); - add_benchmark!(params, batches, pallet_elections_phragmen, Elections); - add_benchmark!(params, batches, council, Council); - add_benchmark!(params, batches, tech, TechnicalCommittee); - add_benchmark!(params, batches, pallet_omnipool_liquidity_mining, OmnipoolLiquidityMining); - add_benchmark!(params, batches, pallet_circuit_breaker, CircuitBreaker); - add_benchmark!(params, batches, pallet_asset_registry, AssetRegistry); - add_benchmark!(params, batches, pallet_claims, Claims); - add_benchmark!(params, batches, pallet_ema_oracle, EmaOracle); - add_benchmark!(params, batches, pallet_bonds, Bonds); - add_benchmark!(params, batches, pallet_staking, Staking); - add_benchmark!(params, batches, pallet_lbp, LBP); - add_benchmark!(params, batches, pallet_stableswap, Stableswap); - add_benchmark!(params, batches, pallet_referrals, Referrals); - add_benchmark!(params, batches, pallet_evm_accounts, EVMAccounts); - - add_benchmark!(params, batches, cumulus_pallet_xcmp_queue, XcmpQueue); - add_benchmark!(params, batches, pallet_transaction_pause, TransactionPause); - - add_benchmark!(params, batches, pallet_otc, OTC); - add_benchmark!(params, batches, pallet_xcm, PolkadotXcm); + add_benchmarks!(params, batches); orml_add_benchmark!(params, batches, pallet_currencies, benchmarking::currencies); orml_add_benchmark!(params, batches, orml_tokens, benchmarking::tokens); @@ -831,6 +803,48 @@ impl_runtime_apis! { } } +#[cfg(feature = "runtime-benchmarks")] +mod benches { + frame_support::parameter_types! { + pub const BenchmarkMaxBalance: crate::Balance = crate::Balance::max_value(); + } + frame_benchmarking::define_benchmarks!( + [pallet_lbp, LBP] + [pallet_asset_registry, AssetRegistry] + [pallet_omnipool_liquidity_mining, OmnipoolLiquidityMining] + [pallet_transaction_pause, TransactionPause] + [pallet_ema_oracle, EmaOracle] + [pallet_circuit_breaker, CircuitBreaker] + [pallet_bonds, Bonds] + [pallet_stableswap, Stableswap] + [pallet_claims, Claims] + [pallet_staking, Staking] + [pallet_referrals, Referrals] + [pallet_evm_accounts, EVMAccounts] + [pallet_otc, OTC] + [frame_system, SystemBench::] + [pallet_balances, Balances] + [pallet_timestamp, Timestamp] + [pallet_democracy, Democracy] + [pallet_elections_phragmen, Elections] + [pallet_treasury, Treasury] + [pallet_scheduler, Scheduler] + [pallet_utility, Utility] + [pallet_tips, Tips] + [pallet_identity, Identity] + [pallet_collective, Council] + [pallet_collective, TechnicalCommittee] + [cumulus_pallet_xcmp_queue, XcmpQueue] + [pallet_message_queue, MessageQueue] + [pallet_preimage, Preimage] + [pallet_multisig, Multisig] + [pallet_proxy, Proxy] + [cumulus_pallet_parachain_system, ParachainSystem] + [pallet_collator_selection, CollatorSelection] + [pallet_xcm, PalletXcmExtrinsiscsBenchmark::] + ); +} + struct CheckInherents; impl cumulus_pallet_parachain_system::CheckInherents for CheckInherents { diff --git a/runtime/hydradx/src/migrations.rs b/runtime/hydradx/src/migrations.rs index 46913b42b..ca7bf2232 100644 --- a/runtime/hydradx/src/migrations.rs +++ b/runtime/hydradx/src/migrations.rs @@ -46,7 +46,7 @@ impl OnRuntimeUpgrade for OnRuntimeUpgradeMigration { } #[cfg(feature = "try-runtime")] - fn post_upgrade(state: Vec) -> Result<(), sp_runtime::DispatchError> { + fn post_upgrade(_state: Vec) -> Result<(), sp_runtime::DispatchError> { /* log::info!("PostMigrate Collator Selection Pallet start"); let migration_result = pallet_collator_selection::migration::v1::MigrateToV1::::post_upgrade(state); diff --git a/runtime/hydradx/src/weights/xcmp_queue.rs b/runtime/hydradx/src/weights/xcmp_queue.rs index 119d8983d..d2b373d3e 100644 --- a/runtime/hydradx/src/weights/xcmp_queue.rs +++ b/runtime/hydradx/src/weights/xcmp_queue.rs @@ -61,26 +61,26 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for HydraWei } fn enqueue_xcmp_message() -> Weight { - todo!() + Weight::from_parts(1, 0) } fn suspend_channel() -> Weight { - todo!() + Weight::from_parts(1, 0) } fn resume_channel() -> Weight { - todo!() + Weight::from_parts(1, 0) } fn take_first_concatenated_xcm() -> Weight { - todo!() + Weight::from_parts(1, 0) } fn on_idle_good_msg() -> Weight { - todo!() + Weight::from_parts(1, 0) } fn on_idle_large_msg() -> Weight { - todo!() + Weight::from_parts(1, 0) } } \ No newline at end of file From a575aea1bbfa439d33e6cee639fc2963cd88af65 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Wed, 8 May 2024 16:47:07 +0200 Subject: [PATCH 032/105] satisfy clippy --- precompiles/call-permit/src/mock.rs | 7 +++---- precompiles/utils/src/solidity/codec/xcm.rs | 7 ++++++- precompiles/utils/src/tests.rs | 2 +- runtime/hydradx/src/lib.rs | 8 ++++---- 4 files changed, 14 insertions(+), 10 deletions(-) diff --git a/precompiles/call-permit/src/mock.rs b/precompiles/call-permit/src/mock.rs index 5e57bc16a..193f58339 100644 --- a/precompiles/call-permit/src/mock.rs +++ b/precompiles/call-permit/src/mock.rs @@ -54,6 +54,7 @@ impl frame_system::Config for Runtime { type BaseCallFilter = Everything; type DbWeight = (); type RuntimeOrigin = RuntimeOrigin; + type RuntimeTask = RuntimeTask; type Nonce = u64; type Block = Block; type RuntimeCall = RuntimeCall; @@ -90,9 +91,8 @@ impl pallet_balances::Config for Runtime { type WeightInfo = (); type RuntimeHoldReason = (); type FreezeIdentifier = (); - type MaxHolds = (); type MaxFreezes = (); - //type RuntimeFreezeReason = (); + type RuntimeFreezeReason = (); } mock_account!(CallPermit, |_| MockAccount::from_u64(1)); @@ -111,7 +111,6 @@ pub type PCall = CallPermitPrecompileCall; parameter_types! { pub PrecompilesValue: Precompiles = Precompiles::new(); pub const WeightPerGas: Weight = Weight::from_parts(1, 0); - pub const SuicideQuickClearLimit: u32 = 0; } impl pallet_evm::Config for Runtime { @@ -134,7 +133,7 @@ impl pallet_evm::Config for Runtime { type OnCreate = (); type GasLimitPovSizeRatio = (); type GasLimitStorageGrowthRatio = (); - //type SuicideQuickClearLimit = SuicideQuickClearLimit; + type SuicideQuickClearLimit = ConstU32<0>; type Timestamp = Timestamp; type WeightInfo = pallet_evm::weights::SubstrateWeight; } diff --git a/precompiles/utils/src/solidity/codec/xcm.rs b/precompiles/utils/src/solidity/codec/xcm.rs index 2ea881869..0b80e2e6c 100644 --- a/precompiles/utils/src/solidity/codec/xcm.rs +++ b/precompiles/utils/src/solidity/codec/xcm.rs @@ -26,7 +26,7 @@ use { sp_core::H256, sp_std::vec::Vec, sp_weights::Weight, - xcm::latest::{Junction, Junctions, MultiLocation, NetworkId}, + xcm::v3::{Junction, Junctions, MultiLocation, NetworkId}, }; pub const JUNCTION_SIZE_LIMIT: u32 = 2u32.pow(16); @@ -106,6 +106,11 @@ pub(crate) fn network_id_to_bytes(network_id: Option) -> Vec { encoded.push(9u8); encoded } + Some(NetworkId::PolkadotBulletin) => { + encoded.push(11u8); + encoded.push(10u8); + encoded + } } } diff --git a/precompiles/utils/src/tests.rs b/precompiles/utils/src/tests.rs index cd10ace5b..07e101ce7 100644 --- a/precompiles/utils/src/tests.rs +++ b/precompiles/utils/src/tests.rs @@ -31,7 +31,7 @@ use { pallet_evm::Context, sp_core::{H160, H256, U256}, sp_std::convert::TryInto, - xcm::latest::{Junction, Junctions, NetworkId}, + xcm::v3::{Junction, Junctions, NetworkId}, }; fn u256_repeat_byte(byte: u8) -> U256 { diff --git a/runtime/hydradx/src/lib.rs b/runtime/hydradx/src/lib.rs index 22691e918..14e72472d 100644 --- a/runtime/hydradx/src/lib.rs +++ b/runtime/hydradx/src/lib.rs @@ -65,7 +65,7 @@ use sp_version::NativeVersion; use sp_version::RuntimeVersion; // A few exports that help ease life for downstream crates. use frame_support::pallet_prelude::Hooks; -use frame_support::{construct_runtime, parameter_types, weights::Weight}; +use frame_support::{construct_runtime, weights::Weight}; pub use hex_literal::hex; /// Import HydraDX pallets pub use pallet_claims; @@ -719,11 +719,12 @@ impl_runtime_apis! { config: frame_benchmarking::BenchmarkConfig ) -> Result, sp_runtime::RuntimeString> { use frame_benchmarking::{BenchmarkError, Benchmarking, BenchmarkBatch}; - use frame_support::traits::TrackedStorageKey; + use frame_support::{parameter_types, traits::TrackedStorageKey}; use orml_benchmarking::add_benchmark as orml_add_benchmark; - use pallet_xcm::benchmarking::Pallet as PalletXcmExtrinsiscsBenchmark; use frame_system_benchmarking::Pallet as SystemBench; + use cumulus_primitives_core::ParaId; + impl frame_system_benchmarking::Config for Runtime { fn setup_set_code_requirements(code: &sp_std::vec::Vec) -> Result<(), BenchmarkError> { ParachainSystem::initialize_for_set_code_benchmark(code.len() as u32); @@ -740,7 +741,6 @@ impl_runtime_apis! { pub const ExistentialDeposit: u128= 0; } - use cumulus_primitives_core::ParaId; use polkadot_xcm::latest::prelude::{Location, AssetId, Fungible, Asset, ParentThen, Parachain, Parent}; impl pallet_xcm::benchmarking::Config for Runtime { From f29c65dd341326fe3607a1f51b16fd2bca607e96 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Wed, 8 May 2024 16:59:22 +0200 Subject: [PATCH 033/105] update benchmarking script --- .maintain/bench-check/hydradx-bench-data.json | 5 - .maintain/pallet-weight-template.hbs | 138 ------------------ .maintain/run_benchmarks.sh | 20 --- scripts/benchmark.all.sh | 57 -------- scripts/benchmarking.sh | 91 ++++++++++++ scripts/check_performance.sh | 96 ------------ .../pallet-weight-template.hbs | 14 +- 7 files changed, 100 insertions(+), 321 deletions(-) delete mode 100644 .maintain/bench-check/hydradx-bench-data.json delete mode 100644 .maintain/pallet-weight-template.hbs delete mode 100644 .maintain/run_benchmarks.sh delete mode 100755 scripts/benchmark.all.sh create mode 100644 scripts/benchmarking.sh delete mode 100755 scripts/check_performance.sh rename .maintain/pallet-weight-template-no-back.hbs => scripts/pallet-weight-template.hbs (91%) diff --git a/.maintain/bench-check/hydradx-bench-data.json b/.maintain/bench-check/hydradx-bench-data.json deleted file mode 100644 index 42a5ec735..000000000 --- a/.maintain/bench-check/hydradx-bench-data.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "pallet-claims": { - "claim": 189.0 - } -} \ No newline at end of file diff --git a/.maintain/pallet-weight-template.hbs b/.maintain/pallet-weight-template.hbs deleted file mode 100644 index cd42ab63e..000000000 --- a/.maintain/pallet-weight-template.hbs +++ /dev/null @@ -1,138 +0,0 @@ -// This file is part of HydraDX. - -// Copyright (C) 2020-2023 Intergalactic, Limited (GIB). -// SPDX-License-Identifier: Apache-2.0 - -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -{{header}} -//! Autogenerated weights for `{{pallet}}` -//! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION {{version}} -//! DATE: {{date}}, STEPS: `{{cmd.steps}}`, REPEAT: `{{cmd.repeat}}`, LOW RANGE: `{{cmd.lowest_range_values}}`, HIGH RANGE: `{{cmd.highest_range_values}}` -//! WORST CASE MAP SIZE: `{{cmd.worst_case_map_values}}` -//! HOSTNAME: `{{hostname}}`, CPU: `{{cpuname}}` -//! WASM-EXECUTION: `{{cmd.wasm_execution}}`, CHAIN: `{{cmd.chain}}`, DB CACHE: `{{cmd.db_cache}}` - -// Executed Command: -{{#each args as |arg|}} -// {{arg}} -{{/each}} - -#![cfg_attr(rustfmt, rustfmt_skip)] -#![allow(unused_parens)] -#![allow(unused_imports)] -#![allow(missing_docs)] - -use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use core::marker::PhantomData; - -/// Weight functions needed for `{{pallet}}`. -pub trait WeightInfo { - {{#each benchmarks as |benchmark|}} - fn {{benchmark.name~}} - ( - {{~#each benchmark.components as |c| ~}} - {{c.name}}: u32, {{/each~}} - ) -> Weight; - {{/each}} -} - -/// Weights for `{{pallet}}` using the HydraDX node and recommended hardware. -pub struct HydraWeight(PhantomData); -{{#if (eq pallet "frame_system")}} -impl WeightInfo for HydraWeight { -{{else}} -impl WeightInfo for HydraWeight { -{{/if}} - {{#each benchmarks as |benchmark|}} - {{#each benchmark.comments as |comment|}} - /// {{comment}} - {{/each}} - {{#each benchmark.component_ranges as |range|}} - /// The range of component `{{range.name}}` is `[{{range.min}}, {{range.max}}]`. - {{/each}} - fn {{benchmark.name~}} - ( - {{~#each benchmark.components as |c| ~}} - {{~#if (not c.is_used)}}_{{/if}}{{c.name}}: u32, {{/each~}} - ) -> Weight { - // Proof Size summary in bytes: - // Measured: `{{benchmark.base_recorded_proof_size}}{{#each benchmark.component_recorded_proof_size as |cp|}} + {{cp.name}} * ({{cp.slope}} ±{{underscore cp.error}}){{/each}}` - // Estimated: `{{benchmark.base_calculated_proof_size}}{{#each benchmark.component_calculated_proof_size as |cp|}} + {{cp.name}} * ({{cp.slope}} ±{{underscore cp.error}}){{/each}}` - // Minimum execution time: {{underscore benchmark.min_execution_time}}_000 picoseconds. - Weight::from_parts({{underscore benchmark.base_weight}}, {{benchmark.base_calculated_proof_size}}) - {{#each benchmark.component_weight as |cw|}} - // Standard Error: {{underscore cw.error}} - .saturating_add(Weight::from_parts({{underscore cw.slope}}, 0).saturating_mul({{cw.name}}.into())) - {{/each}} - {{#if (ne benchmark.base_reads "0")}} - .saturating_add(T::DbWeight::get().reads({{benchmark.base_reads}}_u64)) - {{/if}} - {{#each benchmark.component_reads as |cr|}} - .saturating_add(T::DbWeight::get().reads(({{cr.slope}}_u64).saturating_mul({{cr.name}}.into()))) - {{/each}} - {{#if (ne benchmark.base_writes "0")}} - .saturating_add(T::DbWeight::get().writes({{benchmark.base_writes}}_u64)) - {{/if}} - {{#each benchmark.component_writes as |cw|}} - .saturating_add(T::DbWeight::get().writes(({{cw.slope}}_u64).saturating_mul({{cw.name}}.into()))) - {{/each}} - {{#each benchmark.component_calculated_proof_size as |cp|}} - .saturating_add(Weight::from_parts(0, {{cp.slope}}).saturating_mul({{cp.name}}.into())) - {{/each}} - } - {{/each}} -} - -// For backwards compatibility and tests. -impl WeightInfo for () { - {{#each benchmarks as |benchmark|}} - {{#each benchmark.comments as |comment|}} - /// {{comment}} - {{/each}} - {{#each benchmark.component_ranges as |range|}} - /// The range of component `{{range.name}}` is `[{{range.min}}, {{range.max}}]`. - {{/each}} - fn {{benchmark.name~}} - ( - {{~#each benchmark.components as |c| ~}} - {{~#if (not c.is_used)}}_{{/if}}{{c.name}}: u32, {{/each~}} - ) -> Weight { - // Proof Size summary in bytes: - // Measured: `{{benchmark.base_recorded_proof_size}}{{#each benchmark.component_recorded_proof_size as |cp|}} + {{cp.name}} * ({{cp.slope}} ±{{underscore cp.error}}){{/each}}` - // Estimated: `{{benchmark.base_calculated_proof_size}}{{#each benchmark.component_calculated_proof_size as |cp|}} + {{cp.name}} * ({{cp.slope}} ±{{underscore cp.error}}){{/each}}` - // Minimum execution time: {{underscore benchmark.min_execution_time}}_000 picoseconds. - Weight::from_parts({{underscore benchmark.base_weight}}, {{benchmark.base_calculated_proof_size}}) - {{#each benchmark.component_weight as |cw|}} - // Standard Error: {{underscore cw.error}} - .saturating_add(Weight::from_parts({{underscore cw.slope}}, 0).saturating_mul({{cw.name}}.into())) - {{/each}} - {{#if (ne benchmark.base_reads "0")}} - .saturating_add(RocksDbWeight::get().reads({{benchmark.base_reads}}_u64)) - {{/if}} - {{#each benchmark.component_reads as |cr|}} - .saturating_add(RocksDbWeight::get().reads(({{cr.slope}}_u64).saturating_mul({{cr.name}}.into()))) - {{/each}} - {{#if (ne benchmark.base_writes "0")}} - .saturating_add(RocksDbWeight::get().writes({{benchmark.base_writes}}_u64)) - {{/if}} - {{#each benchmark.component_writes as |cw|}} - .saturating_add(RocksDbWeight::get().writes(({{cw.slope}}_u64).saturating_mul({{cw.name}}.into()))) - {{/each}} - {{#each benchmark.component_calculated_proof_size as |cp|}} - .saturating_add(Weight::from_parts(0, {{cp.slope}}).saturating_mul({{cp.name}}.into())) - {{/each}} - } - {{/each}} -} diff --git a/.maintain/run_benchmarks.sh b/.maintain/run_benchmarks.sh deleted file mode 100644 index 3ce0c5ffb..000000000 --- a/.maintain/run_benchmarks.sh +++ /dev/null @@ -1,20 +0,0 @@ -cargo run --release --features=runtime-benchmarks -- benchmark --chain=local --steps=5 --repeat=20 --execution=wasm --wasm-execution=compiled --heap-pages=4096 --template=.maintain/pallet-weight-template-no-back.hbs --pallet=pallet_asset_registry --output=asset_registry.rs --extrinsic="*" -cargo run --release --features=runtime-benchmarks -- benchmark --chain=local --steps=5 --repeat=20 --execution=wasm --wasm-execution=compiled --heap-pages=4096 --template=.maintain/pallet-weight-template-no-back.hbs --pallet=pallet_claims --output=claims.rs --extrinsic="*" -cargo run --release --features=runtime-benchmarks -- benchmark --chain=local --steps=5 --repeat=20 --execution=wasm --wasm-execution=compiled --heap-pages=4096 --template=.maintain/pallet-weight-template-no-back.hbs --pallet=orml_currencies --output=currencies.rs --extrinsic="*" -cargo run --release --features=runtime-benchmarks -- benchmark --chain=local --steps=5 --repeat=20 --execution=wasm --wasm-execution=compiled --heap-pages=4096 --template=.maintain/pallet-weight-template-no-back.hbs --pallet=orml_tokens --output=tokens.rs --extrinsic="*" -cargo run --release --features=runtime-benchmarks -- benchmark --chain=local --steps=5 --repeat=20 --execution=wasm --wasm-execution=compiled --heap-pages=4096 --template=.maintain/pallet-weight-template-no-back.hbs --pallet=orml_vesting --output=vesting.rs --extrinsic="*" -cargo run --release --features=runtime-benchmarks -- benchmark --chain=local --steps=5 --repeat=20 --execution=wasm --wasm-execution=compiled --heap-pages=4096 --template=.maintain/pallet-weight-template-no-back.hbs --pallet=pallet_transaction_multi_payment --output=transaction_multi_payment.rs --extrinsic="*" -cargo run --release --features=runtime-benchmarks -- benchmark --chain=local --steps=5 --repeat=20 --execution=wasm --wasm-execution=compiled --heap-pages=4096 --template=.maintain/pallet-weight-template-no-back.hbs --pallet=pallet_balances --output=balances.rs --extrinsic="*" -cargo run --release --features=runtime-benchmarks -- benchmark --chain=local --steps=5 --repeat=20 --execution=wasm --wasm-execution=compiled --heap-pages=4096 --template=.maintain/pallet-weight-template-no-back.hbs --pallet=pallet_collator_selection --output=collator_selection.rs --extrinsic="*" -cargo run --release --features=runtime-benchmarks -- benchmark --chain=local --steps=5 --repeat=20 --execution=wasm --wasm-execution=compiled --heap-pages=4096 --template=.maintain/pallet-weight-template-no-back.hbs --pallet=pallet_timestamp --output=timestamp.rs --extrinsic="*" -cargo run --release --features=runtime-benchmarks -- benchmark --chain=local --steps=5 --repeat=20 --execution=wasm --wasm-execution=compiled --heap-pages=4096 --template=.maintain/pallet-weight-template-no-back.hbs --pallet=pallet_treasury --output=treasury.rs --extrinsic="*" -cargo run --release --features=runtime-benchmarks -- benchmark --chain=local --steps=5 --repeat=20 --execution=wasm --wasm-execution=compiled --heap-pages=4096 --template=.maintain/pallet-weight-template-no-back.hbs --pallet=pallet_preimage --output=preimage.rs --extrinsic="*" -cargo run --release --features=runtime-benchmarks -- benchmark --chain=local --steps=5 --repeat=20 --execution=wasm --wasm-execution=compiled --heap-pages=4096 --template=.maintain/pallet-weight-template-no-back.hbs --pallet=pallet_scheduler --output=scheduler.rs --extrinsic="*" -cargo run --release --features=runtime-benchmarks -- benchmark --chain=local --steps=5 --repeat=20 --execution=wasm --wasm-execution=compiled --heap-pages=4096 --template=.maintain/pallet-weight-template-no-back.hbs --pallet=pallet_identity --output=identity.rs --extrinsic="*" -cargo run --release --features=runtime-benchmarks -- benchmark --chain=local --steps=5 --repeat=20 --execution=wasm --wasm-execution=compiled --heap-pages=4096 --template=.maintain/pallet-weight-template-no-back.hbs --pallet=pallet_proxy --output=proxy.rs --extrinsic="*" -cargo run --release --features=runtime-benchmarks -- benchmark --chain=local --steps=5 --repeat=20 --execution=wasm --wasm-execution=compiled --heap-pages=4096 --template=.maintain/pallet-weight-template-no-back.hbs --pallet=pallet_utility --output=utility.rs --extrinsic="*" -cargo run --release --features=runtime-benchmarks -- benchmark --chain=local --steps=5 --repeat=20 --execution=wasm --wasm-execution=compiled --heap-pages=4096 --template=.maintain/pallet-weight-template-no-back.hbs --pallet=pallet_democracy --output=democracy.rs --extrinsic="*" -cargo run --release --features=runtime-benchmarks -- benchmark --chain=local --steps=5 --repeat=20 --execution=wasm --wasm-execution=compiled --heap-pages=4096 --template=.maintain/pallet-weight-template-no-back.hbs --pallet=pallet_tips --output=tips.rs --extrinsic="*" -cargo run --release --features=runtime-benchmarks -- benchmark --chain=local --steps=5 --repeat=20 --execution=wasm --wasm-execution=compiled --heap-pages=4096 --template=.maintain/pallet-weight-template-no-back.hbs --pallet=tech --output=technical_comittee.rs --extrinsic="*" -cargo run --release --features=runtime-benchmarks -- benchmark --chain=local --steps=5 --repeat=20 --execution=wasm --wasm-execution=compiled --heap-pages=4096 --template=.maintain/pallet-weight-template-no-back.hbs --pallet=council--output=council.rs --extrinsic="*" -cargo run --release --features=runtime-benchmarks -- benchmark --chain=local --steps=5 --repeat=20 --execution=wasm --wasm-execution=compiled --heap-pages=4096 --template=.maintain/pallet-weight-template-no-back.hbs --pallet=frame_system--output=system.rs --extrinsic="*" diff --git a/scripts/benchmark.all.sh b/scripts/benchmark.all.sh deleted file mode 100755 index 80efc96c0..000000000 --- a/scripts/benchmark.all.sh +++ /dev/null @@ -1,57 +0,0 @@ -#!/bin/bash - -pallets=( -"pallet-balances:balances" -"pallet-bonds:bonds" -"pallet-circuit-breaker:circuit_breaker" -"pallet-claims:claims" -"pallet-collator-selection:collator_selection" -"council:council" -"pallet-currencies:currencies" -"pallet-dca:dca" -"pallet-democracy:democracy" -"pallet-duster:duster" -"pallet-ema-oracle:ema_oracle" -"pallet-identity:identity" -"pallet-lbp:lbp" -"pallet-omnipool:omnipool" -"pallet-omnipool-liquidity-mining:omnipool_lm" -"pallet-otc:otc" -"pallet-transaction-multi-payment:payment" -"pallet-preimage:preimage" -"pallet-proxy:proxy" -"pallet-asset-registry:registry" -"pallet-route-executor:route_executor" -"pallet-scheduler:scheduler" -"pallet-stableswap:stableswap" -"pallet-staking:staking" -"frame-system:system" -"tech:technical_committee" -"pallet-timestamp:timestamp" -"orml-tokens:tokens" -"pallet-transaction-pause:transaction_pause" -"pallet-treasury:treasury" -"pallet-utility:utility" -"orml-vesting:vesting" -"pallet-xcm:xcm" -"cumulus-pallet-xcmp-queue:xcmp_queue" -"pallet-xyk:xyk" -"pallet-referrals:referrals" -) - -command="cargo run --bin hydradx --release --features=runtime-benchmarks -- benchmark pallet --pallet=[pallet] --wasm-execution=compiled --heap-pages=4096 --chain=dev --extrinsic='*' --steps=5 --repeat=20 --output [output].rs --template .maintain/pallet-weight-template-no-back.hbs" - -for string in "${pallets[@]}"; do - - IFS=':' read -ra subvalues <<< "$string" - - pallet="${subvalues[0]}" - output="${subvalues[1]}" - - echo "Running benchmark for ${pallet}" - - replaced_command="${command/\[pallet\]/$pallet}" - replaced_command="${replaced_command/\[output\]/$output}" - - eval "$replaced_command" -done diff --git a/scripts/benchmarking.sh b/scripts/benchmarking.sh new file mode 100644 index 000000000..ce4f4c872 --- /dev/null +++ b/scripts/benchmarking.sh @@ -0,0 +1,91 @@ +#!/usr/bin/env bash +# Created by Moonbeam/Purestake Developers. Shamelessly copied from Moonbeam's benchmarking script +# Original repository: https://github.com/moonbeam-foundation/moonbeam + +# This script can be used for running HydraDX's benchmarks. +# +# The hydradx binary is required to be compiled with --features=runtime-benchmarks +# in release mode. + +set -e + +BINARY="./target/release/hydradx" +STEPS=50 +REPEAT=20 + +if [[ ! -f "${BINARY}" ]]; then + echo "binary '${BINARY}' does not exist." + echo "ensure that the hydradx binary is compiled with '--features=runtime-benchmarks' and in release mode." + exit 1 +fi + +function help { + echo "USAGE:" + echo " ${0} [ ] [--check]" + echo "" + echo "EXAMPLES:" + echo " ${0} " "list all benchmarks and provide a selection to choose from" + echo " ${0} --check " "list all benchmarks and provide a selection to choose from, runs in 'check' mode (reduced steps and repetitions)" + echo " ${0} foo bar " "run a benchmark for pallet 'foo' and benchmark 'bar'" + echo " ${0} foo bar --check " "run a benchmark for pallet 'foo' and benchmark 'bar' in 'check' mode (reduced steps and repetitions)" + echo " ${0} foo bar --all " "run a benchmark for all pallets" + echo " ${0} foo bar --all --check " "run a benchmark for all pallets in 'check' mode (reduced steps and repetitions)" +} + +function choose_and_bench { + readarray -t options < <(${BINARY} benchmark pallet --list | sed 1d) + options+=('EXIT') + + select opt in "${options[@]}"; do + IFS=', ' read -ra parts <<< "${opt}" + [[ "${opt}" == 'EXIT' ]] && exit 0 + + bench "${parts[0]}" "${parts[1]}" "${1}" + break + done +} + +function bench { + OUTPUT=${4:-weights.rs} + echo "benchmarking '${1}::${2}' --check=${3}, writing results to '${OUTPUT}'" + + # Check enabled + if [[ "${3}" -eq 1 ]]; then + STEPS=16 + REPEAT=1 + fi + + WASMTIME_BACKTRACE_DETAILS=1 ${BINARY} benchmark pallet \ + --wasm-execution=compiled \ + --pallet "${1}" \ + --extrinsic "${2}" \ + --heap-pages 4096 \ + --steps "${STEPS}" \ + --repeat "${REPEAT}" \ + --template=scripts/pallet-weight-template.hbs \ + --output "${OUTPUT}" +} + +if [[ "${@}" =~ "--help" ]]; then + help +else + CHECK=0 + if [[ "${@}" =~ "--check" ]]; then + CHECK=1 + set -o noglob && set -- ${@/'--check'} && set +o noglob + fi + + ALL=0 + if [[ "${@}" =~ "--all" ]]; then + ALL=1 + fi + + if [[ "${ALL}" -eq 1 ]]; then + mkdir -p weights/ + bench '*' '*' "${CHECK}" "weights/" + elif [[ $# -ne 2 ]]; then + choose_and_bench "${CHECK}" + else + bench "${1}" "${2}" "${CHECK}" + fi +fi \ No newline at end of file diff --git a/scripts/check_performance.sh b/scripts/check_performance.sh deleted file mode 100755 index fab05e359..000000000 --- a/scripts/check_performance.sh +++ /dev/null @@ -1,96 +0,0 @@ -#!/bin/bash - -# Need to run from the top-level node directory -[ -d ".maintain" ] || { - echo "This script must be executed from the top level node directory" - exit 1 -} - -echo "HydraDX node - Simple Performance check" -echo "---------------------------------------" - -echo -echo "Prerequisites" - -echo -n "Python version >= 3.8 ..... " - -PYTHON=python3 - -command -v $PYTHON >/dev/null 2>&1 || { - echo "python3 required. Please install first" - exit 1 -} - -if ! $PYTHON -c 'import sys; assert sys.version_info >= (3,8)' >/dev/null 2>&1; then - echo "Python version 3.8 or higher required." - exit 1 -fi - -echo "OK ($($PYTHON --version))" - -echo -n "Toolchain ...... " -TOOLCHAIN=$(rustup show active-toolchain) - -if [[ $TOOLCHAIN == "nightly"* ]]; then - echo "OK ($TOOLCHAIN)" -else - echo "Nightly toolchain required" - echo "Current toolchain $TOOLCHAIN" - exit 1 -fi - -EXPECTED_BENCHWIZARD_VERSION="0.5.2" - -echo -n "benchwizard >= $EXPECTED_BENCHWIZARD_VERSION ..... " - -$PYTHON -m bench_wizard >/dev/null 2>&1 || { - echo "benchwizard required. benchwizard is cli tool developed by HydraDX dev to streamline substrate benchmark process." - echo "Installation: pip3 install bench-wizard" - echo - read -p "Do you want to install it now? [Y/n] " -n 1 -r - echo # move to a new line - if [[ ! $REPLY =~ ^[Yy]$ ]]; then - exit 1 - fi - - pip3 install bench-wizard >/dev/null || { - echo "benchwizard installation failed." - exit 1 - } -} - -CURRENT_BENCH_VERSION=$($PYTHON -m bench_wizard version | tr -d '\n') - -if [[ $EXPECTED_BENCHWIZARD_VERSION > $CURRENT_BENCH_VERSION ]]; then - echo "Please upgrade benchwizard (current version $CURRENT_BENCH_VERSION): pip3 install bench-wizard --upgrade" - read -p "Do you want to upgrade it now? [Y/n] " -n 1 -r - echo # move to a new line - if [[ ! $REPLY =~ ^[Yy]$ ]]; then - exit 1 - fi - - pip3 install bench-wizard --upgrade >/dev/null || { - echo "benchwizard upgrade failed." - exit 1 - } -fi - -echo "OK ($($PYTHON -m bench_wizard version))" - -echo - -# Run the check -# shellcheck disable=SC2086 -$PYTHON -m bench_wizard pc -p pallet-claims -c local -rf .maintain/bench-check/hydradx-bench-data.json - -echo - -# Run DB performance check -echo "Running DB disk performance" -if [ ! -d ./substrate ];then - echo "Cloning substrate ... " - git clone --branch=polkadot-v0.9.16 https://github.com/paritytech/substrate.git ./substrate >/dev/null 2>&1 -fi -$PYTHON -m bench_wizard db -d ./substrate - -echo diff --git a/.maintain/pallet-weight-template-no-back.hbs b/scripts/pallet-weight-template.hbs similarity index 91% rename from .maintain/pallet-weight-template-no-back.hbs rename to scripts/pallet-weight-template.hbs index f0ab2b887..107c8ea67 100644 --- a/.maintain/pallet-weight-template-no-back.hbs +++ b/scripts/pallet-weight-template.hbs @@ -15,13 +15,14 @@ // See the License for the specific language governing permissions and // limitations under the License. +{{header}} //! Autogenerated weights for `{{pallet}}` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION {{version}} //! DATE: {{date}}, STEPS: `{{cmd.steps}}`, REPEAT: `{{cmd.repeat}}`, LOW RANGE: `{{cmd.lowest_range_values}}`, HIGH RANGE: `{{cmd.highest_range_values}}` //! WORST CASE MAP SIZE: `{{cmd.worst_case_map_values}}` //! HOSTNAME: `{{hostname}}`, CPU: `{{cpuname}}` -//! WASM-EXECUTION: `{{cmd.wasm_execution}}`, CHAIN: `{{cmd.chain}}`, DB CACHE: {{cmd.db_cache}} +//! WASM-EXECUTION: `{{cmd.wasm_execution}}`, CHAIN: `{{cmd.chain}}`, DB CACHE: `{{cmd.db_cache}}` // Executed Command: {{#each args as |arg|}} @@ -33,10 +34,13 @@ #![allow(unused_imports)] #![allow(missing_docs)] -use frame_support::{traits::Get, weights::Weight}; +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; use core::marker::PhantomData; -/// Weight functions for `{{pallet}}`. +/// Weights for `{{pallet}}`. +pub struct WeightInfo(PhantomData); + +/// Weights for `{{pallet}}` using the HydraDX node and recommended hardware. pub struct HydraWeight(PhantomData); impl {{pallet}}::WeightInfo for HydraWeight { {{#each benchmarks as |benchmark|}} @@ -61,13 +65,13 @@ impl {{pallet}}::WeightInfo for HydraWeight { .saturating_add(Weight::from_parts({{underscore cw.slope}}, 0).saturating_mul({{cw.name}}.into())) {{/each}} {{#if (ne benchmark.base_reads "0")}} - .saturating_add(T::DbWeight::get().reads({{benchmark.base_reads}})) + .saturating_add(T::DbWeight::get().reads({{benchmark.base_reads}}_u64)) {{/if}} {{#each benchmark.component_reads as |cr|}} .saturating_add(T::DbWeight::get().reads(({{cr.slope}}_u64).saturating_mul({{cr.name}}.into()))) {{/each}} {{#if (ne benchmark.base_writes "0")}} - .saturating_add(T::DbWeight::get().writes({{benchmark.base_writes}})) + .saturating_add(T::DbWeight::get().writes({{benchmark.base_writes}}_u64)) {{/if}} {{#each benchmark.component_writes as |cw|}} .saturating_add(T::DbWeight::get().writes(({{cw.slope}}_u64).saturating_mul({{cw.name}}.into()))) From e2ad3ec2767f811ded122370c11bfe65b476f912 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Wed, 8 May 2024 17:45:24 +0200 Subject: [PATCH 034/105] rename weight files --- integration-tests/src/router.rs | 8 +- runtime/hydradx/src/assets.rs | 114 +++++++++--------- runtime/hydradx/src/evm/mod.rs | 4 +- runtime/hydradx/src/governance.rs | 12 +- runtime/hydradx/src/system.rs | 18 +-- ..._queue.rs => cumulus_pallet_xcmp_queue.rs} | 0 .../weights/{system.rs => frame_system.rs} | 0 runtime/hydradx/src/weights/mod.rs | 80 ++++++------ .../src/weights/{tokens.rs => orml_tokens.rs} | 0 .../weights/{vesting.rs => orml_vesting.rs} | 0 .../{registry.rs => pallet_asset_registry.rs} | 0 .../{balances.rs => pallet_balances.rs} | 0 .../src/weights/{bonds.rs => pallet_bonds.rs} | 0 ...t_breaker.rs => pallet_circuit_breaker.rs} | 0 .../weights/{claims.rs => pallet_claims.rs} | 0 ...ection.rs => pallet_collator_selection.rs} | 0 .../{currencies.rs => pallet_currencies.rs} | 0 .../src/weights/{dca.rs => pallet_dca.rs} | 0 .../{democracy.rs => pallet_democracy.rs} | 0 .../weights/{duster.rs => pallet_duster.rs} | 0 ...c_evm_fee.rs => pallet_dynamic_evm_fee.rs} | 0 ...ctions.rs => pallet_elections_phragmen.rs} | 0 .../{ema_oracle.rs => pallet_ema_oracle.rs} | 0 ...evm_accounts.rs => pallet_evm_accounts.rs} | 0 .../{identity.rs => pallet_identity.rs} | 0 .../src/weights/{lbp.rs => pallet_lbp.rs} | 0 .../{omnipool.rs => pallet_omnipool.rs} | 0 ...rs => pallet_omnipool_liquidity_mining.rs} | 0 .../src/weights/{otc.rs => pallet_otc.rs} | 0 .../{preimage.rs => pallet_preimage.rs} | 0 .../src/weights/{proxy.rs => pallet_proxy.rs} | 0 .../{referrals.rs => pallet_referrals.rs} | 0 ...e_executor.rs => pallet_route_executor.rs} | 0 .../{scheduler.rs => pallet_scheduler.rs} | 0 .../{stableswap.rs => pallet_stableswap.rs} | 0 .../weights/{staking.rs => pallet_staking.rs} | 0 ...trie.rs => pallet_state_trie_migration.rs} | 0 .../{timestamp.rs => pallet_timestamp.rs} | 0 .../src/weights/{tips.rs => pallet_tips.rs} | 0 ...rs => pallet_transaction_multi_payment.rs} | 0 ...n_pause.rs => pallet_transaction_pause.rs} | 0 .../{treasury.rs => pallet_treasury.rs} | 0 .../weights/{utility.rs => pallet_utility.rs} | 0 .../src/weights/{xcm.rs => pallet_xcm.rs} | 0 .../src/weights/{xyk.rs => pallet_xyk.rs} | 0 ...k_lm.rs => pallet_xyk_liquidity_mining.rs} | 0 runtime/hydradx/src/xcm.rs | 4 +- 47 files changed, 120 insertions(+), 120 deletions(-) rename runtime/hydradx/src/weights/{xcmp_queue.rs => cumulus_pallet_xcmp_queue.rs} (100%) rename runtime/hydradx/src/weights/{system.rs => frame_system.rs} (100%) rename runtime/hydradx/src/weights/{tokens.rs => orml_tokens.rs} (100%) rename runtime/hydradx/src/weights/{vesting.rs => orml_vesting.rs} (100%) rename runtime/hydradx/src/weights/{registry.rs => pallet_asset_registry.rs} (100%) rename runtime/hydradx/src/weights/{balances.rs => pallet_balances.rs} (100%) rename runtime/hydradx/src/weights/{bonds.rs => pallet_bonds.rs} (100%) rename runtime/hydradx/src/weights/{circuit_breaker.rs => pallet_circuit_breaker.rs} (100%) rename runtime/hydradx/src/weights/{claims.rs => pallet_claims.rs} (100%) rename runtime/hydradx/src/weights/{collator_selection.rs => pallet_collator_selection.rs} (100%) rename runtime/hydradx/src/weights/{currencies.rs => pallet_currencies.rs} (100%) rename runtime/hydradx/src/weights/{dca.rs => pallet_dca.rs} (100%) rename runtime/hydradx/src/weights/{democracy.rs => pallet_democracy.rs} (100%) rename runtime/hydradx/src/weights/{duster.rs => pallet_duster.rs} (100%) rename runtime/hydradx/src/weights/{dynamic_evm_fee.rs => pallet_dynamic_evm_fee.rs} (100%) rename runtime/hydradx/src/weights/{elections.rs => pallet_elections_phragmen.rs} (100%) rename runtime/hydradx/src/weights/{ema_oracle.rs => pallet_ema_oracle.rs} (100%) rename runtime/hydradx/src/weights/{evm_accounts.rs => pallet_evm_accounts.rs} (100%) rename runtime/hydradx/src/weights/{identity.rs => pallet_identity.rs} (100%) rename runtime/hydradx/src/weights/{lbp.rs => pallet_lbp.rs} (100%) rename runtime/hydradx/src/weights/{omnipool.rs => pallet_omnipool.rs} (100%) rename runtime/hydradx/src/weights/{omnipool_lm.rs => pallet_omnipool_liquidity_mining.rs} (100%) rename runtime/hydradx/src/weights/{otc.rs => pallet_otc.rs} (100%) rename runtime/hydradx/src/weights/{preimage.rs => pallet_preimage.rs} (100%) rename runtime/hydradx/src/weights/{proxy.rs => pallet_proxy.rs} (100%) rename runtime/hydradx/src/weights/{referrals.rs => pallet_referrals.rs} (100%) rename runtime/hydradx/src/weights/{route_executor.rs => pallet_route_executor.rs} (100%) rename runtime/hydradx/src/weights/{scheduler.rs => pallet_scheduler.rs} (100%) rename runtime/hydradx/src/weights/{stableswap.rs => pallet_stableswap.rs} (100%) rename runtime/hydradx/src/weights/{staking.rs => pallet_staking.rs} (100%) rename runtime/hydradx/src/weights/{state_trie.rs => pallet_state_trie_migration.rs} (100%) rename runtime/hydradx/src/weights/{timestamp.rs => pallet_timestamp.rs} (100%) rename runtime/hydradx/src/weights/{tips.rs => pallet_tips.rs} (100%) rename runtime/hydradx/src/weights/{payment.rs => pallet_transaction_multi_payment.rs} (100%) rename runtime/hydradx/src/weights/{transaction_pause.rs => pallet_transaction_pause.rs} (100%) rename runtime/hydradx/src/weights/{treasury.rs => pallet_treasury.rs} (100%) rename runtime/hydradx/src/weights/{utility.rs => pallet_utility.rs} (100%) rename runtime/hydradx/src/weights/{xcm.rs => pallet_xcm.rs} (100%) rename runtime/hydradx/src/weights/{xyk.rs => pallet_xyk.rs} (100%) rename runtime/hydradx/src/weights/{xyk_lm.rs => pallet_xyk_liquidity_mining.rs} (100%) diff --git a/integration-tests/src/router.rs b/integration-tests/src/router.rs index 296f05620..d6b7c1a33 100644 --- a/integration-tests/src/router.rs +++ b/integration-tests/src/router.rs @@ -694,7 +694,7 @@ mod router_different_pools_tests { //Act & Assert assert_eq!( RouterWeightInfo::sell_weight(trades.as_slice()), - hydradx_runtime::weights::omnipool::HydraWeight::::router_execution_sell(1, 1) + hydradx_runtime::weights::pallet_omnipool::HydraWeight::::router_execution_sell(1, 1) .checked_add(&, @@ -711,7 +711,7 @@ mod router_different_pools_tests { > as OmnipoolHooks::>::on_liquidity_changed_weight( )) .unwrap() - .checked_add(&hydradx_runtime::weights::lbp::HydraWeight::::router_execution_sell(1, 1)) + .checked_add(&hydradx_runtime::weights::pallet_lbp::HydraWeight::::router_execution_sell(1, 1)) .unwrap() .checked_add( &RouterWeightInfo::sell_and_calculate_sell_trade_amounts_overhead_weight(0, 1) @@ -722,7 +722,7 @@ mod router_different_pools_tests { ); assert_eq!( RouterWeightInfo::buy_weight(trades.as_slice()), - hydradx_runtime::weights::omnipool::HydraWeight::::router_execution_buy(1, 1) + hydradx_runtime::weights::pallet_omnipool::HydraWeight::::router_execution_buy(1, 1) .checked_add(&, @@ -739,7 +739,7 @@ mod router_different_pools_tests { > as OmnipoolHooks::>::on_liquidity_changed_weight( )) .unwrap() - .checked_add(&hydradx_runtime::weights::lbp::HydraWeight::::router_execution_buy(1, 1)) + .checked_add(&hydradx_runtime::weights::pallet_lbp::HydraWeight::::router_execution_buy(1, 1)) .unwrap() .checked_add( &RouterWeightInfo::buy_and_calculate_buy_trade_amounts_overhead_weight(0, 1) diff --git a/runtime/hydradx/src/assets.rs b/runtime/hydradx/src/assets.rs index 5204261c3..77fd16ecb 100644 --- a/runtime/hydradx/src/assets.rs +++ b/runtime/hydradx/src/assets.rs @@ -93,7 +93,7 @@ parameter_types! { impl pallet_balances::Config for Runtime { type RuntimeEvent = RuntimeEvent; - type WeightInfo = weights::balances::HydraWeight; + type WeightInfo = weights::pallet_balances::HydraWeight; type Balance = Balance; type DustRemoval = DustRemovalAdapter; type ExistentialDeposit = NativeExistentialDeposit; @@ -290,7 +290,7 @@ impl orml_tokens::Config for Runtime { type Balance = Balance; type Amount = Amount; type CurrencyId = AssetId; - type WeightInfo = weights::tokens::HydraWeight; + type WeightInfo = weights::orml_tokens::HydraWeight; type ExistentialDeposits = AssetRegistry; type CurrencyHooks = CurrencyHooks; type MaxLocks = MaxLocks; @@ -307,7 +307,7 @@ impl pallet_currencies::Config for Runtime { type MultiCurrency = Tokens; type NativeCurrency = BasicCurrencyAdapter; type GetNativeCurrencyId = NativeAssetId; - type WeightInfo = weights::currencies::HydraWeight; + type WeightInfo = weights::pallet_currencies::HydraWeight; } pub struct RootAsVestingPallet; @@ -340,7 +340,7 @@ impl orml_vesting::Config for Runtime { type Currency = Balances; type MinVestedTransfer = MinVestedTransfer; type VestedTransferOrigin = RootAsVestingPallet; - type WeightInfo = weights::vesting::HydraWeight; + type WeightInfo = weights::orml_vesting::HydraWeight; type MaxVestingSchedules = MaxVestingSchedules; type BlockNumberProvider = RelayChainBlockNumberProvider; } @@ -352,7 +352,7 @@ parameter_types! { impl pallet_claims::Config for Runtime { type RuntimeEvent = RuntimeEvent; type Prefix = ClaimMessagePrefix; - type WeightInfo = weights::claims::HydraWeight; + type WeightInfo = weights::pallet_claims::HydraWeight; type Currency = Balances; type CurrencyBalance = Balance; } @@ -377,7 +377,7 @@ impl pallet_asset_registry::Config for Runtime { type MinStringLimit = MinRegistryStrLimit; type SequentialIdStartAt = SequentialIdOffset; type RegExternalWeightMultiplier = RegExternalWeightMultiplier; - type WeightInfo = weights::registry::HydraWeight; + type WeightInfo = weights::pallet_asset_registry::HydraWeight; } parameter_types! { @@ -444,7 +444,7 @@ impl pallet_omnipool::Config for Runtime { type CollectionId = CollectionId; type NFTCollectionId = OmnipoolCollectionId; type NFTHandler = Uniques; - type WeightInfo = weights::omnipool::HydraWeight; + type WeightInfo = weights::pallet_omnipool::HydraWeight; type OmnipoolHooks = OmnipoolHookAdapter; type PriceBarrier = ( EnsurePriceWithin< @@ -489,7 +489,7 @@ impl pallet_circuit_breaker::Config for Runtime { type DefaultMaxAddLiquidityLimitPerBlock = DefaultMaxLiquidityLimitPerBlock; type DefaultMaxRemoveLiquidityLimitPerBlock = DefaultMaxLiquidityLimitPerBlock; type OmnipoolHubAsset = LRNA; - type WeightInfo = weights::circuit_breaker::HydraWeight; + type WeightInfo = weights::pallet_circuit_breaker::HydraWeight; } parameter_types! { @@ -521,7 +521,7 @@ impl pallet_ema_oracle::Config for Runtime { /// With every asset trading against LRNA we will only have as many pairs as there will be assets, so /// 40 seems a decent upper bound for the foreseeable future. type MaxUniqueEntries = ConstU32<40>; - type WeightInfo = weights::ema_oracle::HydraWeight; + type WeightInfo = weights::pallet_ema_oracle::HydraWeight; #[cfg(feature = "runtime-benchmarks")] /// Should take care of the overhead introduced by `OracleWhitelist`. type BenchmarkHelper = RegisterAsset; @@ -549,7 +549,7 @@ impl pallet_duster::Config for Runtime { type Reward = DustingReward; type NativeCurrencyId = NativeAssetId; type BlacklistUpdateOrigin = SuperMajorityTechCommittee; - type WeightInfo = (); + type WeightInfo = weights::pallet_duster::HydraWeight; } parameter_types! { @@ -597,7 +597,7 @@ impl pallet_omnipool_liquidity_mining::Config for Runtime { type OracleSource = OmnipoolLMOracleSource; type OraclePeriod = OmnipoolLMOraclePeriod; type PriceOracle = EmaOracle; - type WeightInfo = weights::omnipool_lm::HydraWeight; + type WeightInfo = weights::pallet_omnipool_liquidity_mining::HydraWeight; } parameter_types! { @@ -643,7 +643,7 @@ impl pallet_xyk_liquidity_mining::Config for Runtime { type NonDustableWhitelistHandler = Duster; type AMM = XYK; type AssetRegistry = AssetRegistry; - type WeightInfo = weights::xyk_lm::HydraWeight; + type WeightInfo = weights::pallet_xyk_liquidity_mining::HydraWeight; } // The reason why there is difference between PROD and benchmark is that it is not possible @@ -759,7 +759,7 @@ impl pallet_dca::Config for Runtime { type NamedReserveId = NamedReserveId; type WeightToFee = WeightToFee; type AmmTradeWeights = RouterWeightInfo; - type WeightInfo = weights::dca::HydraWeight; + type WeightInfo = weights::pallet_dca::HydraWeight; #[cfg(not(feature = "runtime-benchmarks"))] type NativePriceOracle = AssetFeeOraclePriceProvider< NativeAssetId, @@ -791,8 +791,8 @@ impl RouterWeightInfo { num_of_calc_sell: u32, num_of_execute_sell: u32, ) -> Weight { - weights::route_executor::HydraWeight::::calculate_and_execute_sell_in_lbp(num_of_calc_sell) - .saturating_sub(weights::lbp::HydraWeight::::router_execution_sell( + weights::pallet_route_executor::HydraWeight::::calculate_and_execute_sell_in_lbp(num_of_calc_sell) + .saturating_sub(weights::pallet_lbp::HydraWeight::::router_execution_sell( num_of_calc_sell.saturating_add(num_of_execute_sell), num_of_execute_sell, )) @@ -802,15 +802,15 @@ impl RouterWeightInfo { num_of_calc_buy: u32, num_of_execute_buy: u32, ) -> Weight { - let router_weight = weights::route_executor::HydraWeight::::calculate_and_execute_buy_in_lbp( + let router_weight = weights::pallet_route_executor::HydraWeight::::calculate_and_execute_buy_in_lbp( num_of_calc_buy, num_of_execute_buy, ); // Handle this case separately. router_execution_buy provides incorrect weight for the case when only calculate_buy is executed. let lbp_weight = if (num_of_calc_buy, num_of_execute_buy) == (1, 0) { - weights::lbp::HydraWeight::::calculate_buy() + weights::pallet_lbp::HydraWeight::::calculate_buy() } else { - weights::lbp::HydraWeight::::router_execution_buy( + weights::pallet_lbp::HydraWeight::::router_execution_buy( num_of_calc_buy.saturating_add(num_of_execute_buy), num_of_execute_buy, ) @@ -822,9 +822,9 @@ impl RouterWeightInfo { let number_of_times_calculate_sell_amounts_executed = 5; //4 calculations + in the validation let number_of_times_execute_sell_amounts_executed = 0; //We do have it once executed in the validation of the route, but it is without writing to database (as rolled back), and since we pay back successful set_route, we just keep this overhead - let set_route_overweight = weights::route_executor::HydraWeight::::set_route_for_xyk(); + let set_route_overweight = weights::pallet_route_executor::HydraWeight::::set_route_for_xyk(); - set_route_overweight.saturating_sub(weights::xyk::HydraWeight::::router_execution_sell( + set_route_overweight.saturating_sub(weights::pallet_xyk::HydraWeight::::router_execution_sell( number_of_times_calculate_sell_amounts_executed, number_of_times_execute_sell_amounts_executed, )) @@ -842,7 +842,7 @@ impl AmmTradeWeights> for RouterWeightInfo { weight.saturating_accrue(Self::sell_and_calculate_sell_trade_amounts_overhead_weight(0, 1)); let amm_weight = match trade.pool { - PoolType::Omnipool => weights::omnipool::HydraWeight::::router_execution_sell(c, e) + PoolType::Omnipool => weights::pallet_omnipool::HydraWeight::::router_execution_sell(c, e) .saturating_add( as OmnipoolHooks< RuntimeOrigin, @@ -859,9 +859,9 @@ impl AmmTradeWeights> for RouterWeightInfo { Balance, >>::on_liquidity_changed_weight(), ), - PoolType::LBP => weights::lbp::HydraWeight::::router_execution_sell(c, e), - PoolType::Stableswap(_) => weights::stableswap::HydraWeight::::router_execution_sell(c, e), - PoolType::XYK => weights::xyk::HydraWeight::::router_execution_sell(c, e) + PoolType::LBP => weights::pallet_lbp::HydraWeight::::router_execution_sell(c, e), + PoolType::Stableswap(_) => weights::pallet_stableswap::HydraWeight::::router_execution_sell(c, e), + PoolType::XYK => weights::pallet_xyk::HydraWeight::::router_execution_sell(c, e) .saturating_add(::AMMHandler::on_trade_weight()), }; weight.saturating_accrue(amm_weight); @@ -880,7 +880,7 @@ impl AmmTradeWeights> for RouterWeightInfo { weight.saturating_accrue(Self::buy_and_calculate_buy_trade_amounts_overhead_weight(0, 1)); let amm_weight = match trade.pool { - PoolType::Omnipool => weights::omnipool::HydraWeight::::router_execution_buy(c, e) + PoolType::Omnipool => weights::pallet_omnipool::HydraWeight::::router_execution_buy(c, e) .saturating_add( as OmnipoolHooks< RuntimeOrigin, @@ -897,9 +897,9 @@ impl AmmTradeWeights> for RouterWeightInfo { Balance, >>::on_liquidity_changed_weight(), ), - PoolType::LBP => weights::lbp::HydraWeight::::router_execution_buy(c, e), - PoolType::Stableswap(_) => weights::stableswap::HydraWeight::::router_execution_buy(c, e), - PoolType::XYK => weights::xyk::HydraWeight::::router_execution_buy(c, e) + PoolType::LBP => weights::pallet_lbp::HydraWeight::::router_execution_buy(c, e), + PoolType::Stableswap(_) => weights::pallet_stableswap::HydraWeight::::router_execution_buy(c, e), + PoolType::XYK => weights::pallet_xyk::HydraWeight::::router_execution_buy(c, e) .saturating_add(::AMMHandler::on_trade_weight()), }; weight.saturating_accrue(amm_weight); @@ -918,10 +918,10 @@ impl AmmTradeWeights> for RouterWeightInfo { weight.saturating_accrue(Self::buy_and_calculate_buy_trade_amounts_overhead_weight(1, 0)); let amm_weight = match trade.pool { - PoolType::Omnipool => weights::omnipool::HydraWeight::::router_execution_buy(c, e), - PoolType::LBP => weights::lbp::HydraWeight::::router_execution_buy(c, e), - PoolType::Stableswap(_) => weights::stableswap::HydraWeight::::router_execution_buy(c, e), - PoolType::XYK => weights::xyk::HydraWeight::::router_execution_buy(c, e) + PoolType::Omnipool => weights::pallet_omnipool::HydraWeight::::router_execution_buy(c, e), + PoolType::LBP => weights::pallet_lbp::HydraWeight::::router_execution_buy(c, e), + PoolType::Stableswap(_) => weights::pallet_stableswap::HydraWeight::::router_execution_buy(c, e), + PoolType::XYK => weights::pallet_xyk::HydraWeight::::router_execution_buy(c, e) .saturating_add(::AMMHandler::on_trade_weight()), }; weight.saturating_accrue(amm_weight); @@ -940,10 +940,10 @@ impl AmmTradeWeights> for RouterWeightInfo { weight.saturating_accrue(Self::sell_and_calculate_sell_trade_amounts_overhead_weight(1, 1)); let amm_weight = match trade.pool { - PoolType::Omnipool => weights::omnipool::HydraWeight::::router_execution_sell(c, e), - PoolType::LBP => weights::lbp::HydraWeight::::router_execution_sell(c, e), - PoolType::Stableswap(_) => weights::stableswap::HydraWeight::::router_execution_sell(c, e), - PoolType::XYK => weights::xyk::HydraWeight::::router_execution_sell(c, e) + PoolType::Omnipool => weights::pallet_omnipool::HydraWeight::::router_execution_sell(c, e), + PoolType::LBP => weights::pallet_lbp::HydraWeight::::router_execution_sell(c, e), + PoolType::Stableswap(_) => weights::pallet_stableswap::HydraWeight::::router_execution_sell(c, e), + PoolType::XYK => weights::pallet_xyk::HydraWeight::::router_execution_sell(c, e) .saturating_add(::AMMHandler::on_trade_weight()), }; weight.saturating_accrue(amm_weight); @@ -962,10 +962,10 @@ impl AmmTradeWeights> for RouterWeightInfo { weight.saturating_accrue(Self::buy_and_calculate_buy_trade_amounts_overhead_weight(2, 1)); let amm_weight = match trade.pool { - PoolType::Omnipool => weights::omnipool::HydraWeight::::router_execution_buy(c, e), - PoolType::LBP => weights::lbp::HydraWeight::::router_execution_buy(c, e), - PoolType::Stableswap(_) => weights::stableswap::HydraWeight::::router_execution_buy(c, e), - PoolType::XYK => weights::xyk::HydraWeight::::router_execution_buy(c, e) + PoolType::Omnipool => weights::pallet_omnipool::HydraWeight::::router_execution_buy(c, e), + PoolType::LBP => weights::pallet_lbp::HydraWeight::::router_execution_buy(c, e), + PoolType::Stableswap(_) => weights::pallet_stableswap::HydraWeight::::router_execution_buy(c, e), + PoolType::XYK => weights::pallet_xyk::HydraWeight::::router_execution_buy(c, e) .saturating_add(::AMMHandler::on_trade_weight()), }; weight.saturating_accrue(amm_weight); @@ -987,16 +987,16 @@ impl AmmTradeWeights> for RouterWeightInfo { //For the stored route we expect a worst case with max number of trades in the most expensive pool which is stableswap //We have have two sell calculation for that, normal and inverse - weights::stableswap::HydraWeight::::router_execution_sell(2, 0) + weights::pallet_stableswap::HydraWeight::::router_execution_sell(2, 0) .checked_mul(MAX_NUMBER_OF_TRADES.into()); //Calculate sell amounts for the new route for trade in route { let amm_weight = match trade.pool { - PoolType::Omnipool => weights::omnipool::HydraWeight::::router_execution_sell(1, 0), - PoolType::LBP => weights::lbp::HydraWeight::::router_execution_sell(1, 0), - PoolType::Stableswap(_) => weights::stableswap::HydraWeight::::router_execution_sell(1, 0), - PoolType::XYK => weights::xyk::HydraWeight::::router_execution_sell(1, 0), + PoolType::Omnipool => weights::pallet_omnipool::HydraWeight::::router_execution_sell(1, 0), + PoolType::LBP => weights::pallet_lbp::HydraWeight::::router_execution_sell(1, 0), + PoolType::Stableswap(_) => weights::pallet_stableswap::HydraWeight::::router_execution_sell(1, 0), + PoolType::XYK => weights::pallet_xyk::HydraWeight::::router_execution_sell(1, 0), }; weight.saturating_accrue(amm_weight); } @@ -1004,10 +1004,10 @@ impl AmmTradeWeights> for RouterWeightInfo { //Calculate sell amounts for the inversed new route for trade in inverse_route(route.to_vec()) { let amm_weight = match trade.pool { - PoolType::Omnipool => weights::omnipool::HydraWeight::::router_execution_sell(1, 0), - PoolType::LBP => weights::lbp::HydraWeight::::router_execution_sell(1, 0), - PoolType::Stableswap(_) => weights::stableswap::HydraWeight::::router_execution_sell(1, 0), - PoolType::XYK => weights::xyk::HydraWeight::::router_execution_sell(1, 0), + PoolType::Omnipool => weights::pallet_omnipool::HydraWeight::::router_execution_sell(1, 0), + PoolType::LBP => weights::pallet_lbp::HydraWeight::::router_execution_sell(1, 0), + PoolType::Stableswap(_) => weights::pallet_stableswap::HydraWeight::::router_execution_sell(1, 0), + PoolType::XYK => weights::pallet_xyk::HydraWeight::::router_execution_sell(1, 0), }; weight.saturating_accrue(amm_weight); } @@ -1017,7 +1017,7 @@ impl AmmTradeWeights> for RouterWeightInfo { fn force_insert_route_weight() -> Weight { //Since we don't have any AMM specific thing in the extrinsic, we just return the plain weight - weights::route_executor::HydraWeight::::force_insert_route() + weights::pallet_route_executor::HydraWeight::::force_insert_route() } } @@ -1049,7 +1049,7 @@ impl pallet_otc::Config for Runtime { type RuntimeEvent = RuntimeEvent; type ExistentialDeposits = AssetRegistry; type ExistentialDepositMultiplier = ExistentialDepositMultiplier; - type WeightInfo = weights::otc::HydraWeight; + type WeightInfo = weights::pallet_otc::HydraWeight; } // Dynamic fees @@ -1191,7 +1191,7 @@ impl pallet_stableswap::Config for Runtime { type MinPoolLiquidity = MinPoolLiquidity; type MinTradingLimit = MinTradingLimit; type AmplificationRange = StableswapAmplificationRange; - type WeightInfo = weights::stableswap::HydraWeight; + type WeightInfo = weights::pallet_stableswap::HydraWeight; #[cfg(feature = "runtime-benchmarks")] type BenchmarkHelper = RegisterAsset; } @@ -1221,7 +1221,7 @@ impl pallet_bonds::Config for Runtime { type AssetTypeWhitelist = AssetTypeWhitelist; type ProtocolFee = ProtocolFee; type FeeReceiver = TreasuryAccount; - type WeightInfo = weights::bonds::HydraWeight; + type WeightInfo = weights::pallet_bonds::HydraWeight; } // Staking @@ -1280,7 +1280,7 @@ impl pallet_staking::Config for Runtime { type ReferendumInfo = pallet_staking::integrations::democracy::ReferendumStatus; type MaxPointsPerAction = PointsPerAction; type Vesting = VestingInfo; - type WeightInfo = weights::staking::HydraWeight; + type WeightInfo = weights::pallet_staking::HydraWeight; type MinSlash = StakingMinSlash; #[cfg(feature = "runtime-benchmarks")] @@ -1314,7 +1314,7 @@ impl pallet_lbp::Config for Runtime { type CreatePoolOrigin = SuperMajorityTechCommittee; type LBPWeightFunction = pallet_lbp::LBPWeightFunction; type AssetPairAccountId = AssetPairAccountId; - type WeightInfo = weights::lbp::HydraWeight; + type WeightInfo = weights::pallet_lbp::HydraWeight; type MinTradingLimit = MinTradingLimit; type MinPoolLiquidity = MinPoolLiquidity; type MaxInRatio = MaxInRatio; @@ -1334,7 +1334,7 @@ impl pallet_xyk::Config for Runtime { type AssetPairAccountId = AssetPairAccountId; type Currency = Currencies; type NativeAssetId = NativeAssetId; - type WeightInfo = weights::xyk::HydraWeight; + type WeightInfo = weights::pallet_xyk::HydraWeight; type GetExchangeFee = XYKExchangeFee; type MinTradingLimit = MinTradingLimit; type MinPoolLiquidity = MinPoolLiquidity; @@ -1376,7 +1376,7 @@ impl pallet_referrals::Config for Runtime { type LevelVolumeAndRewardPercentages = ReferralsLevelVolumeAndRewards; type ExternalAccount = ReferralsExternalRewardAccount; type SeedNativeAmount = ReferralsSeedAmount; - type WeightInfo = weights::referrals::HydraWeight; + type WeightInfo = weights::pallet_referrals::HydraWeight; #[cfg(feature = "runtime-benchmarks")] type BenchmarkHelper = ReferralsBenchmarkHelper; } diff --git a/runtime/hydradx/src/evm/mod.rs b/runtime/hydradx/src/evm/mod.rs index 06ed42f5e..c4044037a 100644 --- a/runtime/hydradx/src/evm/mod.rs +++ b/runtime/hydradx/src/evm/mod.rs @@ -187,7 +187,7 @@ impl pallet_evm_accounts::Config for crate::Runtime { type FeeMultiplier = sp_core::ConstU32<50>; type EvmNonceProvider = EvmNonceProvider; type ControllerOrigin = crate::SuperMajorityTechCommittee; - type WeightInfo = crate::weights::evm_accounts::HydraWeight; + type WeightInfo = crate::weights::pallet_evm_accounts::HydraWeight; } parameter_types! { @@ -211,5 +211,5 @@ impl pallet_dynamic_evm_fee::Config for crate::Runtime { OracleEvmPeriod, >; type WethAssetId = WethAssetId; - type WeightInfo = crate::weights::dynamic_evm_fee::HydraWeight; + type WeightInfo = crate::weights::pallet_dynamic_evm_fee::HydraWeight; } diff --git a/runtime/hydradx/src/governance.rs b/runtime/hydradx/src/governance.rs index 8dbf0c55e..8f76ee203 100644 --- a/runtime/hydradx/src/governance.rs +++ b/runtime/hydradx/src/governance.rs @@ -58,7 +58,7 @@ impl pallet_treasury::Config for Runtime { type Burn = Burn; type PalletId = TreasuryPalletId; type BurnDestination = (); - type WeightInfo = weights::treasury::HydraWeight; + type WeightInfo = weights::pallet_treasury::HydraWeight; type SpendFunds = (); type MaxApprovals = MaxApprovals; type SpendOrigin = NeverEnsureOrigin; @@ -80,7 +80,7 @@ parameter_types! { impl pallet_preimage::Config for Runtime { type RuntimeEvent = RuntimeEvent; - type WeightInfo = weights::preimage::HydraWeight; + type WeightInfo = weights::pallet_preimage::HydraWeight; type Currency = Balances; type ManagerOrigin = EnsureRoot; type Consideration = (); @@ -132,7 +132,7 @@ impl pallet_scheduler::Config for Runtime { type ScheduleOrigin = MoreThanHalfCouncil; type OriginPrivilegeCmp = OriginPrivilegeCmp; type MaxScheduledPerBlock = MaxScheduledPerBlock; - type WeightInfo = weights::scheduler::HydraWeight; + type WeightInfo = weights::pallet_scheduler::HydraWeight; type Preimages = Preimage; } @@ -238,7 +238,7 @@ parameter_types! { } impl pallet_democracy::Config for Runtime { - type WeightInfo = weights::democracy::HydraWeight; + type WeightInfo = weights::pallet_democracy::HydraWeight; type RuntimeEvent = RuntimeEvent; type Scheduler = Scheduler; type Preimages = Preimage; @@ -312,7 +312,7 @@ impl pallet_elections_phragmen::Config for Runtime { type TermDuration = TermDuration; type MaxCandidates = MaxElectionCandidates; type MaxVoters = MaxElectionVoters; - type WeightInfo = weights::elections::HydraWeight; + type WeightInfo = weights::pallet_elections_phragmen::HydraWeight; type MaxVotesPerVoter = MaxVotesPerVoter; } @@ -335,5 +335,5 @@ impl pallet_tips::Config for Runtime { type TipReportDepositBase = TipReportDepositBase; type MaxTipAmount = MaxTipAmount; type Tippers = Elections; - type WeightInfo = weights::tips::HydraWeight; + type WeightInfo = weights::pallet_tips::HydraWeight; } diff --git a/runtime/hydradx/src/system.rs b/runtime/hydradx/src/system.rs index c31866a71..fc4fb5f5a 100644 --- a/runtime/hydradx/src/system.rs +++ b/runtime/hydradx/src/system.rs @@ -186,7 +186,7 @@ impl frame_system::Config for Runtime { /// What to do if an account is fully reaped from the system. type OnKilledAccount = (); /// Weight information for the extrinsics of this pallet. - type SystemWeightInfo = weights::system::HydraWeight; + type SystemWeightInfo = weights::frame_system::HydraWeight; type SS58Prefix = SS58Prefix; type OnSetCode = cumulus_pallet_parachain_system::ParachainSetCode; type MaxConsumers = frame_support::traits::ConstU32<16>; @@ -201,7 +201,7 @@ impl pallet_timestamp::Config for Runtime { type Moment = u64; type OnTimestampSet = (); type MinimumPeriod = MinimumPeriod; - type WeightInfo = weights::timestamp::HydraWeight; + type WeightInfo = weights::pallet_timestamp::HydraWeight; } parameter_types! { @@ -260,7 +260,7 @@ impl pallet_collator_selection::Config for Runtime { type ValidatorId = ::AccountId; type ValidatorIdOf = pallet_collator_selection::IdentityCollator; type ValidatorRegistration = Session; - type WeightInfo = weights::collator_selection::HydraWeight; + type WeightInfo = weights::pallet_collator_selection::HydraWeight; type MinEligibleCollators = ConstU32<4>; } @@ -288,7 +288,7 @@ impl pallet_utility::Config for Runtime { type RuntimeEvent = RuntimeEvent; type RuntimeCall = RuntimeCall; type PalletsOrigin = OriginCaller; - type WeightInfo = weights::utility::HydraWeight; + type WeightInfo = weights::pallet_utility::HydraWeight; } parameter_types! { @@ -321,7 +321,7 @@ impl pallet_identity::Config for Runtime { type PendingUsernameExpiration = PendingUserNameExpiration; type MaxSuffixLength = MaxSuffixLength; type MaxUsernameLength = MaxUsernameLength; - type WeightInfo = weights::identity::HydraWeight; + type WeightInfo = weights::pallet_identity::HydraWeight; } /// The type used to represent the kinds of proxying allowed. @@ -404,7 +404,7 @@ impl pallet_proxy::Config for Runtime { type ProxyDepositBase = ProxyDepositBase; type ProxyDepositFactor = ProxyDepositFactor; type MaxProxies = MaxProxies; - type WeightInfo = weights::proxy::HydraWeight; + type WeightInfo = weights::pallet_proxy::HydraWeight; type MaxPending = MaxPending; type CallHasher = BlakeTwo256; type AnnouncementDepositBase = AnnouncementDepositBase; @@ -494,7 +494,7 @@ impl pallet_transaction_multi_payment::Config for Runtime { type Currencies = Currencies; type RouteProvider = Router; type OraclePriceProvider = OraclePriceProvider; - type WeightInfo = weights::payment::HydraWeight; + type WeightInfo = weights::pallet_transaction_multi_payment::HydraWeight; type NativeAssetId = NativeAssetId; type EvmAssetId = evm::WethAssetId; type InspectEvmAccounts = EVMAccounts; @@ -542,7 +542,7 @@ impl pallet_collator_rewards::Config for Runtime { impl pallet_transaction_pause::Config for Runtime { type RuntimeEvent = RuntimeEvent; type UpdateOrigin = SuperMajorityTechCommittee; - type WeightInfo = weights::transaction_pause::HydraWeight; + type WeightInfo = weights::pallet_transaction_pause::HydraWeight; } pub struct TechCommAccounts; @@ -568,5 +568,5 @@ impl pallet_state_trie_migration::Config for Runtime { type MaxKeyLen = MaxKeyLen; type SignedDepositPerItem = MigrationSignedDepositPerItem; type SignedDepositBase = MigrationSignedDepositBase; - type WeightInfo = weights::state_trie::HydraWeight; + type WeightInfo = weights::pallet_state_trie_migration::HydraWeight; } diff --git a/runtime/hydradx/src/weights/xcmp_queue.rs b/runtime/hydradx/src/weights/cumulus_pallet_xcmp_queue.rs similarity index 100% rename from runtime/hydradx/src/weights/xcmp_queue.rs rename to runtime/hydradx/src/weights/cumulus_pallet_xcmp_queue.rs diff --git a/runtime/hydradx/src/weights/system.rs b/runtime/hydradx/src/weights/frame_system.rs similarity index 100% rename from runtime/hydradx/src/weights/system.rs rename to runtime/hydradx/src/weights/frame_system.rs diff --git a/runtime/hydradx/src/weights/mod.rs b/runtime/hydradx/src/weights/mod.rs index 0673c3f59..47815d7af 100644 --- a/runtime/hydradx/src/weights/mod.rs +++ b/runtime/hydradx/src/weights/mod.rs @@ -1,42 +1,42 @@ -pub mod balances; -pub mod bonds; -pub mod circuit_breaker; -pub mod claims; -pub mod collator_selection; +pub mod pallet_balances; +pub mod pallet_bonds; +pub mod pallet_circuit_breaker; +pub mod pallet_claims; +pub mod pallet_collator_selection; pub mod council; -pub mod currencies; -pub mod dca; -pub mod democracy; -pub mod duster; -pub mod dynamic_evm_fee; -pub mod elections; -pub mod ema_oracle; -pub mod evm_accounts; -pub mod identity; -pub mod lbp; -pub mod omnipool; -pub mod omnipool_lm; -pub mod otc; -pub mod payment; -pub mod preimage; -pub mod proxy; -pub mod referrals; -pub mod registry; -pub mod route_executor; -pub mod scheduler; -pub mod stableswap; -pub mod staking; -pub mod state_trie; -pub mod system; +pub mod pallet_currencies; +pub mod pallet_dca; +pub mod pallet_democracy; +pub mod pallet_duster; +pub mod pallet_dynamic_evm_fee; +pub mod pallet_elections_phragmen; +pub mod pallet_ema_oracle; +pub mod pallet_evm_accounts; +pub mod pallet_identity; +pub mod pallet_lbp; +pub mod pallet_omnipool; +pub mod pallet_omnipool_liquidity_mining; +pub mod pallet_otc; +pub mod pallet_transaction_multi_payment; +pub mod pallet_preimage; +pub mod pallet_proxy; +pub mod pallet_referrals; +pub mod pallet_asset_registry; +pub mod pallet_route_executor; +pub mod pallet_scheduler; +pub mod pallet_stableswap; +pub mod pallet_staking; +pub mod pallet_state_trie_migration; +pub mod frame_system; pub mod technical_committee; -pub mod timestamp; -pub mod tips; -pub mod tokens; -pub mod transaction_pause; -pub mod treasury; -pub mod utility; -pub mod vesting; -pub mod xcm; -pub mod xcmp_queue; -pub mod xyk; -pub mod xyk_lm; +pub mod pallet_timestamp; +pub mod pallet_tips; +pub mod orml_tokens; +pub mod pallet_transaction_pause; +pub mod pallet_treasury; +pub mod pallet_utility; +pub mod orml_vesting; +pub mod pallet_xcm; +pub mod cumulus_pallet_xcmp_queue; +pub mod pallet_xyk; +pub mod pallet_xyk_liquidity_mining; diff --git a/runtime/hydradx/src/weights/tokens.rs b/runtime/hydradx/src/weights/orml_tokens.rs similarity index 100% rename from runtime/hydradx/src/weights/tokens.rs rename to runtime/hydradx/src/weights/orml_tokens.rs diff --git a/runtime/hydradx/src/weights/vesting.rs b/runtime/hydradx/src/weights/orml_vesting.rs similarity index 100% rename from runtime/hydradx/src/weights/vesting.rs rename to runtime/hydradx/src/weights/orml_vesting.rs diff --git a/runtime/hydradx/src/weights/registry.rs b/runtime/hydradx/src/weights/pallet_asset_registry.rs similarity index 100% rename from runtime/hydradx/src/weights/registry.rs rename to runtime/hydradx/src/weights/pallet_asset_registry.rs diff --git a/runtime/hydradx/src/weights/balances.rs b/runtime/hydradx/src/weights/pallet_balances.rs similarity index 100% rename from runtime/hydradx/src/weights/balances.rs rename to runtime/hydradx/src/weights/pallet_balances.rs diff --git a/runtime/hydradx/src/weights/bonds.rs b/runtime/hydradx/src/weights/pallet_bonds.rs similarity index 100% rename from runtime/hydradx/src/weights/bonds.rs rename to runtime/hydradx/src/weights/pallet_bonds.rs diff --git a/runtime/hydradx/src/weights/circuit_breaker.rs b/runtime/hydradx/src/weights/pallet_circuit_breaker.rs similarity index 100% rename from runtime/hydradx/src/weights/circuit_breaker.rs rename to runtime/hydradx/src/weights/pallet_circuit_breaker.rs diff --git a/runtime/hydradx/src/weights/claims.rs b/runtime/hydradx/src/weights/pallet_claims.rs similarity index 100% rename from runtime/hydradx/src/weights/claims.rs rename to runtime/hydradx/src/weights/pallet_claims.rs diff --git a/runtime/hydradx/src/weights/collator_selection.rs b/runtime/hydradx/src/weights/pallet_collator_selection.rs similarity index 100% rename from runtime/hydradx/src/weights/collator_selection.rs rename to runtime/hydradx/src/weights/pallet_collator_selection.rs diff --git a/runtime/hydradx/src/weights/currencies.rs b/runtime/hydradx/src/weights/pallet_currencies.rs similarity index 100% rename from runtime/hydradx/src/weights/currencies.rs rename to runtime/hydradx/src/weights/pallet_currencies.rs diff --git a/runtime/hydradx/src/weights/dca.rs b/runtime/hydradx/src/weights/pallet_dca.rs similarity index 100% rename from runtime/hydradx/src/weights/dca.rs rename to runtime/hydradx/src/weights/pallet_dca.rs diff --git a/runtime/hydradx/src/weights/democracy.rs b/runtime/hydradx/src/weights/pallet_democracy.rs similarity index 100% rename from runtime/hydradx/src/weights/democracy.rs rename to runtime/hydradx/src/weights/pallet_democracy.rs diff --git a/runtime/hydradx/src/weights/duster.rs b/runtime/hydradx/src/weights/pallet_duster.rs similarity index 100% rename from runtime/hydradx/src/weights/duster.rs rename to runtime/hydradx/src/weights/pallet_duster.rs diff --git a/runtime/hydradx/src/weights/dynamic_evm_fee.rs b/runtime/hydradx/src/weights/pallet_dynamic_evm_fee.rs similarity index 100% rename from runtime/hydradx/src/weights/dynamic_evm_fee.rs rename to runtime/hydradx/src/weights/pallet_dynamic_evm_fee.rs diff --git a/runtime/hydradx/src/weights/elections.rs b/runtime/hydradx/src/weights/pallet_elections_phragmen.rs similarity index 100% rename from runtime/hydradx/src/weights/elections.rs rename to runtime/hydradx/src/weights/pallet_elections_phragmen.rs diff --git a/runtime/hydradx/src/weights/ema_oracle.rs b/runtime/hydradx/src/weights/pallet_ema_oracle.rs similarity index 100% rename from runtime/hydradx/src/weights/ema_oracle.rs rename to runtime/hydradx/src/weights/pallet_ema_oracle.rs diff --git a/runtime/hydradx/src/weights/evm_accounts.rs b/runtime/hydradx/src/weights/pallet_evm_accounts.rs similarity index 100% rename from runtime/hydradx/src/weights/evm_accounts.rs rename to runtime/hydradx/src/weights/pallet_evm_accounts.rs diff --git a/runtime/hydradx/src/weights/identity.rs b/runtime/hydradx/src/weights/pallet_identity.rs similarity index 100% rename from runtime/hydradx/src/weights/identity.rs rename to runtime/hydradx/src/weights/pallet_identity.rs diff --git a/runtime/hydradx/src/weights/lbp.rs b/runtime/hydradx/src/weights/pallet_lbp.rs similarity index 100% rename from runtime/hydradx/src/weights/lbp.rs rename to runtime/hydradx/src/weights/pallet_lbp.rs diff --git a/runtime/hydradx/src/weights/omnipool.rs b/runtime/hydradx/src/weights/pallet_omnipool.rs similarity index 100% rename from runtime/hydradx/src/weights/omnipool.rs rename to runtime/hydradx/src/weights/pallet_omnipool.rs diff --git a/runtime/hydradx/src/weights/omnipool_lm.rs b/runtime/hydradx/src/weights/pallet_omnipool_liquidity_mining.rs similarity index 100% rename from runtime/hydradx/src/weights/omnipool_lm.rs rename to runtime/hydradx/src/weights/pallet_omnipool_liquidity_mining.rs diff --git a/runtime/hydradx/src/weights/otc.rs b/runtime/hydradx/src/weights/pallet_otc.rs similarity index 100% rename from runtime/hydradx/src/weights/otc.rs rename to runtime/hydradx/src/weights/pallet_otc.rs diff --git a/runtime/hydradx/src/weights/preimage.rs b/runtime/hydradx/src/weights/pallet_preimage.rs similarity index 100% rename from runtime/hydradx/src/weights/preimage.rs rename to runtime/hydradx/src/weights/pallet_preimage.rs diff --git a/runtime/hydradx/src/weights/proxy.rs b/runtime/hydradx/src/weights/pallet_proxy.rs similarity index 100% rename from runtime/hydradx/src/weights/proxy.rs rename to runtime/hydradx/src/weights/pallet_proxy.rs diff --git a/runtime/hydradx/src/weights/referrals.rs b/runtime/hydradx/src/weights/pallet_referrals.rs similarity index 100% rename from runtime/hydradx/src/weights/referrals.rs rename to runtime/hydradx/src/weights/pallet_referrals.rs diff --git a/runtime/hydradx/src/weights/route_executor.rs b/runtime/hydradx/src/weights/pallet_route_executor.rs similarity index 100% rename from runtime/hydradx/src/weights/route_executor.rs rename to runtime/hydradx/src/weights/pallet_route_executor.rs diff --git a/runtime/hydradx/src/weights/scheduler.rs b/runtime/hydradx/src/weights/pallet_scheduler.rs similarity index 100% rename from runtime/hydradx/src/weights/scheduler.rs rename to runtime/hydradx/src/weights/pallet_scheduler.rs diff --git a/runtime/hydradx/src/weights/stableswap.rs b/runtime/hydradx/src/weights/pallet_stableswap.rs similarity index 100% rename from runtime/hydradx/src/weights/stableswap.rs rename to runtime/hydradx/src/weights/pallet_stableswap.rs diff --git a/runtime/hydradx/src/weights/staking.rs b/runtime/hydradx/src/weights/pallet_staking.rs similarity index 100% rename from runtime/hydradx/src/weights/staking.rs rename to runtime/hydradx/src/weights/pallet_staking.rs diff --git a/runtime/hydradx/src/weights/state_trie.rs b/runtime/hydradx/src/weights/pallet_state_trie_migration.rs similarity index 100% rename from runtime/hydradx/src/weights/state_trie.rs rename to runtime/hydradx/src/weights/pallet_state_trie_migration.rs diff --git a/runtime/hydradx/src/weights/timestamp.rs b/runtime/hydradx/src/weights/pallet_timestamp.rs similarity index 100% rename from runtime/hydradx/src/weights/timestamp.rs rename to runtime/hydradx/src/weights/pallet_timestamp.rs diff --git a/runtime/hydradx/src/weights/tips.rs b/runtime/hydradx/src/weights/pallet_tips.rs similarity index 100% rename from runtime/hydradx/src/weights/tips.rs rename to runtime/hydradx/src/weights/pallet_tips.rs diff --git a/runtime/hydradx/src/weights/payment.rs b/runtime/hydradx/src/weights/pallet_transaction_multi_payment.rs similarity index 100% rename from runtime/hydradx/src/weights/payment.rs rename to runtime/hydradx/src/weights/pallet_transaction_multi_payment.rs diff --git a/runtime/hydradx/src/weights/transaction_pause.rs b/runtime/hydradx/src/weights/pallet_transaction_pause.rs similarity index 100% rename from runtime/hydradx/src/weights/transaction_pause.rs rename to runtime/hydradx/src/weights/pallet_transaction_pause.rs diff --git a/runtime/hydradx/src/weights/treasury.rs b/runtime/hydradx/src/weights/pallet_treasury.rs similarity index 100% rename from runtime/hydradx/src/weights/treasury.rs rename to runtime/hydradx/src/weights/pallet_treasury.rs diff --git a/runtime/hydradx/src/weights/utility.rs b/runtime/hydradx/src/weights/pallet_utility.rs similarity index 100% rename from runtime/hydradx/src/weights/utility.rs rename to runtime/hydradx/src/weights/pallet_utility.rs diff --git a/runtime/hydradx/src/weights/xcm.rs b/runtime/hydradx/src/weights/pallet_xcm.rs similarity index 100% rename from runtime/hydradx/src/weights/xcm.rs rename to runtime/hydradx/src/weights/pallet_xcm.rs diff --git a/runtime/hydradx/src/weights/xyk.rs b/runtime/hydradx/src/weights/pallet_xyk.rs similarity index 100% rename from runtime/hydradx/src/weights/xyk.rs rename to runtime/hydradx/src/weights/pallet_xyk.rs diff --git a/runtime/hydradx/src/weights/xyk_lm.rs b/runtime/hydradx/src/weights/pallet_xyk_liquidity_mining.rs similarity index 100% rename from runtime/hydradx/src/weights/xyk_lm.rs rename to runtime/hydradx/src/weights/pallet_xyk_liquidity_mining.rs diff --git a/runtime/hydradx/src/xcm.rs b/runtime/hydradx/src/xcm.rs index ee2cefbb9..5e87d6c50 100644 --- a/runtime/hydradx/src/xcm.rs +++ b/runtime/hydradx/src/xcm.rs @@ -185,7 +185,7 @@ impl cumulus_pallet_xcmp_queue::Config for Runtime { type ControllerOrigin = MoreThanHalfTechCommittee; type ControllerOriginConverter = XcmOriginToCallOrigin; type PriceForSiblingDelivery = polkadot_runtime_common::xcm_sender::NoPriceForMessageDelivery; - type WeightInfo = weights::xcmp_queue::HydraWeight; + type WeightInfo = weights::cumulus_pallet_xcmp_queue::HydraWeight; type XcmpQueue = TransformOrigin; type MaxInboundSuspended = MaxInboundSuspended; } @@ -256,7 +256,7 @@ impl pallet_xcm::Config for Runtime { type TrustedLockers = (); type SovereignAccountOf = (); type MaxLockers = ConstU32<8>; - type WeightInfo = weights::xcm::HydraWeight; + type WeightInfo = weights::pallet_xcm::HydraWeight; type AdminOrigin = MajorityOfCouncil; type MaxRemoteLockConsumers = ConstU32<0>; type RemoteLockConsumerIdentifier = (); From 031b162496fc36f9d7af933224e930a0512d630c Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Wed, 8 May 2024 17:55:42 +0200 Subject: [PATCH 035/105] change file permissions --- scripts/benchmarking.sh | 0 scripts/pallet-weight-template.hbs | 0 2 files changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 scripts/benchmarking.sh mode change 100644 => 100755 scripts/pallet-weight-template.hbs diff --git a/scripts/benchmarking.sh b/scripts/benchmarking.sh old mode 100644 new mode 100755 diff --git a/scripts/pallet-weight-template.hbs b/scripts/pallet-weight-template.hbs old mode 100644 new mode 100755 From 8dcb819b964fc8d281d18138d05fef1864d19da0 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Wed, 8 May 2024 18:14:13 +0200 Subject: [PATCH 036/105] renaming --- integration-tests/src/evm.rs | 18 +++++++++--------- integration-tests/src/router.rs | 24 ++++++++++++------------ runtime/hydradx/src/lib.rs | 4 ++-- 3 files changed, 23 insertions(+), 23 deletions(-) diff --git a/integration-tests/src/evm.rs b/integration-tests/src/evm.rs index 2ad85b01d..edfcdb4d8 100644 --- a/integration-tests/src/evm.rs +++ b/integration-tests/src/evm.rs @@ -1140,9 +1140,9 @@ fn dispatch_should_work_with_buying_insufficient_asset() { ))); //Create inssufficient asset - let shitcoin = with_transaction::(|| { - let name = b"SHITCO".to_vec(); - let shitcoin = AssetRegistry::register_insufficient_asset( + let altcoin = with_transaction::(|| { + let name = b"ALTTKN".to_vec(); + let altcoin = AssetRegistry::register_insufficient_asset( None, Some(name.try_into().unwrap()), AssetKind::External, @@ -1154,11 +1154,11 @@ fn dispatch_should_work_with_buying_insufficient_asset() { ) .unwrap(); - TransactionOutcome::Commit(Ok(shitcoin)) + TransactionOutcome::Commit(Ok(altcoin)) }) .unwrap(); - create_xyk_pool_with_amounts(shitcoin, 1000000 * UNITS, HDX, 1000000 * UNITS); + create_xyk_pool_with_amounts(altcoin, 1000000 * UNITS, HDX, 1000000 * UNITS); init_omnipool_with_oracle_for_block_10(); assert_ok!(hydradx_runtime::Currencies::update_balance( @@ -1181,12 +1181,12 @@ fn dispatch_should_work_with_buying_insufficient_asset() { Trade { pool: PoolType::XYK, asset_in: HDX, - asset_out: shitcoin, + asset_out: altcoin, }, ]; let router_swap = RuntimeCall::Router(pallet_route_executor::Call::buy { asset_in: WETH, - asset_out: shitcoin, + asset_out: altcoin, amount_out: UNITS, max_amount_in: u128::MAX, route: swap_route, @@ -1198,7 +1198,7 @@ fn dispatch_should_work_with_buying_insufficient_asset() { hydradx_finalize_block(); //We do this to simulate that we don't have any prices in multi-payment-pallet, but the prices can be still calculated based on onchain route - let init_balance = Tokens::free_balance(shitcoin, ¤cy_precompile::alice_substrate_evm_addr()); + let init_balance = Tokens::free_balance(altcoin, ¤cy_precompile::alice_substrate_evm_addr()); assert_eq!(init_balance, 0); // Act @@ -1217,7 +1217,7 @@ fn dispatch_should_work_with_buying_insufficient_asset() { //EVM call passes even when the substrate tx fails, so we need to check if the tx is executed expect_hydra_events(vec![pallet_evm::Event::Executed { address: DISPATCH_ADDR }.into()]); - let new_balance = Tokens::free_balance(shitcoin, ¤cy_precompile::alice_substrate_evm_addr()); + let new_balance = Tokens::free_balance(altcoin, ¤cy_precompile::alice_substrate_evm_addr()); assert_eq!(new_balance, UNITS); }); } diff --git a/integration-tests/src/router.rs b/integration-tests/src/router.rs index d6b7c1a33..ddbae6fa2 100644 --- a/integration-tests/src/router.rs +++ b/integration-tests/src/router.rs @@ -850,14 +850,14 @@ mod omnipool_router_tests { } #[test] - fn sell_should_fail_when_all_asset_in_spent_for_shitcoin() { + fn sell_should_fail_when_all_asset_in_spent_for_altcoin() { TestNet::reset(); Hydra::execute_with(|| { let _ = with_transaction(|| { //Arrange let name = b"SHITCO".to_vec(); - let shitcoin = AssetRegistry::register_insufficient_asset( + let altcoin = AssetRegistry::register_insufficient_asset( None, Some(name.try_into().unwrap()), AssetKind::External, @@ -868,7 +868,7 @@ mod omnipool_router_tests { None, ) .unwrap(); - assert_ok!(Currencies::deposit(shitcoin, &DAVE.into(), 100000 * UNITS,)); + assert_ok!(Currencies::deposit(altcoin, &DAVE.into(), 100000 * UNITS,)); assert_ok!(Currencies::update_balance( hydradx_runtime::RuntimeOrigin::root(), DAVE.into(), @@ -880,14 +880,14 @@ mod omnipool_router_tests { RuntimeOrigin::signed(DAVE.into()), HDX, 100000 * UNITS, - shitcoin, + altcoin, 100000 * UNITS, )); let trades = vec![Trade { pool: PoolType::XYK, asset_in: HDX, - asset_out: shitcoin, + asset_out: altcoin, }]; //Act @@ -896,7 +896,7 @@ mod omnipool_router_tests { Router::sell( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), HDX, - shitcoin, + altcoin, amount_to_sell, 0, trades @@ -910,14 +910,14 @@ mod omnipool_router_tests { } #[test] - fn sell_should_pass_when_user_has_asset_in_covering_the_fee_for_shitcoin() { + fn sell_should_pass_when_user_has_asset_in_covering_the_fee_for_altcoin() { TestNet::reset(); Hydra::execute_with(|| { let _ = with_transaction(|| { //Arrange let name = b"SHITCO".to_vec(); - let shitcoin = AssetRegistry::register_insufficient_asset( + let altcoin = AssetRegistry::register_insufficient_asset( None, Some(name.try_into().unwrap()), AssetKind::External, @@ -929,7 +929,7 @@ mod omnipool_router_tests { ) .unwrap(); - assert_ok!(Currencies::deposit(shitcoin, &DAVE.into(), 100000 * UNITS,)); + assert_ok!(Currencies::deposit(altcoin, &DAVE.into(), 100000 * UNITS,)); assert_ok!(Currencies::update_balance( hydradx_runtime::RuntimeOrigin::root(), DAVE.into(), @@ -941,14 +941,14 @@ mod omnipool_router_tests { RuntimeOrigin::signed(DAVE.into()), HDX, 100000 * UNITS, - shitcoin, + altcoin, 100000 * UNITS, )); let trades = vec![Trade { pool: PoolType::XYK, asset_in: HDX, - asset_out: shitcoin, + asset_out: altcoin, }]; //Act @@ -956,7 +956,7 @@ mod omnipool_router_tests { assert_ok!(Router::sell( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), HDX, - shitcoin, + altcoin, amount_to_sell, 0, trades diff --git a/runtime/hydradx/src/lib.rs b/runtime/hydradx/src/lib.rs index 14e72472d..3bd12321a 100644 --- a/runtime/hydradx/src/lib.rs +++ b/runtime/hydradx/src/lib.rs @@ -834,8 +834,8 @@ mod benches { [pallet_utility, Utility] [pallet_tips, Tips] [pallet_identity, Identity] - [pallet_collective, Council] - [pallet_collective, TechnicalCommittee] + [pallet_collective_council, Council] + [pallet_collective_technical_committee, TechnicalCommittee] [cumulus_pallet_xcmp_queue, XcmpQueue] [pallet_message_queue, MessageQueue] [pallet_preimage, Preimage] From 61f15169e493fdc614bac92ef82245806093b30d Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Wed, 8 May 2024 18:32:07 +0200 Subject: [PATCH 037/105] renaming --- runtime/hydradx/src/governance.rs | 4 ++-- runtime/hydradx/src/weights/mod.rs | 4 ++-- .../src/weights/{council.rs => pallet_collective_council.rs} | 0 ..._committee.rs => pallet_collective_technical_committee.rs} | 0 4 files changed, 4 insertions(+), 4 deletions(-) rename runtime/hydradx/src/weights/{council.rs => pallet_collective_council.rs} (100%) rename runtime/hydradx/src/weights/{technical_committee.rs => pallet_collective_technical_committee.rs} (100%) diff --git a/runtime/hydradx/src/governance.rs b/runtime/hydradx/src/governance.rs index 8f76ee203..92ca959d2 100644 --- a/runtime/hydradx/src/governance.rs +++ b/runtime/hydradx/src/governance.rs @@ -152,7 +152,7 @@ impl pallet_collective::Config for Runtime { type MaxProposals = CouncilMaxProposals; type MaxMembers = CouncilMaxMembers; type DefaultVote = pallet_collective::PrimeDefaultVote; - type WeightInfo = weights::council::HydraWeight; + type WeightInfo = weights::pallet_collective_council::HydraWeight; type MaxProposalWeight = MaxProposalWeight; type SetMembersOrigin = EnsureRoot; } @@ -172,7 +172,7 @@ impl pallet_collective::Config for Runtime { type MaxProposals = TechnicalMaxProposals; type MaxMembers = TechnicalMaxMembers; type DefaultVote = pallet_collective::PrimeDefaultVote; - type WeightInfo = weights::technical_committee::HydraWeight; + type WeightInfo = weights::pallet_collective_technical_committee::HydraWeight; type MaxProposalWeight = MaxProposalWeight; type SetMembersOrigin = EnsureRoot; } diff --git a/runtime/hydradx/src/weights/mod.rs b/runtime/hydradx/src/weights/mod.rs index 47815d7af..587f695bb 100644 --- a/runtime/hydradx/src/weights/mod.rs +++ b/runtime/hydradx/src/weights/mod.rs @@ -3,7 +3,7 @@ pub mod pallet_bonds; pub mod pallet_circuit_breaker; pub mod pallet_claims; pub mod pallet_collator_selection; -pub mod council; +pub mod pallet_collective_council; pub mod pallet_currencies; pub mod pallet_dca; pub mod pallet_democracy; @@ -28,7 +28,7 @@ pub mod pallet_stableswap; pub mod pallet_staking; pub mod pallet_state_trie_migration; pub mod frame_system; -pub mod technical_committee; +pub mod pallet_collective_technical_committee; pub mod pallet_timestamp; pub mod pallet_tips; pub mod orml_tokens; diff --git a/runtime/hydradx/src/weights/council.rs b/runtime/hydradx/src/weights/pallet_collective_council.rs similarity index 100% rename from runtime/hydradx/src/weights/council.rs rename to runtime/hydradx/src/weights/pallet_collective_council.rs diff --git a/runtime/hydradx/src/weights/technical_committee.rs b/runtime/hydradx/src/weights/pallet_collective_technical_committee.rs similarity index 100% rename from runtime/hydradx/src/weights/technical_committee.rs rename to runtime/hydradx/src/weights/pallet_collective_technical_committee.rs From e19d72aca30f9629ae2b73dbf6f6061e5cf3bbca Mon Sep 17 00:00:00 2001 From: dmoka Date: Fri, 10 May 2024 11:32:06 +0200 Subject: [PATCH 038/105] fix compilation error by using the proper orml patched branch --- Cargo.lock | 4242 ++++++++++++++++++++++++++++++---------------------- Cargo.toml | 20 +- 2 files changed, 2430 insertions(+), 1832 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 2473dec47..890d3c5f2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -53,7 +53,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ac1f845298e95f983ff1944b728ae08b8cebab80d684f0a832ed0fc74dfa27e2" dependencies = [ "cfg-if", - "cipher", + "cipher 0.4.4", "cpufeatures", ] @@ -65,10 +65,10 @@ checksum = "831010a0f742e1209b3bcea8fab6a8e149051ba6099432c8cb2cc117dec3ead1" dependencies = [ "aead", "aes", - "cipher", + "cipher 0.4.4", "ctr", "ghash", - "subtle", + "subtle 2.4.1", ] [[package]] @@ -157,15 +157,16 @@ dependencies = [ [[package]] name = "anstream" -version = "0.6.5" +version = "0.6.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d664a92ecae85fd0a7392615844904654d1d5f5514837f471ddef4a057aba1b6" +checksum = "418c75fa768af9c03be99d17643f93f79bbba589895012a80e3452a19ddda15b" dependencies = [ "anstyle", "anstyle-parse", "anstyle-query", "anstyle-wincon", "colorchoice", + "is_terminal_polyfill", "utf8parse", ] @@ -220,16 +221,39 @@ dependencies = [ [[package]] name = "aquamarine" -version = "0.3.3" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d1da02abba9f9063d786eab1509833ebb2fac0f966862ca59439c76b9c566760" +checksum = "21cc1548309245035eb18aa7f0967da6bc65587005170c56e6ef2788a4cf3f4e" dependencies = [ "include_dir", "itertools 0.10.5", "proc-macro-error", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.61", +] + +[[package]] +name = "ark-bls12-377" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fb00293ba84f51ce3bd026bd0de55899c4e68f0a39a5728cebae3a73ffdc0a4f" +dependencies = [ + "ark-ec", + "ark-ff", + "ark-std", +] + +[[package]] +name = "ark-bls12-377-ext" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "20c7021f180a0cbea0380eba97c2af3c57074cdaffe0eef7e840e1c9f2841e55" +dependencies = [ + "ark-bls12-377", + "ark-ec", + "ark-models-ext", + "ark-std", ] [[package]] @@ -244,6 +268,45 @@ dependencies = [ "ark-std", ] +[[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-ff", + "ark-models-ext", + "ark-serialize", + "ark-std", +] + +[[package]] +name = "ark-bw6-761" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2e0605daf0cc5aa2034b78d008aaf159f56901d92a52ee4f6ecdfdac4f426700" +dependencies = [ + "ark-bls12-377", + "ark-ec", + "ark-ff", + "ark-std", +] + +[[package]] +name = "ark-bw6-761-ext" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ccee5fba47266f460067588ee1bf070a9c760bf2050c1c509982c5719aadb4f2" +dependencies = [ + "ark-bw6-761", + "ark-ec", + "ark-ff", + "ark-models-ext", + "ark-std", +] + [[package]] name = "ark-ec" version = "0.4.2" @@ -258,9 +321,35 @@ dependencies = [ "hashbrown 0.13.2", "itertools 0.10.5", "num-traits", + "rayon", "zeroize", ] +[[package]] +name = "ark-ed-on-bls12-377" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b10d901b9ac4b38f9c32beacedfadcdd64e46f8d7f8e88c1ae1060022cf6f6c6" +dependencies = [ + "ark-bls12-377", + "ark-ec", + "ark-ff", + "ark-std", +] + +[[package]] +name = "ark-ed-on-bls12-377-ext" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "524a4fb7540df2e1a8c2e67a83ba1d1e6c3947f4f9342cc2359fc2e789ad731d" +dependencies = [ + "ark-ec", + "ark-ed-on-bls12-377", + "ark-ff", + "ark-models-ext", + "ark-std", +] + [[package]] name = "ark-ed-on-bls12-381-bandersnatch" version = "0.4.0" @@ -273,6 +362,19 @@ dependencies = [ "ark-std", ] +[[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-ff", + "ark-models-ext", + "ark-std", +] + [[package]] name = "ark-ff" version = "0.4.2" @@ -317,29 +419,29 @@ dependencies = [ ] [[package]] -name = "ark-poly" -version = "0.4.2" +name = "ark-models-ext" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d320bfc44ee185d899ccbadfa8bc31aab923ce1558716e1997a1e74057fe86bf" +checksum = "3e9eab5d4b5ff2f228b763d38442adc9b084b0a465409b059fac5c2308835ec2" dependencies = [ + "ark-ec", "ark-ff", "ark-serialize", "ark-std", "derivative", - "hashbrown 0.13.2", ] [[package]] -name = "ark-scale" -version = "0.0.10" +name = "ark-poly" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49b08346a3e38e2be792ef53ee168623c9244d968ff00cd70fb9932f6fe36393" +checksum = "d320bfc44ee185d899ccbadfa8bc31aab923ce1558716e1997a1e74057fe86bf" dependencies = [ - "ark-ec", "ark-ff", "ark-serialize", "ark-std", - "parity-scale-codec", + "derivative", + "hashbrown 0.13.2", ] [[package]] @@ -359,7 +461,7 @@ dependencies = [ [[package]] name = "ark-secret-scalar" version = "0.0.2" -source = "git+https://github.com/w3f/ring-vrf?rev=3119f51#3119f51b54b69308abfb0671f6176cb125ae1bf1" +source = "git+https://github.com/w3f/ring-vrf?rev=e9782f9#e9782f938629c90f3adb3fff2358bc8d1386af3e" dependencies = [ "ark-ec", "ark-ff", @@ -367,7 +469,7 @@ dependencies = [ "ark-std", "ark-transcript", "digest 0.10.7", - "rand_core 0.6.4", + "getrandom_or_panic", "zeroize", ] @@ -401,13 +503,14 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "94893f1e0c6eeab764ade8dc4c0db24caf4fe7cbbaafc0eba0a9030f447b5185" dependencies = [ "num-traits", - "rand 0.8.5", + "rand", + "rayon", ] [[package]] name = "ark-transcript" version = "0.0.2" -source = "git+https://github.com/w3f/ring-vrf?rev=3119f51#3119f51b54b69308abfb0671f6176cb125ae1bf1" +source = "git+https://github.com/w3f/ring-vrf?rev=e9782f9#e9782f938629c90f3adb3fff2358bc8d1386af3e" dependencies = [ "ark-ff", "ark-serialize", @@ -417,6 +520,12 @@ dependencies = [ "sha3", ] +[[package]] +name = "array-bytes" +version = "4.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f52f63c5c1316a16a4b35eaac8b76a98248961a533f061684cb2a7cb0eafb6c6" + [[package]] name = "array-bytes" version = "6.2.2" @@ -632,17 +741,6 @@ dependencies = [ "windows-sys 0.48.0", ] -[[package]] -name = "async-recursion" -version = "1.0.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5fd55a5ba1179988837d24ab4c7cc8ed6efdeff578ede0416b4225a5fca35bd0" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.42", -] - [[package]] name = "async-signal" version = "0.2.5" @@ -675,7 +773,7 @@ checksum = "fdf6721fb0140e4f897002dd086c06f6c27775df19cfe1fccb21181a48fd2c98" dependencies = [ "proc-macro2", "quote", - "syn 2.0.42", + "syn 2.0.61", ] [[package]] @@ -755,14 +853,13 @@ dependencies = [ [[package]] name = "bandersnatch_vrfs" -version = "0.0.1" -source = "git+https://github.com/w3f/ring-vrf?rev=3119f51#3119f51b54b69308abfb0671f6176cb125ae1bf1" +version = "0.0.4" +source = "git+https://github.com/w3f/ring-vrf?rev=e9782f9#e9782f938629c90f3adb3fff2358bc8d1386af3e" dependencies = [ "ark-bls12-381", "ark-ec", "ark-ed-on-bls12-381-bandersnatch", "ark-ff", - "ark-scale 0.0.12", "ark-serialize", "ark-std", "dleq_vrf", @@ -772,6 +869,8 @@ dependencies = [ "rand_core 0.6.4", "ring 0.1.0", "sha2 0.10.8", + "sp-ark-bls12-381", + "sp-ark-ed-on-bls12-381-bandersnatch", "zeroize", ] @@ -825,8 +924,8 @@ dependencies = [ [[package]] name = "binary-merkle-tree" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "13.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "hash-db 0.16.0", "log", @@ -859,7 +958,7 @@ dependencies = [ "regex", "rustc-hash", "shlex", - "syn 2.0.42", + "syn 2.0.61", ] [[package]] @@ -869,6 +968,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "93f2635620bf0b9d4576eb7bb9a38a55df78bd1205d26fa994b25911a69f212f" dependencies = [ "bitcoin_hashes", + "rand", + "rand_core 0.6.4", + "serde", + "unicode-normalization", ] [[package]] @@ -912,10 +1015,23 @@ checksum = "1bc2832c24239b0141d5674bb9174f9d68a8b5b3f2753311927c172ca46f7e9c" dependencies = [ "funty", "radium", + "serde", "tap", "wyz", ] +[[package]] +name = "blake2" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "94cb07b0da6a73955f8fb85d24c466778e70cda767a568229b104f0264089330" +dependencies = [ + "byte-tools", + "crypto-mac 0.7.0", + "digest 0.8.1", + "opaque-debug 0.2.3", +] + [[package]] name = "blake2" version = "0.10.6" @@ -1027,9 +1143,9 @@ dependencies = [ [[package]] name = "bounded-collections" -version = "0.1.9" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca548b6163b872067dc5eb82fd130c56881435e30367d2073594a3d9744120dd" +checksum = "d32385ecb91a31bddaf908e8dcf4a15aef1bcd3913cc03ebfad02ff6d568abc1" dependencies = [ "log", "parity-scale-codec", @@ -1046,6 +1162,17 @@ dependencies = [ "thiserror", ] +[[package]] +name = "bp-xcm-bridge-hub-router" +version = "0.6.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" +dependencies = [ + "parity-scale-codec", + "scale-info", + "sp-core", + "sp-runtime", +] + [[package]] name = "bs58" version = "0.4.0" @@ -1138,6 +1265,16 @@ dependencies = [ "pkg-config", ] +[[package]] +name = "c2-chacha" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d27dae93fe7b1e0424dc57179ac396908c26b035a87234809f5c4dfd1b47dc80" +dependencies = [ + "cipher 0.2.5", + "ppv-lite86", +] + [[package]] name = "camino" version = "1.1.6" @@ -1234,6 +1371,16 @@ version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fd16c4719339c4530435d38e511904438d07cce7950afa3718a84ac36c10e89e" +[[package]] +name = "chacha" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ddf3c081b5fba1e5615640aae998e0fbd10c24cbd897ee39ed754a77601a4862" +dependencies = [ + "byteorder", + "keystream", +] + [[package]] name = "chacha20" version = "0.9.1" @@ -1241,7 +1388,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c3613f74bd2eac03dad61bd53dbe620703d4371614fe0bc3b9f04dd36fe4e818" dependencies = [ "cfg-if", - "cipher", + "cipher 0.4.4", "cpufeatures", ] @@ -1253,7 +1400,7 @@ checksum = "10cd79432192d1c0f4e1a0fef9527696cc039165d729fb41b3f4f4f354c2dc35" dependencies = [ "aead", "chacha20", - "cipher", + "cipher 0.4.4", "poly1305", "zeroize", ] @@ -1307,11 +1454,20 @@ checksum = "b9b68e3193982cd54187d71afdb2a271ad4cf8af157858e9cb911b91321de143" dependencies = [ "core2", "multibase", - "multihash", + "multihash 0.17.0", "serde", "unsigned-varint", ] +[[package]] +name = "cipher" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "12f8e7987cbd042a63249497f41aed09f8e65add917ea6566effbc56578d6801" +dependencies = [ + "generic-array 0.14.7", +] + [[package]] name = "cipher" version = "0.4.4" @@ -1355,31 +1511,32 @@ dependencies = [ "clap_lex 0.2.4", "indexmap 1.9.3", "once_cell", - "strsim", + "strsim 0.10.0", "termcolor", "textwrap", ] [[package]] name = "clap" -version = "4.4.11" +version = "4.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bfaff671f6b22ca62406885ece523383b9b64022e341e53e009a62ebc47a45f2" +checksum = "90bc066a67923782aa8515dbaea16946c5bcc5addbd668bb80af688e53e548a0" dependencies = [ "clap_builder", - "clap_derive 4.4.7", + "clap_derive 4.5.4", ] [[package]] name = "clap_builder" -version = "4.4.11" +version = "4.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a216b506622bb1d316cd51328dce24e07bdff4a6128a47c7e7fad11878d5adbb" +checksum = "ae129e2e766ae0ec03484e609954119f123cc1fe650337e155d03b022f24f7b4" dependencies = [ "anstream", "anstyle", - "clap_lex 0.6.0", - "strsim", + "clap_lex 0.7.0", + "strsim 0.11.1", + "terminal_size", ] [[package]] @@ -1388,7 +1545,7 @@ version = "3.2.25" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ae6371b8bdc8b7d3959e9cf7b22d4435ef3e79e138688421ec654acf8c81b008" dependencies = [ - "heck", + "heck 0.4.1", "proc-macro-error", "proc-macro2", "quote", @@ -1397,14 +1554,14 @@ dependencies = [ [[package]] name = "clap_derive" -version = "4.4.7" +version = "4.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf9804afaaf59a91e75b022a30fb7229a7901f60c755489cc61c9b423b836442" +checksum = "528131438037fd55894f62d6e9f068b8f45ac57ffa77517819645d10aed04f64" dependencies = [ - "heck", + "heck 0.5.0", "proc-macro2", "quote", - "syn 2.0.42", + "syn 2.0.61", ] [[package]] @@ -1418,9 +1575,9 @@ dependencies = [ [[package]] name = "clap_lex" -version = "0.6.0" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "702fc72eb24e5a1e48ce58027a675bc24edd52096d5397d4aea7c6dd9eca0bd1" +checksum = "98cc8fbded0c607b7ba9dd60cd98df59af97e84d24e49c8557331cfc26d301ce" [[package]] name = "coarsetime" @@ -1464,7 +1621,7 @@ dependencies = [ [[package]] name = "common" version = "0.1.0" -source = "git+https://github.com/w3f/ring-proof?rev=0e948f3#0e948f3c28cbacecdd3020403c4841c0eb339213" +source = "git+https://github.com/w3f/ring-proof#b273d33f9981e2bb3375ab45faeb537f7ee35224" dependencies = [ "ark-ec", "ark-ff", @@ -1472,7 +1629,9 @@ dependencies = [ "ark-serialize", "ark-std", "fflonk", + "getrandom_or_panic", "merlin 3.0.0", + "rand_chacha 0.3.1", ] [[package]] @@ -1492,15 +1651,15 @@ dependencies = [ [[package]] name = "console" -version = "0.15.7" +version = "0.15.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c926e00cc70edefdc64d3a5ff31cc65bb97a3460097762bd23afb4d8145fccf8" +checksum = "0e1f83fc076bd6dd27517eacdf25fef6c4dfe5f1d7448bafaaf3a26f13b5e4eb" dependencies = [ "encode_unicode", "lazy_static", "libc", "unicode-width", - "windows-sys 0.45.0", + "windows-sys 0.52.0", ] [[package]] @@ -1541,6 +1700,12 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f7144d30dcf0fafbce74250a3963025d8d52177934239851c917d29f1df280c2" +[[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" @@ -1805,7 +1970,7 @@ checksum = "0dc92fb57ca44df6db8059111ab3af99a63d5d0f8375d9972e319a379c6bab76" dependencies = [ "generic-array 0.14.7", "rand_core 0.6.4", - "subtle", + "subtle 2.4.1", "zeroize", ] @@ -1820,6 +1985,16 @@ dependencies = [ "typenum", ] +[[package]] +name = "crypto-mac" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4434400df11d95d556bac068ddfedd482915eb18fe8bea89bc80b6e4b1c179e5" +dependencies = [ + "generic-array 0.12.4", + "subtle 1.0.0", +] + [[package]] name = "crypto-mac" version = "0.8.0" @@ -1827,7 +2002,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b584a330336237c1eecd3e94266efb216c56ed91225d634cb2991c5f3fd1aeab" dependencies = [ "generic-array 0.14.7", - "subtle", + "subtle 2.4.1", ] [[package]] @@ -1837,7 +2012,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b1d1a86f49236c215f271d40892d5fc950490551400b02ef360692c29815c714" dependencies = [ "generic-array 0.14.7", - "subtle", + "subtle 2.4.1", ] [[package]] @@ -1846,20 +2021,21 @@ version = "0.9.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0369ee1ad671834580515889b80f2ea915f23b8be8d0daa4bbaf2ac5c7590835" dependencies = [ - "cipher", + "cipher 0.4.4", ] [[package]] name = "cumulus-client-cli" -version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "clap 4.4.11", + "clap 4.5.4", "parity-scale-codec", "sc-chain-spec", "sc-cli", "sc-client-api", "sc-service", + "sp-blockchain", "sp-core", "sp-runtime", "url", @@ -1867,8 +2043,8 @@ dependencies = [ [[package]] name = "cumulus-client-collator" -version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "cumulus-client-consensus-common", "cumulus-client-network", @@ -1890,16 +2066,16 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-aura" -version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "async-trait", "cumulus-client-collator", "cumulus-client-consensus-common", "cumulus-client-consensus-proposer", + "cumulus-client-parachain-inherent", "cumulus-primitives-aura", "cumulus-primitives-core", - "cumulus-primitives-parachain-inherent", "cumulus-relay-chain-interface", "futures", "parity-scale-codec", @@ -1924,7 +2100,7 @@ dependencies = [ "sp-inherents", "sp-keystore", "sp-runtime", - "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-state-machine", "sp-timestamp", "substrate-prometheus-endpoint", "tracing", @@ -1932,8 +2108,8 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-common" -version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "async-trait", "cumulus-client-pov-recovery", @@ -1961,8 +2137,8 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-proposer" -version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "anyhow", "async-trait", @@ -1970,14 +2146,14 @@ dependencies = [ "sp-consensus", "sp-inherents", "sp-runtime", - "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-state-machine", "thiserror", ] [[package]] name = "cumulus-client-network" -version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "async-trait", "cumulus-relay-chain-interface", @@ -1993,14 +2169,38 @@ dependencies = [ "sp-consensus", "sp-core", "sp-runtime", - "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-state-machine", "tracing", ] [[package]] -name = "cumulus-client-pov-recovery" +name = "cumulus-client-parachain-inherent" version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" +dependencies = [ + "async-trait", + "cumulus-primitives-core", + "cumulus-primitives-parachain-inherent", + "cumulus-relay-chain-interface", + "cumulus-test-relay-sproof-builder", + "parity-scale-codec", + "sc-client-api", + "scale-info", + "sp-api", + "sp-crypto-hashing", + "sp-inherents", + "sp-runtime", + "sp-state-machine", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-trie", + "tracing", +] + +[[package]] +name = "cumulus-client-pov-recovery" +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2012,7 +2212,7 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-overseer", "polkadot-primitives", - "rand 0.8.5", + "rand", "sc-client-api", "sc-consensus", "sp-consensus", @@ -2023,8 +2223,8 @@ dependencies = [ [[package]] name = "cumulus-client-service" -version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "cumulus-client-cli", "cumulus-client-collator", @@ -2032,6 +2232,7 @@ dependencies = [ "cumulus-client-network", "cumulus-client-pov-recovery", "cumulus-primitives-core", + "cumulus-primitives-proof-size-hostfunction", "cumulus-relay-chain-inprocess-interface", "cumulus-relay-chain-interface", "cumulus-relay-chain-minimal-node", @@ -2058,8 +2259,8 @@ dependencies = [ [[package]] name = "cumulus-pallet-aura-ext" -version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "cumulus-pallet-parachain-system", "frame-support", @@ -2071,13 +2272,13 @@ dependencies = [ "sp-application-crypto", "sp-consensus-aura", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "cumulus-pallet-dmp-queue" -version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -2087,55 +2288,59 @@ dependencies = [ "scale-info", "sp-io", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "staging-xcm", ] [[package]] name = "cumulus-pallet-parachain-system" -version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "bytes", "cumulus-pallet-parachain-system-proc-macro", "cumulus-primitives-core", "cumulus-primitives-parachain-inherent", + "cumulus-primitives-proof-size-hostfunction", "environmental", + "frame-benchmarking", "frame-support", "frame-system", "impl-trait-for-tuples", "log", + "pallet-message-queue", "parity-scale-codec", "polkadot-parachain-primitives", + "polkadot-runtime-parachains", "scale-info", "sp-core", - "sp-externalities", + "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-inherents", "sp-io", "sp-runtime", - "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std", + "sp-state-machine", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-trie", "sp-version", "staging-xcm", - "trie-db 0.27.1", + "trie-db", ] [[package]] name = "cumulus-pallet-parachain-system-proc-macro" -version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.6.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "proc-macro-crate 1.3.1", + "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.42", + "syn 2.0.61", ] [[package]] name = "cumulus-pallet-xcm" -version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -2144,36 +2349,39 @@ dependencies = [ "scale-info", "sp-io", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "staging-xcm", ] [[package]] name = "cumulus-pallet-xcmp-queue" -version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ + "bounded-collections", + "bp-xcm-bridge-hub-router", "cumulus-primitives-core", "frame-benchmarking", "frame-support", "frame-system", "log", + "pallet-message-queue", "parity-scale-codec", "polkadot-runtime-common", - "rand_chacha 0.3.1", + "polkadot-runtime-parachains", "scale-info", "sp-core", "sp-io", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "staging-xcm", "staging-xcm-executor", ] [[package]] name = "cumulus-primitives-aura" -version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "parity-scale-codec", "polkadot-core-primitives", @@ -2181,13 +2389,13 @@ dependencies = [ "sp-api", "sp-consensus-aura", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "cumulus-primitives-core" -version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "parity-scale-codec", "polkadot-core-primitives", @@ -2196,60 +2404,65 @@ dependencies = [ "scale-info", "sp-api", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-trie", "staging-xcm", ] [[package]] name = "cumulus-primitives-parachain-inherent" -version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "async-trait", "cumulus-primitives-core", - "cumulus-relay-chain-interface", - "cumulus-test-relay-sproof-builder", "parity-scale-codec", - "sc-client-api", "scale-info", - "sp-api", "sp-core", "sp-inherents", - "sp-runtime", - "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std", - "sp-storage", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-trie", +] + +[[package]] +name = "cumulus-primitives-proof-size-hostfunction" +version = "0.2.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" +dependencies = [ + "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-trie", - "tracing", ] [[package]] name = "cumulus-primitives-timestamp" -version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "cumulus-primitives-core", "futures", "parity-scale-codec", "sp-inherents", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-timestamp", ] [[package]] name = "cumulus-primitives-utility" -version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "cumulus-primitives-core", "frame-support", "log", + "pallet-asset-conversion", + "pallet-xcm-benchmarks", "parity-scale-codec", "polkadot-runtime-common", + "polkadot-runtime-parachains", "sp-io", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", @@ -2257,8 +2470,8 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-inprocess-interface" -version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2276,66 +2489,72 @@ dependencies = [ "sp-consensus", "sp-core", "sp-runtime", - "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-state-machine", ] [[package]] name = "cumulus-relay-chain-interface" -version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "async-trait", "cumulus-primitives-core", "futures", - "jsonrpsee-core 0.16.3", + "jsonrpsee-core 0.20.3", "parity-scale-codec", "polkadot-overseer", "sc-client-api", "sp-api", "sp-blockchain", - "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-state-machine", "thiserror", ] [[package]] name = "cumulus-relay-chain-minimal-node" -version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "array-bytes", + "array-bytes 6.2.2", "async-trait", "cumulus-primitives-core", "cumulus-relay-chain-interface", "cumulus-relay-chain-rpc-interface", "futures", + "parking_lot 0.12.1", "polkadot-availability-recovery", "polkadot-collator-protocol", "polkadot-core-primitives", "polkadot-network-bridge", "polkadot-node-collation-generation", + "polkadot-node-core-chain-api", + "polkadot-node-core-prospective-parachains", "polkadot-node-core-runtime-api", "polkadot-node-network-protocol", "polkadot-node-subsystem-util", "polkadot-overseer", "polkadot-primitives", "sc-authority-discovery", + "sc-client-api", "sc-network", "sc-network-common", "sc-service", "sc-tracing", "sc-utils", - "schnellru", "sp-api", + "sp-blockchain", "sp-consensus", "sp-consensus-babe", "sp-runtime", + "substrate-prometheus-endpoint", + "tokio", "tracing", ] [[package]] name = "cumulus-relay-chain-rpc-interface" -version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2343,11 +2562,11 @@ dependencies = [ "either", "futures", "futures-timer", - "jsonrpsee 0.16.3", + "jsonrpsee 0.20.3", "parity-scale-codec", "pin-project", "polkadot-overseer", - "rand 0.8.5", + "rand", "sc-client-api", "sc-rpc-api", "sc-service", @@ -2361,8 +2580,9 @@ dependencies = [ "sp-consensus-babe", "sp-core", "sp-runtime", - "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-storage", + "sp-state-machine", + "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-version", "thiserror", "tokio", "tokio-util", @@ -2372,15 +2592,15 @@ dependencies = [ [[package]] name = "cumulus-test-relay-sproof-builder" -version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "cumulus-primitives-core", "parity-scale-codec", "polkadot-primitives", "sp-runtime", - "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std", + "sp-state-machine", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-trie", ] @@ -2393,7 +2613,7 @@ dependencies = [ "byteorder", "digest 0.8.1", "rand_core 0.5.1", - "subtle", + "subtle 2.4.1", "zeroize", ] @@ -2406,7 +2626,7 @@ dependencies = [ "byteorder", "digest 0.9.0", "rand_core 0.5.1", - "subtle", + "subtle 2.4.1", "zeroize", ] @@ -2423,7 +2643,7 @@ dependencies = [ "fiat-crypto", "platforms 3.2.0", "rustc_version", - "subtle", + "subtle 2.4.1", "zeroize", ] @@ -2435,7 +2655,7 @@ checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" dependencies = [ "proc-macro2", "quote", - "syn 2.0.42", + "syn 2.0.61", ] [[package]] @@ -2475,7 +2695,7 @@ dependencies = [ "proc-macro2", "quote", "scratch", - "syn 2.0.42", + "syn 2.0.61", ] [[package]] @@ -2492,7 +2712,7 @@ checksum = "5c6888cd161769d65134846d4d4981d5a6654307cc46ec83fb917e530aea5f84" dependencies = [ "proc-macro2", "quote", - "syn 2.0.42", + "syn 2.0.61", ] [[package]] @@ -2628,14 +2848,14 @@ dependencies = [ "block-buffer 0.10.4", "const-oid", "crypto-common", - "subtle", + "subtle 2.4.1", ] [[package]] name = "directories" -version = "4.0.1" +version = "5.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f51c5d4ddabd36886dd3e1438cb358cdcb0d7c499cb99cb4ac2e38e18b5cb210" +checksum = "9a49173b84e034382284f27f1af4dcbbd231ffa358c0fe316541a7337f376a35" dependencies = [ "dirs-sys", ] @@ -2652,13 +2872,14 @@ dependencies = [ [[package]] name = "dirs-sys" -version = "0.3.7" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b1d1d91c932ef41c0f2663aa8b0ca0342d444d842c06914aa0a7e352d0bada6" +checksum = "520f05a5cbd335fae5a99ff7a6ab8627577660ee5cfd6a94a6a929b52ff0321c" dependencies = [ "libc", + "option-ext", "redox_users", - "winapi", + "windows-sys 0.48.0", ] [[package]] @@ -2680,23 +2901,22 @@ checksum = "487585f4d0c6655fe74905e2504d8ad6908e4db67f744eb140876906c2f3175d" dependencies = [ "proc-macro2", "quote", - "syn 2.0.42", + "syn 2.0.61", ] [[package]] name = "dleq_vrf" version = "0.0.2" -source = "git+https://github.com/w3f/ring-vrf?rev=3119f51#3119f51b54b69308abfb0671f6176cb125ae1bf1" +source = "git+https://github.com/w3f/ring-vrf?rev=e9782f9#e9782f938629c90f3adb3fff2358bc8d1386af3e" dependencies = [ "ark-ec", "ark-ff", - "ark-scale 0.0.10", + "ark-scale", "ark-secret-scalar", "ark-serialize", "ark-std", "ark-transcript", "arrayvec 0.7.4", - "rand_core 0.6.4", "zeroize", ] @@ -2721,9 +2941,9 @@ dependencies = [ "proc-macro2", "quote", "regex", - "syn 2.0.42", + "syn 2.0.61", "termcolor", - "toml 0.8.2", + "toml 0.8.12", "walkdir", ] @@ -2807,7 +3027,7 @@ dependencies = [ "rand_core 0.6.4", "serde", "sha2 0.10.8", - "subtle", + "subtle 2.4.1", "zeroize", ] @@ -2861,7 +3081,7 @@ dependencies = [ "pkcs8", "rand_core 0.6.4", "sec1", - "subtle", + "subtle 2.4.1", "zeroize", ] @@ -2877,7 +3097,7 @@ version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c9720bba047d567ffc8a3cba48bf19126600e249ab7f128e9233e6376976a116" dependencies = [ - "heck", + "heck 0.4.1", "proc-macro2", "quote", "syn 1.0.109", @@ -2900,7 +3120,7 @@ checksum = "f95e2801cd355d4a1a3e3953ce6ee5ae9603a5c833455343a8bfe3f44d418246" dependencies = [ "proc-macro2", "quote", - "syn 2.0.42", + "syn 2.0.61", ] [[package]] @@ -2911,20 +3131,7 @@ checksum = "c2ad8cef1d801a4686bfd8919f0b30eac4c8e48968c437a6405ded4fb5272d2b" dependencies = [ "proc-macro2", "quote", - "syn 2.0.42", -] - -[[package]] -name = "env_logger" -version = "0.9.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a12e6657c4c97ebab115a42dcee77225f7f482cdd841cf7088c657a42e9e00e7" -dependencies = [ - "atty", - "humantime", - "log", - "regex", - "termcolor", + "syn 2.0.61", ] [[package]] @@ -3006,6 +3213,24 @@ dependencies = [ "triehash", ] +[[package]] +name = "ethereum" +version = "0.15.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2e04d24d20b8ff2235cffbf242d5092de3aa45f77c5270ddbfadd2778ca13fea" +dependencies = [ + "bytes", + "ethereum-types", + "hash-db 0.16.0", + "hash256-std-hasher", + "parity-scale-codec", + "rlp", + "scale-info", + "serde", + "sha3", + "trie-root", +] + [[package]] name = "ethereum-types" version = "0.14.1" @@ -3067,7 +3292,7 @@ source = "git+https://github.com/rust-blockchain/evm?rev=13240a8a551586fdef0b502 dependencies = [ "auto_impl", "environmental", - "ethereum", + "ethereum 0.14.0", "evm-core 0.36.0", "evm-gasometer 0.36.0", "evm-runtime 0.36.0", @@ -3082,15 +3307,15 @@ dependencies = [ [[package]] name = "evm" -version = "0.39.1" -source = "git+https://github.com/moonbeam-foundation/evm?rev=a33ac87ad7462b7e7029d12c385492b2a8311d1c#a33ac87ad7462b7e7029d12c385492b2a8311d1c" +version = "0.41.1" +source = "git+https://github.com/moonbeam-foundation/evm?branch=moonbeam-polkadot-v1.7.2#d8991ec727ad0fb64fe9957a3cd307387a6701e4" dependencies = [ "auto_impl", "environmental", - "ethereum", - "evm-core 0.39.0", - "evm-gasometer 0.39.0", - "evm-runtime 0.39.0", + "ethereum 0.15.0", + "evm-core 0.41.0", + "evm-gasometer 0.41.0", + "evm-runtime 0.41.0", "log", "parity-scale-codec", "primitive-types", @@ -3113,8 +3338,8 @@ dependencies = [ [[package]] name = "evm-core" -version = "0.39.0" -source = "git+https://github.com/moonbeam-foundation/evm?rev=a33ac87ad7462b7e7029d12c385492b2a8311d1c#a33ac87ad7462b7e7029d12c385492b2a8311d1c" +version = "0.41.0" +source = "git+https://github.com/moonbeam-foundation/evm?branch=moonbeam-polkadot-v1.7.2#d8991ec727ad0fb64fe9957a3cd307387a6701e4" dependencies = [ "parity-scale-codec", "primitive-types", @@ -3135,12 +3360,12 @@ dependencies = [ [[package]] name = "evm-gasometer" -version = "0.39.0" -source = "git+https://github.com/moonbeam-foundation/evm?rev=a33ac87ad7462b7e7029d12c385492b2a8311d1c#a33ac87ad7462b7e7029d12c385492b2a8311d1c" +version = "0.41.0" +source = "git+https://github.com/moonbeam-foundation/evm?branch=moonbeam-polkadot-v1.7.2#d8991ec727ad0fb64fe9957a3cd307387a6701e4" dependencies = [ "environmental", - "evm-core 0.39.0", - "evm-runtime 0.39.0", + "evm-core 0.41.0", + "evm-runtime 0.41.0", "primitive-types", ] @@ -3158,12 +3383,12 @@ dependencies = [ [[package]] name = "evm-runtime" -version = "0.39.0" -source = "git+https://github.com/moonbeam-foundation/evm?rev=a33ac87ad7462b7e7029d12c385492b2a8311d1c#a33ac87ad7462b7e7029d12c385492b2a8311d1c" +version = "0.41.0" +source = "git+https://github.com/moonbeam-foundation/evm?branch=moonbeam-polkadot-v1.7.2#d8991ec727ad0fb64fe9957a3cd307387a6701e4" dependencies = [ "auto_impl", "environmental", - "evm-core 0.39.0", + "evm-core 0.41.0", "primitive-types", "sha3", ] @@ -3189,29 +3414,17 @@ dependencies = [ "quote", ] -[[package]] -name = "expander" -version = "0.0.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3774182a5df13c3d1690311ad32fbe913feef26baba609fa2dd5f72042bd2ab6" -dependencies = [ - "blake2", - "fs-err", - "proc-macro2", - "quote", -] - [[package]] name = "expander" version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5f86a749cf851891866c10515ef6c299b5c69661465e9c3bbe7e07a2b77fb0f7" dependencies = [ - "blake2", + "blake2 0.10.6", "fs-err", "proc-macro2", "quote", - "syn 2.0.42", + "syn 2.0.61", ] [[package]] @@ -3272,10 +3485,22 @@ dependencies = [ "thiserror", ] +[[package]] +name = "fc-api" +version = "1.0.0-dev" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#91f1c7a447f987d732f87f86c3e02d506d426a99" +dependencies = [ + "async-trait", + "fp-storage", + "parity-scale-codec", + "sp-core", + "sp-runtime", +] + [[package]] name = "fc-consensus" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?rev=bf5885a982041cc744ecbb62a2afc13d56d464dc#bf5885a982041cc744ecbb62a2afc13d56d464dc" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#91f1c7a447f987d732f87f86c3e02d506d426a99" dependencies = [ "async-trait", "fp-consensus", @@ -3291,9 +3516,10 @@ dependencies = [ [[package]] name = "fc-db" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?rev=bf5885a982041cc744ecbb62a2afc13d56d464dc#bf5885a982041cc744ecbb62a2afc13d56d464dc" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#91f1c7a447f987d732f87f86c3e02d506d426a99" dependencies = [ "async-trait", + "fc-api", "fp-storage", "kvdb-rocksdb", "log", @@ -3311,7 +3537,7 @@ dependencies = [ [[package]] name = "fc-mapping-sync" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?rev=bf5885a982041cc744ecbb62a2afc13d56d464dc#bf5885a982041cc744ecbb62a2afc13d56d464dc" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#91f1c7a447f987d732f87f86c3e02d506d426a99" dependencies = [ "fc-db", "fc-storage", @@ -3332,28 +3558,27 @@ dependencies = [ [[package]] name = "fc-rpc" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?rev=bf5885a982041cc744ecbb62a2afc13d56d464dc#bf5885a982041cc744ecbb62a2afc13d56d464dc" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#91f1c7a447f987d732f87f86c3e02d506d426a99" dependencies = [ - "ethereum", + "ethereum 0.15.0", "ethereum-types", - "evm 0.39.1", - "fc-db", + "evm 0.41.1", + "fc-api", "fc-mapping-sync", "fc-rpc-core", "fc-storage", - "fp-ethereum", "fp-evm", "fp-rpc", "fp-storage", "futures", "hex", - "jsonrpsee 0.16.3", + "jsonrpsee 0.20.3", "libsecp256k1", "log", "pallet-evm", "parity-scale-codec", "prometheus", - "rand 0.8.5", + "rand", "rlp", "sc-client-api", "sc-consensus-aura", @@ -3373,11 +3598,12 @@ dependencies = [ "sp-consensus", "sp-consensus-aura", "sp-core", + "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-inherents", "sp-io", "sp-runtime", - "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-storage", + "sp-state-machine", + "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-timestamp", "substrate-prometheus-endpoint", "thiserror", @@ -3387,22 +3613,24 @@ dependencies = [ [[package]] name = "fc-rpc-core" version = "1.1.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?rev=bf5885a982041cc744ecbb62a2afc13d56d464dc#bf5885a982041cc744ecbb62a2afc13d56d464dc" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#91f1c7a447f987d732f87f86c3e02d506d426a99" dependencies = [ - "ethereum", + "ethereum 0.15.0", "ethereum-types", - "jsonrpsee 0.16.3", + "jsonrpsee 0.20.3", + "rlp", "rustc-hex", "serde", "serde_json", + "sp-core-hashing", ] [[package]] name = "fc-storage" version = "1.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?rev=bf5885a982041cc744ecbb62a2afc13d56d464dc#bf5885a982041cc744ecbb62a2afc13d56d464dc" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#91f1c7a447f987d732f87f86c3e02d506d426a99" dependencies = [ - "ethereum", + "ethereum 0.15.0", "ethereum-types", "fp-rpc", "fp-storage", @@ -3412,16 +3640,17 @@ dependencies = [ "sp-blockchain", "sp-io", "sp-runtime", - "sp-storage", + "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "fdlimit" -version = "0.2.1" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c4c9e43643f5a3be4ca5b67d26b98031ff9db6806c3440ae32e02e3ceac3f1b" +checksum = "e182f7dbc2ef73d9ef67351c5fbbea084729c48362d3ce9dd44c28e32e277fe5" dependencies = [ "libc", + "thiserror", ] [[package]] @@ -3431,7 +3660,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ded41244b729663b1e574f1b4fb731469f69f79c17667b5d776b16cda0479449" dependencies = [ "rand_core 0.6.4", - "subtle", + "subtle 2.4.1", ] [[package]] @@ -3459,7 +3688,7 @@ version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "84f2e425d9790201ba4af4630191feac6dcc98765b118d4d18e91d23c2353866" dependencies = [ - "env_logger 0.10.1", + "env_logger", "log", ] @@ -3511,7 +3740,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "835c052cb0c08c1acf6ffd71c022172e18723949c8282f2b9f27efbc51e64534" dependencies = [ "byteorder", - "rand 0.8.5", + "rand", "rustc-hex", "static_assertions", ] @@ -3550,8 +3779,8 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "fork-tree" -version = "3.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "12.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "parity-scale-codec", ] @@ -3568,7 +3797,7 @@ dependencies = [ [[package]] name = "fp-account" version = "1.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?rev=bf5885a982041cc744ecbb62a2afc13d56d464dc#bf5885a982041cc744ecbb62a2afc13d56d464dc" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#91f1c7a447f987d732f87f86c3e02d506d426a99" dependencies = [ "hex", "impl-serde", @@ -3580,57 +3809,57 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-runtime-interface", - "sp-std", + "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "fp-consensus" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?rev=bf5885a982041cc744ecbb62a2afc13d56d464dc#bf5885a982041cc744ecbb62a2afc13d56d464dc" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#91f1c7a447f987d732f87f86c3e02d506d426a99" dependencies = [ - "ethereum", + "ethereum 0.15.0", "parity-scale-codec", "sp-core", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "fp-ethereum" version = "1.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?rev=bf5885a982041cc744ecbb62a2afc13d56d464dc#bf5885a982041cc744ecbb62a2afc13d56d464dc" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#91f1c7a447f987d732f87f86c3e02d506d426a99" dependencies = [ - "ethereum", + "ethereum 0.15.0", "ethereum-types", "fp-evm", "frame-support", - "num_enum 0.6.1", "parity-scale-codec", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "fp-evm" version = "3.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?rev=bf5885a982041cc744ecbb62a2afc13d56d464dc#bf5885a982041cc744ecbb62a2afc13d56d464dc" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#91f1c7a447f987d732f87f86c3e02d506d426a99" dependencies = [ - "evm 0.39.1", + "evm 0.41.1", "frame-support", + "num_enum 0.7.2", "parity-scale-codec", "scale-info", "serde", "sp-core", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "fp-rpc" version = "3.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?rev=bf5885a982041cc744ecbb62a2afc13d56d464dc#bf5885a982041cc744ecbb62a2afc13d56d464dc" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#91f1c7a447f987d732f87f86c3e02d506d426a99" dependencies = [ - "ethereum", + "ethereum 0.15.0", "ethereum-types", "fp-evm", "parity-scale-codec", @@ -3638,14 +3867,14 @@ dependencies = [ "sp-api", "sp-core", "sp-runtime", - "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std", + "sp-state-machine", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "fp-self-contained" version = "1.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?rev=bf5885a982041cc744ecbb62a2afc13d56d464dc#bf5885a982041cc744ecbb62a2afc13d56d464dc" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#91f1c7a447f987d732f87f86c3e02d506d426a99" dependencies = [ "frame-support", "parity-scale-codec", @@ -3657,7 +3886,7 @@ dependencies = [ [[package]] name = "fp-storage" version = "2.0.0" -source = "git+https://github.com/moonbeam-foundation/frontier?rev=bf5885a982041cc744ecbb62a2afc13d56d464dc#bf5885a982041cc744ecbb62a2afc13d56d464dc" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#91f1c7a447f987d732f87f86c3e02d506d426a99" dependencies = [ "parity-scale-codec", "serde", @@ -3671,8 +3900,8 @@ checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa" [[package]] name = "frame-benchmarking" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "frame-support", "frame-support-procedural", @@ -3688,21 +3917,21 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-runtime-interface", - "sp-std", - "sp-storage", + "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "static_assertions", ] [[package]] name = "frame-benchmarking-cli" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "32.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "Inflector", - "array-bytes", + "array-bytes 6.2.2", "chrono", - "clap 4.4.11", + "clap 4.5.4", "comfy-table", "frame-benchmarking", "frame-support", @@ -3714,7 +3943,7 @@ dependencies = [ "linked-hash-map", "log", "parity-scale-codec", - "rand 0.8.5", + "rand", "rand_pcg", "sc-block-builder", "sc-cli", @@ -3729,34 +3958,34 @@ dependencies = [ "sp-blockchain", "sp-core", "sp-database", - "sp-externalities", + "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-inherents", "sp-io", "sp-keystore", "sp-runtime", - "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-storage", + "sp-state-machine", + "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-trie", - "sp-wasm-interface", + "sp-wasm-interface 20.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "thiserror", "thousands", ] [[package]] name = "frame-election-provider-solution-type" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "13.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "proc-macro-crate 1.3.1", + "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.42", + "syn 2.0.61", ] [[package]] name = "frame-election-provider-support" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -3767,13 +3996,13 @@ dependencies = [ "sp-core", "sp-npos-elections", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "frame-executive" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "frame-support", "frame-system", @@ -3784,8 +4013,8 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", - "sp-tracing", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] @@ -3802,20 +4031,20 @@ dependencies = [ [[package]] name = "frame-remote-externalities" -version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.35.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "async-recursion", "futures", "indicatif", - "jsonrpsee 0.16.3", + "jsonrpsee 0.20.3", "log", "parity-scale-codec", "serde", "sp-core", + "sp-crypto-hashing", "sp-io", "sp-runtime", - "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-state-machine", "spinners", "substrate-rpc-client", "tokio", @@ -3824,10 +4053,11 @@ dependencies = [ [[package]] name = "frame-support" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "aquamarine", + "array-bytes 6.2.2", "bitflags 1.3.2", "docify", "environmental", @@ -3846,26 +4076,26 @@ dependencies = [ "sp-api", "sp-arithmetic", "sp-core", - "sp-core-hashing-proc-macro", - "sp-debug-derive 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-crypto-hashing-proc-macro", + "sp-debug-derive 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-genesis-builder", "sp-inherents", "sp-io", "sp-metadata-ir", "sp-runtime", "sp-staking", - "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std", - "sp-tracing", - "sp-weights 20.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-state-machine", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-weights", "static_assertions", "tt-call", ] [[package]] name = "frame-support-procedural" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "23.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "Inflector", "cfg-expr", @@ -3877,37 +4107,39 @@ dependencies = [ "proc-macro-warning", "proc-macro2", "quote", - "syn 2.0.42", + "sp-crypto-hashing", + "syn 2.0.61", ] [[package]] name = "frame-support-procedural-tools" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "10.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "frame-support-procedural-tools-derive", - "proc-macro-crate 1.3.1", + "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.42", + "syn 2.0.61", ] [[package]] name = "frame-support-procedural-tools-derive" -version = "3.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "11.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "proc-macro2", "quote", - "syn 2.0.42", + "syn 2.0.61", ] [[package]] name = "frame-system" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "cfg-if", + "docify", "frame-support", "log", "parity-scale-codec", @@ -3916,15 +4148,15 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-version", - "sp-weights 20.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-weights", ] [[package]] name = "frame-system-benchmarking" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "frame-benchmarking", "frame-support", @@ -3933,13 +4165,13 @@ dependencies = [ "scale-info", "sp-core", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "frame-system-rpc-runtime-api" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "26.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "parity-scale-codec", "sp-api", @@ -3947,14 +4179,14 @@ dependencies = [ [[package]] name = "frame-try-runtime" -version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.34.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "frame-support", "parity-scale-codec", "sp-api", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] @@ -3978,9 +4210,9 @@ dependencies = [ [[package]] name = "fs4" -version = "0.6.6" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2eeb4ed9e12f43b7fa0baae3f9cdda28352770132ef2e09a23760c29cae8bd47" +checksum = "29f9df8a11882c4e3335eb2d18a0137c505d9ca927470b0cac9c6f0ae07d28f7" dependencies = [ "rustix 0.38.28", "windows-sys 0.48.0", @@ -3994,9 +4226,9 @@ checksum = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c" [[package]] name = "futures" -version = "0.3.29" +version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da0290714b38af9b4a7b094b8a37086d1b4e61f2df9122c3cad2577669145335" +checksum = "645c6916888f6cb6350d2550b80fb63e734897a8498abe35cfb732b6487804b0" dependencies = [ "futures-channel", "futures-core", @@ -4009,9 +4241,9 @@ dependencies = [ [[package]] name = "futures-channel" -version = "0.3.29" +version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff4dd66668b557604244583e3e1e1eada8c5c2e96a6d0d6653ede395b78bbacb" +checksum = "eac8f7d7865dcb88bd4373ab671c8cf4508703796caa2b1985a9ca867b3fcb78" dependencies = [ "futures-core", "futures-sink", @@ -4019,15 +4251,15 @@ dependencies = [ [[package]] name = "futures-core" -version = "0.3.29" +version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb1d22c66e66d9d72e1758f0bd7d4fd0bee04cad842ee34587d68c07e45d088c" +checksum = "dfc6580bb841c5a68e9ef15c77ccc837b40a7504914d52e47b8b0e9bbda25a1d" [[package]] name = "futures-executor" -version = "0.3.29" +version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f4fb8693db0cf099eadcca0efe2a5a22e4550f98ed16aba6c48700da29597bc" +checksum = "a576fc72ae164fca6b9db127eaa9a9dda0d61316034f33a0a0d4eda41f02b01d" dependencies = [ "futures-core", "futures-task", @@ -4037,9 +4269,9 @@ dependencies = [ [[package]] name = "futures-io" -version = "0.3.29" +version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8bf34a163b5c4c52d0478a4d757da8fb65cabef42ba90515efee0f6f9fa45aaa" +checksum = "a44623e20b9681a318efdd71c299b6b222ed6f231972bfe2f224ebad6311f0c1" [[package]] name = "futures-lite" @@ -4071,13 +4303,13 @@ dependencies = [ [[package]] name = "futures-macro" -version = "0.3.29" +version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53b153fd91e4b0147f4aced87be237c98248656bb01050b96bf3ee89220a8ddb" +checksum = "87750cf4b7a4c0625b1529e4c543c2182106e4dedc60a2a6455e00d212c489ac" dependencies = [ "proc-macro2", "quote", - "syn 2.0.42", + "syn 2.0.61", ] [[package]] @@ -4093,15 +4325,15 @@ dependencies = [ [[package]] name = "futures-sink" -version = "0.3.29" +version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e36d3378ee38c2a36ad710c5d30c2911d752cb941c00c72dbabfb786a7970817" +checksum = "9fb8e00e87438d937621c1c6269e53f536c14d3fbd6a042bb24879e57d474fb5" [[package]] name = "futures-task" -version = "0.3.29" +version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "efd193069b0ddadc69c46389b740bbccdd97203899b48d09c5f7969591d6bae2" +checksum = "38d84fa142264698cdce1a9f9172cf383a0c82de1bddcf3092901442c4097004" [[package]] name = "futures-timer" @@ -4111,9 +4343,9 @@ checksum = "e64b03909df88034c26dc1547e8970b91f98bdb65165d6a4e9110d94263dbb2c" [[package]] name = "futures-util" -version = "0.3.29" +version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a19526d624e703a3179b3d322efec918b6246ea0fa51d41124525f00f1cc8104" +checksum = "3d6401deb83407ab3da39eba7e33987a73c3df0c82b4bb5813ee871c19c41d48" dependencies = [ "futures-channel", "futures-core", @@ -4188,6 +4420,16 @@ dependencies = [ "wasi 0.11.0+wasi-snapshot-preview1", ] +[[package]] +name = "getrandom_or_panic" +version = "0.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ea1015b5a70616b688dc230cfe50c8af89d972cb132d5a622814d29773b10b9" +dependencies = [ + "rand", + "rand_core 0.6.4", +] + [[package]] name = "ghash" version = "0.5.0" @@ -4252,7 +4494,7 @@ checksum = "f0f9ef7462f7c099f518d754361858f86d8a07af53ba9af0fe635bbccb151a63" dependencies = [ "ff", "rand_core 0.6.4", - "subtle", + "subtle 2.4.1", ] [[package]] @@ -4344,12 +4586,27 @@ dependencies = [ "serde", ] +[[package]] +name = "hashlink" +version = "0.8.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e8094feaf31ff591f651a2664fb9cfd92bba7a60ce3197265e9482ebe753c8f7" +dependencies = [ + "hashbrown 0.14.3", +] + [[package]] name = "heck" version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" +[[package]] +name = "heck" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" + [[package]] name = "hermit-abi" version = "0.1.19" @@ -4517,13 +4774,13 @@ dependencies = [ "parity-scale-codec", "primitive-types", "proptest", - "rand 0.8.5", + "rand", "rand_xoshiro", "rug", "scale-info", "serde", "sp-arithmetic", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "test-case 2.2.2", ] @@ -4532,7 +4789,7 @@ name = "hydradx" version = "12.3.0" dependencies = [ "async-trait", - "clap 4.4.11", + "clap 4.5.4", "cumulus-client-cli", "cumulus-client-collator", "cumulus-client-consensus-aura", @@ -4562,7 +4819,7 @@ dependencies = [ "hex-literal 0.3.4", "hydra-dx-build-script-utils", "hydradx-runtime", - "jsonrpsee 0.16.3", + "jsonrpsee 0.20.3", "log", "pallet-transaction-payment-rpc", "pallet-transaction-payment-rpc-runtime-api", @@ -4608,15 +4865,15 @@ dependencies = [ "sp-offchain", "sp-runtime", "sp-session", - "sp-state-machine 0.28.0 (git+https://github.com/paritytech/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-storage", + "sp-state-machine", + "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-timestamp", "sp-transaction-pool", "sp-trie", "substrate-frame-rpc-system", "substrate-prometheus-endpoint", "substrate-state-trie-migration-rpc", - "trie-db 0.28.0", + "trie-db", ] [[package]] @@ -4663,7 +4920,7 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", @@ -4683,7 +4940,7 @@ dependencies = [ "cumulus-primitives-timestamp", "cumulus-primitives-utility", "ethabi", - "evm 0.39.1", + "evm 0.41.1", "fp-evm", "fp-rpc", "fp-self-contained", @@ -4742,6 +4999,7 @@ dependencies = [ "pallet-identity", "pallet-lbp", "pallet-liquidity-mining", + "pallet-message-queue", "pallet-multisig", "pallet-omnipool", "pallet-omnipool-liquidity-mining", @@ -4766,12 +5024,12 @@ dependencies = [ "pallet-uniques", "pallet-utility", "pallet-xcm", - "pallet-xcm-rate-limiter", "pallet-xyk", "pallet-xyk-liquidity-mining", - "parachain-info", + "parachains-common", "parity-scale-codec", "polkadot-parachain-primitives", + "polkadot-runtime-common", "precompile-utils", "primitive-types", "primitives", @@ -4782,17 +5040,18 @@ dependencies = [ "sp-block-builder", "sp-consensus-aura", "sp-core", - "sp-externalities", + "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-inherents", "sp-io", "sp-offchain", "sp-runtime", "sp-session", "sp-staking", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-transaction-pool", "sp-trie", "sp-version", + "staging-parachain-info", "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", @@ -4809,7 +5068,7 @@ dependencies = [ "scale-info", "serde", "sp-arithmetic", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] @@ -4850,7 +5109,6 @@ dependencies = [ "rustls-native-certs", "tokio", "tokio-rustls", - "webpki-roots 0.25.3", ] [[package]] @@ -5111,6 +5369,12 @@ dependencies = [ "winapi", ] +[[package]] +name = "is_terminal_polyfill" +version = "1.70.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8478577c03552c21db0e2724ffb8986a5ce7af88107e6be5d2ee6e158c12800" + [[package]] name = "itertools" version = "0.10.5" @@ -5169,29 +5433,29 @@ dependencies = [ [[package]] name = "jsonrpsee" -version = "0.16.3" +version = "0.20.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "367a292944c07385839818bb71c8d76611138e2dedb0677d035b8da21d29c78b" +checksum = "affdc52f7596ccb2d7645231fc6163bb314630c989b64998f3699a28b4d5d4dc" dependencies = [ - "jsonrpsee-core 0.16.3", + "jsonrpsee-core 0.20.3", "jsonrpsee-http-client", - "jsonrpsee-proc-macros 0.16.3", + "jsonrpsee-proc-macros 0.20.3", "jsonrpsee-server", - "jsonrpsee-types 0.16.3", + "jsonrpsee-types 0.20.3", "jsonrpsee-ws-client", + "tokio", "tracing", ] [[package]] name = "jsonrpsee-client-transport" -version = "0.16.3" +version = "0.20.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8b3815d9f5d5de348e5f162b316dc9cdf4548305ebb15b4eb9328e66cf27d7a" +checksum = "b5b005c793122d03217da09af68ba9383363caa950b90d3436106df8cabce935" dependencies = [ "futures-util", "http", - "jsonrpsee-core 0.16.3", - "jsonrpsee-types 0.16.3", + "jsonrpsee-core 0.20.3", "pin-project", "rustls-native-certs", "soketto", @@ -5200,7 +5464,7 @@ dependencies = [ "tokio-rustls", "tokio-util", "tracing", - "webpki-roots 0.25.3", + "url", ] [[package]] @@ -5221,7 +5485,7 @@ dependencies = [ "jsonrpsee-types 0.15.1", "lazy_static", "parking_lot 0.12.1", - "rand 0.8.5", + "rand", "rustc-hash", "serde", "serde_json", @@ -5234,23 +5498,20 @@ dependencies = [ [[package]] name = "jsonrpsee-core" -version = "0.16.3" +version = "0.20.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b5dde66c53d6dcdc8caea1874a45632ec0fcf5b437789f1e45766a1512ce803" +checksum = "da2327ba8df2fdbd5e897e2b5ed25ce7f299d345b9736b6828814c3dbd1fd47b" dependencies = [ "anyhow", - "arrayvec 0.7.4", "async-lock 2.8.0", "async-trait", "beef", - "futures-channel", "futures-timer", "futures-util", - "globset", "hyper", - "jsonrpsee-types 0.16.3", + "jsonrpsee-types 0.20.3", "parking_lot 0.12.1", - "rand 0.8.5", + "rand", "rustc-hash", "serde", "serde_json", @@ -5262,21 +5523,22 @@ dependencies = [ [[package]] name = "jsonrpsee-http-client" -version = "0.16.3" +version = "0.20.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e5f9fabdd5d79344728521bb65e3106b49ec405a78b66fbff073b72b389fa43" +checksum = "5f80c17f62c7653ce767e3d7288b793dfec920f97067ceb189ebdd3570f2bc20" dependencies = [ "async-trait", "hyper", "hyper-rustls", - "jsonrpsee-core 0.16.3", - "jsonrpsee-types 0.16.3", - "rustc-hash", + "jsonrpsee-core 0.20.3", + "jsonrpsee-types 0.20.3", "serde", "serde_json", "thiserror", "tokio", + "tower", "tracing", + "url", ] [[package]] @@ -5311,11 +5573,11 @@ dependencies = [ [[package]] name = "jsonrpsee-proc-macros" -version = "0.16.3" +version = "0.20.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44e8ab85614a08792b9bff6c8feee23be78c98d0182d4c622c05256ab553892a" +checksum = "29110019693a4fa2dbda04876499d098fa16d70eba06b1e6e2b3f1b251419515" dependencies = [ - "heck", + "heck 0.4.1", "proc-macro-crate 1.3.1", "proc-macro2", "quote", @@ -5324,19 +5586,20 @@ dependencies = [ [[package]] name = "jsonrpsee-server" -version = "0.16.3" +version = "0.20.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf4d945a6008c9b03db3354fb3c83ee02d2faa9f2e755ec1dfb69c3551b8f4ba" +checksum = "82c39a00449c9ef3f50b84fc00fc4acba20ef8f559f07902244abf4c15c5ab9c" dependencies = [ - "futures-channel", "futures-util", "http", "hyper", - "jsonrpsee-core 0.16.3", - "jsonrpsee-types 0.16.3", + "jsonrpsee-core 0.20.3", + "jsonrpsee-types 0.20.3", + "route-recognizer", "serde", "serde_json", "soketto", + "thiserror", "tokio", "tokio-stream", "tokio-util", @@ -5360,9 +5623,9 @@ dependencies = [ [[package]] name = "jsonrpsee-types" -version = "0.16.3" +version = "0.20.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "245ba8e5aa633dd1c1e4fae72bce06e71f42d34c14a2767c6b4d173b57bee5e5" +checksum = "5be0be325642e850ed0bdff426674d2e66b2b7117c9be23a7caef68a2902b7d9" dependencies = [ "anyhow", "beef", @@ -5374,14 +5637,15 @@ dependencies = [ [[package]] name = "jsonrpsee-ws-client" -version = "0.16.3" +version = "0.20.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e1b3975ed5d73f456478681a417128597acd6a2487855fdb7b4a3d4d195bf5e" +checksum = "bca9cb3933ccae417eb6b08c3448eb1cb46e39834e5b503e395e5e5bd08546c0" dependencies = [ "http", "jsonrpsee-client-transport", - "jsonrpsee-core 0.16.3", - "jsonrpsee-types 0.16.3", + "jsonrpsee-core 0.20.3", + "jsonrpsee-types 0.20.3", + "url", ] [[package]] @@ -5427,18 +5691,10 @@ dependencies = [ ] [[package]] -name = "kusama-runtime-constants" +name = "keystream" version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" -dependencies = [ - "frame-support", - "polkadot-primitives", - "polkadot-runtime-common", - "smallvec", - "sp-core", - "sp-runtime", - "sp-weights 20.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", -] +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c33070833c9ee02266356de0c43f723152bd38bd96ddf52c82b3af10c9138b28" [[package]] name = "kvdb" @@ -5475,9 +5731,9 @@ dependencies = [ [[package]] name = "landlock" -version = "0.2.0" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "520baa32708c4e957d2fc3a186bc5bd8d26637c33137f399ddfc202adb240068" +checksum = "9baa9eeb6e315942429397e617a190f4fdc696ef1ee0342939d641029cbb4ea7" dependencies = [ "enumflags2", "libc", @@ -5501,9 +5757,9 @@ checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55" [[package]] name = "libc" -version = "0.2.151" +version = "0.2.154" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "302d7ab3130588088d277783b1e2d2e10c9e9e4a16dd9050e6ec93fb3e7048f4" +checksum = "ae743338b92ff9146ce83992f766a31066a91a8c84a45e0e9f21e7cf6de6d346" [[package]] name = "libloading" @@ -5592,13 +5848,13 @@ dependencies = [ "libp2p-identity", "log", "multiaddr", - "multihash", + "multihash 0.17.0", "multistream-select", "once_cell", "parking_lot 0.12.1", "pin-project", "quick-protobuf", - "rand 0.8.5", + "rand", "rw-stream-sink", "smallvec", "thiserror", @@ -5652,9 +5908,9 @@ dependencies = [ "ed25519-dalek", "log", "multiaddr", - "multihash", + "multihash 0.17.0", "quick-protobuf", - "rand 0.8.5", + "rand", "sha2 0.10.8", "thiserror", "zeroize", @@ -5679,7 +5935,7 @@ dependencies = [ "libp2p-swarm", "log", "quick-protobuf", - "rand 0.8.5", + "rand", "sha2 0.10.8", "smallvec", "thiserror", @@ -5701,7 +5957,7 @@ dependencies = [ "libp2p-identity", "libp2p-swarm", "log", - "rand 0.8.5", + "rand", "smallvec", "socket2 0.4.10", "tokio", @@ -5737,7 +5993,7 @@ dependencies = [ "log", "once_cell", "quick-protobuf", - "rand 0.8.5", + "rand", "sha2 0.10.8", "snow", "static_assertions", @@ -5759,7 +6015,7 @@ dependencies = [ "libp2p-core", "libp2p-swarm", "log", - "rand 0.8.5", + "rand", "void", ] @@ -5779,7 +6035,7 @@ dependencies = [ "log", "parking_lot 0.12.1", "quinn-proto", - "rand 0.8.5", + "rand", "rustls 0.20.9", "thiserror", "tokio", @@ -5797,7 +6053,7 @@ dependencies = [ "libp2p-core", "libp2p-identity", "libp2p-swarm", - "rand 0.8.5", + "rand", "smallvec", ] @@ -5816,7 +6072,7 @@ dependencies = [ "libp2p-identity", "libp2p-swarm-derive", "log", - "rand 0.8.5", + "rand", "smallvec", "tokio", "void", @@ -5828,7 +6084,7 @@ version = "0.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0fba456131824ab6acd4c7bf61e9c0f0a3014b5fc9868ccb8e10d344594cdc4f" dependencies = [ - "heck", + "heck 0.4.1", "quote", "syn 1.0.109", ] @@ -5898,7 +6154,7 @@ dependencies = [ "rw-stream-sink", "soketto", "url", - "webpki-roots 0.22.6", + "webpki-roots", ] [[package]] @@ -5953,7 +6209,7 @@ dependencies = [ "libsecp256k1-core", "libsecp256k1-gen-ecmult", "libsecp256k1-gen-genmult", - "rand 0.8.5", + "rand", "serde", "sha2 0.9.9", "typenum", @@ -5967,7 +6223,7 @@ checksum = "5be9b9bb642d8522a44d533eab56c16c738301965504753b03ad1de3425d5451" dependencies = [ "crunchy", "digest 0.9.0", - "subtle", + "subtle 2.4.1", ] [[package]] @@ -6050,6 +6306,18 @@ version = "0.4.12" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c4cd1a83af159aa67994778be9070f0ae1bd732942279cabb14f86f986a21456" +[[package]] +name = "lioness" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ae926706ba42c425c9457121178330d75e273df2e82e28b758faf3de3a9acb9" +dependencies = [ + "arrayref", + "blake2 0.8.1", + "chacha", + "keystream", +] + [[package]] name = "lock_api" version = "0.4.11" @@ -6062,9 +6330,9 @@ dependencies = [ [[package]] name = "log" -version = "0.4.20" +version = "0.4.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f" +checksum = "90ed8c1e510134f979dbc4f070f87d4313098b704861a105fe34231c70a3901c" [[package]] name = "lru" @@ -6121,50 +6389,50 @@ dependencies = [ [[package]] name = "macro_magic" -version = "0.4.2" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aee866bfee30d2d7e83835a4574aad5b45adba4cc807f2a3bbba974e5d4383c9" +checksum = "e03844fc635e92f3a0067e25fa4bf3e3dbf3f2927bf3aa01bb7bc8f1c428949d" dependencies = [ "macro_magic_core", "macro_magic_macros", "quote", - "syn 2.0.42", + "syn 2.0.61", ] [[package]] name = "macro_magic_core" -version = "0.4.2" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e766a20fd9c72bab3e1e64ed63f36bd08410e75803813df210d1ce297d7ad00" +checksum = "468155613a44cfd825f1fb0ffa532b018253920d404e6fca1e8d43155198a46d" dependencies = [ "const-random", "derive-syn-parse", "macro_magic_core_macros", "proc-macro2", "quote", - "syn 2.0.42", + "syn 2.0.61", ] [[package]] name = "macro_magic_core_macros" -version = "0.4.3" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d710e1214dffbab3b5dacb21475dde7d6ed84c69ff722b3a47a782668d44fbac" +checksum = "9ea73aa640dc01d62a590d48c0c3521ed739d53b27f919b25c3551e233481654" dependencies = [ "proc-macro2", "quote", - "syn 2.0.42", + "syn 2.0.61", ] [[package]] name = "macro_magic_macros" -version = "0.4.2" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8fb85ec1620619edf2984a7693497d4ec88a9665d8b87e942856884c92dbf2a" +checksum = "ef9d79ae96aaba821963320eb2b6e34d17df1e5a83d8a1985c29cc5be59577b3" dependencies = [ "macro_magic_core", "quote", - "syn 2.0.42", + "syn 2.0.61", ] [[package]] @@ -6180,7 +6448,7 @@ dependencies = [ "serde", "serde_derive", "serde_json", - "syn 2.0.42", + "syn 2.0.61", ] [[package]] @@ -6204,6 +6472,15 @@ dependencies = [ "regex-automata 0.1.10", ] +[[package]] +name = "matchers" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8263075bb86c5a1b1427b5ae862e8889656f126e9f77c484496e8b47cf5c5558" +dependencies = [ + "regex-automata 0.1.10", +] + [[package]] name = "matches" version = "0.1.10" @@ -6244,6 +6521,15 @@ dependencies = [ "libc", ] +[[package]] +name = "memmap2" +version = "0.9.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fe751422e4a8caa417e13c3ea66452215d7d63e19e604f4980461212f3ae1322" +dependencies = [ + "libc", +] + [[package]] name = "memoffset" version = "0.8.0" @@ -6302,7 +6588,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "69672161530e8aeca1d1400fbf3f1a1747ff60ea604265a4e906c2442df20532" dependencies = [ "futures", - "rand 0.8.5", + "rand", "thrift", ] @@ -6332,10 +6618,35 @@ dependencies = [ "windows-sys 0.48.0", ] +[[package]] +name = "mixnet" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "daa3eb39495d8e2e2947a1d862852c90cc6a4a8845f8b41c8829cb9fcc047f4a" +dependencies = [ + "arrayref", + "arrayvec 0.7.4", + "bitflags 1.3.2", + "blake2 0.10.6", + "c2-chacha", + "curve25519-dalek 4.1.1", + "either", + "hashlink", + "lioness", + "log", + "parking_lot 0.12.1", + "rand", + "rand_chacha 0.3.1", + "rand_distr", + "subtle 2.4.1", + "thiserror", + "zeroize", +] + [[package]] name = "mmr-gadget" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "29.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "futures", "log", @@ -6353,11 +6664,10 @@ dependencies = [ [[package]] name = "mmr-rpc" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "anyhow", - "jsonrpsee 0.16.3", + "jsonrpsee 0.20.3", "parity-scale-codec", "serde", "sp-api", @@ -6398,12 +6708,12 @@ dependencies = [ name = "module-evm-utility" version = "2.21.0" dependencies = [ - "ethereum", + "ethereum 0.14.0", "evm 0.36.0", "evm-gasometer 0.36.0", "evm-runtime 0.36.0", "sha3", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] @@ -6427,7 +6737,7 @@ dependencies = [ "data-encoding", "log", "multibase", - "multihash", + "multihash 0.17.0", "percent-encoding", "serde", "static_assertions", @@ -6457,12 +6767,55 @@ dependencies = [ "blake3", "core2", "digest 0.10.7", - "multihash-derive", + "multihash-derive 0.8.0", "sha2 0.10.8", "sha3", "unsigned-varint", ] +[[package]] +name = "multihash" +version = "0.18.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cfd8a792c1694c6da4f68db0a9d707c72bd260994da179e6030a5dcee00bb815" +dependencies = [ + "core2", + "digest 0.10.7", + "multihash-derive 0.8.0", + "sha2 0.10.8", + "unsigned-varint", +] + +[[package]] +name = "multihash" +version = "0.19.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "076d548d76a0e2a0d4ab471d0b1c36c577786dfc4471242035d97a12a735c492" +dependencies = [ + "core2", + "unsigned-varint", +] + +[[package]] +name = "multihash-codetable" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f6d815ecb3c8238d00647f8630ede7060a642c9f704761cd6082cb4028af6935" +dependencies = [ + "blake2b_simd", + "blake2s_simd", + "blake3", + "core2", + "digest 0.10.7", + "multihash-derive 0.9.0", + "ripemd", + "serde", + "sha1", + "sha2 0.10.8", + "sha3", + "strobe-rs", +] + [[package]] name = "multihash-derive" version = "0.8.0" @@ -6477,6 +6830,31 @@ dependencies = [ "synstructure", ] +[[package]] +name = "multihash-derive" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "890e72cb7396cb99ed98c1246a97b243cc16394470d94e0bc8b0c2c11d84290e" +dependencies = [ + "core2", + "multihash 0.19.1", + "multihash-derive-impl", +] + +[[package]] +name = "multihash-derive-impl" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d38685e08adb338659871ecfc6ee47ba9b22dcc8abcf6975d379cc49145c3040" +dependencies = [ + "proc-macro-crate 1.3.1", + "proc-macro-error", + "proc-macro2", + "quote", + "syn 1.0.109", + "synstructure", +] + [[package]] name = "multimap" version = "0.8.3" @@ -6526,11 +6904,11 @@ dependencies = [ [[package]] name = "names" -version = "0.13.0" +version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7d66043b25d4a6cccb23619d10c19c25304b355a7dccd4a8e11423dd2382146" +checksum = "7bddcd3bf5144b6392de80e04c347cd7fab2508f6df16a85fc496ecd5cec39bc" dependencies = [ - "rand 0.8.5", + "rand", ] [[package]] @@ -6616,6 +6994,17 @@ dependencies = [ "libc", ] +[[package]] +name = "nix" +version = "0.27.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2eb04e9c688eff1c89d72b407f168cf79bb9e867a9d3323ed6c01519eb9cc053" +dependencies = [ + "bitflags 2.4.1", + "cfg-if", + "libc", +] + [[package]] name = "no-std-net" version = "0.6.0" @@ -6650,6 +7039,16 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "61807f77802ff30975e01f4f071c8ba10c022052f98b3294119f3e615d13e5be" +[[package]] +name = "nu-ansi-term" +version = "0.46.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77a8165726e8236064dbb45459242600304b42a5ea24ee2948e18e023bf7ba84" +dependencies = [ + "overload", + "winapi", +] + [[package]] name = "num" version = "0.4.1" @@ -6758,11 +7157,11 @@ dependencies = [ [[package]] name = "num_enum" -version = "0.6.1" +version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a015b430d3c108a207fd776d2e2196aaf8b1cf8cf93253e3a097ff3085076a1" +checksum = "02339744ee7253741199f897151b38e72257d13802d4ee837285cc2990a90845" dependencies = [ - "num_enum_derive 0.6.1", + "num_enum_derive 0.7.2", ] [[package]] @@ -6778,14 +7177,14 @@ dependencies = [ [[package]] name = "num_enum_derive" -version = "0.6.1" +version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96667db765a921f7b295ffee8b60472b686a51d4f21c2ee4ffdb94c7013b65a6" +checksum = "681030a937600a36906c185595136d26abfebb4aa9c65701cefcaf8578bb982b" dependencies = [ "proc-macro-crate 1.3.1", "proc-macro2", "quote", - "syn 2.0.42", + "syn 2.0.61", ] [[package]] @@ -6854,11 +7253,17 @@ version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" +[[package]] +name = "option-ext" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "04744f49eae99ab78e0d5c0b603ab218f515ea8cfe5a456d7629ad883a3b6e7d" + [[package]] name = "orchestra" -version = "0.0.5" +version = "0.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "227585216d05ba65c7ab0a0450a3cf2cbd81a98862a54c4df8e14d5ac6adb015" +checksum = "92829eef0328a3d1cd22a02c0e51deb92a5362df3e7d21a4e9bdc38934694e66" dependencies = [ "async-trait", "dyn-clonable", @@ -6873,14 +7278,15 @@ dependencies = [ [[package]] name = "orchestra-proc-macro" -version = "0.0.5" +version = "0.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2871aadd82a2c216ee68a69837a526dfe788ecbe74c4c5038a6acdbff6653066" +checksum = "1344346d5af32c95bbddea91b18a88cc83eac394192d20ef2fc4c40a74332355" dependencies = [ - "expander 0.0.6", - "itertools 0.10.5", + "expander 2.0.0", + "indexmap 2.1.0", + "itertools 0.11.0", "petgraph", - "proc-macro-crate 1.3.1", + "proc-macro-crate 3.1.0", "proc-macro2", "quote", "syn 1.0.109", @@ -6897,8 +7303,8 @@ dependencies = [ [[package]] name = "orml-benchmarking" -version = "0.4.1-dev" -source = "git+https://github.com/galacticcouncil/open-runtime-module-library?rev=f36a0abefd8e6b929bee3cc2420f7c4fbe459c99#f36a0abefd8e6b929bee3cc2420f7c4fbe459c99" +version = "0.8.0" +source = "git+https://github.com/galacticcouncil/open-runtime-module-library?branch=polkadot-v1.7.2#43629abf084fe6d9eae8b3013e13544e00ad912f" dependencies = [ "frame-benchmarking", "frame-support", @@ -6910,15 +7316,15 @@ dependencies = [ "sp-api", "sp-io", "sp-runtime", - "sp-runtime-interface", - "sp-std", - "sp-storage", + "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "orml-tokens" -version = "0.4.2-dev" -source = "git+https://github.com/galacticcouncil/open-runtime-module-library?rev=f36a0abefd8e6b929bee3cc2420f7c4fbe459c99#f36a0abefd8e6b929bee3cc2420f7c4fbe459c99" +version = "0.8.1" +source = "git+https://github.com/galacticcouncil/open-runtime-module-library?branch=polkadot-v1.7.2#43629abf084fe6d9eae8b3013e13544e00ad912f" dependencies = [ "frame-support", "frame-system", @@ -6929,13 +7335,13 @@ dependencies = [ "serde", "sp-arithmetic", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "orml-traits" -version = "0.4.1-dev" -source = "git+https://github.com/galacticcouncil/open-runtime-module-library?rev=f36a0abefd8e6b929bee3cc2420f7c4fbe459c99#f36a0abefd8e6b929bee3cc2420f7c4fbe459c99" +version = "0.8.0" +source = "git+https://github.com/galacticcouncil/open-runtime-module-library?branch=polkadot-v1.7.2#43629abf084fe6d9eae8b3013e13544e00ad912f" dependencies = [ "frame-support", "impl-trait-for-tuples", @@ -6948,14 +7354,14 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "staging-xcm", ] [[package]] name = "orml-unknown-tokens" -version = "0.4.1-dev" -source = "git+https://github.com/galacticcouncil/open-runtime-module-library?rev=f36a0abefd8e6b929bee3cc2420f7c4fbe459c99#f36a0abefd8e6b929bee3cc2420f7c4fbe459c99" +version = "0.8.0" +source = "git+https://github.com/galacticcouncil/open-runtime-module-library?branch=polkadot-v1.7.2#43629abf084fe6d9eae8b3013e13544e00ad912f" dependencies = [ "frame-support", "frame-system", @@ -6963,14 +7369,14 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "staging-xcm", ] [[package]] name = "orml-utilities" -version = "0.4.1-dev" -source = "git+https://github.com/galacticcouncil/open-runtime-module-library?rev=f36a0abefd8e6b929bee3cc2420f7c4fbe459c99#f36a0abefd8e6b929bee3cc2420f7c4fbe459c99" +version = "0.8.0" +source = "git+https://github.com/galacticcouncil/open-runtime-module-library?branch=polkadot-v1.7.2#43629abf084fe6d9eae8b3013e13544e00ad912f" dependencies = [ "frame-support", "parity-scale-codec", @@ -6979,13 +7385,13 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "orml-vesting" -version = "0.4.1-dev" -source = "git+https://github.com/galacticcouncil/open-runtime-module-library?rev=f36a0abefd8e6b929bee3cc2420f7c4fbe459c99#f36a0abefd8e6b929bee3cc2420f7c4fbe459c99" +version = "0.8.0" +source = "git+https://github.com/galacticcouncil/open-runtime-module-library?branch=polkadot-v1.7.2#43629abf084fe6d9eae8b3013e13544e00ad912f" dependencies = [ "frame-support", "frame-system", @@ -6994,43 +7400,42 @@ dependencies = [ "serde", "sp-io", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "orml-xcm" -version = "0.4.1-dev" -source = "git+https://github.com/galacticcouncil/open-runtime-module-library?rev=f36a0abefd8e6b929bee3cc2420f7c4fbe459c99#f36a0abefd8e6b929bee3cc2420f7c4fbe459c99" +version = "0.8.0" +source = "git+https://github.com/galacticcouncil/open-runtime-module-library?branch=polkadot-v1.7.2#43629abf084fe6d9eae8b3013e13544e00ad912f" dependencies = [ "frame-support", "frame-system", "pallet-xcm", "parity-scale-codec", "scale-info", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "staging-xcm", ] [[package]] name = "orml-xcm-support" -version = "0.4.1-dev" -source = "git+https://github.com/galacticcouncil/open-runtime-module-library?rev=f36a0abefd8e6b929bee3cc2420f7c4fbe459c99#f36a0abefd8e6b929bee3cc2420f7c4fbe459c99" +version = "0.8.0" +source = "git+https://github.com/galacticcouncil/open-runtime-module-library?branch=polkadot-v1.7.2#43629abf084fe6d9eae8b3013e13544e00ad912f" dependencies = [ "frame-support", "orml-traits", "parity-scale-codec", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "staging-xcm", "staging-xcm-executor", ] [[package]] name = "orml-xtokens" -version = "0.4.1-dev" -source = "git+https://github.com/galacticcouncil/open-runtime-module-library?rev=f36a0abefd8e6b929bee3cc2420f7c4fbe459c99#f36a0abefd8e6b929bee3cc2420f7c4fbe459c99" +version = "0.8.0" +source = "git+https://github.com/galacticcouncil/open-runtime-module-library?branch=polkadot-v1.7.2#43629abf084fe6d9eae8b3013e13544e00ad912f" dependencies = [ - "cumulus-primitives-core", "frame-support", "frame-system", "log", @@ -7042,7 +7447,7 @@ dependencies = [ "serde", "sp-io", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "staging-xcm", "staging-xcm-executor", ] @@ -7053,6 +7458,45 @@ version = "6.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e2355d85b9a3786f481747ced0e0ff2ba35213a1f9bd406ed906554d7af805a1" +[[package]] +name = "overload" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b15813163c1d831bf4a13c3610c05c0d03b39feb07f7e09fa234dac9b15aaf39" + +[[package]] +name = "pallet-asset-conversion" +version = "10.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" +dependencies = [ + "frame-benchmarking", + "frame-support", + "frame-system", + "parity-scale-codec", + "scale-info", + "sp-api", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", +] + +[[package]] +name = "pallet-asset-rate" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" +dependencies = [ + "frame-benchmarking", + "frame-support", + "frame-system", + "parity-scale-codec", + "scale-info", + "sp-core", + "sp-runtime", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", +] + [[package]] name = "pallet-asset-registry" version = "3.2.3" @@ -7074,7 +7518,7 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "staging-xcm", "substrate-wasm-builder", "test-utils", @@ -7082,8 +7526,8 @@ dependencies = [ [[package]] name = "pallet-asset-tx-payment" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "frame-benchmarking", "frame-support", @@ -7095,13 +7539,13 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-assets" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "29.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "frame-benchmarking", "frame-support", @@ -7111,13 +7555,13 @@ dependencies = [ "scale-info", "sp-core", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-aura" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "frame-support", "frame-system", @@ -7128,13 +7572,13 @@ dependencies = [ "sp-application-crypto", "sp-consensus-aura", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-authority-discovery" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "frame-support", "frame-system", @@ -7144,13 +7588,13 @@ dependencies = [ "sp-application-crypto", "sp-authority-discovery", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-authorship" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "frame-support", "frame-system", @@ -7158,13 +7602,13 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-babe" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "frame-benchmarking", "frame-support", @@ -7182,13 +7626,13 @@ dependencies = [ "sp-runtime", "sp-session", "sp-staking", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-bags-list" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "aquamarine", "docify", @@ -7203,15 +7647,16 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", - "sp-tracing", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-balances" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ + "docify", "frame-benchmarking", "frame-support", "frame-system", @@ -7219,13 +7664,13 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-beefy" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "frame-support", "frame-system", @@ -7239,15 +7684,15 @@ dependencies = [ "sp-runtime", "sp-session", "sp-staking", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-beefy-mmr" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "array-bytes", + "array-bytes 6.2.2", "binary-merkle-tree", "frame-support", "frame-system", @@ -7263,8 +7708,8 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std", + "sp-state-machine", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] @@ -7287,14 +7732,14 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", - "sp-tracing", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-bounties" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "frame-benchmarking", "frame-support", @@ -7306,13 +7751,30 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", +] + +[[package]] +name = "pallet-broker" +version = "0.6.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" +dependencies = [ + "bitvec", + "frame-benchmarking", + "frame-support", + "frame-system", + "parity-scale-codec", + "scale-info", + "sp-arithmetic", + "sp-core", + "sp-runtime", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-child-bounties" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "frame-benchmarking", "frame-support", @@ -7325,7 +7787,7 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] @@ -7348,7 +7810,7 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "test-case 3.3.1", "test-utils", ] @@ -7372,7 +7834,7 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] @@ -7395,14 +7857,14 @@ dependencies = [ "sp-io", "sp-runtime", "sp-staking", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "substrate-wasm-builder", ] [[package]] name = "pallet-collator-selection" -version = "3.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "9.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "frame-benchmarking", "frame-support", @@ -7411,17 +7873,17 @@ dependencies = [ "pallet-authorship", "pallet-session", "parity-scale-codec", - "rand 0.8.5", + "rand", "scale-info", "sp-runtime", "sp-staking", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-collective" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "frame-benchmarking", "frame-support", @@ -7432,13 +7894,13 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-conviction-voting" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "assert_matches", "frame-benchmarking", @@ -7449,7 +7911,7 @@ dependencies = [ "serde", "sp-io", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] @@ -7468,7 +7930,7 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] @@ -7496,55 +7958,55 @@ dependencies = [ "pretty_assertions", "primitive-types", "primitives", - "rand 0.8.5", + "rand", "scale-info", "smallvec", "sp-api", "sp-core", "sp-io", "sp-runtime", - "sp-std", - "sp-tracing", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "test-case 2.2.2", "test-utils", ] [[package]] name = "pallet-democracy" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "4.1.0" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", "log", + "pallet-balances", + "pallet-preimage", + "pallet-scheduler", "parity-scale-codec", "scale-info", "serde", "sp-core", "sp-io", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-democracy" -version = "4.1.0" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", "log", - "pallet-balances", - "pallet-preimage", - "pallet-scheduler", "parity-scale-codec", "scale-info", "serde", "sp-core", "sp-io", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] @@ -7567,7 +8029,7 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "substrate-wasm-builder", ] @@ -7594,7 +8056,7 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "test-utils", ] @@ -7614,13 +8076,13 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-election-provider-multi-phase" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -7629,21 +8091,21 @@ dependencies = [ "log", "pallet-election-provider-support-benchmarking", "parity-scale-codec", - "rand 0.8.5", + "rand", "scale-info", "sp-arithmetic", "sp-core", "sp-io", "sp-npos-elections", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "strum 0.24.1", ] [[package]] name = "pallet-election-provider-support-benchmarking" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -7651,13 +8113,13 @@ dependencies = [ "parity-scale-codec", "sp-npos-elections", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-elections-phragmen" -version = "5.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "29.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "frame-benchmarking", "frame-support", @@ -7670,7 +8132,7 @@ dependencies = [ "sp-npos-elections", "sp-runtime", "sp-staking", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] @@ -7693,19 +8155,19 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "test-utils", ] [[package]] name = "pallet-ethereum" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?rev=bf5885a982041cc744ecbb62a2afc13d56d464dc#bf5885a982041cc744ecbb62a2afc13d56d464dc" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#91f1c7a447f987d732f87f86c3e02d506d426a99" dependencies = [ "environmental", - "ethereum", + "ethereum 0.15.0", "ethereum-types", - "evm 0.39.1", + "evm 0.41.1", "fp-consensus", "fp-ethereum", "fp-evm", @@ -7718,21 +8180,22 @@ dependencies = [ "scale-info", "sp-io", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-evm" version = "6.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?rev=bf5885a982041cc744ecbb62a2afc13d56d464dc#bf5885a982041cc744ecbb62a2afc13d56d464dc" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#91f1c7a447f987d732f87f86c3e02d506d426a99" dependencies = [ "environmental", - "evm 0.39.1", + "evm 0.41.1", "fp-account", "fp-evm", "frame-benchmarking", "frame-support", "frame-system", + "hash-db 0.16.0", "hex", "hex-literal 0.4.1", "impl-trait-for-tuples", @@ -7743,7 +8206,7 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] @@ -7761,7 +8224,7 @@ dependencies = [ "scale-info", "sp-core", "sp-io", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "test-utils", ] @@ -7776,19 +8239,18 @@ dependencies = [ [[package]] name = "pallet-evm-chain-id" version = "1.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?rev=bf5885a982041cc744ecbb62a2afc13d56d464dc#bf5885a982041cc744ecbb62a2afc13d56d464dc" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#91f1c7a447f987d732f87f86c3e02d506d426a99" dependencies = [ "frame-support", "frame-system", "parity-scale-codec", "scale-info", - "sp-runtime", ] [[package]] name = "pallet-evm-precompile-blake2" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?rev=bf5885a982041cc744ecbb62a2afc13d56d464dc#bf5885a982041cc744ecbb62a2afc13d56d464dc" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#91f1c7a447f987d732f87f86c3e02d506d426a99" dependencies = [ "fp-evm", ] @@ -7796,7 +8258,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-bn128" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?rev=bf5885a982041cc744ecbb62a2afc13d56d464dc#bf5885a982041cc744ecbb62a2afc13d56d464dc" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#91f1c7a447f987d732f87f86c3e02d506d426a99" dependencies = [ "fp-evm", "sp-core", @@ -7808,7 +8270,7 @@ name = "pallet-evm-precompile-call-permit" version = "0.1.0" dependencies = [ "derive_more", - "evm 0.39.1", + "evm 0.41.1", "fp-evm", "frame-support", "frame-system", @@ -7829,13 +8291,13 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-evm-precompile-dispatch" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?rev=bf5885a982041cc744ecbb62a2afc13d56d464dc#bf5885a982041cc744ecbb62a2afc13d56d464dc" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#91f1c7a447f987d732f87f86c3e02d506d426a99" dependencies = [ "fp-evm", "frame-support", @@ -7847,7 +8309,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-modexp" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?rev=bf5885a982041cc744ecbb62a2afc13d56d464dc#bf5885a982041cc744ecbb62a2afc13d56d464dc" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#91f1c7a447f987d732f87f86c3e02d506d426a99" dependencies = [ "fp-evm", "num", @@ -7856,7 +8318,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-simple" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?rev=bf5885a982041cc744ecbb62a2afc13d56d464dc#bf5885a982041cc744ecbb62a2afc13d56d464dc" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#91f1c7a447f987d732f87f86c3e02d506d426a99" dependencies = [ "fp-evm", "ripemd", @@ -7865,8 +8327,8 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "docify", "frame-benchmarking", @@ -7879,7 +8341,7 @@ dependencies = [ "sp-io", "sp-runtime", "sp-staking", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] @@ -7897,13 +8359,13 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-grandpa" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "frame-benchmarking", "frame-support", @@ -7920,29 +8382,30 @@ dependencies = [ "sp-runtime", "sp-session", "sp-staking", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-identity" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "enumflags2", "frame-benchmarking", "frame-support", "frame-system", + "log", "parity-scale-codec", "scale-info", "sp-io", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-im-online" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "frame-benchmarking", "frame-support", @@ -7956,13 +8419,13 @@ dependencies = [ "sp-io", "sp-runtime", "sp-staking", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-indices" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "frame-benchmarking", "frame-support", @@ -7973,7 +8436,7 @@ dependencies = [ "sp-io", "sp-keyring", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] @@ -7996,7 +8459,7 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "substrate-wasm-builder", "test-utils", ] @@ -8016,20 +8479,20 @@ dependencies = [ "parity-scale-codec", "pretty_assertions", "proptest", - "rand 0.8.5", + "rand", "scale-info", "sp-arithmetic", "sp-core", "sp-io", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "test-utils", ] [[package]] name = "pallet-membership" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "frame-benchmarking", "frame-support", @@ -8040,14 +8503,15 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-message-queue" -version = "7.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "31.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ + "environmental", "frame-benchmarking", "frame-support", "frame-system", @@ -8058,14 +8522,14 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", - "sp-weights 20.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-weights", ] [[package]] name = "pallet-mmr" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "frame-benchmarking", "frame-support", @@ -8077,13 +8541,13 @@ dependencies = [ "sp-io", "sp-mmr-primitives", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-multisig" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "frame-benchmarking", "frame-support", @@ -8093,7 +8557,7 @@ dependencies = [ "scale-info", "sp-io", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] @@ -8113,13 +8577,13 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-nis" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "frame-benchmarking", "frame-support", @@ -8129,13 +8593,13 @@ dependencies = [ "sp-arithmetic", "sp-core", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-nomination-pools" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "25.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "frame-support", "frame-system", @@ -8147,14 +8611,14 @@ dependencies = [ "sp-io", "sp-runtime", "sp-staking", - "sp-std", - "sp-tracing", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-nomination-pools-benchmarking" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "26.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -8162,30 +8626,30 @@ dependencies = [ "frame-system", "pallet-bags-list", "pallet-nomination-pools", - "pallet-staking 4.0.0-dev", + "pallet-staking 28.0.0", "parity-scale-codec", "scale-info", "sp-runtime", - "sp-runtime-interface", + "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-staking", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-nomination-pools-runtime-api" -version = "1.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "23.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "pallet-nomination-pools", "parity-scale-codec", "sp-api", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-offences" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "frame-support", "frame-system", @@ -8196,13 +8660,13 @@ dependencies = [ "serde", "sp-runtime", "sp-staking", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-offences-benchmarking" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -8215,12 +8679,12 @@ dependencies = [ "pallet-im-online", "pallet-offences", "pallet-session", - "pallet-staking 4.0.0-dev", + "pallet-staking 28.0.0", "parity-scale-codec", "scale-info", "sp-runtime", "sp-staking", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] @@ -8246,8 +8710,8 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", - "sp-tracing", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] @@ -8274,7 +8738,7 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] @@ -8295,14 +8759,14 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "test-utils", ] [[package]] name = "pallet-preimage" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "frame-benchmarking", "frame-support", @@ -8313,13 +8777,13 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-proxy" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "frame-benchmarking", "frame-support", @@ -8328,17 +8792,18 @@ dependencies = [ "scale-info", "sp-io", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-ranked-collective" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", + "impl-trait-for-tuples", "log", "parity-scale-codec", "scale-info", @@ -8346,13 +8811,13 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-recovery" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "frame-benchmarking", "frame-support", @@ -8361,13 +8826,13 @@ dependencies = [ "scale-info", "sp-io", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-referenda" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "assert_matches", "frame-benchmarking", @@ -8380,7 +8845,7 @@ dependencies = [ "sp-arithmetic", "sp-io", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] @@ -8401,8 +8866,8 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", - "sp-tracing", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] @@ -8416,7 +8881,22 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-api", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", +] + +[[package]] +name = "pallet-root-testing" +version = "4.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" +dependencies = [ + "frame-support", + "frame-system", + "parity-scale-codec", + "scale-info", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] @@ -8440,14 +8920,14 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "test-utils", ] [[package]] name = "pallet-scheduler" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "29.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "docify", "frame-benchmarking", @@ -8458,14 +8938,14 @@ dependencies = [ "scale-info", "sp-io", "sp-runtime", - "sp-std", - "sp-weights 20.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-weights", ] [[package]] name = "pallet-session" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "frame-support", "frame-system", @@ -8479,32 +8959,32 @@ dependencies = [ "sp-runtime", "sp-session", "sp-staking", - "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std", + "sp-state-machine", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-trie", ] [[package]] name = "pallet-session-benchmarking" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", "pallet-session", - "pallet-staking 4.0.0-dev", + "pallet-staking 28.0.0", "parity-scale-codec", - "rand 0.8.5", + "rand", "sp-runtime", "sp-session", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-society" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "frame-benchmarking", "frame-support", @@ -8516,7 +8996,7 @@ dependencies = [ "sp-arithmetic", "sp-io", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] @@ -8539,8 +9019,8 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", - "sp-tracing", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "test-utils", ] @@ -8565,13 +9045,13 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-staking" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -8588,24 +9068,24 @@ dependencies = [ "sp-io", "sp-runtime", "sp-staking", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-staking-reward-curve" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "11.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "proc-macro-crate 1.3.1", + "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.42", + "syn 2.0.61", ] [[package]] name = "pallet-staking-reward-fn" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "19.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "log", "sp-arithmetic", @@ -8613,17 +9093,18 @@ dependencies = [ [[package]] name = "pallet-staking-runtime-api" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "14.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "parity-scale-codec", "sp-api", + "sp-staking", ] [[package]] name = "pallet-state-trie-migration" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "29.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "frame-benchmarking", "frame-support", @@ -8634,14 +9115,15 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-sudo" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ + "docify", "frame-benchmarking", "frame-support", "frame-system", @@ -8649,14 +9131,15 @@ dependencies = [ "scale-info", "sp-io", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-timestamp" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ + "docify", "frame-benchmarking", "frame-support", "frame-system", @@ -8666,15 +9149,15 @@ dependencies = [ "sp-inherents", "sp-io", "sp-runtime", - "sp-std", - "sp-storage", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-timestamp", ] [[package]] name = "pallet-tips" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "frame-benchmarking", "frame-support", @@ -8687,7 +9170,7 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] @@ -8713,7 +9196,7 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "test-utils", ] @@ -8735,13 +9218,13 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-transaction-payment" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "frame-support", "frame-system", @@ -8751,15 +9234,15 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-transaction-payment-rpc" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "30.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "jsonrpsee 0.16.3", + "jsonrpsee 0.20.3", "pallet-transaction-payment-rpc-runtime-api", "parity-scale-codec", "sp-api", @@ -8767,26 +9250,27 @@ dependencies = [ "sp-core", "sp-rpc", "sp-runtime", - "sp-weights 20.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-weights", ] [[package]] name = "pallet-transaction-payment-rpc-runtime-api" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", "sp-api", "sp-runtime", - "sp-weights 20.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-weights", ] [[package]] name = "pallet-treasury" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ + "docify", "frame-benchmarking", "frame-support", "frame-system", @@ -8795,14 +9279,15 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", + "sp-core", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-uniques" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "frame-benchmarking", "frame-support", @@ -8811,13 +9296,13 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-utility" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "frame-benchmarking", "frame-support", @@ -8827,13 +9312,13 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-vesting" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "frame-benchmarking", "frame-support", @@ -8842,13 +9327,13 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-whitelist" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "frame-benchmarking", "frame-support", @@ -8857,34 +9342,36 @@ dependencies = [ "scale-info", "sp-api", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "pallet-xcm" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "bounded-collections", "frame-benchmarking", "frame-support", "frame-system", "log", + "pallet-balances", "parity-scale-codec", "scale-info", "serde", "sp-core", "sp-io", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "staging-xcm", + "staging-xcm-builder", "staging-xcm-executor", ] [[package]] name = "pallet-xcm-benchmarks" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "frame-benchmarking", "frame-support", @@ -8894,39 +9381,12 @@ dependencies = [ "scale-info", "sp-io", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", ] -[[package]] -name = "pallet-xcm-rate-limiter" -version = "0.1.7" -dependencies = [ - "cumulus-pallet-xcmp-queue", - "frame-benchmarking", - "frame-support", - "frame-system", - "hydra-dx-math", - "hydradx-traits", - "orml-tokens", - "orml-traits", - "pallet-balances", - "pallet-omnipool", - "parity-scale-codec", - "polkadot-core-primitives", - "polkadot-parachain-primitives", - "pretty_assertions", - "scale-info", - "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", - "staging-xcm", -] - [[package]] name = "pallet-xyk" version = "6.4.2" @@ -8949,7 +9409,7 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "substrate-wasm-builder", ] @@ -8974,57 +9434,38 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", -] - -[[package]] -name = "parachain-info" -version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" -dependencies = [ - "cumulus-primitives-core", - "frame-support", - "frame-system", - "parity-scale-codec", - "scale-info", - "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "parachains-common" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "cumulus-primitives-core", "cumulus-primitives-utility", "frame-support", "frame-system", - "kusama-runtime-constants", "log", - "num-traits", "pallet-asset-tx-payment", "pallet-assets", "pallet-authorship", "pallet-balances", "pallet-collator-selection", + "pallet-message-queue", + "pallet-xcm", "parity-scale-codec", - "polkadot-core-primitives", "polkadot-primitives", - "polkadot-runtime-constants", - "rococo-runtime-constants", "scale-info", - "smallvec", "sp-consensus-aura", "sp-core", "sp-io", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "staging-parachain-info", "staging-xcm", - "staging-xcm-builder", "staging-xcm-executor", "substrate-wasm-builder", - "westend-runtime-constants", ] [[package]] @@ -9033,16 +9474,16 @@ version = "0.4.12" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "59e9ab494af9e6e813c72170f0d3c1de1500990d62c97cc05cc7576f91aa402f" dependencies = [ - "blake2", + "blake2 0.10.6", "crc32fast", "fs2", "hex", "libc", "log", "lz4", - "memmap2", + "memmap2 0.5.10", "parking_lot 0.12.1", - "rand 0.8.5", + "rand", "siphasher", "snap", ] @@ -9068,7 +9509,7 @@ version = "3.6.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "be30eaf4b0a9fba5336683b38de57bb86d179a35862ba6bfcf57625d006bde5b" dependencies = [ - "proc-macro-crate 2.0.1", + "proc-macro-crate 2.0.0", "proc-macro2", "quote", "syn 1.0.109", @@ -9161,15 +9602,6 @@ dependencies = [ "crypto-mac 0.11.1", ] -[[package]] -name = "pbkdf2" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83a0692ec44e4cf1ef28ca317f14f8f07da2d95ec3fa01f86e4467b725e60917" -dependencies = [ - "digest 0.10.7", -] - [[package]] name = "pbkdf2" version = "0.12.2" @@ -9231,7 +9663,7 @@ dependencies = [ "pest_meta", "proc-macro2", "quote", - "syn 2.0.42", + "syn 2.0.61", ] [[package]] @@ -9272,7 +9704,7 @@ checksum = "4359fd9c9171ec6e8c62926d6faaf553a8dc3f64e1507e76da7911b4f6a04405" dependencies = [ "proc-macro2", "quote", - "syn 2.0.42", + "syn 2.0.61", ] [[package]] @@ -9362,11 +9794,13 @@ dependencies = [ [[package]] name = "polkadot-approval-distribution" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ + "bitvec", "futures", "futures-timer", + "itertools 0.10.5", "polkadot-node-jaeger", "polkadot-node-metrics", "polkadot-node-network-protocol", @@ -9374,14 +9808,14 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "rand 0.8.5", + "rand", "tracing-gum", ] [[package]] name = "polkadot-availability-bitfield-distribution" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "always-assert", "futures", @@ -9390,14 +9824,14 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "rand 0.8.5", + "rand", "tracing-gum", ] [[package]] name = "polkadot-availability-distribution" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "derive_more", "fatality", @@ -9409,7 +9843,7 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "rand 0.8.5", + "rand", "schnellru", "sp-core", "sp-keystore", @@ -9419,9 +9853,10 @@ dependencies = [ [[package]] name = "polkadot-availability-recovery" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ + "async-trait", "fatality", "futures", "parity-scale-codec", @@ -9431,24 +9866,26 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "rand 0.8.5", + "rand", "sc-network", "schnellru", "thiserror", + "tokio", "tracing-gum", ] [[package]] name = "polkadot-cli" -version = "1.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "clap 4.4.11", + "cfg-if", + "clap 4.5.4", "frame-benchmarking-cli", "futures", "log", "polkadot-node-metrics", - "polkadot-performance-test", + "polkadot-node-primitives", "polkadot-service", "sc-cli", "sc-executor", @@ -9467,8 +9904,8 @@ dependencies = [ [[package]] name = "polkadot-collator-protocol" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "bitvec", "fatality", @@ -9489,26 +9926,26 @@ dependencies = [ [[package]] name = "polkadot-core-primitives" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "parity-scale-codec", "scale-info", "sp-core", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "polkadot-dispute-distribution" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "derive_more", "fatality", "futures", "futures-timer", - "indexmap 1.9.3", + "indexmap 2.1.0", "parity-scale-codec", "polkadot-erasure-coding", "polkadot-node-network-protocol", @@ -9526,8 +9963,8 @@ dependencies = [ [[package]] name = "polkadot-erasure-coding" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "parity-scale-codec", "polkadot-node-primitives", @@ -9540,8 +9977,8 @@ dependencies = [ [[package]] name = "polkadot-gossip-support" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "futures", "futures-timer", @@ -9549,20 +9986,21 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "rand 0.8.5", + "rand", "rand_chacha 0.3.1", "sc-network", "sc-network-common", "sp-application-crypto", "sp-core", + "sp-crypto-hashing", "sp-keystore", "tracing-gum", ] [[package]] name = "polkadot-network-bridge" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "always-assert", "async-trait", @@ -9584,8 +10022,8 @@ dependencies = [ [[package]] name = "polkadot-node-collation-generation" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "futures", "parity-scale-codec", @@ -9602,15 +10040,16 @@ dependencies = [ [[package]] name = "polkadot-node-core-approval-voting" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "bitvec", "derive_more", "futures", "futures-timer", + "itertools 0.10.5", "kvdb", - "merlin 2.0.1", + "merlin 3.0.0", "parity-scale-codec", "polkadot-node-jaeger", "polkadot-node-primitives", @@ -9618,9 +10057,12 @@ dependencies = [ "polkadot-node-subsystem-util", "polkadot-overseer", "polkadot-primitives", + "rand", + "rand_chacha 0.3.1", + "rand_core 0.6.4", "sc-keystore", "schnellru", - "schnorrkel 0.9.1", + "schnorrkel 0.11.4", "sp-application-crypto", "sp-consensus", "sp-consensus-slots", @@ -9631,8 +10073,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-av-store" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "bitvec", "futures", @@ -9653,8 +10095,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-backing" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "bitvec", "fatality", @@ -9665,6 +10107,7 @@ dependencies = [ "polkadot-node-subsystem-util", "polkadot-primitives", "polkadot-statement-table", + "schnellru", "sp-keystore", "thiserror", "tracing-gum", @@ -9672,8 +10115,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-bitfield-signing" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "futures", "polkadot-node-subsystem", @@ -9687,8 +10130,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-candidate-validation" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "async-trait", "futures", @@ -9708,23 +10151,22 @@ dependencies = [ [[package]] name = "polkadot-node-core-chain-api" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "futures", "polkadot-node-metrics", "polkadot-node-subsystem", - "polkadot-primitives", + "polkadot-node-subsystem-types", "sc-client-api", "sc-consensus-babe", - "sp-blockchain", "tracing-gum", ] [[package]] name = "polkadot-node-core-chain-selection" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "futures", "futures-timer", @@ -9740,8 +10182,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-dispute-coordinator" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "fatality", "futures", @@ -9759,8 +10201,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-parachains-inherent" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "async-trait", "futures", @@ -9776,8 +10218,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-prospective-parachains" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "6.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "bitvec", "fatality", @@ -9793,8 +10235,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-provisioner" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "bitvec", "fatality", @@ -9810,12 +10252,16 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "always-assert", + "array-bytes 6.2.2", + "blake3", + "cfg-if", "futures", "futures-timer", + "is_executable", "libc", "parity-scale-codec", "pin-project", @@ -9823,23 +10269,24 @@ dependencies = [ "polkadot-node-core-pvf-common", "polkadot-node-metrics", "polkadot-node-primitives", + "polkadot-node-subsystem", "polkadot-parachain-primitives", "polkadot-primitives", - "rand 0.8.5", + "rand", "slotmap", "sp-core", "sp-maybe-compressed-blob", - "sp-wasm-interface", - "substrate-build-script-utils", + "sp-wasm-interface 20.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "tempfile", + "thiserror", "tokio", "tracing-gum", ] [[package]] name = "polkadot-node-core-pvf-checker" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "futures", "polkadot-node-primitives", @@ -9854,54 +10301,35 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf-common" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ + "cfg-if", "cpu-time", "futures", "landlock", "libc", + "nix 0.27.1", "parity-scale-codec", "polkadot-parachain-primitives", "polkadot-primitives", "sc-executor", "sc-executor-common", "sc-executor-wasmtime", + "seccompiler", "sp-core", - "sp-externalities", + "sp-crypto-hashing", + "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-io", - "sp-tracing", - "tokio", - "tracing-gum", -] - -[[package]] -name = "polkadot-node-core-pvf-prepare-worker" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" -dependencies = [ - "futures", - "libc", - "parity-scale-codec", - "polkadot-node-core-pvf-common", - "polkadot-parachain-primitives", - "polkadot-primitives", - "rayon", - "sc-executor", - "sc-executor-common", - "sc-executor-wasmtime", - "sp-io", - "sp-maybe-compressed-blob", - "sp-tracing", - "tikv-jemalloc-ctl", - "tokio", + "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "thiserror", "tracing-gum", ] [[package]] name = "polkadot-node-core-runtime-api" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "futures", "polkadot-node-metrics", @@ -9915,8 +10343,8 @@ dependencies = [ [[package]] name = "polkadot-node-jaeger" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "lazy_static", "log", @@ -9933,8 +10361,8 @@ dependencies = [ [[package]] name = "polkadot-node-metrics" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "bs58 0.5.0", "futures", @@ -9952,8 +10380,8 @@ dependencies = [ [[package]] name = "polkadot-node-network-protocol" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "async-channel 1.9.0", "async-trait", @@ -9966,7 +10394,7 @@ dependencies = [ "polkadot-node-jaeger", "polkadot-node-primitives", "polkadot-primitives", - "rand 0.8.5", + "rand", "sc-authority-discovery", "sc-network", "strum 0.24.1", @@ -9976,15 +10404,16 @@ dependencies = [ [[package]] name = "polkadot-node-primitives" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ + "bitvec", "bounded-vec", "futures", "parity-scale-codec", "polkadot-parachain-primitives", "polkadot-primitives", - "schnorrkel 0.9.1", + "schnorrkel 0.11.4", "serde", "sp-application-crypto", "sp-consensus-babe", @@ -9998,8 +10427,8 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "polkadot-node-jaeger", "polkadot-node-subsystem-types", @@ -10008,10 +10437,11 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-types" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "async-trait", + "bitvec", "derive_more", "futures", "orchestra", @@ -10020,20 +10450,23 @@ dependencies = [ "polkadot-node-primitives", "polkadot-primitives", "polkadot-statement-table", + "sc-client-api", "sc-network", "sc-transaction-pool-api", "smallvec", "sp-api", "sp-authority-discovery", + "sp-blockchain", "sp-consensus-babe", + "sp-runtime", "substrate-prometheus-endpoint", "thiserror", ] [[package]] name = "polkadot-node-subsystem-util" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "async-trait", "derive_more", @@ -10044,17 +10477,19 @@ dependencies = [ "kvdb", "parity-db", "parity-scale-codec", - "parking_lot 0.11.2", + "parking_lot 0.12.1", "pin-project", "polkadot-node-jaeger", "polkadot-node-metrics", "polkadot-node-network-protocol", "polkadot-node-primitives", "polkadot-node-subsystem", + "polkadot-node-subsystem-types", "polkadot-overseer", "polkadot-primitives", "prioritized-metered-channel", - "rand 0.8.5", + "rand", + "sc-client-api", "schnellru", "sp-application-crypto", "sp-core", @@ -10065,8 +10500,8 @@ dependencies = [ [[package]] name = "polkadot-overseer" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "async-trait", "futures", @@ -10079,7 +10514,6 @@ dependencies = [ "polkadot-node-subsystem-types", "polkadot-primitives", "sc-client-api", - "schnellru", "sp-api", "sp-core", "tikv-jemalloc-ctl", @@ -10088,46 +10522,29 @@ dependencies = [ [[package]] name = "polkadot-parachain-primitives" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "6.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "bounded-collections", "derive_more", - "frame-support", "parity-scale-codec", "polkadot-core-primitives", "scale-info", "serde", "sp-core", "sp-runtime", - "sp-std", -] - -[[package]] -name = "polkadot-performance-test" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" -dependencies = [ - "env_logger 0.9.3", - "log", - "polkadot-erasure-coding", - "polkadot-node-core-pvf-prepare-worker", - "polkadot-node-primitives", - "polkadot-primitives", - "quote", - "sc-executor-common", - "sp-maybe-compressed-blob", - "staging-kusama-runtime", - "thiserror", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-weights", ] [[package]] name = "polkadot-primitives" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "bitvec", "hex-literal 0.4.1", + "log", "parity-scale-codec", "polkadot-core-primitives", "polkadot-parachain-primitives", @@ -10144,15 +10561,15 @@ dependencies = [ "sp-keystore", "sp-runtime", "sp-staking", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "polkadot-rpc" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "jsonrpsee 0.16.3", + "jsonrpsee 0.20.3", "mmr-rpc", "pallet-transaction-payment-rpc", "polkadot-primitives", @@ -10166,6 +10583,7 @@ dependencies = [ "sc-consensus-grandpa", "sc-consensus-grandpa-rpc", "sc-rpc", + "sc-rpc-spec-v2", "sc-sync-state-rpc", "sc-transaction-pool-api", "sp-api", @@ -10179,107 +10597,10 @@ dependencies = [ "substrate-state-trie-migration-rpc", ] -[[package]] -name = "polkadot-runtime" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" -dependencies = [ - "bitvec", - "frame-benchmarking", - "frame-election-provider-support", - "frame-executive", - "frame-support", - "frame-system", - "frame-system-benchmarking", - "frame-system-rpc-runtime-api", - "frame-try-runtime", - "hex-literal 0.4.1", - "log", - "pallet-authority-discovery", - "pallet-authorship", - "pallet-babe", - "pallet-bags-list", - "pallet-balances", - "pallet-bounties", - "pallet-child-bounties", - "pallet-collective", - "pallet-conviction-voting", - "pallet-democracy 4.0.0-dev", - "pallet-election-provider-multi-phase", - "pallet-election-provider-support-benchmarking", - "pallet-elections-phragmen", - "pallet-fast-unstake", - "pallet-grandpa", - "pallet-identity", - "pallet-im-online", - "pallet-indices", - "pallet-membership", - "pallet-message-queue", - "pallet-multisig", - "pallet-nomination-pools", - "pallet-nomination-pools-benchmarking", - "pallet-nomination-pools-runtime-api", - "pallet-offences", - "pallet-offences-benchmarking", - "pallet-preimage", - "pallet-proxy", - "pallet-referenda", - "pallet-scheduler", - "pallet-session", - "pallet-session-benchmarking", - "pallet-staking 4.0.0-dev", - "pallet-staking-reward-curve", - "pallet-staking-runtime-api", - "pallet-timestamp", - "pallet-tips", - "pallet-transaction-payment", - "pallet-transaction-payment-rpc-runtime-api", - "pallet-treasury", - "pallet-utility", - "pallet-vesting", - "pallet-whitelist", - "pallet-xcm", - "pallet-xcm-benchmarks", - "parity-scale-codec", - "polkadot-primitives", - "polkadot-runtime-common", - "polkadot-runtime-constants", - "polkadot-runtime-parachains", - "rustc-hex", - "scale-info", - "serde", - "serde_derive", - "smallvec", - "sp-api", - "sp-arithmetic", - "sp-authority-discovery", - "sp-block-builder", - "sp-consensus-babe", - "sp-consensus-beefy", - "sp-core", - "sp-inherents", - "sp-io", - "sp-mmr-primitives", - "sp-npos-elections", - "sp-offchain", - "sp-runtime", - "sp-session", - "sp-staking", - "sp-std", - "sp-storage", - "sp-transaction-pool", - "sp-version", - "staging-xcm", - "staging-xcm-builder", - "staging-xcm-executor", - "static_assertions", - "substrate-wasm-builder", -] - [[package]] name = "polkadot-runtime-common" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "bitvec", "frame-benchmarking", @@ -10289,18 +10610,22 @@ dependencies = [ "impl-trait-for-tuples", "libsecp256k1", "log", + "pallet-asset-rate", "pallet-authorship", "pallet-babe", "pallet-balances", + "pallet-broker", "pallet-election-provider-multi-phase", "pallet-fast-unstake", + "pallet-identity", "pallet-session", - "pallet-staking 4.0.0-dev", + "pallet-staking 28.0.0", "pallet-staking-reward-fn", "pallet-timestamp", "pallet-transaction-payment", "pallet-treasury", "pallet-vesting", + "pallet-xcm-benchmarks", "parity-scale-codec", "polkadot-primitives", "polkadot-runtime-parachains", @@ -10317,42 +10642,30 @@ dependencies = [ "sp-runtime", "sp-session", "sp-staking", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "staging-xcm", + "staging-xcm-builder", + "staging-xcm-executor", "static_assertions", ] -[[package]] -name = "polkadot-runtime-constants" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" -dependencies = [ - "frame-support", - "polkadot-primitives", - "polkadot-runtime-common", - "smallvec", - "sp-core", - "sp-runtime", - "sp-weights 20.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", -] - [[package]] name = "polkadot-runtime-metrics" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "bs58 0.5.0", "frame-benchmarking", "parity-scale-codec", "polkadot-primitives", - "sp-std", - "sp-tracing", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "polkadot-runtime-parachains" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "bitflags 1.3.2", "bitvec", @@ -10366,22 +10679,25 @@ dependencies = [ "pallet-authorship", "pallet-babe", "pallet-balances", + "pallet-broker", "pallet-message-queue", "pallet-session", - "pallet-staking 4.0.0-dev", + "pallet-staking 28.0.0", "pallet-timestamp", "pallet-vesting", "parity-scale-codec", + "polkadot-core-primitives", "polkadot-parachain-primitives", "polkadot-primitives", "polkadot-runtime-metrics", - "rand 0.8.5", + "rand", "rand_chacha 0.3.1", "rustc-hex", "scale-info", "serde", "sp-api", "sp-application-crypto", + "sp-arithmetic", "sp-core", "sp-inherents", "sp-io", @@ -10389,7 +10705,7 @@ dependencies = [ "sp-runtime", "sp-session", "sp-staking", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "staging-xcm", "staging-xcm-executor", "static_assertions", @@ -10397,8 +10713,8 @@ dependencies = [ [[package]] name = "polkadot-service" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "async-trait", "frame-benchmarking", @@ -10415,11 +10731,12 @@ dependencies = [ "mmr-gadget", "pallet-babe", "pallet-im-online", - "pallet-staking 4.0.0-dev", + "pallet-staking 28.0.0", "pallet-transaction-payment", "pallet-transaction-payment-rpc-runtime-api", "parity-db", "parity-scale-codec", + "parking_lot 0.12.1", "polkadot-approval-distribution", "polkadot-availability-bitfield-distribution", "polkadot-availability-distribution", @@ -10453,8 +10770,6 @@ dependencies = [ "polkadot-parachain-primitives", "polkadot-primitives", "polkadot-rpc", - "polkadot-runtime", - "polkadot-runtime-common", "polkadot-runtime-parachains", "polkadot-statement-distribution", "rococo-runtime", @@ -10501,13 +10816,12 @@ dependencies = [ "sp-offchain", "sp-runtime", "sp-session", - "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-storage", + "sp-state-machine", + "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-timestamp", "sp-transaction-pool", "sp-version", - "sp-weights 20.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "staging-kusama-runtime", + "sp-weights", "substrate-prometheus-endpoint", "thiserror", "tracing-gum", @@ -10516,20 +10830,19 @@ dependencies = [ [[package]] name = "polkadot-statement-distribution" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "arrayvec 0.7.4", "bitvec", "fatality", "futures", "futures-timer", - "indexmap 1.9.3", + "indexmap 2.1.0", "parity-scale-codec", "polkadot-node-network-protocol", "polkadot-node-primitives", "polkadot-node-subsystem", - "polkadot-node-subsystem-types", "polkadot-node-subsystem-util", "polkadot-primitives", "sp-keystore", @@ -10540,12 +10853,50 @@ dependencies = [ [[package]] name = "polkadot-statement-table" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "parity-scale-codec", "polkadot-primitives", "sp-core", + "tracing-gum", +] + +[[package]] +name = "polkavm-common" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d9428a5cfcc85c5d7b9fc4b6a18c4b802d0173d768182a51cc7751640f08b92" + +[[package]] +name = "polkavm-derive" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae8c4bea6f3e11cd89bb18bcdddac10bd9a24015399bd1c485ad68a985a19606" +dependencies = [ + "polkavm-derive-impl-macro", +] + +[[package]] +name = "polkavm-derive-impl" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c4fdfc49717fb9a196e74a5d28e0bc764eb394a2c803eb11133a31ac996c60c" +dependencies = [ + "polkavm-common", + "proc-macro2", + "quote", + "syn 2.0.61", +] + +[[package]] +name = "polkavm-derive-impl-macro" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8ba81f7b5faac81e528eb6158a6f3c9e0bb1008e0ffa19653bc8dea925ecb429" +dependencies = [ + "polkavm-derive-impl", + "syn 2.0.61", ] [[package]] @@ -10626,7 +10977,7 @@ dependencies = [ "affix", "derive_more", "environmental", - "evm 0.39.1", + "evm 0.41.1", "fp-evm", "frame-support", "frame-system", @@ -10646,8 +10997,8 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std", - "sp-weights 20.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-weights", "staging-xcm", ] @@ -10666,7 +11017,7 @@ dependencies = [ "quote", "sha3", "sp-core", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "syn 1.0.109", "trybuild", ] @@ -10728,7 +11079,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ae005bd773ab59b4725093fd7df83fd7892f7d8eafb48dbd7de6e024e4215f9d" dependencies = [ "proc-macro2", - "syn 2.0.42", + "syn 2.0.61", ] [[package]] @@ -10756,15 +11107,15 @@ dependencies = [ "scale-info", "serde", "sp-core", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "static_assertions", ] [[package]] name = "prioritized-metered-channel" -version = "0.2.0" +version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "382698e48a268c832d0b181ed438374a6bb708a82a8ca273bb0f61c74cf209c4" +checksum = "a172e6cc603231f2cf004232eabcecccc0da53ba576ab286ef7baa0cfc7927ad" dependencies = [ "coarsetime", "crossbeam-queue", @@ -10788,14 +11139,22 @@ dependencies = [ [[package]] name = "proc-macro-crate" -version = "2.0.1" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97dc5fea232fc28d2f597b37c4876b348a40e33f3b02cc975c8d006d78d94b1a" +checksum = "7e8366a6159044a37876a2b9817124296703c586a5c92e2c53751fa06d8d43e8" dependencies = [ - "toml_datetime", "toml_edit 0.20.2", ] +[[package]] +name = "proc-macro-crate" +version = "3.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d37c51ca738a55da99dc0c4a34860fd675453b8b36209178c2249bb13651284" +dependencies = [ + "toml_edit 0.21.1", +] + [[package]] name = "proc-macro-error" version = "1.0.4" @@ -10822,20 +11181,20 @@ dependencies = [ [[package]] name = "proc-macro-warning" -version = "0.4.2" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d1eaa7fa0aa1929ffdf7eeb6eac234dde6268914a14ad44d23521ab6a9b258e" +checksum = "834da187cfe638ae8abb0203f0b33e5ccdb02a28e7199f2f47b3e2754f50edca" dependencies = [ "proc-macro2", "quote", - "syn 2.0.42", + "syn 2.0.61", ] [[package]] name = "proc-macro2" -version = "1.0.71" +version = "1.0.82" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75cb1540fadbd5b8fbccc4dddad2734eba435053f725621c070711a14bb5f4b8" +checksum = "8ad3d49ab951a01fbaafe34f2ec74122942fe18a3f9814c3268f1bb72042131b" dependencies = [ "unicode-ident", ] @@ -10874,7 +11233,7 @@ checksum = "440f724eba9f6996b75d63681b0a92b06947f1457076d503a4d2e2c8f56442b8" dependencies = [ "proc-macro2", "quote", - "syn 2.0.42", + "syn 2.0.61", ] [[package]] @@ -10888,7 +11247,7 @@ dependencies = [ "bitflags 2.4.1", "lazy_static", "num-traits", - "rand 0.8.5", + "rand", "rand_chacha 0.3.1", "rand_xorshift", "regex-syntax 0.8.2", @@ -10904,7 +11263,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0b82eaa1d779e9a4bc1c3217db8ffbeabaae1dca241bf70183242128d48681cd" dependencies = [ "bytes", - "prost-derive", + "prost-derive 0.11.9", +] + +[[package]] +name = "prost" +version = "0.12.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d0f5d036824e4761737860779c906171497f6d55681139d8312388f8fe398922" +dependencies = [ + "bytes", + "prost-derive 0.12.5", ] [[package]] @@ -10914,14 +11283,14 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "119533552c9a7ffacc21e099c24a0ac8bb19c2a2a3f363de84cd9b844feab270" dependencies = [ "bytes", - "heck", + "heck 0.4.1", "itertools 0.10.5", "lazy_static", "log", "multimap", "petgraph", "prettyplease 0.1.25", - "prost", + "prost 0.11.9", "prost-types", "regex", "syn 1.0.109", @@ -10942,13 +11311,26 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "prost-derive" +version = "0.12.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9554e3ab233f0a932403704f1a1d08c30d5ccd931adfdfa1e8b5a19b52c1d55a" +dependencies = [ + "anyhow", + "itertools 0.11.0", + "proc-macro2", + "quote", + "syn 2.0.61", +] + [[package]] name = "prost-types" version = "0.11.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "213622a1460818959ac1181aaeb2dc9c7f63df720db7d788b3e24eacd1983e13" dependencies = [ - "prost", + "prost 0.11.9", ] [[package]] @@ -11006,7 +11388,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "94b0b33c13a79f669c85defaf4c275dc86a0c0372807d0ca3d78e0bb87274863" dependencies = [ "bytes", - "rand 0.8.5", + "rand", "ring 0.16.20", "rustc-hash", "rustls 0.20.9", @@ -11019,9 +11401,9 @@ dependencies = [ [[package]] name = "quote" -version = "1.0.33" +version = "1.0.36" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5267fca4496028628a95160fc423a33e8b2e6af8a5302579e322e4b520293cae" +checksum = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7" dependencies = [ "proc-macro2", ] @@ -11032,19 +11414,6 @@ version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dc33ff2d4973d518d823d61aa239014831e521c75da58e3df4840d3f47749d09" -[[package]] -name = "rand" -version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03" -dependencies = [ - "getrandom 0.1.16", - "libc", - "rand_chacha 0.2.2", - "rand_core 0.5.1", - "rand_hc", -] - [[package]] name = "rand" version = "0.8.5" @@ -11095,12 +11464,13 @@ dependencies = [ ] [[package]] -name = "rand_hc" -version = "0.2.0" +name = "rand_distr" +version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c" +checksum = "32cb0b9bc82b0a0876c2dd994a7e7a2683d3e7390ca40e6886785ef0c7e3ee31" dependencies = [ - "rand_core 0.5.1", + "num-traits", + "rand", ] [[package]] @@ -11199,13 +11569,12 @@ dependencies = [ [[package]] name = "reed-solomon-novelpoly" -version = "1.0.2" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58130877ca403ab42c864fbac74bb319a0746c07a634a92a5cfc7f54af272582" +checksum = "87413ebb313323d431e85d0afc5a68222aaed972843537cbfe5f061cf1b4bcab" dependencies = [ "derive_more", "fs-err", - "itertools 0.11.0", "static_init", "thiserror", ] @@ -11227,7 +11596,7 @@ checksum = "2566c4bf6845f2c2e83b27043c3f5dfcd5ba8f2937d6c00dc009bfb51a079dc4" dependencies = [ "proc-macro2", "quote", - "syn 2.0.42", + "syn 2.0.61", ] [[package]] @@ -11303,19 +11672,20 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f8dd2a808d456c4a54e300a23e9f5a67e122c3024119acbfd73e3bf664491cb2" dependencies = [ "hmac 0.12.1", - "subtle", + "subtle 2.4.1", ] [[package]] name = "ring" version = "0.1.0" -source = "git+https://github.com/w3f/ring-proof?rev=0e948f3#0e948f3c28cbacecdd3020403c4841c0eb339213" +source = "git+https://github.com/w3f/ring-proof#b273d33f9981e2bb3375ab45faeb537f7ee35224" dependencies = [ "ark-ec", "ark-ff", "ark-poly", "ark-serialize", "ark-std", + "blake2 0.10.6", "common", "fflonk", "merlin 3.0.0", @@ -11393,8 +11763,8 @@ dependencies = [ [[package]] name = "rococo-runtime" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "binary-merkle-tree", "frame-benchmarking", @@ -11406,6 +11776,7 @@ dependencies = [ "frame-try-runtime", "hex-literal 0.4.1", "log", + "pallet-asset-rate", "pallet-authority-discovery", "pallet-authorship", "pallet-babe", @@ -11415,7 +11786,8 @@ dependencies = [ "pallet-bounties", "pallet-child-bounties", "pallet-collective", - "pallet-democracy 4.0.0-dev", + "pallet-conviction-voting", + "pallet-democracy 28.0.0", "pallet-elections-phragmen", "pallet-grandpa", "pallet-identity", @@ -11429,11 +11801,14 @@ dependencies = [ "pallet-offences", "pallet-preimage", "pallet-proxy", + "pallet-ranked-collective", "pallet-recovery", + "pallet-referenda", + "pallet-root-testing", "pallet-scheduler", "pallet-session", "pallet-society", - "pallet-staking 4.0.0-dev", + "pallet-staking 28.0.0", "pallet-state-trie-migration", "pallet-sudo", "pallet-timestamp", @@ -11443,6 +11818,7 @@ dependencies = [ "pallet-treasury", "pallet-utility", "pallet-vesting", + "pallet-whitelist", "pallet-xcm", "pallet-xcm-benchmarks", "parity-scale-codec", @@ -11456,11 +11832,13 @@ dependencies = [ "serde_derive", "smallvec", "sp-api", + "sp-arithmetic", "sp-authority-discovery", "sp-block-builder", "sp-consensus-babe", "sp-consensus-beefy", "sp-core", + "sp-genesis-builder", "sp-inherents", "sp-io", "sp-mmr-primitives", @@ -11468,8 +11846,8 @@ dependencies = [ "sp-runtime", "sp-session", "sp-staking", - "sp-std", - "sp-storage", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-transaction-pool", "sp-version", "staging-xcm", @@ -11481,8 +11859,8 @@ dependencies = [ [[package]] name = "rococo-runtime-constants" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "frame-support", "polkadot-primitives", @@ -11490,9 +11868,17 @@ dependencies = [ "smallvec", "sp-core", "sp-runtime", - "sp-weights 20.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-weights", + "staging-xcm", + "staging-xcm-builder", ] +[[package]] +name = "route-recognizer" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "afab94fb28594581f62d981211a9a4d53cc8130bbcbbb89a0440d9b8e81a7746" + [[package]] name = "rpassword" version = "7.3.1" @@ -11514,7 +11900,7 @@ dependencies = [ "log", "netlink-packet-route", "netlink-proto", - "nix", + "nix 0.24.3", "thiserror", "tokio", ] @@ -11621,15 +12007,14 @@ dependencies = [ "pallet-xcm", "pallet-xyk", "pallet-xyk-liquidity-mining", - "parachain-info", "polkadot-parachain-primitives", "polkadot-primitives", - "polkadot-runtime", "polkadot-runtime-parachains", "polkadot-service", "precompile-utils", "pretty_assertions", "primitives", + "rococo-runtime", "sc-consensus-grandpa", "scraper", "sp-api", @@ -11637,18 +12022,20 @@ dependencies = [ "sp-block-builder", "sp-consensus-aura", "sp-consensus-babe", + "sp-consensus-beefy", "sp-core", - "sp-externalities", + "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-inherents", "sp-io", "sp-offchain", "sp-runtime", "sp-session", "sp-staking", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-transaction-pool", "sp-trie", "sp-version", + "staging-parachain-info", "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", @@ -11855,19 +12242,19 @@ dependencies = [ [[package]] name = "sc-allocator" -version = "4.1.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "23.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "log", "sp-core", - "sp-wasm-interface", + "sp-wasm-interface 20.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "thiserror", ] [[package]] name = "sc-authority-discovery" -version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.34.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "async-trait", "futures", @@ -11875,11 +12262,12 @@ dependencies = [ "ip_network", "libp2p", "log", - "multihash", + "multihash 0.18.1", + "multihash-codetable", "parity-scale-codec", - "prost", + "prost 0.12.4", "prost-build", - "rand 0.8.5", + "rand", "sc-client-api", "sc-network", "sp-api", @@ -11894,15 +12282,14 @@ dependencies = [ [[package]] name = "sc-basic-authorship" -version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.34.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "futures", "futures-timer", "log", "parity-scale-codec", "sc-block-builder", - "sc-client-api", "sc-proposer-metrics", "sc-telemetry", "sc-transaction-pool-api", @@ -11917,25 +12304,29 @@ dependencies = [ [[package]] name = "sc-block-builder" -version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.33.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "parity-scale-codec", - "sc-client-api", "sp-api", "sp-block-builder", "sp-blockchain", "sp-core", "sp-inherents", "sp-runtime", + "sp-trie", ] [[package]] name = "sc-chain-spec" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "memmap2", + "array-bytes 6.2.2", + "docify", + "log", + "memmap2 0.9.4", + "parity-scale-codec", "sc-chain-spec-derive", "sc-client-api", "sc-executor", @@ -11945,41 +12336,47 @@ dependencies = [ "serde_json", "sp-blockchain", "sp-core", + "sp-crypto-hashing", + "sp-genesis-builder", + "sp-io", "sp-runtime", - "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-state-machine", ] [[package]] name = "sc-chain-spec-derive" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "11.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "proc-macro-crate 1.3.1", + "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.42", + "syn 2.0.61", ] [[package]] name = "sc-cli" -version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.36.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "array-bytes", + "array-bytes 6.2.2", + "bip39", "chrono", - "clap 4.4.11", + "clap 4.5.4", "fdlimit", "futures", + "itertools 0.10.5", "libp2p-identity", "log", "names", "parity-scale-codec", - "rand 0.8.5", + "rand", "regex", "rpassword", "sc-client-api", "sc-client-db", "sc-keystore", + "sc-mixnet", "sc-network", "sc-service", "sc-telemetry", @@ -11991,18 +12388,17 @@ dependencies = [ "sp-core", "sp-keyring", "sp-keystore", - "sp-panic-handler 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-panic-handler", "sp-runtime", "sp-version", "thiserror", - "tiny-bip39", "tokio", ] [[package]] name = "sc-client-api" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "fnv", "futures", @@ -12017,18 +12413,19 @@ dependencies = [ "sp-consensus", "sp-core", "sp-database", - "sp-externalities", + "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-runtime", - "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-state-machine", "sp-statement-store", - "sp-storage", + "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-trie", "substrate-prometheus-endpoint", ] [[package]] name = "sc-client-db" -version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.35.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "hash-db 0.16.0", "kvdb", @@ -12047,14 +12444,14 @@ dependencies = [ "sp-core", "sp-database", "sp-runtime", - "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-state-machine", "sp-trie", ] [[package]] name = "sc-consensus" -version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.33.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "async-trait", "futures", @@ -12071,15 +12468,15 @@ dependencies = [ "sp-consensus", "sp-core", "sp-runtime", - "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-state-machine", "substrate-prometheus-endpoint", "thiserror", ] [[package]] name = "sc-consensus-aura" -version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.34.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "async-trait", "futures", @@ -12107,8 +12504,8 @@ dependencies = [ [[package]] name = "sc-consensus-babe" -version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.34.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "async-trait", "fork-tree", @@ -12125,7 +12522,6 @@ dependencies = [ "sc-consensus-slots", "sc-telemetry", "sc-transaction-pool-api", - "scale-info", "sp-api", "sp-application-crypto", "sp-block-builder", @@ -12134,6 +12530,7 @@ dependencies = [ "sp-consensus-babe", "sp-consensus-slots", "sp-core", + "sp-crypto-hashing", "sp-inherents", "sp-keystore", "sp-runtime", @@ -12143,11 +12540,11 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" -version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.34.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "futures", - "jsonrpsee 0.16.3", + "jsonrpsee 0.20.3", "sc-consensus-babe", "sc-consensus-epochs", "sc-rpc-api", @@ -12165,10 +12562,10 @@ dependencies = [ [[package]] name = "sc-consensus-beefy" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "13.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "array-bytes", + "array-bytes 6.2.2", "async-channel 1.9.0", "async-trait", "fnv", @@ -12189,21 +12586,23 @@ dependencies = [ "sp-consensus", "sp-consensus-beefy", "sp-core", + "sp-crypto-hashing", "sp-keystore", "sp-mmr-primitives", "sp-runtime", "substrate-prometheus-endpoint", "thiserror", + "tokio", "wasm-timer", ] [[package]] name = "sc-consensus-beefy-rpc" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "13.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "futures", - "jsonrpsee 0.16.3", + "jsonrpsee 0.20.3", "log", "parity-scale-codec", "parking_lot 0.12.1", @@ -12218,8 +12617,8 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" -version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.33.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "fork-tree", "parity-scale-codec", @@ -12231,11 +12630,11 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa" -version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.19.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "ahash 0.8.6", - "array-bytes", + "array-bytes 6.2.2", "async-trait", "dyn-clone", "finality-grandpa", @@ -12245,7 +12644,7 @@ dependencies = [ "log", "parity-scale-codec", "parking_lot 0.12.1", - "rand 0.8.5", + "rand", "sc-block-builder", "sc-chain-spec", "sc-client-api", @@ -12253,6 +12652,7 @@ dependencies = [ "sc-network", "sc-network-common", "sc-network-gossip", + "sc-network-sync", "sc-telemetry", "sc-transaction-pool-api", "sc-utils", @@ -12264,6 +12664,7 @@ dependencies = [ "sp-consensus", "sp-consensus-grandpa", "sp-core", + "sp-crypto-hashing", "sp-keystore", "sp-runtime", "substrate-prometheus-endpoint", @@ -12272,12 +12673,12 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa-rpc" -version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.19.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "finality-grandpa", "futures", - "jsonrpsee 0.16.3", + "jsonrpsee 0.20.3", "log", "parity-scale-codec", "sc-client-api", @@ -12292,8 +12693,8 @@ dependencies = [ [[package]] name = "sc-consensus-slots" -version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.33.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "async-trait", "futures", @@ -12310,13 +12711,13 @@ dependencies = [ "sp-core", "sp-inherents", "sp-runtime", - "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-state-machine", ] [[package]] name = "sc-executor" -version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.32.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "parity-scale-codec", "parking_lot 0.12.1", @@ -12325,49 +12726,50 @@ dependencies = [ "schnellru", "sp-api", "sp-core", - "sp-externalities", + "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-io", - "sp-panic-handler 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime-interface", + "sp-panic-handler", + "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-trie", "sp-version", - "sp-wasm-interface", + "sp-wasm-interface 20.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "tracing", ] [[package]] name = "sc-executor-common" -version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.29.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "sc-allocator", "sp-maybe-compressed-blob", - "sp-wasm-interface", + "sp-wasm-interface 20.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "thiserror", "wasm-instrument", ] [[package]] name = "sc-executor-wasmtime" -version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.29.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "anyhow", "cfg-if", "libc", "log", + "parking_lot 0.12.1", "rustix 0.36.17", "sc-allocator", "sc-executor-common", - "sp-runtime-interface", - "sp-wasm-interface", + "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-wasm-interface 20.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "wasmtime", ] [[package]] name = "sc-informant" -version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.33.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "ansi_term", "futures", @@ -12376,16 +12778,17 @@ dependencies = [ "sc-client-api", "sc-network", "sc-network-common", + "sc-network-sync", "sp-blockchain", "sp-runtime", ] [[package]] name = "sc-keystore" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "25.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "array-bytes", + "array-bytes 6.2.2", "parking_lot 0.12.1", "serde_json", "sp-application-crypto", @@ -12394,12 +12797,41 @@ dependencies = [ "thiserror", ] +[[package]] +name = "sc-mixnet" +version = "0.4.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" +dependencies = [ + "array-bytes 4.2.0", + "arrayvec 0.7.4", + "blake2 0.10.6", + "bytes", + "futures", + "futures-timer", + "libp2p-identity", + "log", + "mixnet", + "multiaddr", + "parity-scale-codec", + "parking_lot 0.12.1", + "sc-client-api", + "sc-network", + "sc-transaction-pool-api", + "sp-api", + "sp-consensus", + "sp-core", + "sp-keystore", + "sp-mixnet", + "sp-runtime", + "thiserror", +] + [[package]] name = "sc-network" -version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.34.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "array-bytes", + "array-bytes 6.2.2", "async-channel 1.9.0", "async-trait", "asynchronous-codec", @@ -12417,7 +12849,7 @@ dependencies = [ "parking_lot 0.12.1", "partial_sort", "pin-project", - "rand 0.8.5", + "rand", "sc-client-api", "sc-network-common", "sc-utils", @@ -12430,6 +12862,8 @@ dependencies = [ "sp-runtime", "substrate-prometheus-endpoint", "thiserror", + "tokio", + "tokio-stream", "unsigned-varint", "wasm-timer", "zeroize", @@ -12437,15 +12871,15 @@ dependencies = [ [[package]] name = "sc-network-bitswap" -version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.33.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "async-channel 1.9.0", "cid", "futures", "libp2p-identity", "log", - "prost", + "prost 0.12.4", "prost-build", "sc-client-api", "sc-network", @@ -12457,8 +12891,8 @@ dependencies = [ [[package]] name = "sc-network-common" -version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.33.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "async-trait", "bitflags 1.3.2", @@ -12474,8 +12908,8 @@ dependencies = [ [[package]] name = "sc-network-gossip" -version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.34.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "ahash 0.8.6", "futures", @@ -12484,6 +12918,7 @@ dependencies = [ "log", "sc-network", "sc-network-common", + "sc-network-sync", "schnellru", "sp-runtime", "substrate-prometheus-endpoint", @@ -12492,16 +12927,16 @@ dependencies = [ [[package]] name = "sc-network-light" -version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.33.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "array-bytes", + "array-bytes 6.2.2", "async-channel 1.9.0", "futures", "libp2p-identity", "log", "parity-scale-codec", - "prost", + "prost 0.12.4", "prost-build", "sc-client-api", "sc-network", @@ -12513,10 +12948,10 @@ dependencies = [ [[package]] name = "sc-network-sync" -version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.33.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "array-bytes", + "array-bytes 6.2.2", "async-channel 1.9.0", "async-trait", "fork-tree", @@ -12526,7 +12961,7 @@ dependencies = [ "log", "mockall", "parity-scale-codec", - "prost", + "prost 0.12.4", "prost-build", "sc-client-api", "sc-consensus", @@ -12543,20 +12978,23 @@ dependencies = [ "sp-runtime", "substrate-prometheus-endpoint", "thiserror", + "tokio", + "tokio-stream", ] [[package]] name = "sc-network-transactions" -version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.33.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "array-bytes", + "array-bytes 6.2.2", "futures", "libp2p", "log", "parity-scale-codec", "sc-network", "sc-network-common", + "sc-network-sync", "sc-utils", "sp-consensus", "sp-runtime", @@ -12565,10 +13003,10 @@ dependencies = [ [[package]] name = "sc-offchain" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "29.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "array-bytes", + "array-bytes 6.2.2", "bytes", "fnv", "futures", @@ -12581,7 +13019,7 @@ dependencies = [ "once_cell", "parity-scale-codec", "parking_lot 0.12.1", - "rand 0.8.5", + "rand", "sc-client-api", "sc-network", "sc-network-common", @@ -12589,7 +13027,7 @@ dependencies = [ "sc-utils", "sp-api", "sp-core", - "sp-externalities", + "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-keystore", "sp-offchain", "sp-runtime", @@ -12599,8 +13037,8 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" -version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.17.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -12608,17 +13046,18 @@ dependencies = [ [[package]] name = "sc-rpc" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "29.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "futures", - "jsonrpsee 0.16.3", + "jsonrpsee 0.20.3", "log", "parity-scale-codec", "parking_lot 0.12.1", "sc-block-builder", "sc-chain-spec", "sc-client-api", + "sc-mixnet", "sc-rpc-api", "sc-tracing", "sc-transaction-pool-api", @@ -12639,12 +13078,13 @@ dependencies = [ [[package]] name = "sc-rpc-api" -version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.33.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "jsonrpsee 0.16.3", + "jsonrpsee 0.20.3", "parity-scale-codec", "sc-chain-spec", + "sc-mixnet", "sc-transaction-pool-api", "scale-info", "serde", @@ -12658,11 +13098,11 @@ dependencies = [ [[package]] name = "sc-rpc-server" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "11.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "http", - "jsonrpsee 0.16.3", + "jsonrpsee 0.20.3", "log", "serde_json", "substrate-prometheus-endpoint", @@ -12673,25 +13113,27 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" -version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.34.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "array-bytes", + "array-bytes 6.2.2", "futures", "futures-util", "hex", - "jsonrpsee 0.16.3", + "jsonrpsee 0.20.3", "log", "parity-scale-codec", "parking_lot 0.12.1", "sc-chain-spec", "sc-client-api", + "sc-rpc", "sc-transaction-pool-api", "sc-utils", "serde", "sp-api", "sp-blockchain", "sp-core", + "sp-rpc", "sp-runtime", "sp-version", "thiserror", @@ -12701,21 +13143,20 @@ dependencies = [ [[package]] name = "sc-service" -version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.35.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "async-trait", "directories", "exit-future", "futures", "futures-timer", - "jsonrpsee 0.16.3", + "jsonrpsee 0.20.3", "log", "parity-scale-codec", "parking_lot 0.12.1", "pin-project", - "rand 0.8.5", - "sc-block-builder", + "rand", "sc-chain-spec", "sc-client-api", "sc-client-db", @@ -12744,12 +13185,12 @@ dependencies = [ "sp-blockchain", "sp-consensus", "sp-core", - "sp-externalities", + "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-keystore", "sp-runtime", "sp-session", - "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-storage", + "sp-state-machine", + "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-transaction-pool", "sp-transaction-storage-proof", "sp-trie", @@ -12765,8 +13206,8 @@ dependencies = [ [[package]] name = "sc-state-db" -version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.30.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "log", "parity-scale-codec", @@ -12776,13 +13217,12 @@ dependencies = [ [[package]] name = "sc-storage-monitor" -version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.16.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "clap 4.4.11", + "clap 4.5.4", "fs4", "log", - "sc-client-db", "sp-core", "thiserror", "tokio", @@ -12790,10 +13230,10 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" -version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.34.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "jsonrpsee 0.16.3", + "jsonrpsee 0.20.3", "parity-scale-codec", "sc-chain-spec", "sc-client-api", @@ -12809,27 +13249,29 @@ dependencies = [ [[package]] name = "sc-sysinfo" -version = "6.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ + "derive_more", "futures", "libc", "log", - "rand 0.8.5", + "rand", "rand_pcg", "regex", "sc-telemetry", "serde", "serde_json", "sp-core", + "sp-crypto-hashing", "sp-io", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "sc-telemetry" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "15.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "chrono", "futures", @@ -12837,7 +13279,7 @@ dependencies = [ "log", "parking_lot 0.12.1", "pin-project", - "rand 0.8.5", + "rand", "sc-utils", "serde", "serde_json", @@ -12847,15 +13289,16 @@ dependencies = [ [[package]] name = "sc-tracing" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "ansi_term", - "atty", "chrono", + "is-terminal", "lazy_static", "libc", "log", + "parity-scale-codec", "parking_lot 0.12.1", "regex", "rustc-hash", @@ -12867,28 +13310,28 @@ dependencies = [ "sp-core", "sp-rpc", "sp-runtime", - "sp-tracing", + "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "thiserror", "tracing", - "tracing-log", - "tracing-subscriber", + "tracing-log 0.1.4", + "tracing-subscriber 0.2.25", ] [[package]] name = "sc-tracing-proc-macro" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "11.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "proc-macro-crate 1.3.1", + "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.42", + "syn 2.0.61", ] [[package]] name = "sc-transaction-pool" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "async-trait", "futures", @@ -12904,8 +13347,9 @@ dependencies = [ "sp-api", "sp-blockchain", "sp-core", + "sp-crypto-hashing", "sp-runtime", - "sp-tracing", + "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-transaction-pool", "substrate-prometheus-endpoint", "thiserror", @@ -12913,8 +13357,8 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "async-trait", "futures", @@ -12929,8 +13373,8 @@ dependencies = [ [[package]] name = "sc-utils" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "14.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "async-channel 1.9.0", "futures", @@ -12997,12 +13441,10 @@ dependencies = [ "arrayref", "arrayvec 0.5.2", "curve25519-dalek 2.1.3", - "getrandom 0.1.16", "merlin 2.0.1", - "rand 0.7.3", "rand_core 0.5.1", "sha2 0.8.2", - "subtle", + "subtle 2.4.1", "zeroize", ] @@ -13022,6 +13464,25 @@ dependencies = [ "zeroize", ] +[[package]] +name = "schnorrkel" +version = "0.11.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8de18f6d8ba0aad7045f5feae07ec29899c1112584a38509a84ad7b04451eaa0" +dependencies = [ + "aead", + "arrayref", + "arrayvec 0.7.4", + "curve25519-dalek 4.1.1", + "getrandom_or_panic", + "merlin 3.0.0", + "rand_core 0.6.4", + "serde_bytes", + "sha2 0.10.8", + "subtle 2.4.1", + "zeroize", +] + [[package]] name = "scopeguard" version = "1.2.0" @@ -13043,7 +13504,7 @@ dependencies = [ "serde", "sp-core", "sp-rpc", - "sp-state-machine 0.28.0 (git+https://github.com/paritytech/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-state-machine", "substrate-rpc-client", "tokio", ] @@ -13074,24 +13535,33 @@ dependencies = [ "der", "generic-array 0.14.7", "pkcs8", - "subtle", + "subtle 2.4.1", "zeroize", ] +[[package]] +name = "seccompiler" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "345a3e4dddf721a478089d4697b83c6c0a8f5bf16086f6c13397e4534eb6e2e5" +dependencies = [ + "libc", +] + [[package]] name = "secp256k1" -version = "0.24.3" +version = "0.28.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b1629c9c557ef9b293568b338dddfc8208c98a18c59d722a9d53f859d9c9b62" +checksum = "d24b59d129cdadea20aea4fb2352fa053712e5d713eee47d700cd4b2bc002f10" dependencies = [ "secp256k1-sys", ] [[package]] name = "secp256k1-sys" -version = "0.6.1" +version = "0.9.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83080e2c2fc1006e625be82e5d1eb6a43b7fd9578b617fcc55814daf286bba4b" +checksum = "e5d1746aae42c19d583c3c1a8c646bfad910498e2051c551a7f2e3c0c9fbb7eb" dependencies = [ "cc", ] @@ -13154,29 +13624,38 @@ checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3" [[package]] name = "serde" -version = "1.0.193" +version = "1.0.201" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25dd9975e68d0cb5aa1120c288333fc98731bd1dd12f561e468ea4728c042b89" +checksum = "780f1cebed1629e4753a1a38a3c72d30b97ec044f0aef68cb26650a3c5cf363c" dependencies = [ "serde_derive", ] +[[package]] +name = "serde_bytes" +version = "0.11.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b8497c313fd43ab992087548117643f6fcd935cbf36f176ffda0aacf9591734" +dependencies = [ + "serde", +] + [[package]] name = "serde_derive" -version = "1.0.193" +version = "1.0.201" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43576ca501357b9b071ac53cdc7da8ef0cbd9493d8df094cd821777ea6e894d3" +checksum = "c5e405930b9796f1c00bee880d03fc7e0bb4b9a11afc776885ffe84320da2865" dependencies = [ "proc-macro2", "quote", - "syn 2.0.42", + "syn 2.0.61", ] [[package]] name = "serde_json" -version = "1.0.108" +version = "1.0.117" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d1c7e3eac408d115102c4c24ad393e0821bb3a5df4d506a80f85f7a742a526b" +checksum = "455182ea6142b14f93f4bc5320a2b31c1f266b66a4a5c858b013302a5d8cbfc3" dependencies = [ "itoa", "ryu", @@ -13205,6 +13684,17 @@ dependencies = [ "opaque-debug 0.3.0", ] +[[package]] +name = "sha1" +version = "0.10.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3bf829a2d51ab4a5ddf1352d8470c140cadc8301b2ae1789db023f01cedd6ba" +dependencies = [ + "cfg-if", + "cpufeatures", + "digest 0.10.7", +] + [[package]] name = "sha2" version = "0.8.2" @@ -13318,6 +13808,11 @@ dependencies = [ "similar", ] +[[package]] +name = "simple-mermaid" +version = "0.1.0" +source = "git+https://github.com/kianenigma/simple-mermaid.git?rev=e48b187bcfd5cc75111acd9d241f1bd36604344b#e48b187bcfd5cc75111acd9d241f1bd36604344b" + [[package]] name = "siphasher" version = "0.3.11" @@ -13353,14 +13848,14 @@ dependencies = [ [[package]] name = "slot-range-helper" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "enumn", "parity-scale-codec", "paste", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] @@ -13374,9 +13869,9 @@ dependencies = [ [[package]] name = "smallvec" -version = "1.11.2" +version = "1.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4dccd0940a2dcdf68d092b8cbab7dc0ad8fa938bf95787e1b916b0e3d0e8e970" +checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" [[package]] name = "smol" @@ -13431,7 +13926,7 @@ dependencies = [ "pbkdf2 0.12.2", "pin-project", "poly1305", - "rand 0.8.5", + "rand", "rand_chacha 0.3.1", "ruzstd", "schnorrkel 0.10.2", @@ -13474,7 +13969,7 @@ dependencies = [ "no-std-net", "parking_lot 0.12.1", "pin-project", - "rand 0.8.5", + "rand", "rand_chacha 0.3.1", "serde", "serde_json", @@ -13498,14 +13993,14 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "58021967fd0a5eeeb23b08df6cc244a4d4a5b4aec1d27c9e02fad1a58b4cd74e" dependencies = [ "aes-gcm", - "blake2", + "blake2 0.10.6", "chacha20poly1305", "curve25519-dalek 4.1.1", "rand_core 0.6.4", "ring 0.17.7", "rustc_version", "sha2 0.10.8", - "subtle", + "subtle 2.4.1", ] [[package]] @@ -13541,14 +14036,14 @@ dependencies = [ "http", "httparse", "log", - "rand 0.8.5", + "rand", "sha-1", ] [[package]] name = "sp-api" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "26.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "hash-db 0.16.0", "log", @@ -13556,11 +14051,11 @@ dependencies = [ "scale-info", "sp-api-proc-macro", "sp-core", - "sp-externalities", + "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-metadata-ir", "sp-runtime", - "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std", + "sp-state-machine", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-trie", "sp-version", "thiserror", @@ -13568,73 +14063,91 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "15.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "Inflector", - "blake2", + "blake2 0.10.6", "expander 2.0.0", - "proc-macro-crate 1.3.1", + "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.42", + "syn 2.0.61", ] [[package]] name = "sp-application-crypto" -version = "23.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "30.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "parity-scale-codec", "scale-info", "serde", "sp-core", "sp-io", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "sp-arithmetic" -version = "16.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "23.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "integer-sqrt", "num-traits", "parity-scale-codec", "scale-info", "serde", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "static_assertions", ] +[[package]] +name = "sp-ark-bls12-381" +version = "0.4.2" +source = "git+https://github.com/paritytech/arkworks-substrate#caa2eed74beb885dd07c7db5f916f2281dad818f" +dependencies = [ + "ark-bls12-381-ext", + "sp-crypto-ec-utils", +] + +[[package]] +name = "sp-ark-ed-on-bls12-381-bandersnatch" +version = "0.4.2" +source = "git+https://github.com/paritytech/arkworks-substrate#caa2eed74beb885dd07c7db5f916f2281dad818f" +dependencies = [ + "ark-ed-on-bls12-381-bandersnatch-ext", + "sp-crypto-ec-utils", +] + [[package]] name = "sp-authority-discovery" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "26.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "parity-scale-codec", "scale-info", "sp-api", "sp-application-crypto", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "sp-block-builder" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "26.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "sp-api", "sp-inherents", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "sp-blockchain" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "futures", "log", @@ -13645,14 +14158,14 @@ dependencies = [ "sp-consensus", "sp-database", "sp-runtime", - "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-state-machine", "thiserror", ] [[package]] name = "sp-consensus" -version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.32.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "async-trait", "futures", @@ -13660,14 +14173,14 @@ dependencies = [ "sp-core", "sp-inherents", "sp-runtime", - "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-state-machine", "thiserror", ] [[package]] name = "sp-consensus-aura" -version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.32.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "async-trait", "parity-scale-codec", @@ -13677,14 +14190,14 @@ dependencies = [ "sp-consensus-slots", "sp-inherents", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-timestamp", ] [[package]] name = "sp-consensus-babe" -version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.32.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "async-trait", "parity-scale-codec", @@ -13696,14 +14209,14 @@ dependencies = [ "sp-core", "sp-inherents", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-timestamp", ] [[package]] name = "sp-consensus-beefy" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "13.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "lazy_static", "parity-scale-codec", @@ -13712,17 +14225,18 @@ dependencies = [ "sp-api", "sp-application-crypto", "sp-core", + "sp-crypto-hashing", "sp-io", "sp-mmr-primitives", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "strum 0.24.1", ] [[package]] name = "sp-consensus-grandpa" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "13.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "finality-grandpa", "log", @@ -13734,31 +14248,31 @@ dependencies = [ "sp-core", "sp-keystore", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "sp-consensus-slots" -version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.32.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-timestamp", ] [[package]] name = "sp-core" -version = "21.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "array-bytes", - "arrayvec 0.7.4", + "array-bytes 6.2.2", "bandersnatch_vrfs", + "bip39", "bitflags 1.3.2", - "blake2", + "blake2 0.10.6", "bounded-collections", "bs58 0.5.0", "dyn-clonable", @@ -13767,39 +14281,66 @@ dependencies = [ "hash-db 0.16.0", "hash256-std-hasher", "impl-serde", - "lazy_static", + "itertools 0.10.5", "libsecp256k1", "log", - "merlin 2.0.1", + "merlin 3.0.0", "parity-scale-codec", "parking_lot 0.12.1", "paste", "primitive-types", - "rand 0.8.5", - "regex", + "rand", "scale-info", - "schnorrkel 0.9.1", + "schnorrkel 0.11.4", "secp256k1", "secrecy", "serde", - "sp-core-hashing", - "sp-debug-derive 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-externalities", - "sp-runtime-interface", - "sp-std", - "sp-storage", + "sp-crypto-hashing", + "sp-debug-derive 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "ss58-registry", "substrate-bip39", "thiserror", - "tiny-bip39", "tracing", + "w3f-bls", "zeroize", ] [[package]] name = "sp-core-hashing" -version = "9.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "15.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" +dependencies = [ + "sp-crypto-hashing", +] + +[[package]] +name = "sp-crypto-ec-utils" +version = "0.10.0" +source = "git+https://github.com/paritytech/polkadot-sdk#d37719da022879b4e2ef7947f5c9d2187f666ae7" +dependencies = [ + "ark-bls12-377", + "ark-bls12-377-ext", + "ark-bls12-381", + "ark-bls12-381-ext", + "ark-bw6-761", + "ark-bw6-761-ext", + "ark-ec", + "ark-ed-on-bls12-377", + "ark-ed-on-bls12-377-ext", + "ark-ed-on-bls12-381-bandersnatch", + "ark-ed-on-bls12-381-bandersnatch-ext", + "ark-scale", + "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk)", +] + +[[package]] +name = "sp-crypto-hashing" +version = "0.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "blake2b_simd", "byteorder", @@ -13810,19 +14351,19 @@ dependencies = [ ] [[package]] -name = "sp-core-hashing-proc-macro" -version = "9.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +name = "sp-crypto-hashing-proc-macro" +version = "0.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "quote", - "sp-core-hashing", - "syn 2.0.42", + "sp-crypto-hashing", + "syn 2.0.61", ] [[package]] name = "sp-database" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "10.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -13830,64 +14371,74 @@ dependencies = [ [[package]] name = "sp-debug-derive" -version = "8.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "14.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "proc-macro2", "quote", - "syn 2.0.42", + "syn 2.0.61", ] [[package]] name = "sp-debug-derive" -version = "8.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901#c8d2251cafadc108ba2f1f8a3208dc547ff38901" +version = "14.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk#d37719da022879b4e2ef7947f5c9d2187f666ae7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.42", + "syn 2.0.61", ] [[package]] name = "sp-externalities" -version = "0.19.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.25.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" +dependencies = [ + "environmental", + "parity-scale-codec", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", +] + +[[package]] +name = "sp-externalities" +version = "0.25.0" +source = "git+https://github.com/paritytech/polkadot-sdk#d37719da022879b4e2ef7947f5c9d2187f666ae7" dependencies = [ "environmental", "parity-scale-codec", - "sp-std", - "sp-storage", + "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk)", ] [[package]] name = "sp-genesis-builder" -version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "serde_json", "sp-api", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "sp-inherents" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "26.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "async-trait", "impl-trait-for-tuples", "parity-scale-codec", "scale-info", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "thiserror", ] [[package]] name = "sp-io" -version = "23.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "30.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "bytes", "ed25519-dalek", @@ -13897,12 +14448,13 @@ dependencies = [ "rustversion", "secp256k1", "sp-core", - "sp-externalities", + "sp-crypto-hashing", + "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-keystore", - "sp-runtime-interface", - "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std", - "sp-tracing", + "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-state-machine", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-trie", "tracing", "tracing-core", @@ -13910,10 +14462,9 @@ dependencies = [ [[package]] name = "sp-keyring" -version = "24.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "31.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "lazy_static", "sp-core", "sp-runtime", "strum 0.24.1", @@ -13921,20 +14472,20 @@ dependencies = [ [[package]] name = "sp-keystore" -version = "0.27.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.34.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "parity-scale-codec", "parking_lot 0.12.1", "sp-core", - "sp-externalities", + "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "thiserror", ] [[package]] name = "sp-maybe-compressed-blob" -version = "4.1.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "11.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "thiserror", "zstd 0.12.4", @@ -13942,19 +14493,31 @@ dependencies = [ [[package]] name = "sp-metadata-ir" -version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.6.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "frame-metadata", "parity-scale-codec", "scale-info", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", +] + +[[package]] +name = "sp-mixnet" +version = "0.4.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" +dependencies = [ + "parity-scale-codec", + "scale-info", + "sp-api", + "sp-application-crypto", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "sp-mmr-primitives" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "26.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "ckb-merkle-mountain-range", "log", @@ -13963,16 +14526,16 @@ dependencies = [ "serde", "sp-api", "sp-core", - "sp-debug-derive 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-debug-derive 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "thiserror", ] [[package]] name = "sp-npos-elections" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "26.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "parity-scale-codec", "scale-info", @@ -13980,13 +14543,13 @@ dependencies = [ "sp-arithmetic", "sp-core", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "sp-offchain" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "26.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "sp-api", "sp-core", @@ -13995,18 +14558,8 @@ dependencies = [ [[package]] name = "sp-panic-handler" -version = "8.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" -dependencies = [ - "backtrace", - "lazy_static", - "regex", -] - -[[package]] -name = "sp-panic-handler" -version = "8.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901#c8d2251cafadc108ba2f1f8a3208dc547ff38901" +version = "13.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "backtrace", "lazy_static", @@ -14015,8 +14568,8 @@ dependencies = [ [[package]] name = "sp-rpc" -version = "6.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "26.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "rustc-hash", "serde", @@ -14025,60 +14578,95 @@ dependencies = [ [[package]] name = "sp-runtime" -version = "24.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "31.0.1" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ + "docify", "either", "hash256-std-hasher", "impl-trait-for-tuples", "log", "parity-scale-codec", "paste", - "rand 0.8.5", + "rand", "scale-info", "serde", + "simple-mermaid", "sp-application-crypto", "sp-arithmetic", "sp-core", "sp-io", - "sp-std", - "sp-weights 20.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-weights", ] [[package]] name = "sp-runtime-interface" -version = "17.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "24.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "bytes", "impl-trait-for-tuples", "parity-scale-codec", "primitive-types", - "sp-externalities", - "sp-runtime-interface-proc-macro", - "sp-std", - "sp-storage", - "sp-tracing", - "sp-wasm-interface", + "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-runtime-interface-proc-macro 17.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-wasm-interface 20.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "static_assertions", +] + +[[package]] +name = "sp-runtime-interface" +version = "24.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk#d37719da022879b4e2ef7947f5c9d2187f666ae7" +dependencies = [ + "bytes", + "impl-trait-for-tuples", + "parity-scale-codec", + "polkavm-derive", + "primitive-types", + "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk)", + "sp-runtime-interface-proc-macro 17.0.0 (git+https://github.com/paritytech/polkadot-sdk)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk)", + "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk)", + "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk)", + "sp-wasm-interface 20.0.0 (git+https://github.com/paritytech/polkadot-sdk)", "static_assertions", ] [[package]] name = "sp-runtime-interface-proc-macro" -version = "11.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "17.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "Inflector", - "proc-macro-crate 1.3.1", + "expander 2.0.0", + "proc-macro-crate 3.1.0", + "proc-macro2", + "quote", + "syn 2.0.61", +] + +[[package]] +name = "sp-runtime-interface-proc-macro" +version = "17.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk#d37719da022879b4e2ef7947f5c9d2187f666ae7" +dependencies = [ + "Inflector", + "expander 2.0.0", + "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.42", + "syn 2.0.61", ] [[package]] name = "sp-session" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "parity-scale-codec", "scale-info", @@ -14087,13 +14675,13 @@ dependencies = [ "sp-keystore", "sp-runtime", "sp-staking", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "sp-staking" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "26.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -14101,122 +14689,130 @@ dependencies = [ "serde", "sp-core", "sp-runtime", - "sp-std", -] - -[[package]] -name = "sp-state-machine" -version = "0.28.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" -dependencies = [ - "hash-db 0.16.0", - "log", - "parity-scale-codec", - "parking_lot 0.12.1", - "rand 0.8.5", - "smallvec", - "sp-core", - "sp-externalities", - "sp-panic-handler 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std", - "sp-trie", - "thiserror", - "tracing", - "trie-db 0.27.1", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "sp-state-machine" -version = "0.28.0" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901#c8d2251cafadc108ba2f1f8a3208dc547ff38901" +version = "0.35.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "hash-db 0.16.0", "log", "parity-scale-codec", "parking_lot 0.12.1", - "rand 0.8.5", + "rand", "smallvec", "sp-core", - "sp-externalities", - "sp-panic-handler 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-std", + "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-panic-handler", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-trie", "thiserror", "tracing", - "trie-db 0.27.1", + "trie-db", ] [[package]] name = "sp-statement-store" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "10.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "aes-gcm", "curve25519-dalek 4.1.1", "ed25519-dalek", "hkdf", "parity-scale-codec", - "rand 0.8.5", + "rand", "scale-info", "sha2 0.10.8", "sp-api", "sp-application-crypto", "sp-core", - "sp-externalities", + "sp-crypto-hashing", + "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-runtime", - "sp-runtime-interface", - "sp-std", + "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "thiserror", "x25519-dalek 2.0.0", ] [[package]] name = "sp-std" -version = "8.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "14.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" + +[[package]] +name = "sp-std" +version = "14.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk#d37719da022879b4e2ef7947f5c9d2187f666ae7" [[package]] name = "sp-storage" -version = "13.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "19.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" +dependencies = [ + "impl-serde", + "parity-scale-codec", + "ref-cast", + "serde", + "sp-debug-derive 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", +] + +[[package]] +name = "sp-storage" +version = "19.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk#d37719da022879b4e2ef7947f5c9d2187f666ae7" dependencies = [ "impl-serde", "parity-scale-codec", "ref-cast", "serde", - "sp-debug-derive 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std", + "sp-debug-derive 14.0.0 (git+https://github.com/paritytech/polkadot-sdk)", ] [[package]] name = "sp-timestamp" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "26.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "async-trait", "parity-scale-codec", "sp-inherents", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "thiserror", ] [[package]] name = "sp-tracing" -version = "10.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "16.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" +dependencies = [ + "parity-scale-codec", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "tracing", + "tracing-core", + "tracing-subscriber 0.2.25", +] + +[[package]] +name = "sp-tracing" +version = "16.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk#d37719da022879b4e2ef7947f5c9d2187f666ae7" dependencies = [ "parity-scale-codec", - "sp-std", "tracing", "tracing-core", - "tracing-subscriber", + "tracing-subscriber 0.3.18", ] [[package]] name = "sp-transaction-pool" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "26.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "sp-api", "sp-runtime", @@ -14224,8 +14820,8 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "26.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "async-trait", "parity-scale-codec", @@ -14233,101 +14829,98 @@ dependencies = [ "sp-core", "sp-inherents", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-trie", ] [[package]] name = "sp-trie" -version = "22.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "29.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "ahash 0.8.6", "hash-db 0.16.0", - "hashbrown 0.13.2", "lazy_static", "memory-db", "nohash-hasher", "parity-scale-codec", "parking_lot 0.12.1", + "rand", "scale-info", "schnellru", "sp-core", - "sp-std", + "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "thiserror", "tracing", - "trie-db 0.27.1", + "trie-db", "trie-root", ] [[package]] name = "sp-version" -version = "22.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "29.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "impl-serde", "parity-scale-codec", "parity-wasm", "scale-info", "serde", - "sp-core-hashing-proc-macro", + "sp-crypto-hashing-proc-macro", "sp-runtime", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-version-proc-macro", "thiserror", ] [[package]] name = "sp-version-proc-macro" -version = "8.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "13.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "parity-scale-codec", "proc-macro2", "quote", - "syn 2.0.42", + "syn 2.0.61", ] [[package]] name = "sp-wasm-interface" -version = "14.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "20.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "anyhow", "impl-trait-for-tuples", "log", "parity-scale-codec", - "sp-std", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "wasmtime", ] [[package]] -name = "sp-weights" +name = "sp-wasm-interface" version = "20.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +source = "git+https://github.com/paritytech/polkadot-sdk#d37719da022879b4e2ef7947f5c9d2187f666ae7" dependencies = [ + "impl-trait-for-tuples", + "log", "parity-scale-codec", - "scale-info", - "serde", - "smallvec", - "sp-arithmetic", - "sp-core", - "sp-debug-derive 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std", ] [[package]] name = "sp-weights" -version = "20.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901#c8d2251cafadc108ba2f1f8a3208dc547ff38901" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ + "bounded-collections", "parity-scale-codec", "scale-info", + "serde", "smallvec", "sp-arithmetic", - "sp-core", - "sp-debug-derive 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-std", + "sp-debug-derive 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] @@ -14385,116 +14978,25 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" [[package]] -name = "staging-kusama-runtime" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +name = "staging-parachain-info" +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "binary-merkle-tree", - "bitvec", - "frame-benchmarking", - "frame-election-provider-support", - "frame-executive", + "cumulus-primitives-core", "frame-support", "frame-system", - "frame-system-benchmarking", - "frame-system-rpc-runtime-api", - "frame-try-runtime", - "hex-literal 0.4.1", - "kusama-runtime-constants", - "log", - "pallet-authority-discovery", - "pallet-authorship", - "pallet-babe", - "pallet-bags-list", - "pallet-balances", - "pallet-beefy", - "pallet-beefy-mmr", - "pallet-bounties", - "pallet-child-bounties", - "pallet-collective", - "pallet-conviction-voting", - "pallet-democracy 4.0.0-dev", - "pallet-election-provider-multi-phase", - "pallet-election-provider-support-benchmarking", - "pallet-elections-phragmen", - "pallet-fast-unstake", - "pallet-grandpa", - "pallet-identity", - "pallet-im-online", - "pallet-indices", - "pallet-membership", - "pallet-message-queue", - "pallet-mmr", - "pallet-multisig", - "pallet-nis", - "pallet-nomination-pools", - "pallet-nomination-pools-benchmarking", - "pallet-nomination-pools-runtime-api", - "pallet-offences", - "pallet-offences-benchmarking", - "pallet-preimage", - "pallet-proxy", - "pallet-ranked-collective", - "pallet-recovery", - "pallet-referenda", - "pallet-scheduler", - "pallet-session", - "pallet-session-benchmarking", - "pallet-society", - "pallet-staking 4.0.0-dev", - "pallet-staking-runtime-api", - "pallet-state-trie-migration", - "pallet-timestamp", - "pallet-tips", - "pallet-transaction-payment", - "pallet-transaction-payment-rpc-runtime-api", - "pallet-treasury", - "pallet-utility", - "pallet-vesting", - "pallet-whitelist", - "pallet-xcm", - "pallet-xcm-benchmarks", "parity-scale-codec", - "polkadot-primitives", - "polkadot-runtime-common", - "polkadot-runtime-parachains", - "rustc-hex", "scale-info", - "serde", - "serde_derive", - "smallvec", - "sp-api", - "sp-application-crypto", - "sp-arithmetic", - "sp-authority-discovery", - "sp-block-builder", - "sp-consensus-babe", - "sp-consensus-beefy", - "sp-core", - "sp-inherents", - "sp-io", - "sp-mmr-primitives", - "sp-npos-elections", - "sp-offchain", "sp-runtime", - "sp-session", - "sp-staking", - "sp-std", - "sp-storage", - "sp-transaction-pool", - "sp-version", - "staging-xcm", - "staging-xcm-builder", - "staging-xcm-executor", - "static_assertions", - "substrate-wasm-builder", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] [[package]] name = "staging-xcm" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ + "array-bytes 6.2.2", "bounded-collections", "derivative", "environmental", @@ -14503,14 +15005,14 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-weights 20.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-weights", "xcm-procedural", ] [[package]] name = "staging-xcm-builder" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "frame-support", "frame-system", @@ -14523,16 +15025,16 @@ dependencies = [ "sp-arithmetic", "sp-io", "sp-runtime", - "sp-std", - "sp-weights 20.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-weights", "staging-xcm", "staging-xcm-executor", ] [[package]] name = "staging-xcm-executor" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "environmental", "frame-benchmarking", @@ -14540,12 +15042,13 @@ dependencies = [ "impl-trait-for-tuples", "log", "parity-scale-codec", + "scale-info", "sp-arithmetic", "sp-core", "sp-io", "sp-runtime", - "sp-std", - "sp-weights 20.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-weights", "staging-xcm", ] @@ -14583,12 +15086,31 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "strobe-rs" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fabb238a1cccccfa4c4fb703670c0d157e1256c1ba695abf1b93bd2bb14bab2d" +dependencies = [ + "bitflags 1.3.2", + "byteorder", + "keccak", + "subtle 2.4.1", + "zeroize", +] + [[package]] name = "strsim" version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" +[[package]] +name = "strsim" +version = "0.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" + [[package]] name = "strum" version = "0.24.1" @@ -14610,7 +15132,7 @@ version = "0.24.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1e385be0d24f186b4ce2f9982191e7101bb737312ad61c1f2f984f34bcf85d59" dependencies = [ - "heck", + "heck 0.4.1", "proc-macro2", "quote", "rustversion", @@ -14623,11 +15145,11 @@ version = "0.25.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "23dc1fa9ac9c169a78ba62f0b841814b7abae11bdd047b9c58f893439e309ea0" dependencies = [ - "heck", + "heck 0.4.1", "proc-macro2", "quote", "rustversion", - "syn 2.0.42", + "syn 2.0.61", ] [[package]] @@ -14652,23 +15174,23 @@ dependencies = [ "byteorder", "crunchy", "lazy_static", - "rand 0.8.5", + "rand", "rustc-hex", ] [[package]] name = "substrate-build-script-utils" -version = "3.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "11.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" [[package]] name = "substrate-frame-rpc-system" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "frame-system-rpc-runtime-api", "futures", - "jsonrpsee 0.16.3", + "jsonrpsee 0.20.3", "log", "parity-scale-codec", "sc-rpc-api", @@ -14682,8 +15204,8 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" -version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.17.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "hyper", "log", @@ -14694,11 +15216,11 @@ dependencies = [ [[package]] name = "substrate-rpc-client" -version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.33.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "async-trait", - "jsonrpsee 0.16.3", + "jsonrpsee 0.20.3", "log", "sc-rpc-api", "serde", @@ -14707,39 +15229,45 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "jsonrpsee 0.16.3", + "jsonrpsee 0.20.3", "parity-scale-codec", "sc-client-api", "sc-rpc-api", "serde", "sp-core", "sp-runtime", - "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-state-machine", "sp-trie", - "trie-db 0.27.1", + "trie-db", ] [[package]] name = "substrate-wasm-builder" -version = "5.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "17.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "ansi_term", "build-helper", "cargo_metadata", + "console", "filetime", "parity-wasm", "sp-maybe-compressed-blob", "strum 0.24.1", "tempfile", - "toml 0.7.8", + "toml 0.8.12", "walkdir", "wasm-opt", ] +[[package]] +name = "subtle" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2d67a5a62ba6e01cb2192ff309324cb4875d0c451d55fe2319433abe7a05a8ee" + [[package]] name = "subtle" version = "2.4.1" @@ -14765,9 +15293,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.42" +version = "2.0.61" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b7d0a2c048d661a1a59fcd7355baa232f7ed34e0ee4df2eef3c1c1c0d3852d8" +checksum = "c993ed8ccba56ae856363b1845da7266a7cb78e1d146c8a32d54b45a8b831fc9" dependencies = [ "proc-macro2", "quote", @@ -14841,6 +15369,16 @@ dependencies = [ "winapi-util", ] +[[package]] +name = "terminal_size" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "21bebf2b7c9e0a515f6e0f8c51dc0f8e4696391e6f1ff30379559f8365fb0df7" +dependencies = [ + "rustix 0.38.28", + "windows-sys 0.48.0", +] + [[package]] name = "termtree" version = "0.4.1" @@ -14874,7 +15412,7 @@ dependencies = [ "cfg-if", "proc-macro2", "quote", - "syn 2.0.42", + "syn 2.0.61", ] [[package]] @@ -14898,7 +15436,7 @@ checksum = "5c89e72a01ed4c579669add59014b9a524d609c0c88c6a585ce37485879f6ffb" dependencies = [ "proc-macro2", "quote", - "syn 2.0.42", + "syn 2.0.61", "test-case-core", ] @@ -14942,7 +15480,7 @@ checksum = "e4c60d69f36615a077cc7663b9cb8e42275722d23e58a7fa3d2c7f2915d09d04" dependencies = [ "proc-macro2", "quote", - "syn 2.0.42", + "syn 2.0.61", ] [[package]] @@ -14953,7 +15491,7 @@ checksum = "01742297787513b79cf8e29d1056ede1313e2420b7b3b15d0a768b4921f549df" dependencies = [ "proc-macro2", "quote", - "syn 2.0.42", + "syn 2.0.61", ] [[package]] @@ -15044,25 +15582,6 @@ dependencies = [ "time-core", ] -[[package]] -name = "tiny-bip39" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62cc94d358b5a1e84a5cb9109f559aa3c4d634d2b1b4de3d0fa4adc7c78e2861" -dependencies = [ - "anyhow", - "hmac 0.12.1", - "once_cell", - "pbkdf2 0.11.0", - "rand 0.8.5", - "rustc-hash", - "sha2 0.10.8", - "thiserror", - "unicode-normalization", - "wasm-bindgen", - "zeroize", -] - [[package]] name = "tiny-keccak" version = "2.0.2" @@ -15099,9 +15618,9 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.35.1" +version = "1.37.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c89b4efa943be685f629b149f53829423f8f5531ea21249408e8e2f8671ec104" +checksum = "1adbebffeca75fcfd058afa480fb6c0b81e165a0323f9c9d39c9697e37c46787" dependencies = [ "backtrace", "bytes", @@ -15124,7 +15643,7 @@ checksum = "5b8a1e28f2deaa14e508979454cb3a223b10b938b45af148bc0986de36f1923b" dependencies = [ "proc-macro2", "quote", - "syn 2.0.42", + "syn 2.0.61", ] [[package]] @@ -15134,7 +15653,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7f57eb36ecbe0fc510036adff84824dd3c24bb781e21bfa67b69d556aa85214f" dependencies = [ "pin-project", - "rand 0.8.5", + "rand", "tokio", ] @@ -15198,21 +15717,21 @@ dependencies = [ [[package]] name = "toml" -version = "0.8.2" +version = "0.8.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "185d8ab0dfbb35cf1399a6344d8484209c088f75f8f68230da55d48d95d43e3d" +checksum = "e9dd1545e8208b4a5af1aa9bbd0b4cf7e9ea08fabc5d0a5c67fcaafa17433aa3" dependencies = [ "serde", "serde_spanned", "toml_datetime", - "toml_edit 0.20.2", + "toml_edit 0.22.12", ] [[package]] name = "toml_datetime" -version = "0.6.3" +version = "0.6.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7cda73e2f1397b1262d6dfdcef8aafae14d1de7748d66822d3bfeeb6d03e5e4b" +checksum = "3550f4e9685620ac18a50ed434eb3aec30db8ba93b0287467bca5826ea25baf1" dependencies = [ "serde", ] @@ -15227,7 +15746,7 @@ dependencies = [ "serde", "serde_spanned", "toml_datetime", - "winnow", + "winnow 0.5.30", ] [[package]] @@ -15235,12 +15754,34 @@ name = "toml_edit" version = "0.20.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "396e4d48bbb2b7554c944bde63101b5ae446cff6ec4a24227428f15eb72ef338" +dependencies = [ + "indexmap 2.1.0", + "toml_datetime", + "winnow 0.5.30", +] + +[[package]] +name = "toml_edit" +version = "0.21.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6a8534fd7f78b5405e860340ad6575217ce99f38d4d5c8f2442cb5ecb50090e1" +dependencies = [ + "indexmap 2.1.0", + "toml_datetime", + "winnow 0.5.30", +] + +[[package]] +name = "toml_edit" +version = "0.22.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3328d4f68a705b2a4498da1d580585d39a6510f98318a2cec3018a7ec61ddef" dependencies = [ "indexmap 2.1.0", "serde", "serde_spanned", "toml_datetime", - "winnow", + "winnow 0.6.8", ] [[package]] @@ -15249,6 +15790,10 @@ version = "0.4.13" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b8fa9be0de6cf49e536ce1851f987bd21a43b771b09473c3549a6c853db37c1c" dependencies = [ + "futures-core", + "futures-util", + "pin-project", + "pin-project-lite 0.2.13", "tower-layer", "tower-service", "tracing", @@ -15304,7 +15849,7 @@ checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.42", + "syn 2.0.61", ] [[package]] @@ -15329,11 +15874,10 @@ dependencies = [ [[package]] name = "tracing-gum" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "coarsetime", - "polkadot-node-jaeger", "polkadot-primitives", "tracing", "tracing-gum-proc-macro", @@ -15341,14 +15885,14 @@ dependencies = [ [[package]] name = "tracing-gum-proc-macro" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "5.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "expander 2.0.0", - "proc-macro-crate 1.3.1", + "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.42", + "syn 2.0.61", ] [[package]] @@ -15362,6 +15906,17 @@ dependencies = [ "tracing-core", ] +[[package]] +name = "tracing-log" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ee855f1f400bd0e5c02d150ae5de3840039a3f54b025156404e34c23c03f47c3" +dependencies = [ + "log", + "once_cell", + "tracing-core", +] + [[package]] name = "tracing-serde" version = "0.1.3" @@ -15381,7 +15936,7 @@ dependencies = [ "ansi_term", "chrono", "lazy_static", - "matchers", + "matchers 0.0.1", "parking_lot 0.11.2", "regex", "serde", @@ -15391,21 +15946,26 @@ dependencies = [ "thread_local", "tracing", "tracing-core", - "tracing-log", + "tracing-log 0.1.4", "tracing-serde", ] [[package]] -name = "trie-db" -version = "0.27.1" +name = "tracing-subscriber" +version = "0.3.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "767abe6ffed88a1889671a102c2861ae742726f52e0a5a425b92c9fbfa7e9c85" +checksum = "ad0f048c97dbd9faa9b7df56362b8ebcaa52adb06b498c050d2f4e32f90a7a8b" dependencies = [ - "hash-db 0.16.0", - "hashbrown 0.13.2", - "log", - "rustc-hex", + "matchers 0.1.0", + "nu-ansi-term", + "once_cell", + "regex", + "sharded-slab", "smallvec", + "thread_local", + "tracing", + "tracing-core", + "tracing-log 0.2.0", ] [[package]] @@ -15456,7 +16016,7 @@ dependencies = [ "idna 0.2.3", "ipnet", "lazy_static", - "rand 0.8.5", + "rand", "smallvec", "socket2 0.4.10", "thiserror", @@ -15494,11 +16054,11 @@ checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" [[package]] name = "try-runtime-cli" -version = "0.10.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.38.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "async-trait", - "clap 4.4.11", + "clap 4.5.4", "frame-remote-externalities", "hex", "log", @@ -15511,18 +16071,18 @@ dependencies = [ "sp-consensus-aura", "sp-consensus-babe", "sp-core", - "sp-debug-derive 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-externalities", + "sp-debug-derive 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-inherents", "sp-io", "sp-keystore", "sp-rpc", "sp-runtime", - "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-state-machine", "sp-timestamp", "sp-transaction-storage-proof", "sp-version", - "sp-weights 20.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-weights", "substrate-rpc-client", "zstd 0.12.4", ] @@ -15556,7 +16116,7 @@ checksum = "97fee6b57c6a41524a810daee9286c02d7752c4253064d0b05472833a438f675" dependencies = [ "cfg-if", "digest 0.10.7", - "rand 0.8.5", + "rand", "static_assertions", ] @@ -15645,7 +16205,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fc1de2c688dc15305988b563c3854064043356019f97a4b46276fe734c4f07ea" dependencies = [ "crypto-common", - "subtle", + "subtle 2.4.1", ] [[package]] @@ -15713,6 +16273,30 @@ version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d" +[[package]] +name = "w3f-bls" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7335e4c132c28cc43caef6adb339789e599e39adbe78da0c4d547fad48cbc331" +dependencies = [ + "ark-bls12-377", + "ark-bls12-381", + "ark-ec", + "ark-ff", + "ark-serialize", + "ark-serialize-derive", + "arrayref", + "constcat", + "digest 0.10.7", + "rand", + "rand_chacha 0.3.1", + "rand_core 0.6.4", + "sha2 0.10.8", + "sha3", + "thiserror", + "zeroize", +] + [[package]] name = "wait-timeout" version = "0.2.0" @@ -15780,7 +16364,7 @@ dependencies = [ "once_cell", "proc-macro2", "quote", - "syn 2.0.42", + "syn 2.0.61", "wasm-bindgen-shared", ] @@ -15814,7 +16398,7 @@ checksum = "f0eb82fcb7930ae6219a7ecfd55b217f5f0893484b7a13022ebb2b2bf20b5283" dependencies = [ "proc-macro2", "quote", - "syn 2.0.42", + "syn 2.0.61", "wasm-bindgen-backend", "wasm-bindgen-shared", ] @@ -15827,18 +16411,18 @@ checksum = "7ab9b36309365056cd639da3134bf87fa8f3d86008abf99e612384a6eecd459f" [[package]] name = "wasm-instrument" -version = "0.3.0" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa1dafb3e60065305741e83db35c6c2584bb3725b692b5b66148a38d72ace6cd" +checksum = "2a47ecb37b9734d1085eaa5ae1a81e60801fd8c28d4cabdd8aedb982021918bc" dependencies = [ "parity-wasm", ] [[package]] name = "wasm-opt" -version = "0.114.2" +version = "0.116.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "effbef3bd1dde18acb401f73e740a6f3d4a1bc651e9773bddc512fe4d8d68f67" +checksum = "2fd87a4c135535ffed86123b6fb0f0a5a0bc89e50416c942c5f0662c645f679c" dependencies = [ "anyhow", "libc", @@ -15852,9 +16436,9 @@ dependencies = [ [[package]] name = "wasm-opt-cxx-sys" -version = "0.114.2" +version = "0.116.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c09e24eb283919ace2ed5733bda4842a59ce4c8de110ef5c6d98859513d17047" +checksum = "8c57b28207aa724318fcec6575fe74803c23f6f266fce10cbc9f3f116762f12e" dependencies = [ "anyhow", "cxx", @@ -15864,9 +16448,9 @@ dependencies = [ [[package]] name = "wasm-opt-sys" -version = "0.114.2" +version = "0.116.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "36f2f817bed2e8d65eb779fa37317e74de15585751f903c9118342d1970703a4" +checksum = "8a1cce564dc768dacbdb718fc29df2dba80bd21cb47d8f77ae7e3d95ceb98cbe" dependencies = [ "anyhow", "cc", @@ -16114,7 +16698,7 @@ dependencies = [ "memfd", "memoffset 0.8.0", "paste", - "rand 0.8.5", + "rand", "rustix 0.36.17", "wasmtime-asm-macros", "wasmtime-environ", @@ -16163,16 +16747,10 @@ dependencies = [ "webpki", ] -[[package]] -name = "webpki-roots" -version = "0.25.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1778a42e8b3b90bff8d0f5032bf22250792889a5cdc752aa0020c84abe3aaf10" - [[package]] name = "westend-runtime" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "binary-merkle-tree", "bitvec", @@ -16186,6 +16764,7 @@ dependencies = [ "frame-try-runtime", "hex-literal 0.4.1", "log", + "pallet-asset-rate", "pallet-authority-discovery", "pallet-authorship", "pallet-babe", @@ -16194,7 +16773,8 @@ dependencies = [ "pallet-beefy", "pallet-beefy-mmr", "pallet-collective", - "pallet-democracy 4.0.0-dev", + "pallet-conviction-voting", + "pallet-democracy 28.0.0", "pallet-election-provider-multi-phase", "pallet-election-provider-support-benchmarking", "pallet-elections-phragmen", @@ -16215,11 +16795,13 @@ dependencies = [ "pallet-preimage", "pallet-proxy", "pallet-recovery", + "pallet-referenda", + "pallet-root-testing", "pallet-scheduler", "pallet-session", "pallet-session-benchmarking", "pallet-society", - "pallet-staking 4.0.0-dev", + "pallet-staking 28.0.0", "pallet-staking-reward-curve", "pallet-staking-runtime-api", "pallet-state-trie-migration", @@ -16230,6 +16812,7 @@ dependencies = [ "pallet-treasury", "pallet-utility", "pallet-vesting", + "pallet-whitelist", "pallet-xcm", "pallet-xcm-benchmarks", "parity-scale-codec", @@ -16244,11 +16827,13 @@ dependencies = [ "smallvec", "sp-api", "sp-application-crypto", + "sp-arithmetic", "sp-authority-discovery", "sp-block-builder", "sp-consensus-babe", "sp-consensus-beefy", "sp-core", + "sp-genesis-builder", "sp-inherents", "sp-io", "sp-mmr-primitives", @@ -16257,8 +16842,8 @@ dependencies = [ "sp-runtime", "sp-session", "sp-staking", - "sp-std", - "sp-storage", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-transaction-pool", "sp-version", "staging-xcm", @@ -16270,8 +16855,8 @@ dependencies = [ [[package]] name = "westend-runtime-constants" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "frame-support", "polkadot-primitives", @@ -16279,7 +16864,9 @@ dependencies = [ "smallvec", "sp-core", "sp-runtime", - "sp-weights 20.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-weights", + "staging-xcm", + "staging-xcm-builder", ] [[package]] @@ -16582,6 +17169,15 @@ dependencies = [ "memchr", ] +[[package]] +name = "winnow" +version = "0.6.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3c52e9c97a68071b23e836c9380edae937f17b9c4667bd021973efc689f618d" +dependencies = [ + "memchr", +] + [[package]] name = "winreg" version = "0.50.0" @@ -16644,10 +17240,11 @@ dependencies = [ [[package]] name = "xcm-emulator" -version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "0.5.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "cumulus-pallet-parachain-system", + "cumulus-pallet-xcmp-queue", "cumulus-primitives-core", "cumulus-primitives-parachain-inherent", "cumulus-test-relay-sproof-builder", @@ -16666,23 +17263,24 @@ dependencies = [ "polkadot-runtime-parachains", "sp-arithmetic", "sp-core", + "sp-crypto-hashing", "sp-io", "sp-runtime", - "sp-std", - "sp-tracing", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "staging-xcm", "staging-xcm-executor", ] [[package]] name = "xcm-procedural" -version = "1.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "Inflector", "proc-macro2", "quote", - "syn 2.0.42", + "syn 2.0.61", ] [[package]] @@ -16695,7 +17293,7 @@ dependencies = [ "log", "nohash-hasher", "parking_lot 0.12.1", - "rand 0.8.5", + "rand", "static_assertions", ] @@ -16731,7 +17329,7 @@ checksum = "9ce1b18ccd8e73a9321186f97e46f9f04b778851177567b1975109d26a08d2a6" dependencies = [ "proc-macro2", "quote", - "syn 2.0.42", + "syn 2.0.61", ] [[package]] @@ -16751,7 +17349,7 @@ checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" dependencies = [ "proc-macro2", "quote", - "syn 2.0.42", + "syn 2.0.61", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index fcd006ab0..0671b7e93 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -220,18 +220,18 @@ substrate-state-trie-migration-rpc = { git = "https://github.com/paritytech/polk #TODO: We use our custom ORML as it contains the fix of bug for reducible_balance check, for Preserve mode. Once the official ORML pushes a new version with the fix, we can use that again # ORML dependencies -orml-benchmarking = { git = "https://github.com/galacticcouncil/open-runtime-module-library", rev = "f36a0abefd8e6b929bee3cc2420f7c4fbe459c99", default-features = false } -orml-currencies = { git = "https://github.com/galacticcouncil/open-runtime-module-library", rev = "f36a0abefd8e6b929bee3cc2420f7c4fbe459c99", default-features = false } -orml-tokens = { git = "https://github.com/galacticcouncil/open-runtime-module-library", rev = "f36a0abefd8e6b929bee3cc2420f7c4fbe459c99", default-features = false } -orml-traits = { git = "https://github.com/galacticcouncil/open-runtime-module-library", rev = "f36a0abefd8e6b929bee3cc2420f7c4fbe459c99", default-features = false } -orml-utilities = { git = "https://github.com/galacticcouncil/open-runtime-module-library", rev = "f36a0abefd8e6b929bee3cc2420f7c4fbe459c99", default-features = false } -orml-vesting = { git = "https://github.com/galacticcouncil/open-runtime-module-library", rev = "f36a0abefd8e6b929bee3cc2420f7c4fbe459c99", default-features = false } +orml-benchmarking = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.7.2", default-features = false } +orml-currencies = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.7.2", default-features = false } +orml-tokens = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.7.2", default-features = false } +orml-traits = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.7.2", default-features = false } +orml-utilities = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.7.2", default-features = false } +orml-vesting = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.7.2", default-features = false } # orml XCM support -orml-unknown-tokens = { git = "https://github.com/galacticcouncil/open-runtime-module-library", rev = "f36a0abefd8e6b929bee3cc2420f7c4fbe459c99", default-features = false } -orml-xcm = { git = "https://github.com/galacticcouncil/open-runtime-module-library", rev = "f36a0abefd8e6b929bee3cc2420f7c4fbe459c99", default-features = false } -orml-xcm-support = { git = "https://github.com/galacticcouncil/open-runtime-module-library", rev = "f36a0abefd8e6b929bee3cc2420f7c4fbe459c99", default-features = false } -orml-xtokens = { git = "https://github.com/galacticcouncil/open-runtime-module-library", rev = "f36a0abefd8e6b929bee3cc2420f7c4fbe459c99", default-features = false } +orml-unknown-tokens = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.7.2", default-features = false } +orml-xcm = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.7.2", default-features = false } +orml-xcm-support = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.7.2", default-features = false } +orml-xtokens = { git = "https://github.com/galacticcouncil/open-runtime-module-library", branch = "polkadot-v1.7.2", default-features = false } # Cumulus dependencies cumulus-client-cli = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } From efdd0c93be4be0be433ddf932656cb79b4f90de4 Mon Sep 17 00:00:00 2001 From: dmoka Date: Fri, 10 May 2024 11:33:09 +0200 Subject: [PATCH 039/105] formatting --- integration-tests/src/router.rs | 8 ++++++-- runtime/hydradx/src/assets.rs | 28 +++++++++++++++++++++------- runtime/hydradx/src/weights/mod.rs | 14 +++++++------- 3 files changed, 34 insertions(+), 16 deletions(-) diff --git a/integration-tests/src/router.rs b/integration-tests/src/router.rs index ba73c9335..70f855faa 100644 --- a/integration-tests/src/router.rs +++ b/integration-tests/src/router.rs @@ -713,7 +713,9 @@ mod router_different_pools_tests { > as OmnipoolHooks::>::on_liquidity_changed_weight( )) .unwrap() - .checked_add(&hydradx_runtime::weights::pallet_lbp::HydraWeight::::router_execution_sell(1, 1)) + .checked_add( + &hydradx_runtime::weights::pallet_lbp::HydraWeight::::router_execution_sell(1, 1) + ) .unwrap() .checked_add( &RouterWeightInfo::sell_and_calculate_sell_trade_amounts_overhead_weight(0, 1) @@ -741,7 +743,9 @@ mod router_different_pools_tests { > as OmnipoolHooks::>::on_liquidity_changed_weight( )) .unwrap() - .checked_add(&hydradx_runtime::weights::pallet_lbp::HydraWeight::::router_execution_buy(1, 1)) + .checked_add( + &hydradx_runtime::weights::pallet_lbp::HydraWeight::::router_execution_buy(1, 1) + ) .unwrap() .checked_add( &RouterWeightInfo::buy_and_calculate_buy_trade_amounts_overhead_weight(0, 1) diff --git a/runtime/hydradx/src/assets.rs b/runtime/hydradx/src/assets.rs index daac8b2af..7dd47f846 100644 --- a/runtime/hydradx/src/assets.rs +++ b/runtime/hydradx/src/assets.rs @@ -879,7 +879,9 @@ impl AmmTradeWeights> for RouterWeightInfo { >>::on_liquidity_changed_weight(), ), PoolType::LBP => weights::pallet_lbp::HydraWeight::::router_execution_sell(c, e), - PoolType::Stableswap(_) => weights::pallet_stableswap::HydraWeight::::router_execution_sell(c, e), + PoolType::Stableswap(_) => { + weights::pallet_stableswap::HydraWeight::::router_execution_sell(c, e) + } PoolType::XYK => weights::pallet_xyk::HydraWeight::::router_execution_sell(c, e) .saturating_add(::AMMHandler::on_trade_weight()), }; @@ -917,7 +919,9 @@ impl AmmTradeWeights> for RouterWeightInfo { >>::on_liquidity_changed_weight(), ), PoolType::LBP => weights::pallet_lbp::HydraWeight::::router_execution_buy(c, e), - PoolType::Stableswap(_) => weights::pallet_stableswap::HydraWeight::::router_execution_buy(c, e), + PoolType::Stableswap(_) => { + weights::pallet_stableswap::HydraWeight::::router_execution_buy(c, e) + } PoolType::XYK => weights::pallet_xyk::HydraWeight::::router_execution_buy(c, e) .saturating_add(::AMMHandler::on_trade_weight()), }; @@ -939,7 +943,9 @@ impl AmmTradeWeights> for RouterWeightInfo { let amm_weight = match trade.pool { PoolType::Omnipool => weights::pallet_omnipool::HydraWeight::::router_execution_buy(c, e), PoolType::LBP => weights::pallet_lbp::HydraWeight::::router_execution_buy(c, e), - PoolType::Stableswap(_) => weights::pallet_stableswap::HydraWeight::::router_execution_buy(c, e), + PoolType::Stableswap(_) => { + weights::pallet_stableswap::HydraWeight::::router_execution_buy(c, e) + } PoolType::XYK => weights::pallet_xyk::HydraWeight::::router_execution_buy(c, e) .saturating_add(::AMMHandler::on_trade_weight()), }; @@ -961,7 +967,9 @@ impl AmmTradeWeights> for RouterWeightInfo { let amm_weight = match trade.pool { PoolType::Omnipool => weights::pallet_omnipool::HydraWeight::::router_execution_sell(c, e), PoolType::LBP => weights::pallet_lbp::HydraWeight::::router_execution_sell(c, e), - PoolType::Stableswap(_) => weights::pallet_stableswap::HydraWeight::::router_execution_sell(c, e), + PoolType::Stableswap(_) => { + weights::pallet_stableswap::HydraWeight::::router_execution_sell(c, e) + } PoolType::XYK => weights::pallet_xyk::HydraWeight::::router_execution_sell(c, e) .saturating_add(::AMMHandler::on_trade_weight()), }; @@ -983,7 +991,9 @@ impl AmmTradeWeights> for RouterWeightInfo { let amm_weight = match trade.pool { PoolType::Omnipool => weights::pallet_omnipool::HydraWeight::::router_execution_buy(c, e), PoolType::LBP => weights::pallet_lbp::HydraWeight::::router_execution_buy(c, e), - PoolType::Stableswap(_) => weights::pallet_stableswap::HydraWeight::::router_execution_buy(c, e), + PoolType::Stableswap(_) => { + weights::pallet_stableswap::HydraWeight::::router_execution_buy(c, e) + } PoolType::XYK => weights::pallet_xyk::HydraWeight::::router_execution_buy(c, e) .saturating_add(::AMMHandler::on_trade_weight()), }; @@ -1014,7 +1024,9 @@ impl AmmTradeWeights> for RouterWeightInfo { let amm_weight = match trade.pool { PoolType::Omnipool => weights::pallet_omnipool::HydraWeight::::router_execution_sell(1, 0), PoolType::LBP => weights::pallet_lbp::HydraWeight::::router_execution_sell(1, 0), - PoolType::Stableswap(_) => weights::pallet_stableswap::HydraWeight::::router_execution_sell(1, 0), + PoolType::Stableswap(_) => { + weights::pallet_stableswap::HydraWeight::::router_execution_sell(1, 0) + } PoolType::XYK => weights::pallet_xyk::HydraWeight::::router_execution_sell(1, 0), }; weight.saturating_accrue(amm_weight); @@ -1025,7 +1037,9 @@ impl AmmTradeWeights> for RouterWeightInfo { let amm_weight = match trade.pool { PoolType::Omnipool => weights::pallet_omnipool::HydraWeight::::router_execution_sell(1, 0), PoolType::LBP => weights::pallet_lbp::HydraWeight::::router_execution_sell(1, 0), - PoolType::Stableswap(_) => weights::pallet_stableswap::HydraWeight::::router_execution_sell(1, 0), + PoolType::Stableswap(_) => { + weights::pallet_stableswap::HydraWeight::::router_execution_sell(1, 0) + } PoolType::XYK => weights::pallet_xyk::HydraWeight::::router_execution_sell(1, 0), }; weight.saturating_accrue(amm_weight); diff --git a/runtime/hydradx/src/weights/mod.rs b/runtime/hydradx/src/weights/mod.rs index 587f695bb..8be4a5098 100644 --- a/runtime/hydradx/src/weights/mod.rs +++ b/runtime/hydradx/src/weights/mod.rs @@ -1,9 +1,15 @@ +pub mod cumulus_pallet_xcmp_queue; +pub mod frame_system; +pub mod orml_tokens; +pub mod orml_vesting; +pub mod pallet_asset_registry; pub mod pallet_balances; pub mod pallet_bonds; pub mod pallet_circuit_breaker; pub mod pallet_claims; pub mod pallet_collator_selection; pub mod pallet_collective_council; +pub mod pallet_collective_technical_committee; pub mod pallet_currencies; pub mod pallet_dca; pub mod pallet_democracy; @@ -17,26 +23,20 @@ pub mod pallet_lbp; pub mod pallet_omnipool; pub mod pallet_omnipool_liquidity_mining; pub mod pallet_otc; -pub mod pallet_transaction_multi_payment; pub mod pallet_preimage; pub mod pallet_proxy; pub mod pallet_referrals; -pub mod pallet_asset_registry; pub mod pallet_route_executor; pub mod pallet_scheduler; pub mod pallet_stableswap; pub mod pallet_staking; pub mod pallet_state_trie_migration; -pub mod frame_system; -pub mod pallet_collective_technical_committee; pub mod pallet_timestamp; pub mod pallet_tips; -pub mod orml_tokens; +pub mod pallet_transaction_multi_payment; pub mod pallet_transaction_pause; pub mod pallet_treasury; pub mod pallet_utility; -pub mod orml_vesting; pub mod pallet_xcm; -pub mod cumulus_pallet_xcmp_queue; pub mod pallet_xyk; pub mod pallet_xyk_liquidity_mining; From af7e74d7c75a112dc9de9d7b8076b9d4f1f3b7e5 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Wed, 15 May 2024 17:25:28 +0200 Subject: [PATCH 040/105] update config params --- integration-tests/src/cross_chain_transfer.rs | 10 +++++++++- runtime/hydradx/src/system.rs | 4 ++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/integration-tests/src/cross_chain_transfer.rs b/integration-tests/src/cross_chain_transfer.rs index 91ee1fe8f..936b87642 100644 --- a/integration-tests/src/cross_chain_transfer.rs +++ b/integration-tests/src/cross_chain_transfer.rs @@ -441,8 +441,16 @@ fn assets_should_be_trapped_when_assets_are_unknown() { )), fun: Fungible(30 * UNITS), }; - let hash = determine_hash(&origin, vec![asset]); + let hash = determine_hash(&origin, vec![asset.clone()]); assert_eq!(hydradx_runtime::PolkadotXcm::asset_trap(hash), 1); + + expect_hydra_events(vec![hydradx_runtime::RuntimeEvent::PolkadotXcm( + pallet_xcm::Event::AssetsTrapped { + hash: hash, + origin: origin.try_into().unwrap(), + assets: vec![asset].into(), + })] + ); }); } diff --git a/runtime/hydradx/src/system.rs b/runtime/hydradx/src/system.rs index fc4fb5f5a..df90dbb3a 100644 --- a/runtime/hydradx/src/system.rs +++ b/runtime/hydradx/src/system.rs @@ -293,7 +293,7 @@ impl pallet_utility::Config for Runtime { parameter_types! { pub const BasicDeposit: Balance = 5 * DOLLARS; - pub const FieldDeposit: Balance = DOLLARS; + pub const ByteDeposit: Balance = DOLLARS / 10; pub const SubAccountDeposit: Balance = 5 * DOLLARS; pub const MaxSubAccounts: u32 = 100; pub const MaxAdditionalFields: u32 = 100; @@ -307,7 +307,7 @@ impl pallet_identity::Config for Runtime { type RuntimeEvent = RuntimeEvent; type Currency = Balances; type BasicDeposit = BasicDeposit; - type ByteDeposit = FieldDeposit; //TODO: correct? + type ByteDeposit = ByteDeposit; type SubAccountDeposit = SubAccountDeposit; type MaxSubAccounts = MaxSubAccounts; type IdentityInformation = pallet_identity::legacy::IdentityInfo; From 7967d8fe6db82280536d7ea0f1ad5d611a72d6ac Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Wed, 15 May 2024 18:07:53 +0200 Subject: [PATCH 041/105] formatting --- integration-tests/src/cross_chain_transfer.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/integration-tests/src/cross_chain_transfer.rs b/integration-tests/src/cross_chain_transfer.rs index 936b87642..b588a433d 100644 --- a/integration-tests/src/cross_chain_transfer.rs +++ b/integration-tests/src/cross_chain_transfer.rs @@ -449,8 +449,8 @@ fn assets_should_be_trapped_when_assets_are_unknown() { hash: hash, origin: origin.try_into().unwrap(), assets: vec![asset].into(), - })] - ); + }, + )]); }); } From 47a4eb3fbe19af044aedd6a5d31c7bab80a2685b Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Thu, 16 May 2024 15:18:15 +0200 Subject: [PATCH 042/105] reorder pallets and fix some integration tests --- integration-tests/src/cross_chain_transfer.rs | 6 +- integration-tests/src/dca.rs | 2 +- integration-tests/src/dust.rs | 4 +- integration-tests/src/evm.rs | 2 +- integration-tests/src/exchange_asset.rs | 10 +-- integration-tests/src/polkadot_test_net.rs | 22 ++++--- integration-tests/src/referrals.rs | 6 +- integration-tests/src/router.rs | 66 +++++++++---------- runtime/hydradx/src/lib.rs | 11 ++-- runtime/hydradx/src/xcm.rs | 9 ++- 10 files changed, 72 insertions(+), 66 deletions(-) diff --git a/integration-tests/src/cross_chain_transfer.rs b/integration-tests/src/cross_chain_transfer.rs index b588a433d..a39836882 100644 --- a/integration-tests/src/cross_chain_transfer.rs +++ b/integration-tests/src/cross_chain_transfer.rs @@ -98,7 +98,7 @@ fn rococo_should_receive_asset_when_sent_from_hydra() { Rococo::execute_with(|| { assert_eq!( hydradx_runtime::Balances::free_balance(AccountId::from(BOB)), - 2999978937205 // 3 * HDX - fee + 2_999_989_698_923 // 3 * HDX - fee ); }); } @@ -146,7 +146,7 @@ fn hydra_should_receive_asset_when_transferred_from_acala() { Hydra::execute_with(|| { let fee = hydradx_runtime::Tokens::free_balance(ACA, &hydradx_runtime::Treasury::account_id()); - assert!(fee > 0, "Fees is not sent to treasury"); + assert!(fee > 0, "Fee is not sent to treasury"); assert_eq!( hydradx_runtime::Tokens::free_balance(ACA, &AccountId::from(BOB)), 30 * UNITS - fee @@ -446,7 +446,7 @@ fn assets_should_be_trapped_when_assets_are_unknown() { expect_hydra_events(vec![hydradx_runtime::RuntimeEvent::PolkadotXcm( pallet_xcm::Event::AssetsTrapped { - hash: hash, + hash, origin: origin.try_into().unwrap(), assets: vec![asset].into(), }, diff --git a/integration-tests/src/dca.rs b/integration-tests/src/dca.rs index 9b05b15ac..6d146769f 100644 --- a/integration-tests/src/dca.rs +++ b/integration-tests/src/dca.rs @@ -64,7 +64,7 @@ mod omnipool { let next_block_id = block_id + 1; let schedule = DCA::schedule_ids_per_block(next_block_id); assert!(!schedule.is_empty()); - expect_hydra_events(vec![pallet_dca::Event::Scheduled { + expect_hydra_last_events(vec![pallet_dca::Event::Scheduled { id: 0, who: ALICE.into(), period: schedule1.period, diff --git a/integration-tests/src/dust.rs b/integration-tests/src/dust.rs index 5aea6e96f..f04794924 100644 --- a/integration-tests/src/dust.rs +++ b/integration-tests/src/dust.rs @@ -42,7 +42,7 @@ fn balance_should_be_dusted_when_native_balance_is_below_ed() { hdx_ed.checked_add(1).unwrap() ); - expect_hydra_events(vec![ + expect_hydra_last_events(vec![ pallet_balances::Event::DustLost { account: ALICE.into(), amount: 1, @@ -96,7 +96,7 @@ fn balance_should_be_dusted_when_token_balance_is_below_ed() { // Treasury is whitelisted in Tokens assert_eq!(hydradx_runtime::Tokens::free_balance(DAI, &Treasury::account_id()), 1); - expect_hydra_events(vec![ + expect_hydra_last_events(vec![ pallet_currencies::Event::Transferred { currency_id: DAI, from: ALICE.into(), diff --git a/integration-tests/src/evm.rs b/integration-tests/src/evm.rs index edfcdb4d8..c75702924 100644 --- a/integration-tests/src/evm.rs +++ b/integration-tests/src/evm.rs @@ -1216,7 +1216,7 @@ fn dispatch_should_work_with_buying_insufficient_asset() { )); //EVM call passes even when the substrate tx fails, so we need to check if the tx is executed - expect_hydra_events(vec![pallet_evm::Event::Executed { address: DISPATCH_ADDR }.into()]); + expect_hydra_last_events(vec![pallet_evm::Event::Executed { address: DISPATCH_ADDR }.into()]); let new_balance = Tokens::free_balance(altcoin, ¤cy_precompile::alice_substrate_evm_addr()); assert_eq!(new_balance, UNITS); }); diff --git a/integration-tests/src/exchange_asset.rs b/integration-tests/src/exchange_asset.rs index 6bfc7d97d..54d189247 100644 --- a/integration-tests/src/exchange_asset.rs +++ b/integration-tests/src/exchange_asset.rs @@ -130,10 +130,11 @@ fn hydra_should_swap_assets_when_receiving_from_acala_with_buy() { }); }); + let amount_out = 300 * UNITS; Acala::execute_with(|| { let xcm = craft_exchange_asset_xcm::<_, hydradx_runtime::RuntimeCall>( Asset::from((GeneralIndex(0), 50 * UNITS)), - Asset::from((GeneralIndex(CORE_ASSET_ID.into()), 300 * UNITS)), + Asset::from((GeneralIndex(CORE_ASSET_ID.into()), amount_out)), BUY, ); //Act @@ -158,17 +159,12 @@ fn hydra_should_swap_assets_when_receiving_from_acala_with_buy() { )); }); - let swapped = 361693915942; // HDX is super cheap in our setup Hydra::execute_with(|| { let fees = hydradx_runtime::Tokens::free_balance(ACA, &hydradx_runtime::Treasury::account_id()); assert!(fees > 0, "treasury should have received fees"); - assert_eq!( - hydradx_runtime::Tokens::free_balance(ACA, &AccountId::from(BOB)), - 100 * UNITS - swapped - fees - ); assert_eq!( hydradx_runtime::Balances::free_balance(AccountId::from(BOB)), - BOB_INITIAL_NATIVE_BALANCE + 300 * UNITS + BOB_INITIAL_NATIVE_BALANCE + amount_out ); }); } diff --git a/integration-tests/src/polkadot_test_net.rs b/integration-tests/src/polkadot_test_net.rs index 57b01b4e0..c792f56fe 100644 --- a/integration-tests/src/polkadot_test_net.rs +++ b/integration-tests/src/polkadot_test_net.rs @@ -628,10 +628,16 @@ pub fn last_hydra_events(n: usize) -> Vec { .collect() } -pub fn expect_hydra_events(e: Vec) { +pub fn expect_hydra_last_events(e: Vec) { pretty_assertions::assert_eq!(last_hydra_events(e.len()), e); } +pub fn expect_hydra_events(event: Vec) { + for e in event.iter() { + frame_system::Pallet::::assert_has_event(e.clone()); + } +} + pub fn set_relaychain_block_number(number: BlockNumber) { use hydradx_runtime::ParachainSystem; @@ -665,13 +671,13 @@ pub fn hydradx_run_to_next_block() { let b = hydradx_runtime::System::block_number(); hydradx_runtime::System::on_finalize(b); - hydradx_runtime::EmaOracle::on_finalize(b); hydradx_runtime::MultiTransactionPayment::on_finalize(b); + hydradx_runtime::EmaOracle::on_finalize(b); hydradx_runtime::System::on_initialize(b + 1); - hydradx_runtime::EmaOracle::on_initialize(b + 1); hydradx_runtime::MultiTransactionPayment::on_initialize(b + 1); hydradx_runtime::DynamicEvmFee::on_initialize(b + 1); + hydradx_runtime::EmaOracle::on_initialize(b + 1); hydradx_runtime::System::set_block_number(b + 1); } @@ -691,8 +697,8 @@ pub fn hydradx_finalize_block() { let b = hydradx_runtime::System::block_number(); hydradx_runtime::System::on_finalize(b); - hydradx_runtime::EmaOracle::on_finalize(b); hydradx_runtime::MultiTransactionPayment::on_finalize(b); + hydradx_runtime::EmaOracle::on_finalize(b); } pub fn rococo_run_to_block(to: BlockNumber) { @@ -703,16 +709,16 @@ pub fn rococo_run_to_block(to: BlockNumber) { hydradx_runtime::System::on_finalize(b); hydradx_runtime::MultiTransactionPayment::on_finalize(b); - hydradx_runtime::EmaOracle::on_finalize(b); - hydradx_runtime::DCA::on_finalize(b); hydradx_runtime::CircuitBreaker::on_finalize(b); + hydradx_runtime::DCA::on_finalize(b); + hydradx_runtime::EmaOracle::on_finalize(b); hydradx_runtime::System::on_initialize(b + 1); hydradx_runtime::MultiTransactionPayment::on_initialize(b + 1); - hydradx_runtime::EmaOracle::on_initialize(b + 1); - hydradx_runtime::DCA::on_initialize(b + 1); hydradx_runtime::CircuitBreaker::on_initialize(b + 1); hydradx_runtime::DynamicEvmFee::on_initialize(b + 1); + hydradx_runtime::DCA::on_initialize(b + 1); + hydradx_runtime::EmaOracle::on_initialize(b + 1); hydradx_runtime::System::set_block_number(b + 1); } diff --git a/integration-tests/src/referrals.rs b/integration-tests/src/referrals.rs index 53cf8e901..136992a5b 100644 --- a/integration-tests/src/referrals.rs +++ b/integration-tests/src/referrals.rs @@ -339,7 +339,7 @@ fn buying_hdx_in_omnipool_should_transfer_correct_fee() { u128::MAX, )); - expect_hydra_events(vec![pallet_omnipool::Event::BuyExecuted { + expect_hydra_last_events(vec![pallet_omnipool::Event::BuyExecuted { who: BOB.into(), asset_in: DAI, asset_out: HDX, @@ -376,7 +376,7 @@ fn buying_with_hdx_in_omnipool_should_transfer_correct_fee() { u128::MAX, )); - expect_hydra_events(vec![pallet_omnipool::Event::BuyExecuted { + expect_hydra_last_events(vec![pallet_omnipool::Event::BuyExecuted { who: BOB.into(), asset_in: HDX, asset_out: DAI, @@ -434,7 +434,7 @@ fn transfer_using_mutate_should_emit_event() { Preservation::Preserve )); - expect_hydra_events(vec![pallet_balances::Event::Transfer { + expect_hydra_last_events(vec![pallet_balances::Event::Transfer { from: ALICE.into(), to: BOB.into(), amount: 1_000_000_000_000, diff --git a/integration-tests/src/router.rs b/integration-tests/src/router.rs index 70f855faa..34fffcda6 100644 --- a/integration-tests/src/router.rs +++ b/integration-tests/src/router.rs @@ -152,7 +152,7 @@ mod router_different_pools_tests { assert_balance!(BOB.into(), HDX, BOB_INITIAL_NATIVE_BALANCE); assert_balance!(BOB.into(), DOT, amount_out); - expect_hydra_events(vec![pallet_route_executor::Event::Executed { + expect_hydra_last_events(vec![pallet_route_executor::Event::Executed { asset_in: DAI, asset_out: DOT, amount_in: amount_to_sell, @@ -218,7 +218,7 @@ mod router_different_pools_tests { assert_balance!(BOB.into(), stable_asset_1, 0); assert_balance!(BOB.into(), stable_asset_2, amount_out); - expect_hydra_events(vec![pallet_route_executor::Event::Executed { + expect_hydra_last_events(vec![pallet_route_executor::Event::Executed { asset_in: DAI, asset_out: stable_asset_2, amount_in: amount_to_sell, @@ -281,7 +281,7 @@ mod router_different_pools_tests { assert_balance!(BOB.into(), HDX, BOB_INITIAL_NATIVE_BALANCE); assert_balance!(BOB.into(), DOT, amount_to_buy); - expect_hydra_events(vec![pallet_route_executor::Event::Executed { + expect_hydra_last_events(vec![pallet_route_executor::Event::Executed { asset_in: DAI, asset_out: DOT, amount_in, @@ -347,7 +347,7 @@ mod router_different_pools_tests { assert_balance!(BOB.into(), stable_asset_1, 0); assert_balance!(BOB.into(), stable_asset_2, amount_to_buy); - expect_hydra_events(vec![pallet_route_executor::Event::Executed { + expect_hydra_last_events(vec![pallet_route_executor::Event::Executed { asset_in: DAI, asset_out: stable_asset_2, amount_in, @@ -796,7 +796,7 @@ mod omnipool_router_tests { assert_balance!(BOB.into(), HDX, BOB_INITIAL_NATIVE_BALANCE - amount_to_sell); assert_balance!(BOB.into(), DAI, BOB_INITIAL_DAI_BALANCE + amount_out); - expect_hydra_events(vec![pallet_route_executor::Event::Executed { + expect_hydra_last_events(vec![pallet_route_executor::Event::Executed { asset_in: HDX, asset_out: DAI, amount_in: amount_to_sell, @@ -1309,12 +1309,12 @@ mod omnipool_router_tests { //We need to do this because this setup leads to different behaviour of reducable_balance in the post balance check in router hydradx_runtime::System::inc_consumers(&AccountId::from(ALICE)).unwrap(); - let acc = hydradx_runtime::System::account(&AccountId::from(ALICE)); + let acc = hydradx_runtime::System::account(AccountId::from(ALICE)); assert_eq!(acc.consumers, 1); hydradx_runtime::System::dec_providers(&AccountId::from(ALICE)).unwrap(); hydradx_runtime::System::dec_providers(&AccountId::from(ALICE)).unwrap(); hydradx_runtime::System::dec_providers(&AccountId::from(ALICE)).unwrap(); - let acc = hydradx_runtime::System::account(&AccountId::from(ALICE)); + let acc = hydradx_runtime::System::account(AccountId::from(ALICE)); assert_eq!(acc.providers, 1); //Act and assert @@ -1385,12 +1385,12 @@ mod omnipool_router_tests { //We need to do this because this setup leads to different behaviour of reducable_balance in the post balance check in router hydradx_runtime::System::inc_consumers(&AccountId::from(ALICE)).unwrap(); - let acc = hydradx_runtime::System::account(&AccountId::from(ALICE)); + let acc = hydradx_runtime::System::account(AccountId::from(ALICE)); assert_eq!(acc.consumers, 1); hydradx_runtime::System::dec_providers(&AccountId::from(ALICE)).unwrap(); hydradx_runtime::System::dec_providers(&AccountId::from(ALICE)).unwrap(); hydradx_runtime::System::dec_providers(&AccountId::from(ALICE)).unwrap(); - let acc = hydradx_runtime::System::account(&AccountId::from(ALICE)); + let acc = hydradx_runtime::System::account(AccountId::from(ALICE)); assert_eq!(acc.providers, 1); //Act and assert @@ -1447,7 +1447,7 @@ mod omnipool_router_tests { assert_balance!(BOB.into(), LRNA, 1_000 * UNITS - amount_to_sell); assert_balance!(BOB.into(), DAI, BOB_INITIAL_DAI_BALANCE + amount_out); - expect_hydra_events(vec![pallet_route_executor::Event::Executed { + expect_hydra_last_events(vec![pallet_route_executor::Event::Executed { asset_in: LRNA, asset_out: DAI, amount_in: amount_to_sell, @@ -1490,7 +1490,7 @@ mod omnipool_router_tests { assert_balance!(BOB.into(), HDX, BOB_INITIAL_NATIVE_BALANCE - amount_to_sell); assert_balance!(BOB.into(), DAI, BOB_INITIAL_DAI_BALANCE + amount_out); - expect_hydra_events(vec![pallet_route_executor::Event::Executed { + expect_hydra_last_events(vec![pallet_route_executor::Event::Executed { asset_in: HDX, asset_out: DAI, amount_in: amount_to_sell, @@ -1515,7 +1515,7 @@ mod omnipool_router_tests { )); //Assert - expect_hydra_events(vec![pallet_omnipool::Event::SellExecuted { + expect_hydra_last_events(vec![pallet_omnipool::Event::SellExecuted { who: BOB.into(), asset_in: HDX, asset_out: DAI, @@ -1565,7 +1565,7 @@ mod omnipool_router_tests { assert_balance!(BOB.into(), HDX, BOB_INITIAL_NATIVE_BALANCE - amount_in); assert_balance!(BOB.into(), DAI, BOB_INITIAL_DAI_BALANCE + amount_to_buy); - expect_hydra_events(vec![pallet_route_executor::Event::Executed { + expect_hydra_last_events(vec![pallet_route_executor::Event::Executed { asset_in: HDX, asset_out: DAI, amount_in, @@ -1670,7 +1670,7 @@ mod omnipool_router_tests { assert_balance!(BOB.into(), HDX, BOB_INITIAL_NATIVE_BALANCE - amount_in); assert_balance!(BOB.into(), DAI, BOB_INITIAL_DAI_BALANCE + amount_to_buy); - expect_hydra_events(vec![pallet_route_executor::Event::Executed { + expect_hydra_last_events(vec![pallet_route_executor::Event::Executed { asset_in: HDX, asset_out: DAI, amount_in, @@ -1695,7 +1695,7 @@ mod omnipool_router_tests { )); //Assert - expect_hydra_events(vec![pallet_omnipool::Event::BuyExecuted { + expect_hydra_last_events(vec![pallet_omnipool::Event::BuyExecuted { who: BOB.into(), asset_in: HDX, asset_out: DAI, @@ -1782,7 +1782,7 @@ mod lbp_router_tests { assert_balance!(BOB.into(), HDX, BOB_INITIAL_NATIVE_BALANCE - amount_to_sell); assert_balance!(BOB.into(), DAI, BOB_INITIAL_DAI_BALANCE + amount_out); - expect_hydra_events(vec![pallet_route_executor::Event::Executed { + expect_hydra_last_events(vec![pallet_route_executor::Event::Executed { asset_in: HDX, asset_out: DAI, amount_in: amount_to_sell, @@ -1825,7 +1825,7 @@ mod lbp_router_tests { assert_balance!(BOB.into(), DAI, BOB_INITIAL_DAI_BALANCE - amount_to_sell); assert_balance!(BOB.into(), HDX, BOB_INITIAL_NATIVE_BALANCE + amount_out); - expect_hydra_events(vec![pallet_route_executor::Event::Executed { + expect_hydra_last_events(vec![pallet_route_executor::Event::Executed { asset_in: DAI, asset_out: HDX, amount_in: amount_to_sell, @@ -1877,7 +1877,7 @@ mod lbp_router_tests { assert_balance!(BOB.into(), DAI, BOB_INITIAL_DAI_BALANCE); assert_balance!(BOB.into(), DOT, amount_out); - expect_hydra_events(vec![pallet_route_executor::Event::Executed { + expect_hydra_last_events(vec![pallet_route_executor::Event::Executed { asset_in: HDX, asset_out: DOT, amount_in: amount_to_sell, @@ -1929,7 +1929,7 @@ mod lbp_router_tests { assert_balance!(BOB.into(), DAI, BOB_INITIAL_DAI_BALANCE); assert_balance!(BOB.into(), DOT, amount_out); - expect_hydra_events(vec![pallet_route_executor::Event::Executed { + expect_hydra_last_events(vec![pallet_route_executor::Event::Executed { asset_in: HDX, asset_out: DOT, amount_in: amount_to_sell, @@ -1972,7 +1972,7 @@ mod lbp_router_tests { assert_balance!(BOB.into(), HDX, BOB_INITIAL_NATIVE_BALANCE - amount_to_sell); assert_balance!(BOB.into(), DAI, BOB_INITIAL_DAI_BALANCE + received_amount_out); - expect_hydra_events(vec![pallet_route_executor::Event::Executed { + expect_hydra_last_events(vec![pallet_route_executor::Event::Executed { asset_in: HDX, asset_out: DAI, amount_in: amount_to_sell, @@ -1998,7 +1998,7 @@ mod lbp_router_tests { )); //Assert - expect_hydra_events(vec![pallet_lbp::Event::SellExecuted { + expect_hydra_last_events(vec![pallet_lbp::Event::SellExecuted { who: BOB.into(), asset_in: HDX, asset_out: DAI, @@ -2047,7 +2047,7 @@ mod lbp_router_tests { assert_balance!(BOB.into(), HDX, BOB_INITIAL_NATIVE_BALANCE - amount_in); assert_balance!(BOB.into(), DAI, BOB_INITIAL_DAI_BALANCE + amount_to_buy); - expect_hydra_events(vec![pallet_route_executor::Event::Executed { + expect_hydra_last_events(vec![pallet_route_executor::Event::Executed { asset_in: HDX, asset_out: DAI, amount_in, @@ -2090,7 +2090,7 @@ mod lbp_router_tests { assert_balance!(BOB.into(), HDX, BOB_INITIAL_NATIVE_BALANCE + amount_to_buy); assert_balance!(BOB.into(), DAI, BOB_INITIAL_DAI_BALANCE - amount_in); - expect_hydra_events(vec![pallet_route_executor::Event::Executed { + expect_hydra_last_events(vec![pallet_route_executor::Event::Executed { asset_in: DAI, asset_out: HDX, amount_in, @@ -2142,7 +2142,7 @@ mod lbp_router_tests { assert_balance!(BOB.into(), DAI, BOB_INITIAL_DAI_BALANCE); assert_balance!(BOB.into(), DOT, amount_to_buy); - expect_hydra_events(vec![pallet_route_executor::Event::Executed { + expect_hydra_last_events(vec![pallet_route_executor::Event::Executed { asset_in: HDX, asset_out: DOT, amount_in, @@ -2194,7 +2194,7 @@ mod lbp_router_tests { assert_balance!(BOB.into(), DAI, BOB_INITIAL_DAI_BALANCE); assert_balance!(BOB.into(), DOT, amount_to_buy); - expect_hydra_events(vec![pallet_route_executor::Event::Executed { + expect_hydra_last_events(vec![pallet_route_executor::Event::Executed { asset_in: HDX, asset_out: DOT, amount_in, @@ -2237,7 +2237,7 @@ mod lbp_router_tests { assert_balance!(BOB.into(), HDX, BOB_INITIAL_NATIVE_BALANCE - spent_amount_in); assert_balance!(BOB.into(), DAI, BOB_INITIAL_DAI_BALANCE + amount_to_buy); - expect_hydra_events(vec![pallet_route_executor::Event::Executed { + expect_hydra_last_events(vec![pallet_route_executor::Event::Executed { asset_in: HDX, asset_out: DAI, amount_in: spent_amount_in, @@ -2339,7 +2339,7 @@ mod xyk_router_tests { assert_balance!(BOB.into(), HDX, BOB_INITIAL_NATIVE_BALANCE - amount_to_sell); assert_balance!(BOB.into(), DOT, amount_out); - expect_hydra_events(vec![pallet_route_executor::Event::Executed { + expect_hydra_last_events(vec![pallet_route_executor::Event::Executed { asset_in: HDX, asset_out: DOT, amount_in: amount_to_sell, @@ -2402,7 +2402,7 @@ mod xyk_router_tests { assert_balance!(BOB.into(), DAI, BOB_INITIAL_DAI_BALANCE); assert_balance!(BOB.into(), DOT, amount_out); - expect_hydra_events(vec![pallet_route_executor::Event::Executed { + expect_hydra_last_events(vec![pallet_route_executor::Event::Executed { asset_in: HDX, asset_out: DOT, amount_in: amount_to_sell, @@ -2567,7 +2567,7 @@ mod xyk_router_tests { assert_balance!(BOB.into(), HDX, BOB_INITIAL_NATIVE_BALANCE - amount_in); assert_balance!(BOB.into(), DOT, amount_to_buy); - expect_hydra_events(vec![pallet_route_executor::Event::Executed { + expect_hydra_last_events(vec![pallet_route_executor::Event::Executed { asset_in: HDX, asset_out: DOT, amount_in, @@ -2622,7 +2622,7 @@ mod xyk_router_tests { assert_balance!(BOB.into(), DOT, 0); assert_balance!(BOB.into(), DAI, BOB_INITIAL_DAI_BALANCE + amount_to_buy); - expect_hydra_events(vec![pallet_route_executor::Event::Executed { + expect_hydra_last_events(vec![pallet_route_executor::Event::Executed { asset_in: HDX, asset_out: DAI, amount_in, @@ -2685,7 +2685,7 @@ mod xyk_router_tests { assert_balance!(BOB.into(), LRNA, BOB_INITIAL_LRNA_BALANCE); assert_balance!(BOB.into(), DAI, BOB_INITIAL_DAI_BALANCE + amount_to_buy); - expect_hydra_events(vec![pallet_route_executor::Event::Executed { + expect_hydra_last_events(vec![pallet_route_executor::Event::Executed { asset_in: HDX, asset_out: DAI, amount_in, @@ -4278,7 +4278,7 @@ mod with_on_chain_and_default_route { assert_balance!(BOB.into(), HDX, BOB_INITIAL_NATIVE_BALANCE - amount_to_sell); assert_balance!(BOB.into(), DAI, BOB_INITIAL_DAI_BALANCE + amount_out); - expect_hydra_events(vec![pallet_route_executor::Event::Executed { + expect_hydra_last_events(vec![pallet_route_executor::Event::Executed { asset_in: HDX, asset_out: DAI, amount_in: amount_to_sell, @@ -4315,7 +4315,7 @@ mod with_on_chain_and_default_route { assert_balance!(BOB.into(), HDX, BOB_INITIAL_NATIVE_BALANCE - amount_in); assert_balance!(BOB.into(), DAI, BOB_INITIAL_DAI_BALANCE + amount_to_buy); - expect_hydra_events(vec![pallet_route_executor::Event::Executed { + expect_hydra_last_events(vec![pallet_route_executor::Event::Executed { asset_in: HDX, asset_out: DAI, amount_in, diff --git a/runtime/hydradx/src/lib.rs b/runtime/hydradx/src/lib.rs index 4bdd43c5d..7f86a8657 100644 --- a/runtime/hydradx/src/lib.rs +++ b/runtime/hydradx/src/lib.rs @@ -143,6 +143,8 @@ construct_runtime!( //NOTE: 5 - is used by Scheduler which must be after cumulus_pallet_parachain_system Balances: pallet_balances = 7, TransactionPayment: pallet_transaction_payment exclude_parts { Config } = 9, + // due to multi payment pallet prices, this needs to be initialized at the very beginning + MultiTransactionPayment: pallet_transaction_multi_payment = 203, Treasury: pallet_treasury = 11, Utility: pallet_utility = 13, Preimage: pallet_preimage = 15, @@ -196,13 +198,12 @@ construct_runtime!( XYKWarehouseLM: warehouse_liquidity_mining:: = 96, // Parachain + // The order of next 3 pallest is important + RelayChainInfo: pallet_relaychain_info = 201, + Scheduler: pallet_scheduler = 5, ParachainSystem: cumulus_pallet_parachain_system exclude_parts { Config } = 103, ParachainInfo: staging_parachain_info = 105, - //NOTE: Scheduler must be after ParachainSystem otherwise RelayChainBlockNumberProvider - //will return 0 as current block number when used with Scheduler(democracy). - Scheduler: pallet_scheduler = 5, - //NOTE: DCA pallet should be declared after ParachainSystem pallet, //otherwise there is no data about relay chain parent hash DCA: pallet_dca = 66, @@ -226,9 +227,7 @@ construct_runtime!( AuraExt: cumulus_pallet_aura_ext = 169, // Warehouse - let's allocate indices 100+ for warehouse pallets - RelayChainInfo: pallet_relaychain_info = 201, EmaOracle: pallet_ema_oracle = 202, - MultiTransactionPayment: pallet_transaction_multi_payment = 203, } ); diff --git a/runtime/hydradx/src/xcm.rs b/runtime/hydradx/src/xcm.rs index 5e87d6c50..5e1b71908 100644 --- a/runtime/hydradx/src/xcm.rs +++ b/runtime/hydradx/src/xcm.rs @@ -76,8 +76,9 @@ parameter_types! { pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent; } +use sp_std::sync::Arc; parameter_types! { - pub SelfLocation: Location = Location::here(); + pub SelfLocation: Location = Location::new(1, cumulus_primitives_core::Junctions::X1(Arc::new([cumulus_primitives_core::Junction::Parachain(ParachainInfo::get().into());1]))); } parameter_types! { @@ -335,7 +336,11 @@ impl Convert> for CurrencyIdConvert { { Some(CORE_ASSET_ID) } - Junctions::X1(a) if parents == 0 && a.contains(&GeneralIndex(CORE_ASSET_ID.into())) => Some(CORE_ASSET_ID), + Junctions::X1(a) + if parents == 0 && a.contains(&GeneralIndex(CORE_ASSET_ID.into())) => + { + Some(CORE_ASSET_ID) + }, _ => { let location: Option = location.try_into().ok(); if let Some(location) = location { From 7fd6cd426cce264281fbd6657ec45b051487fd70 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Thu, 16 May 2024 18:31:12 +0200 Subject: [PATCH 043/105] revert changek in pallet order --- integration-tests/src/polkadot_test_net.rs | 14 +++++++------- runtime/hydradx/src/lib.rs | 11 ++++++----- 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/integration-tests/src/polkadot_test_net.rs b/integration-tests/src/polkadot_test_net.rs index c792f56fe..2c6a8dd2e 100644 --- a/integration-tests/src/polkadot_test_net.rs +++ b/integration-tests/src/polkadot_test_net.rs @@ -671,13 +671,13 @@ pub fn hydradx_run_to_next_block() { let b = hydradx_runtime::System::block_number(); hydradx_runtime::System::on_finalize(b); - hydradx_runtime::MultiTransactionPayment::on_finalize(b); hydradx_runtime::EmaOracle::on_finalize(b); + hydradx_runtime::MultiTransactionPayment::on_finalize(b); hydradx_runtime::System::on_initialize(b + 1); + hydradx_runtime::EmaOracle::on_initialize(b + 1); hydradx_runtime::MultiTransactionPayment::on_initialize(b + 1); hydradx_runtime::DynamicEvmFee::on_initialize(b + 1); - hydradx_runtime::EmaOracle::on_initialize(b + 1); hydradx_runtime::System::set_block_number(b + 1); } @@ -697,8 +697,8 @@ pub fn hydradx_finalize_block() { let b = hydradx_runtime::System::block_number(); hydradx_runtime::System::on_finalize(b); - hydradx_runtime::MultiTransactionPayment::on_finalize(b); hydradx_runtime::EmaOracle::on_finalize(b); + hydradx_runtime::MultiTransactionPayment::on_finalize(b); } pub fn rococo_run_to_block(to: BlockNumber) { @@ -709,16 +709,16 @@ pub fn rococo_run_to_block(to: BlockNumber) { hydradx_runtime::System::on_finalize(b); hydradx_runtime::MultiTransactionPayment::on_finalize(b); - hydradx_runtime::CircuitBreaker::on_finalize(b); - hydradx_runtime::DCA::on_finalize(b); hydradx_runtime::EmaOracle::on_finalize(b); + hydradx_runtime::DCA::on_finalize(b); + hydradx_runtime::CircuitBreaker::on_finalize(b); hydradx_runtime::System::on_initialize(b + 1); hydradx_runtime::MultiTransactionPayment::on_initialize(b + 1); + hydradx_runtime::EmaOracle::on_initialize(b + 1); + hydradx_runtime::DCA::on_initialize(b + 1); hydradx_runtime::CircuitBreaker::on_initialize(b + 1); hydradx_runtime::DynamicEvmFee::on_initialize(b + 1); - hydradx_runtime::DCA::on_initialize(b + 1); - hydradx_runtime::EmaOracle::on_initialize(b + 1); hydradx_runtime::System::set_block_number(b + 1); } diff --git a/runtime/hydradx/src/lib.rs b/runtime/hydradx/src/lib.rs index 7f86a8657..4bdd43c5d 100644 --- a/runtime/hydradx/src/lib.rs +++ b/runtime/hydradx/src/lib.rs @@ -143,8 +143,6 @@ construct_runtime!( //NOTE: 5 - is used by Scheduler which must be after cumulus_pallet_parachain_system Balances: pallet_balances = 7, TransactionPayment: pallet_transaction_payment exclude_parts { Config } = 9, - // due to multi payment pallet prices, this needs to be initialized at the very beginning - MultiTransactionPayment: pallet_transaction_multi_payment = 203, Treasury: pallet_treasury = 11, Utility: pallet_utility = 13, Preimage: pallet_preimage = 15, @@ -198,12 +196,13 @@ construct_runtime!( XYKWarehouseLM: warehouse_liquidity_mining:: = 96, // Parachain - // The order of next 3 pallest is important - RelayChainInfo: pallet_relaychain_info = 201, - Scheduler: pallet_scheduler = 5, ParachainSystem: cumulus_pallet_parachain_system exclude_parts { Config } = 103, ParachainInfo: staging_parachain_info = 105, + //NOTE: Scheduler must be after ParachainSystem otherwise RelayChainBlockNumberProvider + //will return 0 as current block number when used with Scheduler(democracy). + Scheduler: pallet_scheduler = 5, + //NOTE: DCA pallet should be declared after ParachainSystem pallet, //otherwise there is no data about relay chain parent hash DCA: pallet_dca = 66, @@ -227,7 +226,9 @@ construct_runtime!( AuraExt: cumulus_pallet_aura_ext = 169, // Warehouse - let's allocate indices 100+ for warehouse pallets + RelayChainInfo: pallet_relaychain_info = 201, EmaOracle: pallet_ema_oracle = 202, + MultiTransactionPayment: pallet_transaction_multi_payment = 203, } ); From 7859b61b6b21d50af4104ae9b4f184d44ace02b4 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Fri, 17 May 2024 14:17:54 +0200 Subject: [PATCH 044/105] add storage migrations --- Cargo.lock | 19 ------------------- Cargo.toml | 2 -- integration-tests/Cargo.toml | 1 - runtime/hydradx/Cargo.toml | 2 -- runtime/hydradx/src/lib.rs | 19 +++++++++++++++---- runtime/hydradx/src/xcm.rs | 12 +----------- 6 files changed, 16 insertions(+), 39 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 890d3c5f2..226131e55 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2275,23 +2275,6 @@ dependencies = [ "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] -[[package]] -name = "cumulus-pallet-dmp-queue" -version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" -dependencies = [ - "cumulus-primitives-core", - "frame-support", - "frame-system", - "log", - "parity-scale-codec", - "scale-info", - "sp-io", - "sp-runtime", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", - "staging-xcm", -] - [[package]] name = "cumulus-pallet-parachain-system" version = "0.7.0" @@ -4931,7 +4914,6 @@ name = "hydradx-runtime" version = "234.0.0" dependencies = [ "cumulus-pallet-aura-ext", - "cumulus-pallet-dmp-queue", "cumulus-pallet-parachain-system", "cumulus-pallet-xcm", "cumulus-pallet-xcmp-queue", @@ -11933,7 +11915,6 @@ name = "runtime-integration-tests" version = "1.21.4" dependencies = [ "cumulus-pallet-aura-ext", - "cumulus-pallet-dmp-queue", "cumulus-pallet-parachain-system", "cumulus-pallet-xcm", "cumulus-pallet-xcmp-queue", diff --git a/Cargo.toml b/Cargo.toml index 0671b7e93..515c0ec5f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -242,7 +242,6 @@ cumulus-client-consensus-proposer = { git = "https://github.com/paritytech/polka cumulus-client-network = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } cumulus-client-service = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } cumulus-pallet-aura-ext = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } -cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } cumulus-pallet-xcm = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } @@ -441,7 +440,6 @@ cumulus-client-consensus-proposer = { git = "https://github.com/paritytech/polka cumulus-client-network = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } cumulus-client-service = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } cumulus-pallet-aura-ext = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } -cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } cumulus-pallet-xcm = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } diff --git a/integration-tests/Cargo.toml b/integration-tests/Cargo.toml index dc05f8a97..cdd7d904c 100644 --- a/integration-tests/Cargo.toml +++ b/integration-tests/Cargo.toml @@ -75,7 +75,6 @@ cumulus-pallet-aura-ext = { workspace = true } cumulus-pallet-parachain-system = { workspace = true } cumulus-pallet-xcm = { workspace = true } cumulus-pallet-xcmp-queue = { workspace = true } -cumulus-pallet-dmp-queue = { workspace = true } cumulus-primitives-core = { workspace = true } cumulus-primitives-utility = { workspace = true } cumulus-primitives-parachain-inherent = { workspace = true } diff --git a/runtime/hydradx/Cargo.toml b/runtime/hydradx/Cargo.toml index f2479c58d..5c1cd7b49 100644 --- a/runtime/hydradx/Cargo.toml +++ b/runtime/hydradx/Cargo.toml @@ -101,7 +101,6 @@ cumulus-pallet-aura-ext = { workspace = true } cumulus-pallet-parachain-system = { workspace = true } cumulus-pallet-xcm = { workspace = true } cumulus-pallet-xcmp-queue = { workspace = true } -cumulus-pallet-dmp-queue = { workspace = true } cumulus-primitives-core = { workspace = true } cumulus-primitives-utility = { workspace = true } cumulus-primitives-parachain-inherent = { workspace = true } @@ -353,7 +352,6 @@ try-runtime= [ "pallet-preimage/try-runtime", "pallet-identity/try-runtime", "pallet-xcm/try-runtime", - "cumulus-pallet-dmp-queue/try-runtime", "pallet-asset-registry/try-runtime", "pallet-transaction-multi-payment/try-runtime", "pallet-relaychain-info/try-runtime", diff --git a/runtime/hydradx/src/lib.rs b/runtime/hydradx/src/lib.rs index 4bdd43c5d..4e1954cc4 100644 --- a/runtime/hydradx/src/lib.rs +++ b/runtime/hydradx/src/lib.rs @@ -65,7 +65,7 @@ use sp_version::NativeVersion; use sp_version::RuntimeVersion; // A few exports that help ease life for downstream crates. use frame_support::pallet_prelude::Hooks; -use frame_support::{construct_runtime, weights::Weight}; +use frame_support::{construct_runtime, parameter_types, weights::Weight}; pub use hex_literal::hex; /// Import HydraDX pallets pub use pallet_claims; @@ -210,7 +210,7 @@ construct_runtime!( PolkadotXcm: pallet_xcm = 107, CumulusXcm: cumulus_pallet_xcm = 109, XcmpQueue: cumulus_pallet_xcmp_queue exclude_parts { Call } = 111, - DmpQueue: cumulus_pallet_dmp_queue = 113, + // 113 was used by DmpQueue which is now replaced by MessageQueue MessageQueue: pallet_message_queue = 114, // ORML XCM @@ -265,9 +265,20 @@ pub type Executive = frame_executive::Executive< frame_system::ChainContext, Runtime, AllPalletsWithSystem, - (migrations::OnRuntimeUpgradeMigration,), + ( + frame_support::migrations::RemovePallet::DbWeight>, + frame_support::migrations::RemovePallet::DbWeight>, + cumulus_pallet_xcmp_queue::migration::v4::MigrationToV4, + pallet_identity::migration::versioned::V0ToV1, // We have currently 379 identities in basllisk, so limit of 450 should be enough + ), >; +// TODO: Remove after the upgrade +parameter_types! { + pub const DmpQueuePalletName: &'static str = "DmpQueue"; + pub const XcmRateLimiterPalletName: &'static str = "XcmRateLimiter"; +} + impl_runtime_apis! { impl sp_api::Core for Runtime { fn version() -> RuntimeVersion { @@ -719,7 +730,7 @@ impl_runtime_apis! { config: frame_benchmarking::BenchmarkConfig ) -> Result, sp_runtime::RuntimeString> { use frame_benchmarking::{BenchmarkError, Benchmarking, BenchmarkBatch}; - use frame_support::{parameter_types, traits::TrackedStorageKey}; + use frame_support::traits::TrackedStorageKey; use orml_benchmarking::add_benchmark as orml_add_benchmark; use pallet_xcm::benchmarking::Pallet as PalletXcmExtrinsiscsBenchmark; use frame_system_benchmarking::Pallet as SystemBench; diff --git a/runtime/hydradx/src/xcm.rs b/runtime/hydradx/src/xcm.rs index 5e1b71908..fab655404 100644 --- a/runtime/hydradx/src/xcm.rs +++ b/runtime/hydradx/src/xcm.rs @@ -191,12 +191,6 @@ impl cumulus_pallet_xcmp_queue::Config for Runtime { type MaxInboundSuspended = MaxInboundSuspended; } -impl cumulus_pallet_dmp_queue::Config for Runtime { - type RuntimeEvent = RuntimeEvent; - type DmpSink = frame_support::traits::EnqueueWithOrigin; - type WeightInfo = (); -} - const ASSET_HUB_PARA_ID: u32 = 1000; parameter_type_with_key! { @@ -336,11 +330,7 @@ impl Convert> for CurrencyIdConvert { { Some(CORE_ASSET_ID) } - Junctions::X1(a) - if parents == 0 && a.contains(&GeneralIndex(CORE_ASSET_ID.into())) => - { - Some(CORE_ASSET_ID) - }, + Junctions::X1(a) if parents == 0 && a.contains(&GeneralIndex(CORE_ASSET_ID.into())) => Some(CORE_ASSET_ID), _ => { let location: Option = location.try_into().ok(); if let Some(location) = location { From a40c71470d255f34690e7a669513fea0666178ef Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Fri, 17 May 2024 14:36:20 +0200 Subject: [PATCH 045/105] fix integration test --- integration-tests/src/cross_chain_transfer.rs | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/integration-tests/src/cross_chain_transfer.rs b/integration-tests/src/cross_chain_transfer.rs index a39836882..67922a9f9 100644 --- a/integration-tests/src/cross_chain_transfer.rs +++ b/integration-tests/src/cross_chain_transfer.rs @@ -577,8 +577,24 @@ fn rococo_xcm_execute_extrinsic_should_be_allowed() { TestNet::reset(); Hydra::execute_with(|| { + let hdx_loc = Location::new( + 1, + cumulus_primitives_core::Junctions::X2(Arc::new( + vec![ + cumulus_primitives_core::Junction::Parachain(HYDRA_PARA_ID), + cumulus_primitives_core::Junction::GeneralIndex(0), + ] + .try_into() + .unwrap(), + )), + ); + let asset_to_withdraw: Asset = Asset { + id: cumulus_primitives_core::AssetId(hdx_loc.clone()), + fun: Fungible(410000000000u128), + }; + let message = Xcm(vec![ - WithdrawAsset((Here, 410000000000u128).into()), + WithdrawAsset(asset_to_withdraw.into()), BuyExecution { fees: (Here, 400000000000u128).into(), weight_limit: Unlimited, From ed454dcbcb6f97795d43c0bc1f7a8a6c867f31cb Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Fri, 17 May 2024 15:24:53 +0200 Subject: [PATCH 046/105] pallet reorder --- runtime/hydradx/src/lib.rs | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/runtime/hydradx/src/lib.rs b/runtime/hydradx/src/lib.rs index 4e1954cc4..d78b88509 100644 --- a/runtime/hydradx/src/lib.rs +++ b/runtime/hydradx/src/lib.rs @@ -143,6 +143,8 @@ construct_runtime!( //NOTE: 5 - is used by Scheduler which must be after cumulus_pallet_parachain_system Balances: pallet_balances = 7, TransactionPayment: pallet_transaction_payment exclude_parts { Config } = 9, + // due to multi payment pallet prices, this needs to be initialized at the very beginning + MultiTransactionPayment: pallet_transaction_multi_payment = 203, Treasury: pallet_treasury = 11, Utility: pallet_utility = 13, Preimage: pallet_preimage = 15, @@ -195,17 +197,17 @@ construct_runtime!( XYKLiquidityMining: pallet_xyk_liquidity_mining = 95, XYKWarehouseLM: warehouse_liquidity_mining:: = 96, - // Parachain - ParachainSystem: cumulus_pallet_parachain_system exclude_parts { Config } = 103, - ParachainInfo: staging_parachain_info = 105, - - //NOTE: Scheduler must be after ParachainSystem otherwise RelayChainBlockNumberProvider + RelayChainInfo: pallet_relaychain_info = 201, + //NOTE: DCA pallet should be declared before ParachainSystem pallet, + //otherwise there is no data about relay chain parent hash + DCA: pallet_dca = 66, + //NOTE: Scheduler must be before ParachainSystem otherwise RelayChainBlockNumberProvider //will return 0 as current block number when used with Scheduler(democracy). Scheduler: pallet_scheduler = 5, - //NOTE: DCA pallet should be declared after ParachainSystem pallet, - //otherwise there is no data about relay chain parent hash - DCA: pallet_dca = 66, + // Parachain + ParachainSystem: cumulus_pallet_parachain_system exclude_parts { Config } = 103, + ParachainInfo: staging_parachain_info = 105, PolkadotXcm: pallet_xcm = 107, CumulusXcm: cumulus_pallet_xcm = 109, @@ -226,9 +228,7 @@ construct_runtime!( AuraExt: cumulus_pallet_aura_ext = 169, // Warehouse - let's allocate indices 100+ for warehouse pallets - RelayChainInfo: pallet_relaychain_info = 201, EmaOracle: pallet_ema_oracle = 202, - MultiTransactionPayment: pallet_transaction_multi_payment = 203, } ); From 9801c961864d78337af6e42b63b89ef8597a09cd Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Tue, 21 May 2024 12:49:08 +0200 Subject: [PATCH 047/105] change order of initialize/finalize hooks in integration tests --- integration-tests/src/polkadot_test_net.rs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/integration-tests/src/polkadot_test_net.rs b/integration-tests/src/polkadot_test_net.rs index 2c6a8dd2e..c792f56fe 100644 --- a/integration-tests/src/polkadot_test_net.rs +++ b/integration-tests/src/polkadot_test_net.rs @@ -671,13 +671,13 @@ pub fn hydradx_run_to_next_block() { let b = hydradx_runtime::System::block_number(); hydradx_runtime::System::on_finalize(b); - hydradx_runtime::EmaOracle::on_finalize(b); hydradx_runtime::MultiTransactionPayment::on_finalize(b); + hydradx_runtime::EmaOracle::on_finalize(b); hydradx_runtime::System::on_initialize(b + 1); - hydradx_runtime::EmaOracle::on_initialize(b + 1); hydradx_runtime::MultiTransactionPayment::on_initialize(b + 1); hydradx_runtime::DynamicEvmFee::on_initialize(b + 1); + hydradx_runtime::EmaOracle::on_initialize(b + 1); hydradx_runtime::System::set_block_number(b + 1); } @@ -697,8 +697,8 @@ pub fn hydradx_finalize_block() { let b = hydradx_runtime::System::block_number(); hydradx_runtime::System::on_finalize(b); - hydradx_runtime::EmaOracle::on_finalize(b); hydradx_runtime::MultiTransactionPayment::on_finalize(b); + hydradx_runtime::EmaOracle::on_finalize(b); } pub fn rococo_run_to_block(to: BlockNumber) { @@ -709,16 +709,16 @@ pub fn rococo_run_to_block(to: BlockNumber) { hydradx_runtime::System::on_finalize(b); hydradx_runtime::MultiTransactionPayment::on_finalize(b); - hydradx_runtime::EmaOracle::on_finalize(b); - hydradx_runtime::DCA::on_finalize(b); hydradx_runtime::CircuitBreaker::on_finalize(b); + hydradx_runtime::DCA::on_finalize(b); + hydradx_runtime::EmaOracle::on_finalize(b); hydradx_runtime::System::on_initialize(b + 1); hydradx_runtime::MultiTransactionPayment::on_initialize(b + 1); - hydradx_runtime::EmaOracle::on_initialize(b + 1); - hydradx_runtime::DCA::on_initialize(b + 1); hydradx_runtime::CircuitBreaker::on_initialize(b + 1); hydradx_runtime::DynamicEvmFee::on_initialize(b + 1); + hydradx_runtime::DCA::on_initialize(b + 1); + hydradx_runtime::EmaOracle::on_initialize(b + 1); hydradx_runtime::System::set_block_number(b + 1); } From f87a043c7ad6e9b7907252f7e1bacf02d1a182b0 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Tue, 21 May 2024 12:49:36 +0200 Subject: [PATCH 048/105] use different evm account in integration tests --- integration-tests/src/utils/accounts.rs | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/integration-tests/src/utils/accounts.rs b/integration-tests/src/utils/accounts.rs index f7f5ea9ba..c9d8e0d6c 100644 --- a/integration-tests/src/utils/accounts.rs +++ b/integration-tests/src/utils/accounts.rs @@ -5,21 +5,22 @@ use orml_traits::MultiCurrency; use primitives::{AccountId, AssetId, Balance}; use sp_core::H160; -// Private key: 42d8d953e4f9246093a33e9ca6daa078501012f784adfe4bbed57918ff13be14 -// Address: 0x222222ff7Be76052e023Ec1a306fCca8F9659D80 -// Account Id: 45544800222222ff7be76052e023ec1a306fcca8f9659d800000000000000000 -// SS58(63): 7KATdGakyhfBGnAt3XVgXTL7cYjzRXeSZHezKNtENcbwWibb +// subkey inspect --network hydradx //Alice +// Private key: e5be9a5092b81bca64be81d212e7f2f9eba183bb7a90954f7b76361f6edb5c0a +// EVM Address: d43593c715fdd31c61141abd04a99fd6822c8558 +// Account Id: d43593c715fdd31c61141abd04a99fd6822c8558854ccde39a5684e7a56da27d +// SS58(63): 7NPoMQbiA6trJKkjB35uk96MeJD4PGWkLQLH7k7hXEkZpiba pub(crate) fn alith_evm_address() -> H160 { - hex!["222222ff7Be76052e023Ec1a306fCca8F9659D80"].into() + hex!["d43593c715fdd31c61141abd04a99fd6822c8558"].into() } pub(crate) fn alith_evm_account() -> AccountId { - hex!["45544800222222ff7be76052e023ec1a306fcca8f9659d800000000000000000"].into() + hex!["d43593c715fdd31c61141abd04a99fd6822c8558854ccde39a5684e7a56da27d"].into() } pub(crate) fn alith_truncated_account() -> AccountId { hydradx_runtime::EVMAccounts::truncated_account_id(alith_evm_address()) } pub(crate) fn alith_secret_key() -> [u8; 32] { - hex!("42d8d953e4f9246093a33e9ca6daa078501012f784adfe4bbed57918ff13be14") + hex!("e5be9a5092b81bca64be81d212e7f2f9eba183bb7a90954f7b76361f6edb5c0a") } pub(crate) struct MockAccount(AccountId); From 99bf287fb0dd78a41e1b7a7a483254a301cc2739 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Tue, 21 May 2024 14:18:46 +0200 Subject: [PATCH 049/105] remove duplicate function --- integration-tests/src/evm_permit.rs | 6 +++--- integration-tests/src/utils/accounts.rs | 3 --- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/integration-tests/src/evm_permit.rs b/integration-tests/src/evm_permit.rs index 06e87d45f..dc7bf2a24 100644 --- a/integration-tests/src/evm_permit.rs +++ b/integration-tests/src/evm_permit.rs @@ -34,7 +34,7 @@ fn compare_fee_in_hdx_between_evm_and_native_omnipool_calls_when_permit_is_dispa let user_evm_address = alith_evm_address(); let user_secret_key = alith_secret_key(); - let user_acc = MockAccount::new(alith_evm_account()); + let user_acc = MockAccount::new(alith_truncated_account()); let treasury_acc = MockAccount::new(Treasury::account_id()); Hydra::execute_with(|| { @@ -148,7 +148,7 @@ fn dispatch_permit_fee_should_be_paid_in_hdx_when_no_currency_is_set() { let user_evm_address = alith_evm_address(); let user_secret_key = alith_secret_key(); - let user_acc = MockAccount::new(alith_evm_account()); + let user_acc = MockAccount::new(alith_truncated_account()); let treasury_acc = MockAccount::new(Treasury::account_id()); Hydra::execute_with(|| { @@ -239,7 +239,7 @@ fn fee_should_be_paid_in_hdx_when_permit_is_dispatched_and_address_is_bounded() TestNet::reset(); let user_evm_address = alith_evm_address(); let user_secret_key = alith_secret_key(); - let user_acc = MockAccount::new(alith_evm_account()); + let user_acc = MockAccount::new(alith_truncated_account()); let treasury_acc = MockAccount::new(Treasury::account_id()); Hydra::execute_with(|| { diff --git a/integration-tests/src/utils/accounts.rs b/integration-tests/src/utils/accounts.rs index c9d8e0d6c..2dbe34405 100644 --- a/integration-tests/src/utils/accounts.rs +++ b/integration-tests/src/utils/accounts.rs @@ -13,9 +13,6 @@ use sp_core::H160; pub(crate) fn alith_evm_address() -> H160 { hex!["d43593c715fdd31c61141abd04a99fd6822c8558"].into() } -pub(crate) fn alith_evm_account() -> AccountId { - hex!["d43593c715fdd31c61141abd04a99fd6822c8558854ccde39a5684e7a56da27d"].into() -} pub(crate) fn alith_truncated_account() -> AccountId { hydradx_runtime::EVMAccounts::truncated_account_id(alith_evm_address()) } From ec78c59adddd52d7796b748a8f52fa3da172bd8e Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Wed, 22 May 2024 13:28:29 +0200 Subject: [PATCH 050/105] add truncated account id to comment --- integration-tests/src/utils/accounts.rs | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/integration-tests/src/utils/accounts.rs b/integration-tests/src/utils/accounts.rs index 2dbe34405..cbf4aa251 100644 --- a/integration-tests/src/utils/accounts.rs +++ b/integration-tests/src/utils/accounts.rs @@ -6,10 +6,11 @@ use primitives::{AccountId, AssetId, Balance}; use sp_core::H160; // subkey inspect --network hydradx //Alice -// Private key: e5be9a5092b81bca64be81d212e7f2f9eba183bb7a90954f7b76361f6edb5c0a -// EVM Address: d43593c715fdd31c61141abd04a99fd6822c8558 -// Account Id: d43593c715fdd31c61141abd04a99fd6822c8558854ccde39a5684e7a56da27d -// SS58(63): 7NPoMQbiA6trJKkjB35uk96MeJD4PGWkLQLH7k7hXEkZpiba +// Private key: e5be9a5092b81bca64be81d212e7f2f9eba183bb7a90954f7b76361f6edb5c0a +// EVM Address: d43593c715fdd31c61141abd04a99fd6822c8558 +// Account Id: d43593c715fdd31c61141abd04a99fd6822c8558854ccde39a5684e7a56da27d +// Truncated Account Id: 45544800d43593c715fdd31c61141abd04a99fd6822c85580000000000000000 +// SS58(63): 7NPoMQbiA6trJKkjB35uk96MeJD4PGWkLQLH7k7hXEkZpiba pub(crate) fn alith_evm_address() -> H160 { hex!["d43593c715fdd31c61141abd04a99fd6822c8558"].into() } @@ -34,5 +35,3 @@ impl MockAccount { Currencies::free_balance(asset, &self.0) } } - -//pub(crate) static TreasuryAccount: MockAccount = MockAccount::new(Treasury::account_id()); From f9e76b18d1aedaff65f96921ab223dbfc164f7cf Mon Sep 17 00:00:00 2001 From: Martin Date: Thu, 23 May 2024 10:04:25 +0200 Subject: [PATCH 051/105] use previous account --- integration-tests/src/cross_chain_transfer.rs | 10 ++-------- integration-tests/src/utils/accounts.rs | 17 +++++++++-------- 2 files changed, 11 insertions(+), 16 deletions(-) diff --git a/integration-tests/src/cross_chain_transfer.rs b/integration-tests/src/cross_chain_transfer.rs index f0fef6fae..b39a8f5e0 100644 --- a/integration-tests/src/cross_chain_transfer.rs +++ b/integration-tests/src/cross_chain_transfer.rs @@ -702,10 +702,7 @@ fn transfer_dot_reserve_from_asset_hub_to_hydra_should_not_work() { )); let dot: Asset = Asset { - id: cumulus_primitives_core::AssetId(Location::new( - 1, - cumulus_primitives_core::Junctions::Here - )), + id: cumulus_primitives_core::AssetId(Location::new(1, cumulus_primitives_core::Junctions::Here)), fun: Fungible(100 * UNITS), }; @@ -782,10 +779,7 @@ fn transfer_dot_reserve_from_non_asset_hub_chain_to_hydra_should_not_work() { )); let dot: Asset = Asset { - id: cumulus_primitives_core::AssetId(Location::new( - 1, - cumulus_primitives_core::Junctions::Here - )), + id: cumulus_primitives_core::AssetId(Location::new(1, cumulus_primitives_core::Junctions::Here)), fun: Fungible(100 * UNITS), }; diff --git a/integration-tests/src/utils/accounts.rs b/integration-tests/src/utils/accounts.rs index cbf4aa251..5f252f92d 100644 --- a/integration-tests/src/utils/accounts.rs +++ b/integration-tests/src/utils/accounts.rs @@ -5,20 +5,21 @@ use orml_traits::MultiCurrency; use primitives::{AccountId, AssetId, Balance}; use sp_core::H160; -// subkey inspect --network hydradx //Alice -// Private key: e5be9a5092b81bca64be81d212e7f2f9eba183bb7a90954f7b76361f6edb5c0a -// EVM Address: d43593c715fdd31c61141abd04a99fd6822c8558 -// Account Id: d43593c715fdd31c61141abd04a99fd6822c8558854ccde39a5684e7a56da27d -// Truncated Account Id: 45544800d43593c715fdd31c61141abd04a99fd6822c85580000000000000000 -// SS58(63): 7NPoMQbiA6trJKkjB35uk96MeJD4PGWkLQLH7k7hXEkZpiba +// Private key: 42d8d953e4f9246093a33e9ca6daa078501012f784adfe4bbed57918ff13be14 +// Address: 0x222222ff7Be76052e023Ec1a306fCca8F9659D80 +// Account Id: 45544800222222ff7be76052e023ec1a306fcca8f9659d800000000000000000 +// SS58(63): 7KATdGakyhfBGnAt3XVgXTL7cYjzRXeSZHezKNtENcbwWibb pub(crate) fn alith_evm_address() -> H160 { - hex!["d43593c715fdd31c61141abd04a99fd6822c8558"].into() + hex!["222222ff7Be76052e023Ec1a306fCca8F9659D80"].into() +} +pub(crate) fn alith_evm_account() -> AccountId { + hex!["45544800222222ff7be76052e023ec1a306fcca8f9659d800000000000000000"].into() } pub(crate) fn alith_truncated_account() -> AccountId { hydradx_runtime::EVMAccounts::truncated_account_id(alith_evm_address()) } pub(crate) fn alith_secret_key() -> [u8; 32] { - hex!("e5be9a5092b81bca64be81d212e7f2f9eba183bb7a90954f7b76361f6edb5c0a") + hex!("42d8d953e4f9246093a33e9ca6daa078501012f784adfe4bbed57918ff13be14") } pub(crate) struct MockAccount(AccountId); From ff9a959c78e4b26334c284776c80fd7cfd6b7856 Mon Sep 17 00:00:00 2001 From: Martin Date: Thu, 23 May 2024 10:26:36 +0200 Subject: [PATCH 052/105] fix evm integration tests --- integration-tests/src/evm.rs | 8 ++++++++ integration-tests/src/evm_permit.rs | 6 +++--- integration-tests/src/polkadot_test_net.rs | 1 - 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/integration-tests/src/evm.rs b/integration-tests/src/evm.rs index c75702924..31b6f1973 100644 --- a/integration-tests/src/evm.rs +++ b/integration-tests/src/evm.rs @@ -322,6 +322,7 @@ mod account_conversion { mod standard_precompiles { use super::*; + use frame_support::assert_ok; use pretty_assertions::assert_eq; use sp_runtime::traits::UniqueSaturatedInto; @@ -329,6 +330,13 @@ mod standard_precompiles { to: EvmAddress, data: Vec, ) -> Result>> { + assert_ok!(Tokens::set_balance( + RawOrigin::Root.into(), + evm_account(), + WETH, + to_ether(1_000), + 0, + )); ::Runner::call( evm_address(), to, diff --git a/integration-tests/src/evm_permit.rs b/integration-tests/src/evm_permit.rs index dc7bf2a24..06e87d45f 100644 --- a/integration-tests/src/evm_permit.rs +++ b/integration-tests/src/evm_permit.rs @@ -34,7 +34,7 @@ fn compare_fee_in_hdx_between_evm_and_native_omnipool_calls_when_permit_is_dispa let user_evm_address = alith_evm_address(); let user_secret_key = alith_secret_key(); - let user_acc = MockAccount::new(alith_truncated_account()); + let user_acc = MockAccount::new(alith_evm_account()); let treasury_acc = MockAccount::new(Treasury::account_id()); Hydra::execute_with(|| { @@ -148,7 +148,7 @@ fn dispatch_permit_fee_should_be_paid_in_hdx_when_no_currency_is_set() { let user_evm_address = alith_evm_address(); let user_secret_key = alith_secret_key(); - let user_acc = MockAccount::new(alith_truncated_account()); + let user_acc = MockAccount::new(alith_evm_account()); let treasury_acc = MockAccount::new(Treasury::account_id()); Hydra::execute_with(|| { @@ -239,7 +239,7 @@ fn fee_should_be_paid_in_hdx_when_permit_is_dispatched_and_address_is_bounded() TestNet::reset(); let user_evm_address = alith_evm_address(); let user_secret_key = alith_secret_key(); - let user_acc = MockAccount::new(alith_truncated_account()); + let user_acc = MockAccount::new(alith_evm_account()); let treasury_acc = MockAccount::new(Treasury::account_id()); Hydra::execute_with(|| { diff --git a/integration-tests/src/polkadot_test_net.rs b/integration-tests/src/polkadot_test_net.rs index 5e76f1cb2..c14f75609 100644 --- a/integration-tests/src/polkadot_test_net.rs +++ b/integration-tests/src/polkadot_test_net.rs @@ -558,7 +558,6 @@ pub mod hydra { (AccountId::from(CHARLIE), LRNA, CHARLIE_INITIAL_LRNA_BALANCE), (AccountId::from(DAVE), LRNA, 1_000 * UNITS), (AccountId::from(DAVE), DAI, 1_000_000_000 * UNITS), - (evm_account(), WETH, to_ether(1_000)), (omnipool_account.clone(), DAI, stable_amount), (omnipool_account.clone(), ETH, eth_amount), (omnipool_account.clone(), BTC, btc_amount), From 778ef9d08bfa69ab875207cf45b9a8afb2762d07 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Thu, 23 May 2024 10:50:50 +0200 Subject: [PATCH 053/105] use read instead of readarray in benchmaking script --- scripts/benchmarking.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/scripts/benchmarking.sh b/scripts/benchmarking.sh index ce4f4c872..6d41af562 100755 --- a/scripts/benchmarking.sh +++ b/scripts/benchmarking.sh @@ -28,12 +28,15 @@ function help { echo " ${0} --check " "list all benchmarks and provide a selection to choose from, runs in 'check' mode (reduced steps and repetitions)" echo " ${0} foo bar " "run a benchmark for pallet 'foo' and benchmark 'bar'" echo " ${0} foo bar --check " "run a benchmark for pallet 'foo' and benchmark 'bar' in 'check' mode (reduced steps and repetitions)" - echo " ${0} foo bar --all " "run a benchmark for all pallets" - echo " ${0} foo bar --all --check " "run a benchmark for all pallets in 'check' mode (reduced steps and repetitions)" + echo " ${0} --all " "run a benchmark for all pallets" + echo " ${0} --all --check " "run a benchmark for all pallets in 'check' mode (reduced steps and repetitions)" } function choose_and_bench { - readarray -t options < <(${BINARY} benchmark pallet --list | sed 1d) + while read benchmark; do + options+=("$benchmark") + done < <(${BINARY} benchmark pallet --list | sed 1d) + options+=('EXIT') select opt in "${options[@]}"; do From 93004037f121fa8a3c02209223f2b4bd559b9711 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Thu, 23 May 2024 13:02:51 +0200 Subject: [PATCH 054/105] fix benchmarks --- runtime/hydradx/src/governance.rs | 63 ++- runtime/hydradx/src/system.rs | 10 +- runtime/hydradx/src/weights/mod.rs | 1 + .../src/weights/pallet_collator_selection.rs | 241 +++++++----- .../hydradx/src/weights/pallet_identity.rs | 369 ++++++++++++------ .../src/weights/pallet_message_queue.rs | 185 +++++++++ runtime/hydradx/src/weights/pallet_xcm.rs | 122 +++--- runtime/hydradx/src/xcm.rs | 7 + 8 files changed, 726 insertions(+), 272 deletions(-) create mode 100644 runtime/hydradx/src/weights/pallet_message_queue.rs diff --git a/runtime/hydradx/src/governance.rs b/runtime/hydradx/src/governance.rs index 92ca959d2..30b092967 100644 --- a/runtime/hydradx/src/governance.rs +++ b/runtime/hydradx/src/governance.rs @@ -25,7 +25,7 @@ use frame_support::traits::tokens::{PayFromAccount, UnityAssetBalanceConversion} use frame_support::{ parameter_types, sp_runtime::{Perbill, Percent, Permill}, - traits::{ConstU32, EitherOfDiverse, LockIdentifier, NeverEnsureOrigin, PrivilegeCmp}, + traits::{ConstU32, EitherOfDiverse, LockIdentifier, PrivilegeCmp}, PalletId, }; use frame_system::{EnsureRoot, EnsureSigned}; @@ -45,6 +45,59 @@ parameter_types! { pub const TreasuryPayoutPeriod: u32 = 30 * DAYS; } +pub struct PayFromTreasuryAccount; + +impl frame_support::traits::tokens::Pay for PayFromTreasuryAccount { + type Balance = Balance; + type Beneficiary = AccountId; + type AssetKind = (); + type Id = (); + type Error = sp_runtime::DispatchError; + + #[cfg(not(feature = "runtime-benchmarks"))] + fn pay( + who: &Self::Beneficiary, + _asset_kind: Self::AssetKind, + amount: Self::Balance, + ) -> Result { + let _ = >::transfer( + &TreasuryAccount::get(), + who, + amount, + frame_support::traits::tokens::Preservation::Expendable, + )?; + Ok(()) + } + + #[cfg(feature = "runtime-benchmarks")] + fn pay( + who: &Self::Beneficiary, + _asset_kind: Self::AssetKind, + amount: Self::Balance, + ) -> Result { + // In case of benchmarks, we adjust the value by multiplying it by 1_000_000_000_000, otherwise it fails with BelowMinimum limit error, because + // treasury benchmarks uses only 100 as the amount. + let _ = >::transfer( + &TreasuryAccount::get(), + who, + amount * 1_000_000_000_000, + frame_support::traits::tokens::Preservation::Expendable, + )?; + Ok(()) + } + + fn check_payment(_id: Self::Id) -> frame_support::traits::tokens::PaymentStatus { + frame_support::traits::tokens::PaymentStatus::Success + } + + #[cfg(feature = "runtime-benchmarks")] + fn ensure_successful(_: &Self::Beneficiary, _: Self::AssetKind, amount: Self::Balance) { + >::mint_into(&TreasuryAccount::get(), amount * 1_000_000_000_000).unwrap(); + } + #[cfg(feature = "runtime-benchmarks")] + fn ensure_concluded(_: Self::Id) {} +} + impl pallet_treasury::Config for Runtime { type Currency = Balances; type ApproveOrigin = TreasuryApproveOrigin; @@ -61,11 +114,15 @@ impl pallet_treasury::Config for Runtime { type WeightInfo = weights::pallet_treasury::HydraWeight; type SpendFunds = (); type MaxApprovals = MaxApprovals; - type SpendOrigin = NeverEnsureOrigin; + #[cfg(not(feature = "runtime-benchmarks"))] + type SpendOrigin = frame_support::traits::NeverEnsureOrigin; + #[cfg(feature = "runtime-benchmarks")] + type SpendOrigin = + frame_system::EnsureWithSuccess, AccountId, crate::benches::BenchmarkMaxBalance>; type AssetKind = (); type Beneficiary = AccountId; type BeneficiaryLookup = IdentityLookup; - type Paymaster = PayFromAccount; // TODO: check what this means + type Paymaster = PayFromTreasuryAccount; // TODO: check what this means type BalanceConverter = UnityAssetBalanceConversion; //TODO: check this type PayoutPeriod = TreasuryPayoutPeriod; #[cfg(feature = "runtime-benchmarks")] diff --git a/runtime/hydradx/src/system.rs b/runtime/hydradx/src/system.rs index df90dbb3a..b8e8a1666 100644 --- a/runtime/hydradx/src/system.rs +++ b/runtime/hydradx/src/system.rs @@ -40,7 +40,7 @@ use frame_support::{ }, PalletId, }; -use frame_system::{EnsureRoot, EnsureSignedBy}; +use frame_system::EnsureRoot; use hydradx_adapters::{OraclePriceProvider, RelayChainBlockNumberProvider}; use primitives::constants::time::DAYS; use scale_info::TypeInfo; @@ -253,7 +253,10 @@ impl pallet_collator_selection::Config for Runtime { type Currency = Balances; type UpdateOrigin = MoreThanHalfCouncil; type PotId = PotId; + #[cfg(not(feature = "runtime-benchmarks"))] type MaxCandidates = MaxCandidates; + #[cfg(feature = "runtime-benchmarks")] + type MaxCandidates = ConstU32<20>; type MaxInvulnerables = MaxInvulnerables; // should be a multiple of session or things will get inconsistent type KickThreshold = Period; @@ -561,7 +564,10 @@ parameter_types! { impl pallet_state_trie_migration::Config for Runtime { type ControlOrigin = SuperMajorityTechCommittee; - type SignedFilter = EnsureSignedBy; + #[cfg(not(feature = "runtime-benchmarks"))] + type SignedFilter = frame_system::EnsureSignedBy; + #[cfg(feature = "runtime-benchmarks")] + type SignedFilter = frame_system::EnsureSigned; type RuntimeEvent = RuntimeEvent; type Currency = Balances; type RuntimeHoldReason = RuntimeHoldReason; diff --git a/runtime/hydradx/src/weights/mod.rs b/runtime/hydradx/src/weights/mod.rs index 8be4a5098..c73a70b05 100644 --- a/runtime/hydradx/src/weights/mod.rs +++ b/runtime/hydradx/src/weights/mod.rs @@ -20,6 +20,7 @@ pub mod pallet_ema_oracle; pub mod pallet_evm_accounts; pub mod pallet_identity; pub mod pallet_lbp; +pub mod pallet_message_queue; pub mod pallet_omnipool; pub mod pallet_omnipool_liquidity_mining; pub mod pallet_otc; diff --git a/runtime/hydradx/src/weights/pallet_collator_selection.rs b/runtime/hydradx/src/weights/pallet_collator_selection.rs index 0d6e5581d..629b515b0 100644 --- a/runtime/hydradx/src/weights/pallet_collator_selection.rs +++ b/runtime/hydradx/src/weights/pallet_collator_selection.rs @@ -55,56 +55,56 @@ impl pallet_collator_selection::WeightInfo for HydraWei /// The range of component `b` is `[1, 50]`. fn set_invulnerables(b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `205 + b * (79 ±0)` - // Estimated: `1194 + b * (2554 ±0)` - // Minimum execution time: 20_628_000 picoseconds. - Weight::from_parts(19_568_734, 1194) - // Standard Error: 7_340 - .saturating_add(Weight::from_parts(3_478_925, 0).saturating_mul(b.into())) + // Measured: `208 + b * (79 ±0)` + // Estimated: `1196 + b * (2554 ±0)` + // Minimum execution time: 12_240_000 picoseconds. + Weight::from_parts(11_347_235, 1196) + // Standard Error: 6_043 + .saturating_add(Weight::from_parts(2_931_655, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b.into()))) - .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 2554).saturating_mul(b.into())) } /// Storage: `Session::NextKeys` (r:1 w:0) /// Proof: `Session::NextKeys` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `CollatorSelection::Invulnerables` (r:1 w:1) /// Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: Some(1601), added: 2096, mode: `MaxEncodedLen`) - /// Storage: `CollatorSelection::Candidates` (r:1 w:1) - /// Proof: `CollatorSelection::Candidates` (`max_values`: Some(1), `max_size`: Some(2401), added: 2896, mode: `MaxEncodedLen`) + /// Storage: `CollatorSelection::CandidateList` (r:1 w:1) + /// Proof: `CollatorSelection::CandidateList` (`max_values`: Some(1), `max_size`: Some(961), added: 1456, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `b` is `[1, 49]`. - /// The range of component `c` is `[1, 49]`. + /// The range of component `c` is `[1, 19]`. fn add_invulnerable(b: u32, c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1444 + b * (32 ±0) + c * (48 ±0)` - // Estimated: `4909 + b * (32 ±0) + c * (48 ±0)` - // Minimum execution time: 62_617_000 picoseconds. - Weight::from_parts(62_633_538, 4909) - // Standard Error: 1_299 - .saturating_add(Weight::from_parts(19_587, 0).saturating_mul(b.into())) - // Standard Error: 1_299 - .saturating_add(Weight::from_parts(43_332, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 32).saturating_mul(b.into())) - .saturating_add(Weight::from_parts(0, 48).saturating_mul(c.into())) + // Measured: `870 + b * (40 ±0) + c * (48 ±0)` + // Estimated: `4383 + b * (42 ±0) + c * (44 ±0)` + // Minimum execution time: 38_110_000 picoseconds. + Weight::from_parts(38_314_047, 4383) + // Standard Error: 2_548 + .saturating_add(Weight::from_parts(140_704, 0).saturating_mul(b.into())) + // Standard Error: 6_713 + .saturating_add(Weight::from_parts(26_773, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_parts(0, 42).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(0, 44).saturating_mul(c.into())) } - /// Storage: `CollatorSelection::Candidates` (r:1 w:0) - /// Proof: `CollatorSelection::Candidates` (`max_values`: Some(1), `max_size`: Some(2401), added: 2896, mode: `MaxEncodedLen`) + /// Storage: `CollatorSelection::CandidateList` (r:1 w:0) + /// Proof: `CollatorSelection::CandidateList` (`max_values`: Some(1), `max_size`: Some(961), added: 1456, mode: `MaxEncodedLen`) /// Storage: `CollatorSelection::Invulnerables` (r:1 w:1) /// Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: Some(1601), added: 2096, mode: `MaxEncodedLen`) /// The range of component `b` is `[5, 50]`. fn remove_invulnerable(b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `285 + b * (32 ±0)` - // Estimated: `3886` - // Minimum execution time: 22_662_000 picoseconds. - Weight::from_parts(23_030_075, 3886) - // Standard Error: 939 - .saturating_add(Weight::from_parts(41_972, 0).saturating_mul(b.into())) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + // Measured: `186 + b * (32 ±0)` + // Estimated: `3086` + // Minimum execution time: 11_550_000 picoseconds. + Weight::from_parts(12_594_896, 3086) + // Standard Error: 1_627 + .saturating_add(Weight::from_parts(67_798, 0).saturating_mul(b.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `CollatorSelection::DesiredCandidates` (r:0 w:1) /// Proof: `CollatorSelection::DesiredCandidates` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) @@ -112,24 +112,55 @@ impl pallet_collator_selection::WeightInfo for HydraWei // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_095_000 picoseconds. - Weight::from_parts(11_241_000, 0) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 5_050_000 picoseconds. + Weight::from_parts(5_220_000, 0) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: `CollatorSelection::CandidacyBond` (r:0 w:1) + /// Storage: `CollatorSelection::CandidacyBond` (r:1 w:1) /// Proof: `CollatorSelection::CandidacyBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) - fn set_candidacy_bond(_a: u32, _b: u32) -> Weight { + /// Storage: `CollatorSelection::CandidateList` (r:1 w:1) + /// Proof: `CollatorSelection::CandidateList` (`max_values`: Some(1), `max_size`: Some(961), added: 1456, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:20 w:20) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `CollatorSelection::LastAuthoredBlock` (r:0 w:20) + /// Proof: `CollatorSelection::LastAuthoredBlock` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) + /// The range of component `c` is `[0, 20]`. + /// The range of component `k` is `[0, 20]`. + fn set_candidacy_bond(c: u32, k: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 11_004_000 picoseconds. - Weight::from_parts(11_197_000, 0) - .saturating_add(T::DbWeight::get().writes(1)) + // Measured: `0 + c * (168 ±0) + k * (119 ±0)` + // Estimated: `3593 + c * (848 ±30) + k * (848 ±30)` + // Minimum execution time: 9_450_000 picoseconds. + Weight::from_parts(9_770_000, 3593) + // Standard Error: 161_573 + .saturating_add(Weight::from_parts(5_432_825, 0).saturating_mul(c.into())) + // Standard Error: 161_573 + .saturating_add(Weight::from_parts(5_209_781, 0).saturating_mul(k.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(k.into()))) + .saturating_add(Weight::from_parts(0, 848).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(0, 848).saturating_mul(k.into())) } - /// Storage: `CollatorSelection::Candidates` (r:1 w:1) - /// Proof: `CollatorSelection::Candidates` (`max_values`: Some(1), `max_size`: Some(2401), added: 2896, mode: `MaxEncodedLen`) - /// Storage: `CollatorSelection::DesiredCandidates` (r:1 w:0) - /// Proof: `CollatorSelection::DesiredCandidates` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `CollatorSelection::CandidacyBond` (r:1 w:0) + /// Proof: `CollatorSelection::CandidacyBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `CollatorSelection::CandidateList` (r:1 w:1) + /// Proof: `CollatorSelection::CandidateList` (`max_values`: Some(1), `max_size`: Some(961), added: 1456, mode: `MaxEncodedLen`) + /// The range of component `c` is `[3, 20]`. + fn update_bond(c: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `396 + c * (47 ±0)` + // Estimated: `2446` + // Minimum execution time: 23_970_000 picoseconds. + Weight::from_parts(25_146_327, 2446) + // Standard Error: 4_873 + .saturating_add(Weight::from_parts(154_276, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `CollatorSelection::CandidateList` (r:1 w:1) + /// Proof: `CollatorSelection::CandidateList` (`max_values`: Some(1), `max_size`: Some(961), added: 1456, mode: `MaxEncodedLen`) /// Storage: `CollatorSelection::Invulnerables` (r:1 w:0) /// Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: Some(1601), added: 2096, mode: `MaxEncodedLen`) /// Storage: `Session::NextKeys` (r:1 w:0) @@ -138,46 +169,62 @@ impl pallet_collator_selection::WeightInfo for HydraWei /// Proof: `CollatorSelection::CandidacyBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) /// Storage: `CollatorSelection::LastAuthoredBlock` (r:0 w:1) /// Proof: `CollatorSelection::LastAuthoredBlock` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) - /// The range of component `c` is `[1, 49]`. + /// The range of component `c` is `[1, 19]`. fn register_as_candidate(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `730 + c * (60 ±0)` - // Estimated: `4213 + c * (59 ±0)` - // Minimum execution time: 55_657_000 picoseconds. - Weight::from_parts(57_084_118, 4213) - // Standard Error: 2_209 - .saturating_add(Weight::from_parts(101_671, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(2)) - .saturating_add(Weight::from_parts(0, 59).saturating_mul(c.into())) + // Measured: `617 + c * (61 ±0)` + // Estimated: `4082 + c * (61 ±0)` + // Minimum execution time: 32_280_000 picoseconds. + Weight::from_parts(33_192_934, 4082) + // Standard Error: 7_668 + .saturating_add(Weight::from_parts(400_903, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + .saturating_add(Weight::from_parts(0, 61).saturating_mul(c.into())) } - /// Storage: `CollatorSelection::Candidates` (r:1 w:1) - /// Proof: `CollatorSelection::Candidates` (`max_values`: Some(1), `max_size`: Some(2401), added: 2896, mode: `MaxEncodedLen`) + /// Storage: `CollatorSelection::Invulnerables` (r:1 w:0) + /// Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: Some(1601), added: 2096, mode: `MaxEncodedLen`) + /// Storage: `CollatorSelection::CandidacyBond` (r:1 w:0) + /// Proof: `CollatorSelection::CandidacyBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `Session::NextKeys` (r:1 w:0) + /// Proof: `Session::NextKeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `CollatorSelection::CandidateList` (r:1 w:1) + /// Proof: `CollatorSelection::CandidateList` (`max_values`: Some(1), `max_size`: Some(961), added: 1456, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `CollatorSelection::LastAuthoredBlock` (r:0 w:2) + /// Proof: `CollatorSelection::LastAuthoredBlock` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) + /// The range of component `c` is `[3, 20]`. + fn take_candidate_slot(c: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `717 + c * (61 ±0)` + // Estimated: `4182 + c * (61 ±0)` + // Minimum execution time: 50_530_000 picoseconds. + Weight::from_parts(52_887_528, 4182) + // Standard Error: 7_318 + .saturating_add(Weight::from_parts(198_882, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) + .saturating_add(Weight::from_parts(0, 61).saturating_mul(c.into())) + } + /// Storage: `CollatorSelection::CandidateList` (r:1 w:1) + /// Proof: `CollatorSelection::CandidateList` (`max_values`: Some(1), `max_size`: Some(961), added: 1456, mode: `MaxEncodedLen`) /// Storage: `CollatorSelection::Invulnerables` (r:1 w:0) /// Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: Some(1601), added: 2096, mode: `MaxEncodedLen`) /// Storage: `CollatorSelection::LastAuthoredBlock` (r:0 w:1) /// Proof: `CollatorSelection::LastAuthoredBlock` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) - /// The range of component `c` is `[3, 50]`. + /// The range of component `c` is `[3, 20]`. fn leave_intent(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `556 + c * (50 ±0)` - // Estimated: `3886` - // Minimum execution time: 46_120_000 picoseconds. - Weight::from_parts(46_397_357, 3886) - // Standard Error: 1_574 - .saturating_add(Weight::from_parts(90_362, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Measured: `408 + c * (48 ±0)` + // Estimated: `3086` + // Minimum execution time: 28_231_000 picoseconds. + Weight::from_parts(29_751_583, 3086) + // Standard Error: 5_387 + .saturating_add(Weight::from_parts(184_583, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } - - fn update_bond(_c: u32) -> Weight { - todo!() - } - - fn take_candidate_slot(_c: u32) -> Weight { - todo!() - } - /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `System::BlockWeight` (r:1 w:1) @@ -186,38 +233,40 @@ impl pallet_collator_selection::WeightInfo for HydraWei /// Proof: `CollatorSelection::LastAuthoredBlock` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) fn note_author() -> Weight { // Proof Size summary in bytes: - // Measured: `192` + // Measured: `102` // Estimated: `6196` - // Minimum execution time: 63_730_000 picoseconds. - Weight::from_parts(64_351_000, 6196) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(4)) + // Minimum execution time: 44_410_000 picoseconds. + Weight::from_parts(45_270_000, 6196) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) } - /// Storage: `CollatorSelection::Candidates` (r:1 w:0) - /// Proof: `CollatorSelection::Candidates` (`max_values`: Some(1), `max_size`: Some(2401), added: 2896, mode: `MaxEncodedLen`) - /// Storage: `CollatorSelection::LastAuthoredBlock` (r:50 w:0) + /// Storage: `CollatorSelection::CandidateList` (r:1 w:0) + /// Proof: `CollatorSelection::CandidateList` (`max_values`: Some(1), `max_size`: Some(961), added: 1456, mode: `MaxEncodedLen`) + /// Storage: `CollatorSelection::LastAuthoredBlock` (r:20 w:0) /// Proof: `CollatorSelection::LastAuthoredBlock` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) /// Storage: `CollatorSelection::Invulnerables` (r:1 w:0) /// Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: Some(1601), added: 2096, mode: `MaxEncodedLen`) + /// Storage: `CollatorSelection::DesiredCandidates` (r:1 w:0) + /// Proof: `CollatorSelection::DesiredCandidates` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `System::BlockWeight` (r:1 w:1) /// Proof: `System::BlockWeight` (`max_values`: Some(1), `max_size`: Some(48), added: 543, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:44 w:44) + /// Storage: `System::Account` (r:18 w:18) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// The range of component `r` is `[1, 50]`. - /// The range of component `c` is `[1, 50]`. + /// The range of component `r` is `[1, 20]`. + /// The range of component `c` is `[1, 20]`. fn new_session(r: u32, c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1276 + c * (98 ±0) + r * (116 ±0)` - // Estimated: `3886 + c * (2519 ±0) + r * (2603 ±0)` - // Minimum execution time: 28_836_000 picoseconds. - Weight::from_parts(29_061_000, 3886) - // Standard Error: 714_438 - .saturating_add(Weight::from_parts(16_538_136, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(4)) + // Measured: `391 + c * (98 ±0) + r * (118 ±0)` + // Estimated: `2188621418662104 + c * (2519 ±0) + r * (2571 ±5)` + // Minimum execution time: 19_150_000 picoseconds. + Weight::from_parts(19_770_000, 2188621418662104) + // Standard Error: 271_834 + .saturating_add(Weight::from_parts(12_365_193, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) - .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) .saturating_add(Weight::from_parts(0, 2519).saturating_mul(c.into())) - .saturating_add(Weight::from_parts(0, 2603).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(0, 2571).saturating_mul(r.into())) } } \ No newline at end of file diff --git a/runtime/hydradx/src/weights/pallet_identity.rs b/runtime/hydradx/src/weights/pallet_identity.rs index 7e592dfc4..9bc8ad8db 100644 --- a/runtime/hydradx/src/weights/pallet_identity.rs +++ b/runtime/hydradx/src/weights/pallet_identity.rs @@ -53,22 +53,31 @@ impl pallet_identity::WeightInfo for HydraWeight { /// The range of component `r` is `[1, 19]`. fn add_registrar(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `32 + r * (57 ±0)` + // Measured: `31 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 17_261_000 picoseconds. - Weight::from_parts(18_025_223, 2626) - // Standard Error: 3_087 - .saturating_add(Weight::from_parts(88_219, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 8_710_000 picoseconds. + Weight::from_parts(9_443_931, 2626) + // Standard Error: 2_499 + .saturating_add(Weight::from_parts(80_557, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - - fn set_identity(_r: u32) -> Weight { - todo!() + /// Storage: `Identity::IdentityOf` (r:1 w:1) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) + /// The range of component `r` is `[1, 20]`. + fn set_identity(r: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `6977 + r * (5 ±0)` + // Estimated: `11037` + // Minimum execution time: 134_221_000 picoseconds. + Weight::from_parts(139_988_186, 11037) + // Standard Error: 12_767 + .saturating_add(Weight::from_parts(136_396, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: `Identity::IdentityOf` (r:1 w:0) - /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) /// Storage: `Identity::SubsOf` (r:1 w:1) /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`) /// Storage: `Identity::SuperOf` (r:100 w:100) @@ -76,20 +85,20 @@ impl pallet_identity::WeightInfo for HydraWeight { /// The range of component `s` is `[0, 100]`. fn set_subs_new(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `101` - // Estimated: `11003 + s * (2589 ±0)` - // Minimum execution time: 14_699_000 picoseconds. - Weight::from_parts(29_345_813, 11003) - // Standard Error: 14_245 - .saturating_add(Weight::from_parts(4_057_797, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(2)) + // Measured: `100` + // Estimated: `11037 + s * (2589 ±0)` + // Minimum execution time: 9_520_000 picoseconds. + Weight::from_parts(22_514_789, 11037) + // Standard Error: 6_645 + .saturating_add(Weight::from_parts(3_791_272, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(s.into()))) - .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) .saturating_add(Weight::from_parts(0, 2589).saturating_mul(s.into())) } /// Storage: `Identity::IdentityOf` (r:1 w:0) - /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) /// Storage: `Identity::SubsOf` (r:1 w:1) /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`) /// Storage: `Identity::SuperOf` (r:0 w:100) @@ -98,81 +107,151 @@ impl pallet_identity::WeightInfo for HydraWeight { fn set_subs_old(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `193 + p * (32 ±0)` - // Estimated: `11003` - // Minimum execution time: 14_679_000 picoseconds. - Weight::from_parts(27_894_942, 11003) - // Standard Error: 12_742 - .saturating_add(Weight::from_parts(1_675_500, 0).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + // Estimated: `11037` + // Minimum execution time: 9_440_000 picoseconds. + Weight::from_parts(21_879_116, 11037) + // Standard Error: 4_715 + .saturating_add(Weight::from_parts(1_534_721, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) } - - fn clear_identity(_r: u32, _s: u32) -> Weight { - todo!() + /// Storage: `Identity::SubsOf` (r:1 w:1) + /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`) + /// Storage: `Identity::IdentityOf` (r:1 w:1) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) + /// Storage: `Identity::SuperOf` (r:0 w:100) + /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`) + /// The range of component `r` is `[1, 20]`. + /// The range of component `s` is `[0, 100]`. + fn clear_identity(r: u32, s: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `7069 + r * (5 ±0) + s * (32 ±0)` + // Estimated: `11037` + // Minimum execution time: 58_951_000 picoseconds. + Weight::from_parts(62_283_319, 11037) + // Standard Error: 17_567 + .saturating_add(Weight::from_parts(22_897, 0).saturating_mul(r.into())) + // Standard Error: 3_427 + .saturating_add(Weight::from_parts(1_477_105, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) } - - fn request_judgement(_r: u32) -> Weight { - todo!() + /// Storage: `Identity::Registrars` (r:1 w:0) + /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`) + /// Storage: `Identity::IdentityOf` (r:1 w:1) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) + /// The range of component `r` is `[1, 20]`. + fn request_judgement(r: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `6967 + r * (57 ±0)` + // Estimated: `11037` + // Minimum execution time: 86_331_000 picoseconds. + Weight::from_parts(89_757_905, 11037) + // Standard Error: 10_571 + .saturating_add(Weight::from_parts(128_154, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - - fn cancel_request(_r: u32) -> Weight { - todo!() + /// Storage: `Identity::IdentityOf` (r:1 w:1) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) + /// The range of component `r` is `[1, 20]`. + fn cancel_request(r: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `6998` + // Estimated: `11037` + // Minimum execution time: 83_111_000 picoseconds. + Weight::from_parts(86_968_199, 11037) + // Standard Error: 7_753 + .saturating_add(Weight::from_parts(59_608, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: `Identity::Registrars` (r:1 w:1) /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 19]`. fn set_fee(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `89 + r * (57 ±0)` + // Measured: `88 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 11_308_000 picoseconds. - Weight::from_parts(11_832_550, 2626) - // Standard Error: 2_040 - .saturating_add(Weight::from_parts(72_446, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 6_530_000 picoseconds. + Weight::from_parts(6_970_369, 2626) + // Standard Error: 1_385 + .saturating_add(Weight::from_parts(65_495, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Identity::Registrars` (r:1 w:1) /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 19]`. fn set_account_id(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `89 + r * (57 ±0)` + // Measured: `88 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 11_782_000 picoseconds. - Weight::from_parts(12_164_081, 2626) - // Standard Error: 1_710 - .saturating_add(Weight::from_parts(69_398, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 5_860_000 picoseconds. + Weight::from_parts(6_339_078, 2626) + // Standard Error: 1_427 + .saturating_add(Weight::from_parts(62_408, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Identity::Registrars` (r:1 w:1) /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 19]`. fn set_fields(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `89 + r * (57 ±0)` + // Measured: `88 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 11_490_000 picoseconds. - Weight::from_parts(11_819_190, 2626) - // Standard Error: 1_612 - .saturating_add(Weight::from_parts(65_269, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 5_730_000 picoseconds. + Weight::from_parts(6_453_402, 2626) + // Standard Error: 1_293 + .saturating_add(Weight::from_parts(50_492, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - - fn provide_judgement(_r: u32) -> Weight { - todo!() + /// Storage: `Identity::Registrars` (r:1 w:0) + /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`) + /// Storage: `Identity::IdentityOf` (r:1 w:1) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) + /// The range of component `r` is `[1, 19]`. + fn provide_judgement(r: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `7045 + r * (57 ±0)` + // Estimated: `11037` + // Minimum execution time: 114_311_000 picoseconds. + Weight::from_parts(118_989_129, 11037) + // Standard Error: 9_371 + .saturating_add(Weight::from_parts(55_305, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - - fn kill_identity(_r: u32, _s: u32) -> Weight { - todo!() + /// Storage: `Identity::SubsOf` (r:1 w:1) + /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`) + /// Storage: `Identity::IdentityOf` (r:1 w:1) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Identity::SuperOf` (r:0 w:100) + /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`) + /// The range of component `r` is `[1, 20]`. + /// The range of component `s` is `[0, 100]`. + fn kill_identity(r: u32, s: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `7209 + r * (5 ±0) + s * (32 ±0)` + // Estimated: `11037` + // Minimum execution time: 76_341_000 picoseconds. + Weight::from_parts(82_411_000, 11037) + // Standard Error: 117_451 + .saturating_add(Weight::from_parts(408_319, 0).saturating_mul(r.into())) + // Standard Error: 23_476 + .saturating_add(Weight::from_parts(1_630_731, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) } - /// Storage: `Identity::IdentityOf` (r:1 w:0) - /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) /// Storage: `Identity::SuperOf` (r:1 w:1) /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`) /// Storage: `Identity::SubsOf` (r:1 w:1) @@ -180,33 +259,33 @@ impl pallet_identity::WeightInfo for HydraWeight { /// The range of component `s` is `[0, 99]`. fn add_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `428 + s * (36 ±0)` - // Estimated: `11003` - // Minimum execution time: 40_751_000 picoseconds. - Weight::from_parts(44_490_675, 11003) - // Standard Error: 3_411 - .saturating_add(Weight::from_parts(72_803, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(2)) + // Measured: `474 + s * (36 ±0)` + // Estimated: `11037` + // Minimum execution time: 27_000_000 picoseconds. + Weight::from_parts(28_612_918, 11037) + // Standard Error: 12_122 + .saturating_add(Weight::from_parts(174_462, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `Identity::IdentityOf` (r:1 w:0) - /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) /// Storage: `Identity::SuperOf` (r:1 w:1) /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`) /// The range of component `s` is `[1, 100]`. fn rename_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `563 + s * (3 ±0)` - // Estimated: `11003` - // Minimum execution time: 19_092_000 picoseconds. - Weight::from_parts(20_893_870, 11003) - // Standard Error: 1_498 - .saturating_add(Weight::from_parts(29_141, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + // Measured: `590 + s * (3 ±0)` + // Estimated: `11037` + // Minimum execution time: 13_210_000 picoseconds. + Weight::from_parts(14_750_424, 11037) + // Standard Error: 737 + .saturating_add(Weight::from_parts(26_727, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Identity::IdentityOf` (r:1 w:0) - /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7538), added: 10013, mode: `MaxEncodedLen`) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) /// Storage: `Identity::SuperOf` (r:1 w:1) /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`) /// Storage: `Identity::SubsOf` (r:1 w:1) @@ -214,14 +293,14 @@ impl pallet_identity::WeightInfo for HydraWeight { /// The range of component `s` is `[1, 100]`. fn remove_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `611 + s * (35 ±0)` - // Estimated: `11003` - // Minimum execution time: 44_470_000 picoseconds. - Weight::from_parts(46_580_204, 11003) - // Standard Error: 1_811 - .saturating_add(Weight::from_parts(51_699, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(2)) + // Measured: `637 + s * (35 ±0)` + // Estimated: `11037` + // Minimum execution time: 29_141_000 picoseconds. + Weight::from_parts(28_766_415, 11037) + // Standard Error: 10_961 + .saturating_add(Weight::from_parts(197_341, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `Identity::SuperOf` (r:1 w:1) /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`) @@ -232,41 +311,103 @@ impl pallet_identity::WeightInfo for HydraWeight { /// The range of component `s` is `[0, 99]`. fn quit_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `638 + s * (38 ±0)` + // Measured: `666 + s * (37 ±0)` // Estimated: `6723` - // Minimum execution time: 33_030_000 picoseconds. - Weight::from_parts(35_034_240, 6723) - // Standard Error: 1_832 - .saturating_add(Weight::from_parts(54_735, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 24_190_000 picoseconds. + Weight::from_parts(37_585_619, 6723) + // Standard Error: 11_928 + .saturating_add(Weight::from_parts(76_202, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } - + /// Storage: `Identity::UsernameAuthorities` (r:0 w:1) + /// Proof: `Identity::UsernameAuthorities` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) fn add_username_authority() -> Weight { - todo!() + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 14_930_000 picoseconds. + Weight::from_parts(16_500_000, 0) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - + /// Storage: `Identity::UsernameAuthorities` (r:1 w:1) + /// Proof: `Identity::UsernameAuthorities` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) fn remove_username_authority() -> Weight { - todo!() + // Proof Size summary in bytes: + // Measured: `79` + // Estimated: `3517` + // Minimum execution time: 20_570_000 picoseconds. + Weight::from_parts(22_690_000, 3517) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - + /// Storage: `Identity::UsernameAuthorities` (r:1 w:1) + /// Proof: `Identity::UsernameAuthorities` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `Identity::AccountOfUsername` (r:1 w:1) + /// Proof: `Identity::AccountOfUsername` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `MaxEncodedLen`) + /// Storage: `Identity::PendingUsernames` (r:1 w:0) + /// Proof: `Identity::PendingUsernames` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `Identity::IdentityOf` (r:1 w:1) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) fn set_username_for() -> Weight { - todo!() + // Proof Size summary in bytes: + // Measured: `79` + // Estimated: `11037` + // Minimum execution time: 68_201_000 picoseconds. + Weight::from_parts(98_761_000, 11037) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } - + /// Storage: `Identity::PendingUsernames` (r:1 w:1) + /// Proof: `Identity::PendingUsernames` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `Identity::IdentityOf` (r:1 w:1) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) + /// Storage: `Identity::AccountOfUsername` (r:0 w:1) + /// Proof: `Identity::AccountOfUsername` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `MaxEncodedLen`) fn accept_username() -> Weight { - todo!() + // Proof Size summary in bytes: + // Measured: `114` + // Estimated: `11037` + // Minimum execution time: 23_331_000 picoseconds. + Weight::from_parts(38_561_000, 11037) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } - + /// Storage: `Identity::PendingUsernames` (r:1 w:1) + /// Proof: `Identity::PendingUsernames` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) fn remove_expired_approval() -> Weight { - todo!() + // Proof Size summary in bytes: + // Measured: `114` + // Estimated: `3550` + // Minimum execution time: 38_071_000 picoseconds. + Weight::from_parts(42_001_000, 3550) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - + /// Storage: `Identity::AccountOfUsername` (r:1 w:0) + /// Proof: `Identity::AccountOfUsername` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `MaxEncodedLen`) + /// Storage: `Identity::IdentityOf` (r:1 w:1) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) fn set_primary_username() -> Weight { - todo!() + // Proof Size summary in bytes: + // Measured: `256` + // Estimated: `11037` + // Minimum execution time: 18_220_000 picoseconds. + Weight::from_parts(18_940_000, 11037) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - + /// Storage: `Identity::AccountOfUsername` (r:1 w:1) + /// Proof: `Identity::AccountOfUsername` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `MaxEncodedLen`) + /// Storage: `Identity::IdentityOf` (r:1 w:0) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) fn remove_dangling_username() -> Weight { - todo!() + // Proof Size summary in bytes: + // Measured: `97` + // Estimated: `11037` + // Minimum execution time: 12_560_000 picoseconds. + Weight::from_parts(13_070_000, 11037) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } } \ No newline at end of file diff --git a/runtime/hydradx/src/weights/pallet_message_queue.rs b/runtime/hydradx/src/weights/pallet_message_queue.rs new file mode 100644 index 000000000..95121a15b --- /dev/null +++ b/runtime/hydradx/src/weights/pallet_message_queue.rs @@ -0,0 +1,185 @@ +// This file is part of HydraDX. + +// Copyright (C) 2020-2023 Intergalactic, Limited (GIB). +// SPDX-License-Identifier: Apache-2.0 + +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + + +//! Autogenerated weights for `pallet_message_queue` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-04-25, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `ubuntu`, CPU: `AMD Ryzen 9 5900X 12-Core Processor` +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` + +// Executed Command: +// ./target/release/hydradx +// benchmark +// pallet +// --wasm-execution=compiled +// --pallet +// * +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 +// --template=.maintain/pallet-weight-template-no-back.hbs +// --json-file +// raw.json +// --output +// weights/ + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] +#![allow(missing_docs)] + +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; +use core::marker::PhantomData; + +/// Weights for `pallet_message_queue`. +pub struct WeightInfo(PhantomData); + +/// Weights for `pallet_message_queue` using the HydraDX node and recommended hardware. +pub struct HydraWeight(PhantomData); +impl pallet_message_queue::WeightInfo for HydraWeight { + /// Storage: `MessageQueue::ServiceHead` (r:1 w:0) + /// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `MaxEncodedLen`) + /// Storage: `MessageQueue::BookStateFor` (r:2 w:2) + /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + fn ready_ring_knit() -> Weight { + // Proof Size summary in bytes: + // Measured: `298` + // Estimated: `6044` + // Minimum execution time: 13_220_000 picoseconds. + Weight::from_parts(13_570_000, 6044) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + /// Storage: `MessageQueue::BookStateFor` (r:2 w:2) + /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MessageQueue::ServiceHead` (r:1 w:1) + /// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `MaxEncodedLen`) + fn ready_ring_unknit() -> Weight { + // Proof Size summary in bytes: + // Measured: `293` + // Estimated: `6044` + // Minimum execution time: 11_450_000 picoseconds. + Weight::from_parts(11_810_000, 6044) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + /// Storage: `MessageQueue::BookStateFor` (r:1 w:1) + /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + fn service_queue_base() -> Weight { + // Proof Size summary in bytes: + // Measured: `80` + // Estimated: `3517` + // Minimum execution time: 5_710_000 picoseconds. + Weight::from_parts(5_970_000, 3517) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `MessageQueue::Pages` (r:1 w:1) + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(134193), added: 136668, mode: `MaxEncodedLen`) + fn service_page_base_completion() -> Weight { + // Proof Size summary in bytes: + // Measured: `147` + // Estimated: `137658` + // Minimum execution time: 7_200_000 picoseconds. + Weight::from_parts(7_550_000, 137658) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `MessageQueue::Pages` (r:1 w:1) + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(134193), added: 136668, mode: `MaxEncodedLen`) + fn service_page_base_no_completion() -> Weight { + // Proof Size summary in bytes: + // Measured: `147` + // Estimated: `137658` + // Minimum execution time: 7_510_000 picoseconds. + Weight::from_parts(7_721_000, 137658) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `MessageQueue::BookStateFor` (r:0 w:1) + /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MessageQueue::Pages` (r:0 w:1) + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(134193), added: 136668, mode: `MaxEncodedLen`) + fn service_page_item() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 244_592_000 picoseconds. + Weight::from_parts(257_093_000, 0) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + /// Storage: `MessageQueue::ServiceHead` (r:1 w:1) + /// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `MaxEncodedLen`) + /// Storage: `MessageQueue::BookStateFor` (r:1 w:0) + /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + fn bump_service_head() -> Weight { + // Proof Size summary in bytes: + // Measured: `246` + // Estimated: `3517` + // Minimum execution time: 7_370_000 picoseconds. + Weight::from_parts(7_630_000, 3517) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `MessageQueue::BookStateFor` (r:1 w:1) + /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MessageQueue::Pages` (r:1 w:1) + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(134193), added: 136668, mode: `MaxEncodedLen`) + fn reap_page() -> Weight { + // Proof Size summary in bytes: + // Measured: `134349` + // Estimated: `137658` + // Minimum execution time: 69_251_000 picoseconds. + Weight::from_parts(70_801_000, 137658) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + /// Storage: `MessageQueue::BookStateFor` (r:1 w:1) + /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MessageQueue::Pages` (r:1 w:1) + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(134193), added: 136668, mode: `MaxEncodedLen`) + fn execute_overweight_page_removed() -> Weight { + // Proof Size summary in bytes: + // Measured: `134349` + // Estimated: `137658` + // Minimum execution time: 103_801_000 picoseconds. + Weight::from_parts(106_321_000, 137658) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + /// Storage: `MessageQueue::BookStateFor` (r:1 w:1) + /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MessageQueue::Pages` (r:1 w:1) + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(134193), added: 136668, mode: `MaxEncodedLen`) + fn execute_overweight_page_updated() -> Weight { + // Proof Size summary in bytes: + // Measured: `134349` + // Estimated: `137658` + // Minimum execution time: 163_081_000 picoseconds. + Weight::from_parts(168_422_000, 137658) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } +} \ No newline at end of file diff --git a/runtime/hydradx/src/weights/pallet_xcm.rs b/runtime/hydradx/src/weights/pallet_xcm.rs index 49640bac2..c2ffb5f9c 100644 --- a/runtime/hydradx/src/weights/pallet_xcm.rs +++ b/runtime/hydradx/src/weights/pallet_xcm.rs @@ -62,10 +62,10 @@ impl pallet_xcm::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `145` // Estimated: `3610` - // Minimum execution time: 38_630_000 picoseconds. - Weight::from_parts(39_297_000, 3610) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 39_075_000 picoseconds. + Weight::from_parts(39_562_000, 3610) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `Benchmark::Override` (r:0 w:0) /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -82,23 +82,24 @@ impl pallet_xcm::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `69` // Estimated: `1489` - // Minimum execution time: 30_159_000 picoseconds. - Weight::from_parts(30_412_000, 1489) - .saturating_add(T::DbWeight::get().reads(1)) + // Minimum execution time: 32_094_000 picoseconds. + Weight::from_parts(32_796_000, 1489).saturating_add(T::DbWeight::get().reads(1_u64)) } fn transfer_assets() -> Weight { - todo!() + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 18_446_744_073_709_551_000 picoseconds. + Weight::from_parts(18_446_744_073_709_551_000, 0) } - /// Storage: `Benchmark::Override` (r:0 w:0) - /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) fn execute() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 18_446_744_073_709_551_000 picoseconds. - Weight::from_parts(18_446_744_073_709_551_000, 0) + // Minimum execution time: 13_914_000 picoseconds. + Weight::from_parts(14_172_000, 0) } /// Storage: `PolkadotXcm::SupportedVersion` (r:0 w:1) /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -106,9 +107,8 @@ impl pallet_xcm::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 13_988_000 picoseconds. - Weight::from_parts(14_343_000, 0) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 14_572_000 picoseconds. + Weight::from_parts(14_969_000, 0).saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `PolkadotXcm::SafeXcmVersion` (r:0 w:1) /// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -116,9 +116,8 @@ impl pallet_xcm::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_051_000 picoseconds. - Weight::from_parts(5_221_000, 0) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 5_151_000 picoseconds. + Weight::from_parts(5_322_000, 0).saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `PolkadotXcm::VersionNotifiers` (r:1 w:1) /// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -140,10 +139,10 @@ impl pallet_xcm::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `145` // Estimated: `3610` - // Minimum execution time: 45_381_000 picoseconds. - Weight::from_parts(45_916_000, 3610) - .saturating_add(T::DbWeight::get().reads(7)) - .saturating_add(T::DbWeight::get().writes(5)) + // Minimum execution time: 45_415_000 picoseconds. + Weight::from_parts(45_936_000, 3610) + .saturating_add(T::DbWeight::get().reads(7_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) } /// Storage: `PolkadotXcm::VersionNotifiers` (r:1 w:1) /// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -163,10 +162,10 @@ impl pallet_xcm::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `328` // Estimated: `3793` - // Minimum execution time: 44_926_000 picoseconds. - Weight::from_parts(45_579_000, 3793) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(4)) + // Minimum execution time: 46_012_000 picoseconds. + Weight::from_parts(46_403_000, 3793) + .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) } /// Storage: `PolkadotXcm::XcmExecutionSuspended` (r:0 w:1) /// Proof: `PolkadotXcm::XcmExecutionSuspended` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -174,9 +173,8 @@ impl pallet_xcm::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_986_000 picoseconds. - Weight::from_parts(5_153_000, 0) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 5_159_000 picoseconds. + Weight::from_parts(5_314_000, 0).saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `PolkadotXcm::SupportedVersion` (r:4 w:2) /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -184,10 +182,10 @@ impl pallet_xcm::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `167` // Estimated: `11057` - // Minimum execution time: 23_374_000 picoseconds. - Weight::from_parts(24_225_000, 11057) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 24_185_000 picoseconds. + Weight::from_parts(24_797_000, 11057) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `PolkadotXcm::VersionNotifiers` (r:4 w:2) /// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -195,10 +193,10 @@ impl pallet_xcm::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `171` // Estimated: `11061` - // Minimum execution time: 23_394_000 picoseconds. - Weight::from_parts(24_116_000, 11061) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 24_210_000 picoseconds. + Weight::from_parts(24_818_000, 11061) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:5 w:0) /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -206,9 +204,8 @@ impl pallet_xcm::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `178` // Estimated: `13543` - // Minimum execution time: 24_948_000 picoseconds. - Weight::from_parts(25_329_000, 13543) - .saturating_add(T::DbWeight::get().reads(5)) + // Minimum execution time: 25_280_000 picoseconds. + Weight::from_parts(25_704_000, 13543).saturating_add(T::DbWeight::get().reads(5_u64)) } /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:2 w:1) /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -226,10 +223,10 @@ impl pallet_xcm::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `212` // Estimated: `6152` - // Minimum execution time: 40_668_000 picoseconds. - Weight::from_parts(41_385_000, 6152) - .saturating_add(T::DbWeight::get().reads(7)) - .saturating_add(T::DbWeight::get().writes(3)) + // Minimum execution time: 41_585_000 picoseconds. + Weight::from_parts(42_032_000, 6152) + .saturating_add(T::DbWeight::get().reads(7_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:3 w:0) /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -237,9 +234,8 @@ impl pallet_xcm::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `172` // Estimated: `8587` - // Minimum execution time: 13_397_000 picoseconds. - Weight::from_parts(13_608_000, 8587) - .saturating_add(T::DbWeight::get().reads(3)) + // Minimum execution time: 13_594_000 picoseconds. + Weight::from_parts(13_919_000, 8587).saturating_add(T::DbWeight::get().reads(3_u64)) } /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:4 w:2) /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -247,10 +243,10 @@ impl pallet_xcm::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `178` // Estimated: `11068` - // Minimum execution time: 24_281_000 picoseconds. - Weight::from_parts(24_768_000, 11068) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 25_110_000 picoseconds. + Weight::from_parts(25_562_000, 11068) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:4 w:2) /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -268,17 +264,29 @@ impl pallet_xcm::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `254` // Estimated: `11144` - // Minimum execution time: 50_481_000 picoseconds. - Weight::from_parts(51_043_000, 11144) - .saturating_add(T::DbWeight::get().reads(9)) - .saturating_add(T::DbWeight::get().writes(4)) + // Minimum execution time: 51_873_000 picoseconds. + Weight::from_parts(52_527_000, 11144) + .saturating_add(T::DbWeight::get().reads(9_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) } fn new_query() -> Weight { - todo!() + // Proof Size summary in bytes: + // Measured: `69` + // Estimated: `1554` + // Minimum execution time: 4_930_000 picoseconds. + Weight::from_parts(5_220_000, 1554) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } fn take_response() -> Weight { - todo!() + // Proof Size summary in bytes: + // Measured: `7706` + // Estimated: `11171` + // Minimum execution time: 32_740_000 picoseconds. + Weight::from_parts(33_280_000, 11171) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } } \ No newline at end of file diff --git a/runtime/hydradx/src/xcm.rs b/runtime/hydradx/src/xcm.rs index 07ac028b4..4a5fc05d5 100644 --- a/runtime/hydradx/src/xcm.rs +++ b/runtime/hydradx/src/xcm.rs @@ -267,7 +267,10 @@ impl pallet_xcm::Config for Runtime { type XcmExecuteFilter = AllowTransferAndSwap; type XcmExecutor = XcmExecutor; type XcmTeleportFilter = Nothing; + #[cfg(not(feature = "runtime-benchmarks"))] type XcmReserveTransferFilter = Everything; + #[cfg(feature = "runtime-benchmarks")] + type XcmReserveTransferFilter = Nothing; type Weigher = FixedWeightBounds; type UniversalLocation = UniversalLocation; type RuntimeOrigin = RuntimeOrigin; @@ -312,6 +315,10 @@ parameter_types! { impl pallet_message_queue::Config for Runtime { type RuntimeEvent = RuntimeEvent; type WeightInfo = (); + #[cfg(feature = "runtime-benchmarks")] + type MessageProcessor = + pallet_message_queue::mock_helpers::NoopMessageProcessor; + #[cfg(not(feature = "runtime-benchmarks"))] type MessageProcessor = xcm_builder::ProcessXcmMessage, RuntimeCall>; type Size = u32; type QueueChangeHandler = NarrowOriginToSibling; From a70b599d2f6ca27af0ae0f08eda9094351dba528 Mon Sep 17 00:00:00 2001 From: dmoka Date: Thu, 23 May 2024 14:56:17 +0200 Subject: [PATCH 055/105] fix ignored test with explicitly triggering the processing of horizontal messages of parachains --- integration-tests/src/exchange_asset.rs | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/integration-tests/src/exchange_asset.rs b/integration-tests/src/exchange_asset.rs index 37defd7b5..6a9a14d05 100644 --- a/integration-tests/src/exchange_asset.rs +++ b/integration-tests/src/exchange_asset.rs @@ -171,7 +171,6 @@ fn hydra_should_swap_assets_when_receiving_from_acala_with_buy() { } //We swap GLMR for iBTC, sent from ACALA and executed on Hydradx, resultin in 4 hops -#[ignore] #[test] fn transfer_and_swap_should_work_with_4_hops() { //Arrange @@ -282,18 +281,22 @@ fn transfer_and_swap_should_work_with_4_hops() { }); }); - let fees = 400641025641; + + //We need these executions to trigger the processing of horizontal messages of each parachain + Moonbeam::execute_with(|| {}); + Hydra::execute_with(|| {}); + Interlay::execute_with(|| {}); + Acala::execute_with(|| { //hydradx_run_to_block(5); assert_eq!( hydradx_runtime::Currencies::free_balance(IBTC, &AccountId::from(BOB)), - 549198717948718 - ); - assert_eq!( - hydradx_runtime::Tokens::free_balance(IBTC, &hydradx_runtime::Treasury::account_id()), - fees + 549839246387064 ); + let fee = hydradx_runtime::Tokens::free_balance(IBTC, &hydradx_runtime::Treasury::account_id()); + + assert!(fee > 0, "treasury should have received fees, but it didn't"); }); } From 62ede26d42500df0743f57845827b142aea0b40e Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Thu, 23 May 2024 15:08:55 +0200 Subject: [PATCH 056/105] reordering of imports --- runtime/hydradx/src/assets.rs | 24 +++++++++++++----------- runtime/hydradx/src/governance.rs | 9 ++++++--- runtime/hydradx/src/lib.rs | 9 +++------ runtime/hydradx/src/system.rs | 3 +-- runtime/hydradx/src/xcm.rs | 16 ++++++---------- 5 files changed, 29 insertions(+), 32 deletions(-) diff --git a/runtime/hydradx/src/assets.rs b/runtime/hydradx/src/assets.rs index 7dd47f846..80fbdba78 100644 --- a/runtime/hydradx/src/assets.rs +++ b/runtime/hydradx/src/assets.rs @@ -18,13 +18,12 @@ use super::*; use crate::system::NativeAssetId; -use frame_support::traits::Defensive; use hydradx_adapters::{ AssetFeeOraclePriceProvider, EmaOraclePriceAdapter, FreezableNFT, MultiCurrencyLockedBalance, OmnipoolHookAdapter, - OracleAssetVolumeProvider, PriceAdjustmentAdapter, StableswapHooksAdapter, VestingInfo, + OracleAssetVolumeProvider, PriceAdjustmentAdapter, RelayChainBlockHashProvider, RelayChainBlockNumberProvider, + StableswapHooksAdapter, VestingInfo, }; -use hydradx_adapters::{RelayChainBlockHashProvider, RelayChainBlockNumberProvider}; use hydradx_traits::{ registry::Inspect, router::{inverse_route, PoolType, Trade}, @@ -38,11 +37,10 @@ use pallet_omnipool::{ use pallet_otc::NamedReserveIdentifier; use pallet_stableswap::weights::WeightInfo as StableswapWeights; use pallet_transaction_multi_payment::{AddTxAssetOnAccount, RemoveTxAssetOnKilled}; -use primitives::constants::chain::XYK_SOURCE; -use primitives::constants::time::DAYS; use primitives::constants::{ - chain::OMNIPOOL_SOURCE, + chain::{OMNIPOOL_SOURCE, XYK_SOURCE}, currency::{NATIVE_EXISTENTIAL_DEPOSIT, UNITS}, + time::DAYS, }; use sp_runtime::{traits::Zero, DispatchError, DispatchResult, FixedPointNumber}; @@ -53,19 +51,23 @@ use frame_support::{ sp_runtime::traits::{One, PhantomData}, sp_runtime::{FixedU128, Perbill, Permill}, traits::{ - AsEnsureOriginWithArg, ConstU32, Contains, Currency, EnsureOrigin, Imbalance, LockIdentifier, + AsEnsureOriginWithArg, ConstU32, Contains, Currency, Defensive, EnsureOrigin, Imbalance, LockIdentifier, NeverEnsureOrigin, OnUnbalanced, }, BoundedVec, PalletId, }; use frame_system::{EnsureRoot, EnsureSigned, RawOrigin}; -use orml_traits::currency::{MultiCurrency, MultiLockableCurrency, MutationHooks, OnDeposit, OnTransfer}; -use orml_traits::{GetByKey, Happened}; +use orml_traits::{ + currency::{MultiCurrency, MultiLockableCurrency, MutationHooks, OnDeposit, OnTransfer}, + GetByKey, Happened, +}; use pallet_dynamic_fees::types::FeeParams; use pallet_lbp::weights::WeightInfo as LbpWeights; use pallet_route_executor::{weights::WeightInfo as RouterWeights, AmmTradeWeights, MAX_NUMBER_OF_TRADES}; -use pallet_staking::types::{Action, Point}; -use pallet_staking::SigmoidPercentage; +use pallet_staking::{ + types::{Action, Point}, + SigmoidPercentage, +}; use pallet_xyk::weights::WeightInfo as XykWeights; use sp_std::num::NonZeroU16; diff --git a/runtime/hydradx/src/governance.rs b/runtime/hydradx/src/governance.rs index 30b092967..31465ec1e 100644 --- a/runtime/hydradx/src/governance.rs +++ b/runtime/hydradx/src/governance.rs @@ -21,11 +21,10 @@ use primitives::constants::{ time::{DAYS, HOURS}, }; -use frame_support::traits::tokens::{PayFromAccount, UnityAssetBalanceConversion}; use frame_support::{ parameter_types, sp_runtime::{Perbill, Percent, Permill}, - traits::{ConstU32, EitherOfDiverse, LockIdentifier, PrivilegeCmp}, + traits::{tokens::UnityAssetBalanceConversion, ConstU32, EitherOfDiverse, LockIdentifier, PrivilegeCmp}, PalletId, }; use frame_system::{EnsureRoot, EnsureSigned}; @@ -92,7 +91,11 @@ impl frame_support::traits::tokens::Pay for PayFromTreasuryAccount { #[cfg(feature = "runtime-benchmarks")] fn ensure_successful(_: &Self::Beneficiary, _: Self::AssetKind, amount: Self::Balance) { - >::mint_into(&TreasuryAccount::get(), amount * 1_000_000_000_000).unwrap(); + >::mint_into( + &TreasuryAccount::get(), + amount * 1_000_000_000_000, + ) + .unwrap(); } #[cfg(feature = "runtime-benchmarks")] fn ensure_concluded(_: Self::Id) {} diff --git a/runtime/hydradx/src/lib.rs b/runtime/hydradx/src/lib.rs index a81e85ce4..db52dc262 100644 --- a/runtime/hydradx/src/lib.rs +++ b/runtime/hydradx/src/lib.rs @@ -58,14 +58,11 @@ use sp_runtime::{ ApplyExtrinsicResult, Permill, }; -use sp_std::convert::From; -use sp_std::prelude::*; +use sp_std::{prelude::*, convert::From}; #[cfg(feature = "std")] -use sp_version::NativeVersion; -use sp_version::RuntimeVersion; +use sp_version::{NativeVersion, RuntimeVersion}; // A few exports that help ease life for downstream crates. -use frame_support::pallet_prelude::Hooks; -use frame_support::{construct_runtime, parameter_types, weights::Weight}; +use frame_support::{construct_runtime, parameter_types, weights::Weight, pallet_prelude::Hooks}; pub use hex_literal::hex; /// Import HydraDX pallets pub use pallet_claims; diff --git a/runtime/hydradx/src/system.rs b/runtime/hydradx/src/system.rs index b8e8a1666..1cba62697 100644 --- a/runtime/hydradx/src/system.rs +++ b/runtime/hydradx/src/system.rs @@ -22,7 +22,7 @@ use pallet_transaction_payment::{Multiplier, TargetedFeeAdjustment}; use primitives::constants::{ chain::{CORE_ASSET_ID, MAXIMUM_BLOCK_WEIGHT}, currency::{deposit, CENTS, DOLLARS, MILLICENTS}, - time::{HOURS, SLOT_DURATION}, + time::{DAYS, HOURS, SLOT_DURATION}, }; use codec::{Decode, Encode, MaxEncodedLen}; @@ -42,7 +42,6 @@ use frame_support::{ }; use frame_system::EnsureRoot; use hydradx_adapters::{OraclePriceProvider, RelayChainBlockNumberProvider}; -use primitives::constants::time::DAYS; use scale_info::TypeInfo; pub struct CallFilter; diff --git a/runtime/hydradx/src/xcm.rs b/runtime/hydradx/src/xcm.rs index 4a5fc05d5..d30ca21f2 100644 --- a/runtime/hydradx/src/xcm.rs +++ b/runtime/hydradx/src/xcm.rs @@ -1,21 +1,19 @@ use super::*; -use sp_std::marker::PhantomData; use codec::MaxEncodedLen; use hydradx_adapters::{MultiCurrencyTrader, ReroutingMultiCurrencyAdapter, ToFeeReceiver}; use pallet_transaction_multi_payment::DepositAll; -use primitives::AssetId; // shadow glob import of polkadot_xcm::v3::prelude::AssetId +use primitives::{AssetId, Price}; +use sp_std::marker::PhantomData; // shadow glob import of polkadot_xcm::v3::prelude::AssetId use cumulus_primitives_core::{AggregateMessageOrigin, ParaId}; -use frame_support::traits::TransformOrigin; use frame_support::{ parameter_types, sp_runtime::traits::{AccountIdConversion, Convert}, - traits::{ConstU32, Contains, ContainsPair, Everything, Get, Nothing}, + traits::{ConstU32, Contains, ContainsPair, Everything, Get, Nothing, TransformOrigin}, PalletId, }; -use hydradx_adapters::xcm_exchange::XcmAssetExchanger; -use hydradx_adapters::xcm_execute_filter::AllowTransferAndSwap; +use hydradx_adapters::{xcm_exchange::XcmAssetExchanger, xcm_execute_filter::AllowTransferAndSwap}; use orml_traits::{location::AbsoluteReserveProvider, parameter_type_with_key}; use orml_xcm_support::{DepositToAlternative, IsNativeConcrete, MultiNativeAsset}; use pallet_evm::AddressMapping; @@ -24,10 +22,8 @@ use parachains_common::message_queue::{NarrowOriginToSibling, ParaIdToSibling}; use polkadot_parachain::primitives::{RelayChainBlockNumber, Sibling}; use polkadot_xcm::v3::MultiLocation; use polkadot_xcm::v4::{prelude::*, Asset, InteriorLocation, Weight as XcmWeight}; -use primitives::Price; use scale_info::TypeInfo; -use sp_runtime::traits::MaybeEquivalence; -use sp_runtime::Perbill; +use sp_runtime::{traits::MaybeEquivalence, Perbill}; use xcm_builder::{ AccountId32Aliases, AllowKnownQueryResponses, AllowSubscriptionsFrom, AllowTopLevelPaidExecutionFrom, DescribeAllTerminal, DescribeFamily, EnsureXcmOrigin, FixedWeightBounds, HashedDescription, ParentIsPreset, @@ -317,7 +313,7 @@ impl pallet_message_queue::Config for Runtime { type WeightInfo = (); #[cfg(feature = "runtime-benchmarks")] type MessageProcessor = - pallet_message_queue::mock_helpers::NoopMessageProcessor; + pallet_message_queue::mock_helpers::NoopMessageProcessor; #[cfg(not(feature = "runtime-benchmarks"))] type MessageProcessor = xcm_builder::ProcessXcmMessage, RuntimeCall>; type Size = u32; From 041c91ce849d20eba767013108903aad642a92ee Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Thu, 23 May 2024 15:16:22 +0200 Subject: [PATCH 057/105] bump crate versions --- Cargo.lock | 82 ++++++++++---------- integration-tests/Cargo.toml | 2 +- node/Cargo.toml | 2 +- pallets/asset-registry/Cargo.toml | 2 +- pallets/bonds/Cargo.toml | 2 +- pallets/circuit-breaker/Cargo.toml | 2 +- pallets/claims/Cargo.toml | 2 +- pallets/collator-rewards/Cargo.toml | 2 +- pallets/currencies/Cargo.toml | 2 +- pallets/dca/Cargo.toml | 2 +- pallets/democracy/Cargo.toml | 2 +- pallets/duster/Cargo.toml | 2 +- pallets/dynamic-evm-fee/Cargo.toml | 2 +- pallets/dynamic-fees/Cargo.toml | 2 +- pallets/ema-oracle/Cargo.toml | 2 +- pallets/evm-accounts/Cargo.toml | 2 +- pallets/genesis-history/Cargo.toml | 2 +- pallets/lbp/Cargo.toml | 2 +- pallets/liquidity-mining/Cargo.toml | 2 +- pallets/nft/Cargo.toml | 2 +- pallets/omnipool-liquidity-mining/Cargo.toml | 2 +- pallets/omnipool/Cargo.toml | 2 +- pallets/otc/Cargo.toml | 2 +- pallets/referrals/Cargo.toml | 2 +- pallets/route-executor/Cargo.toml | 2 +- pallets/stableswap/Cargo.toml | 2 +- pallets/staking/Cargo.toml | 2 +- pallets/transaction-multi-payment/Cargo.toml | 2 +- pallets/transaction-pause/Cargo.toml | 2 +- pallets/xyk-liquidity-mining/Cargo.toml | 2 +- pallets/xyk/Cargo.toml | 2 +- precompiles/utils/Cargo.toml | 2 +- primitives/Cargo.toml | 2 +- runtime/adapters/Cargo.toml | 2 +- runtime/hydradx/Cargo.toml | 2 +- runtime/hydradx/src/lib.rs | 2 +- scraper/Cargo.toml | 2 +- 37 files changed, 77 insertions(+), 77 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 890295ed2..f85164514 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4769,7 +4769,7 @@ dependencies = [ [[package]] name = "hydradx" -version = "12.3.0" +version = "13.0.0" dependencies = [ "async-trait", "clap 4.5.4", @@ -4861,7 +4861,7 @@ dependencies = [ [[package]] name = "hydradx-adapters" -version = "1.3.3" +version = "1.3.4" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-primitives-core", @@ -4890,7 +4890,7 @@ dependencies = [ "pallet-referrals", "pallet-route-executor", "pallet-stableswap", - "pallet-staking 3.0.0", + "pallet-staking 3.0.1", "pallet-transaction-multi-payment", "pallet-uniques", "pallet-xyk", @@ -4911,7 +4911,7 @@ dependencies = [ [[package]] name = "hydradx-runtime" -version = "235.0.0" +version = "236.0.0" dependencies = [ "cumulus-pallet-aura-ext", "cumulus-pallet-parachain-system", @@ -4960,7 +4960,7 @@ dependencies = [ "pallet-collective", "pallet-currencies", "pallet-dca", - "pallet-democracy 4.1.0", + "pallet-democracy 4.1.1", "pallet-duster", "pallet-dynamic-evm-fee", "pallet-dynamic-fees", @@ -4994,7 +4994,7 @@ dependencies = [ "pallet-scheduler", "pallet-session", "pallet-stableswap", - "pallet-staking 3.0.0", + "pallet-staking 3.0.1", "pallet-state-trie-migration", "pallet-timestamp", "pallet-tips", @@ -7481,7 +7481,7 @@ dependencies = [ [[package]] name = "pallet-asset-registry" -version = "3.2.3" +version = "3.2.4" dependencies = [ "frame-benchmarking", "frame-support", @@ -7696,7 +7696,7 @@ dependencies = [ [[package]] name = "pallet-bonds" -version = "2.2.2" +version = "2.2.3" dependencies = [ "frame-benchmarking", "frame-support", @@ -7774,7 +7774,7 @@ dependencies = [ [[package]] name = "pallet-circuit-breaker" -version = "1.1.23" +version = "1.1.24" dependencies = [ "frame-benchmarking", "frame-support", @@ -7799,7 +7799,7 @@ dependencies = [ [[package]] name = "pallet-claims" -version = "3.4.8" +version = "3.4.9" dependencies = [ "frame-benchmarking", "frame-support", @@ -7821,7 +7821,7 @@ dependencies = [ [[package]] name = "pallet-collator-rewards" -version = "1.0.6" +version = "1.0.7" dependencies = [ "frame-benchmarking", "frame-support", @@ -7898,7 +7898,7 @@ dependencies = [ [[package]] name = "pallet-currencies" -version = "2.1.0" +version = "2.1.1" dependencies = [ "frame-support", "frame-system", @@ -7917,7 +7917,7 @@ dependencies = [ [[package]] name = "pallet-dca" -version = "1.4.7" +version = "1.4.8" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-primitives-core", @@ -7955,7 +7955,7 @@ dependencies = [ [[package]] name = "pallet-democracy" -version = "4.1.0" +version = "4.1.1" dependencies = [ "frame-benchmarking", "frame-support", @@ -7993,7 +7993,7 @@ dependencies = [ [[package]] name = "pallet-duster" -version = "3.2.4" +version = "3.2.5" dependencies = [ "frame-benchmarking", "frame-support", @@ -8017,7 +8017,7 @@ dependencies = [ [[package]] name = "pallet-dynamic-evm-fee" -version = "1.0.1" +version = "1.0.2" dependencies = [ "frame-benchmarking", "frame-support", @@ -8044,7 +8044,7 @@ dependencies = [ [[package]] name = "pallet-dynamic-fees" -version = "1.0.3" +version = "1.0.4" dependencies = [ "frame-benchmarking", "frame-support", @@ -8119,7 +8119,7 @@ dependencies = [ [[package]] name = "pallet-ema-oracle" -version = "1.3.1" +version = "1.3.2" dependencies = [ "frame-benchmarking", "frame-support", @@ -8193,7 +8193,7 @@ dependencies = [ [[package]] name = "pallet-evm-accounts" -version = "1.1.1" +version = "1.1.2" dependencies = [ "frame-benchmarking", "frame-support", @@ -8328,7 +8328,7 @@ dependencies = [ [[package]] name = "pallet-genesis-history" -version = "2.1.1" +version = "2.1.2" dependencies = [ "derive_more", "frame-support", @@ -8423,7 +8423,7 @@ dependencies = [ [[package]] name = "pallet-lbp" -version = "4.8.1" +version = "4.8.2" dependencies = [ "frame-benchmarking", "frame-support", @@ -8448,7 +8448,7 @@ dependencies = [ [[package]] name = "pallet-liquidity-mining" -version = "4.3.1" +version = "4.3.2" dependencies = [ "fixed", "frame-support", @@ -8544,7 +8544,7 @@ dependencies = [ [[package]] name = "pallet-nft" -version = "7.1.3" +version = "7.1.4" dependencies = [ "frame-benchmarking", "frame-support", @@ -8671,7 +8671,7 @@ dependencies = [ [[package]] name = "pallet-omnipool" -version = "4.2.0" +version = "4.2.1" dependencies = [ "bitflags 1.3.2", "frame-benchmarking", @@ -8698,7 +8698,7 @@ dependencies = [ [[package]] name = "pallet-omnipool-liquidity-mining" -version = "2.1.6" +version = "2.1.7" dependencies = [ "frame-benchmarking", "frame-support", @@ -8725,7 +8725,7 @@ dependencies = [ [[package]] name = "pallet-otc" -version = "1.1.2" +version = "1.1.3" dependencies = [ "frame-benchmarking", "frame-support", @@ -8832,7 +8832,7 @@ dependencies = [ [[package]] name = "pallet-referrals" -version = "1.2.4" +version = "1.2.5" dependencies = [ "frame-benchmarking", "frame-support", @@ -8883,7 +8883,7 @@ dependencies = [ [[package]] name = "pallet-route-executor" -version = "2.3.2" +version = "2.3.3" dependencies = [ "frame-benchmarking", "frame-support", @@ -8983,7 +8983,7 @@ dependencies = [ [[package]] name = "pallet-stableswap" -version = "3.6.1" +version = "3.6.2" dependencies = [ "bitflags 1.3.2", "frame-benchmarking", @@ -9008,7 +9008,7 @@ dependencies = [ [[package]] name = "pallet-staking" -version = "3.0.0" +version = "3.0.1" dependencies = [ "frame-benchmarking", "frame-support", @@ -9018,7 +9018,7 @@ dependencies = [ "orml-tokens", "orml-traits", "pallet-balances", - "pallet-democracy 4.1.0", + "pallet-democracy 4.1.1", "pallet-uniques", "parity-scale-codec", "pretty_assertions", @@ -9157,7 +9157,7 @@ dependencies = [ [[package]] name = "pallet-transaction-multi-payment" -version = "10.0.3" +version = "10.0.4" dependencies = [ "frame-support", "frame-system", @@ -9184,7 +9184,7 @@ dependencies = [ [[package]] name = "pallet-transaction-pause" -version = "1.0.1" +version = "1.0.2" dependencies = [ "frame-benchmarking", "frame-support", @@ -9371,7 +9371,7 @@ dependencies = [ [[package]] name = "pallet-xyk" -version = "6.4.2" +version = "6.4.3" dependencies = [ "frame-benchmarking", "frame-support", @@ -9397,7 +9397,7 @@ dependencies = [ [[package]] name = "pallet-xyk-liquidity-mining" -version = "1.1.10" +version = "1.1.11" dependencies = [ "frame-support", "frame-system", @@ -10954,7 +10954,7 @@ checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" [[package]] name = "precompile-utils" -version = "0.1.0" +version = "0.1.1" dependencies = [ "affix", "derive_more", @@ -11080,7 +11080,7 @@ dependencies = [ [[package]] name = "primitives" -version = "6.0.2" +version = "6.0.3" dependencies = [ "frame-support", "hex-literal 0.3.4", @@ -11912,7 +11912,7 @@ dependencies = [ [[package]] name = "runtime-integration-tests" -version = "1.21.5" +version = "1.22.0" dependencies = [ "cumulus-pallet-aura-ext", "cumulus-pallet-parachain-system", @@ -11954,7 +11954,7 @@ dependencies = [ "pallet-collective", "pallet-currencies", "pallet-dca", - "pallet-democracy 4.1.0", + "pallet-democracy 4.1.1", "pallet-duster", "pallet-dynamic-evm-fee", "pallet-dynamic-fees", @@ -11975,7 +11975,7 @@ dependencies = [ "pallet-scheduler", "pallet-session", "pallet-stableswap", - "pallet-staking 3.0.0", + "pallet-staking 3.0.1", "pallet-timestamp", "pallet-tips", "pallet-transaction-multi-payment", @@ -13472,7 +13472,7 @@ checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" [[package]] name = "scraper" -version = "1.2.2" +version = "1.2.3" dependencies = [ "clap 3.2.25", "frame-remote-externalities", diff --git a/integration-tests/Cargo.toml b/integration-tests/Cargo.toml index abf4089dd..4467a8a31 100644 --- a/integration-tests/Cargo.toml +++ b/integration-tests/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "runtime-integration-tests" -version = "1.21.5" +version = "1.22.0" description = "Integration tests" authors = ["GalacticCouncil"] edition = "2021" diff --git a/node/Cargo.toml b/node/Cargo.toml index 6c4f4136b..eefbae3fd 100644 --- a/node/Cargo.toml +++ b/node/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hydradx" -version = "12.3.0" +version = "13.0.0" description = "HydraDX node" authors = ["GalacticCouncil"] edition = "2021" diff --git a/pallets/asset-registry/Cargo.toml b/pallets/asset-registry/Cargo.toml index 3cface2ca..38832f9e6 100644 --- a/pallets/asset-registry/Cargo.toml +++ b/pallets/asset-registry/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-asset-registry" -version = "3.2.3" +version = "3.2.4" description = "Pallet for asset registry management" authors = ["GalacticCouncil"] edition = "2021" diff --git a/pallets/bonds/Cargo.toml b/pallets/bonds/Cargo.toml index d422a8226..2417b8c7d 100644 --- a/pallets/bonds/Cargo.toml +++ b/pallets/bonds/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-bonds" -version = "2.2.2" +version = "2.2.3" authors = ['GalacticCouncil'] edition = "2021" license = "Apache-2.0" diff --git a/pallets/circuit-breaker/Cargo.toml b/pallets/circuit-breaker/Cargo.toml index 3e3abb725..5d7b0b2a1 100644 --- a/pallets/circuit-breaker/Cargo.toml +++ b/pallets/circuit-breaker/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-circuit-breaker" -version = "1.1.23" +version = "1.1.24" authors = ["GalacticCouncil "] edition = "2021" license = "Apache-2.0" diff --git a/pallets/claims/Cargo.toml b/pallets/claims/Cargo.toml index b42404ada..50524f836 100644 --- a/pallets/claims/Cargo.toml +++ b/pallets/claims/Cargo.toml @@ -1,6 +1,6 @@ [package] name = 'pallet-claims' -version = '3.4.8' +version = '3.4.9' description = 'HydraDX Claims Module' authors = ['GalacticCouncil'] edition = '2021' diff --git a/pallets/collator-rewards/Cargo.toml b/pallets/collator-rewards/Cargo.toml index bea2e58a3..111ae549e 100644 --- a/pallets/collator-rewards/Cargo.toml +++ b/pallets/collator-rewards/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-collator-rewards" -version = "1.0.6" +version = "1.0.7" description = "Pallet for collator rewards" authors = ["GalacticCouncil"] edition = "2021" diff --git a/pallets/currencies/Cargo.toml b/pallets/currencies/Cargo.toml index 5ad72157d..0421c8177 100644 --- a/pallets/currencies/Cargo.toml +++ b/pallets/currencies/Cargo.toml @@ -3,7 +3,7 @@ name = "pallet-currencies" description = "Provide `MultiCurrency` implementation using `pallet-balances` and `orml-tokens` module." repository = "https://github.com/open-web3-stack/open-runtime-module-library/tree/master/currencies" license = "Apache-2.0" -version = "2.1.0" +version = "2.1.1" authors = ["Laminar Developers "] edition = "2021" diff --git a/pallets/dca/Cargo.toml b/pallets/dca/Cargo.toml index dfac51357..c7634b80c 100644 --- a/pallets/dca/Cargo.toml +++ b/pallets/dca/Cargo.toml @@ -1,6 +1,6 @@ [package] name = 'pallet-dca' -version = "1.4.7" +version = "1.4.8" description = 'A pallet to manage DCA scheduling' authors = ['GalacticCouncil'] edition = '2021' diff --git a/pallets/democracy/Cargo.toml b/pallets/democracy/Cargo.toml index d16935ef2..cf6be1174 100644 --- a/pallets/democracy/Cargo.toml +++ b/pallets/democracy/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-democracy" -version = "4.1.0" +version = "4.1.1" authors = ["Parity Technologies "] edition = "2021" license = "Apache-2.0" diff --git a/pallets/duster/Cargo.toml b/pallets/duster/Cargo.toml index 5fee2d013..073910cd1 100644 --- a/pallets/duster/Cargo.toml +++ b/pallets/duster/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-duster" -version = "3.2.4" +version = "3.2.5" description = "Account duster" authors = ["GalacticCouncil"] edition = "2021" diff --git a/pallets/dynamic-evm-fee/Cargo.toml b/pallets/dynamic-evm-fee/Cargo.toml index b990b64e6..7ee724aa4 100644 --- a/pallets/dynamic-evm-fee/Cargo.toml +++ b/pallets/dynamic-evm-fee/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-dynamic-evm-fee" -version = "1.0.1" +version = "1.0.2" description = "Storing and mutating the dynamic fee for EVM transactions." authors = ["GalacticCoucil"] edition = "2021" diff --git a/pallets/dynamic-fees/Cargo.toml b/pallets/dynamic-fees/Cargo.toml index 3acfcb3f0..d82bf47fb 100644 --- a/pallets/dynamic-fees/Cargo.toml +++ b/pallets/dynamic-fees/Cargo.toml @@ -1,6 +1,6 @@ [package] name = 'pallet-dynamic-fees' -version = '1.0.3' +version = '1.0.4' description = 'A pallet to provide support for dynamic fees' authors = ['GalacticCouncil'] edition = '2021' diff --git a/pallets/ema-oracle/Cargo.toml b/pallets/ema-oracle/Cargo.toml index b20232dc2..4427b7748 100644 --- a/pallets/ema-oracle/Cargo.toml +++ b/pallets/ema-oracle/Cargo.toml @@ -1,6 +1,6 @@ [package] name = 'pallet-ema-oracle' -version = '1.3.1' +version = '1.3.2' description = 'Exponential moving average oracle for AMM pools' authors = ['GalacticCouncil'] edition = '2021' diff --git a/pallets/evm-accounts/Cargo.toml b/pallets/evm-accounts/Cargo.toml index fa04db78f..5fc8abfbe 100644 --- a/pallets/evm-accounts/Cargo.toml +++ b/pallets/evm-accounts/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-evm-accounts" -version = "1.1.1" +version = "1.1.2" authors = ['GalacticCouncil'] edition = "2021" license = "Apache-2.0" diff --git a/pallets/genesis-history/Cargo.toml b/pallets/genesis-history/Cargo.toml index f07d505f4..9975b0a38 100644 --- a/pallets/genesis-history/Cargo.toml +++ b/pallets/genesis-history/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-genesis-history" -version = "2.1.1" +version = "2.1.2" description = "Keeping track of the past chain generations." authors = ["GalacticCouncil "] edition = "2021" diff --git a/pallets/lbp/Cargo.toml b/pallets/lbp/Cargo.toml index 7732b96f7..42c82080a 100644 --- a/pallets/lbp/Cargo.toml +++ b/pallets/lbp/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-lbp" -version = "4.8.1" +version = "4.8.2" description = "HydraDX Liquidity Bootstrapping Pool Pallet" authors = ["GalacticCouncil"] edition = "2021" diff --git a/pallets/liquidity-mining/Cargo.toml b/pallets/liquidity-mining/Cargo.toml index 4f86bd892..b73951ca8 100644 --- a/pallets/liquidity-mining/Cargo.toml +++ b/pallets/liquidity-mining/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-liquidity-mining" -version = "4.3.1" +version = "4.3.2" description = "Liquidity mining" authors = ["GalacticCouncil"] edition = "2021" diff --git a/pallets/nft/Cargo.toml b/pallets/nft/Cargo.toml index 68450c070..0ad235e1e 100644 --- a/pallets/nft/Cargo.toml +++ b/pallets/nft/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-nft" -version = "7.1.3" +version = "7.1.4" description = "A generic NFT pallet for managing non-fungible tokens" authors = ["GalacticCoucil"] edition = "2021" diff --git a/pallets/omnipool-liquidity-mining/Cargo.toml b/pallets/omnipool-liquidity-mining/Cargo.toml index dd8138ece..4b9cda7f9 100644 --- a/pallets/omnipool-liquidity-mining/Cargo.toml +++ b/pallets/omnipool-liquidity-mining/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-omnipool-liquidity-mining" -version = "2.1.6" +version = "2.1.7" authors = ['GalacticCouncil'] edition = "2021" license = "Apache-2.0" diff --git a/pallets/omnipool/Cargo.toml b/pallets/omnipool/Cargo.toml index 59aaec99b..e225f654c 100644 --- a/pallets/omnipool/Cargo.toml +++ b/pallets/omnipool/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-omnipool" -version = "4.2.0" +version = "4.2.1" authors = ['GalacticCouncil'] edition = "2021" license = "Apache-2.0" diff --git a/pallets/otc/Cargo.toml b/pallets/otc/Cargo.toml index f565ba074..3d84afc8b 100644 --- a/pallets/otc/Cargo.toml +++ b/pallets/otc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = 'pallet-otc' -version = '1.1.2' +version = '1.1.3' description = 'A pallet for trustless over-the-counter trading' authors = ['GalacticCouncil'] edition = '2021' diff --git a/pallets/referrals/Cargo.toml b/pallets/referrals/Cargo.toml index 8db637300..981f0829e 100644 --- a/pallets/referrals/Cargo.toml +++ b/pallets/referrals/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-referrals" -version = "1.2.4" +version = "1.2.5" authors = ['GalacticCouncil'] edition = "2021" license = "Apache-2.0" diff --git a/pallets/route-executor/Cargo.toml b/pallets/route-executor/Cargo.toml index ccf6826f9..fc6eb60d0 100644 --- a/pallets/route-executor/Cargo.toml +++ b/pallets/route-executor/Cargo.toml @@ -1,6 +1,6 @@ [package] name = 'pallet-route-executor' -version = '2.3.2' +version = '2.3.3' description = 'A pallet to execute a route containing a sequence of trades' authors = ['GalacticCouncil'] edition = '2021' diff --git a/pallets/stableswap/Cargo.toml b/pallets/stableswap/Cargo.toml index 27d4f2a3b..e0f2e7d36 100644 --- a/pallets/stableswap/Cargo.toml +++ b/pallets/stableswap/Cargo.toml @@ -1,6 +1,6 @@ [package] name = 'pallet-stableswap' -version = '3.6.1' +version = '3.6.2' description = 'AMM for correlated assets' authors = ['GalacticCouncil'] edition = '2021' diff --git a/pallets/staking/Cargo.toml b/pallets/staking/Cargo.toml index 2a365d9d3..03bc3a368 100644 --- a/pallets/staking/Cargo.toml +++ b/pallets/staking/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-staking" -version = "3.0.0" +version = "3.0.1" authors = ['GalacticCouncil'] edition = "2021" license = "Apache-2.0" diff --git a/pallets/transaction-multi-payment/Cargo.toml b/pallets/transaction-multi-payment/Cargo.toml index 9e1ccb746..6091feb80 100644 --- a/pallets/transaction-multi-payment/Cargo.toml +++ b/pallets/transaction-multi-payment/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-transaction-multi-payment" -version = "10.0.3" +version = "10.0.4" description = "Transaction multi currency payment support module" authors = ["GalacticCoucil"] edition = "2021" diff --git a/pallets/transaction-pause/Cargo.toml b/pallets/transaction-pause/Cargo.toml index 72d7523b7..982250bc3 100644 --- a/pallets/transaction-pause/Cargo.toml +++ b/pallets/transaction-pause/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-transaction-pause" -version = "1.0.1" +version = "1.0.2" authors = ["Acala Developers", "GalacticCouncil"] edition = "2021" diff --git a/pallets/xyk-liquidity-mining/Cargo.toml b/pallets/xyk-liquidity-mining/Cargo.toml index 418de04a5..caac8a418 100644 --- a/pallets/xyk-liquidity-mining/Cargo.toml +++ b/pallets/xyk-liquidity-mining/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-xyk-liquidity-mining" -version = "1.1.10" +version = "1.1.11" description = "Liquidity mining" authors = ["GalacticCouncil"] edition = "2021" diff --git a/pallets/xyk/Cargo.toml b/pallets/xyk/Cargo.toml index 040c37124..68c6df36f 100644 --- a/pallets/xyk/Cargo.toml +++ b/pallets/xyk/Cargo.toml @@ -1,6 +1,6 @@ [package] name = 'pallet-xyk' -version = "6.4.2" +version = "6.4.3" description = 'XYK automated market maker' authors = ['GalacticCouncil'] edition = '2021' diff --git a/precompiles/utils/Cargo.toml b/precompiles/utils/Cargo.toml index a667a3bba..4f1a22312 100644 --- a/precompiles/utils/Cargo.toml +++ b/precompiles/utils/Cargo.toml @@ -2,7 +2,7 @@ name = "precompile-utils" description = "Utils to write EVM precompiles." edition = "2021" -version = "0.1.0" +version = "0.1.1" authors = ["PureStake"] repository = "https://github.com/PureStake/moonbeam" diff --git a/primitives/Cargo.toml b/primitives/Cargo.toml index bc24303e3..b62a44c7e 100644 --- a/primitives/Cargo.toml +++ b/primitives/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "primitives" -version = "6.0.2" +version = "6.0.3" authors = ["GalacticCouncil"] edition = "2021" repository = "https://github.com/galacticcouncil/HydraDX-node" diff --git a/runtime/adapters/Cargo.toml b/runtime/adapters/Cargo.toml index 512d15490..05baabe02 100644 --- a/runtime/adapters/Cargo.toml +++ b/runtime/adapters/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hydradx-adapters" -version = "1.3.3" +version = "1.3.4" description = "Structs and other generic types for building runtimes." authors = ["GalacticCouncil"] edition = "2021" diff --git a/runtime/hydradx/Cargo.toml b/runtime/hydradx/Cargo.toml index 6b540303f..0ed7e72df 100644 --- a/runtime/hydradx/Cargo.toml +++ b/runtime/hydradx/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hydradx-runtime" -version = "235.0.0" +version = "236.0.0" authors = ["GalacticCouncil"] edition = "2021" license = "Apache 2.0" diff --git a/runtime/hydradx/src/lib.rs b/runtime/hydradx/src/lib.rs index db52dc262..7d09f651b 100644 --- a/runtime/hydradx/src/lib.rs +++ b/runtime/hydradx/src/lib.rs @@ -106,7 +106,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("hydradx"), impl_name: create_runtime_str!("hydradx"), authoring_version: 1, - spec_version: 235, + spec_version: 236, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 1, diff --git a/scraper/Cargo.toml b/scraper/Cargo.toml index a191858dc..6ddcb2409 100644 --- a/scraper/Cargo.toml +++ b/scraper/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "scraper" -version = "1.2.2" +version = "1.2.3" description = "Scraper tool" authors = ["GalacticCouncil"] edition = "2021" From 495a939aead86358eba61b1d8341e24c4b200cae Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Thu, 23 May 2024 18:13:57 +0200 Subject: [PATCH 058/105] bump crate versions --- pallets/liquidity-mining/Cargo.toml | 2 +- pallets/omnipool-liquidity-mining/Cargo.toml | 2 +- pallets/omnipool/Cargo.toml | 2 +- precompiles/call-permit/Cargo.toml | 2 +- runtime/hydradx/Cargo.toml | 2 +- runtime/hydradx/src/lib.rs | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/pallets/liquidity-mining/Cargo.toml b/pallets/liquidity-mining/Cargo.toml index b73951ca8..ee6a7961b 100644 --- a/pallets/liquidity-mining/Cargo.toml +++ b/pallets/liquidity-mining/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-liquidity-mining" -version = "4.3.2" +version = "4.3.3" description = "Liquidity mining" authors = ["GalacticCouncil"] edition = "2021" diff --git a/pallets/omnipool-liquidity-mining/Cargo.toml b/pallets/omnipool-liquidity-mining/Cargo.toml index 4b9cda7f9..67ea84795 100644 --- a/pallets/omnipool-liquidity-mining/Cargo.toml +++ b/pallets/omnipool-liquidity-mining/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-omnipool-liquidity-mining" -version = "2.1.7" +version = "2.1.8" authors = ['GalacticCouncil'] edition = "2021" license = "Apache-2.0" diff --git a/pallets/omnipool/Cargo.toml b/pallets/omnipool/Cargo.toml index e225f654c..e108fd6aa 100644 --- a/pallets/omnipool/Cargo.toml +++ b/pallets/omnipool/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-omnipool" -version = "4.2.1" +version = "4.2.2" authors = ['GalacticCouncil'] edition = "2021" license = "Apache-2.0" diff --git a/precompiles/call-permit/Cargo.toml b/precompiles/call-permit/Cargo.toml index f5b81d9c2..556178a13 100644 --- a/precompiles/call-permit/Cargo.toml +++ b/precompiles/call-permit/Cargo.toml @@ -2,7 +2,7 @@ name = "pallet-evm-precompile-call-permit" description = "A Precompile to dispatch a call with a ERC712 permit." edition = "2021" -version = "0.1.0" +version = "0.1.1" authors = ["PureStake"] repository = "https://github.com/PureStake/moonbeam" diff --git a/runtime/hydradx/Cargo.toml b/runtime/hydradx/Cargo.toml index 0ed7e72df..4844f1f37 100644 --- a/runtime/hydradx/Cargo.toml +++ b/runtime/hydradx/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hydradx-runtime" -version = "236.0.0" +version = "237.0.0" authors = ["GalacticCouncil"] edition = "2021" license = "Apache 2.0" diff --git a/runtime/hydradx/src/lib.rs b/runtime/hydradx/src/lib.rs index 7d09f651b..981bcc5f8 100644 --- a/runtime/hydradx/src/lib.rs +++ b/runtime/hydradx/src/lib.rs @@ -106,7 +106,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("hydradx"), impl_name: create_runtime_str!("hydradx"), authoring_version: 1, - spec_version: 236, + spec_version: 237, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 1, From 9b48a9ffb250f9f954255f07c0a852d985b6bcd9 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Thu, 23 May 2024 18:14:15 +0200 Subject: [PATCH 059/105] update lock file with updated crates --- Cargo.lock | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 8190bf56a..932b5fe33 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4911,7 +4911,7 @@ dependencies = [ [[package]] name = "hydradx-runtime" -version = "236.0.0" +version = "237.0.0" dependencies = [ "cumulus-pallet-aura-ext", "cumulus-pallet-parachain-system", @@ -8249,7 +8249,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-call-permit" -version = "0.1.0" +version = "0.1.1" dependencies = [ "derive_more", "evm 0.41.1", @@ -8448,7 +8448,7 @@ dependencies = [ [[package]] name = "pallet-liquidity-mining" -version = "4.3.2" +version = "4.3.3" dependencies = [ "fixed", "frame-support", @@ -8671,7 +8671,7 @@ dependencies = [ [[package]] name = "pallet-omnipool" -version = "4.2.1" +version = "4.2.2" dependencies = [ "bitflags 1.3.2", "frame-benchmarking", @@ -8698,7 +8698,7 @@ dependencies = [ [[package]] name = "pallet-omnipool-liquidity-mining" -version = "2.1.7" +version = "2.1.8" dependencies = [ "frame-benchmarking", "frame-support", From 37b91afc665300b5af6aa6b040bf23bc106434da Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Thu, 23 May 2024 18:17:15 +0200 Subject: [PATCH 060/105] formatting --- runtime/hydradx/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/hydradx/src/lib.rs b/runtime/hydradx/src/lib.rs index 981bcc5f8..2c2e74502 100644 --- a/runtime/hydradx/src/lib.rs +++ b/runtime/hydradx/src/lib.rs @@ -58,11 +58,11 @@ use sp_runtime::{ ApplyExtrinsicResult, Permill, }; -use sp_std::{prelude::*, convert::From}; +use sp_std::{convert::From, prelude::*}; #[cfg(feature = "std")] use sp_version::{NativeVersion, RuntimeVersion}; // A few exports that help ease life for downstream crates. -use frame_support::{construct_runtime, parameter_types, weights::Weight, pallet_prelude::Hooks}; +use frame_support::{construct_runtime, pallet_prelude::Hooks, parameter_types, weights::Weight}; pub use hex_literal::hex; /// Import HydraDX pallets pub use pallet_claims; From daab88f78e87be800c879fa636835fa9150f7bcd Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Thu, 23 May 2024 18:21:08 +0200 Subject: [PATCH 061/105] satisfy clippy --- integration-tests/src/omnipool_liquidity_mining.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/integration-tests/src/omnipool_liquidity_mining.rs b/integration-tests/src/omnipool_liquidity_mining.rs index 2d5cc8114..cd2149ebd 100644 --- a/integration-tests/src/omnipool_liquidity_mining.rs +++ b/integration-tests/src/omnipool_liquidity_mining.rs @@ -609,7 +609,7 @@ fn withdraw_shares_should_send_reward_to_user_when_bigger_than_ed_but_user_has_n //We also make sure that treasury has some balance so we don't trigger BelowMinimum error because treasury balance is below ED assert_ok!(Currencies::transfer( RuntimeOrigin::signed(CHARLIE.into()), - Treasury::account_id().into(), + Treasury::account_id(), HDX, 1000 * UNITS, )); @@ -805,7 +805,7 @@ fn withdraw_shares_should_send_reward_to_treasury_when_reward_is_less_than_ed_an //We also make sure that treasury has some balance so we don't trigger BelowMinimum error because treasury balance is below ED assert_ok!(Currencies::transfer( RuntimeOrigin::signed(CHARLIE.into()), - Treasury::account_id().into(), + Treasury::account_id(), HDX, 1000 * UNITS, )); From 8d3c3bd1e40ff2edbe68b3d583421fdc3d047a09 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Fri, 24 May 2024 10:58:01 +0200 Subject: [PATCH 062/105] rebenchmarking --- pallets/asset-registry/src/lib.rs | 2 +- pallets/asset-registry/src/weights.rs | 219 +++--- pallets/bonds/src/weights.rs | 139 ++-- pallets/circuit-breaker/src/weights.rs | 79 +- pallets/claims/src/lib.rs | 2 +- pallets/claims/src/weights.rs | 20 +- pallets/currencies/src/weights.rs | 74 +- pallets/dca/src/lib.rs | 2 +- pallets/dca/src/weights.rs | 188 +---- pallets/democracy/src/weights.rs | 697 +++-------------- pallets/duster/src/weights.rs | 106 +-- pallets/dynamic-evm-fee/src/weights.rs | 103 +-- pallets/ema-oracle/src/weights.rs | 195 ++--- pallets/evm-accounts/src/weights.rs | 108 +-- pallets/lbp/src/weights.rs | 346 +++------ pallets/nft/src/mock.rs | 2 +- pallets/nft/src/weights.rs | 182 +---- .../omnipool-liquidity-mining/src/weights.rs | 384 ++-------- pallets/omnipool/src/weights.rs | 714 ++++-------------- pallets/otc/src/lib.rs | 2 +- pallets/otc/src/weights.rs | 195 ++--- pallets/referrals/src/lib.rs | 2 +- pallets/referrals/src/weights.rs | 199 ++--- pallets/route-executor/src/weights.rs | 176 +---- pallets/stableswap/src/lib.rs | 2 +- pallets/stableswap/src/weights.rs | 550 ++++---------- pallets/staking/src/weights.rs | 188 +---- .../transaction-multi-payment/src/weights.rs | 144 +--- pallets/transaction-pause/src/weights.rs | 66 +- pallets/xyk-liquidity-mining/src/lib.rs | 2 +- pallets/xyk-liquidity-mining/src/weights.rs | 628 ++++++--------- pallets/xyk/src/weights.rs | 498 +++++------- runtime/hydradx/src/system.rs | 4 +- .../cumulus_pallet_parachain_system.rs | 83 ++ .../src/weights/cumulus_pallet_xcmp_queue.rs | 139 +++- runtime/hydradx/src/weights/frame_system.rs | 128 ++-- runtime/hydradx/src/weights/mod.rs | 2 + runtime/hydradx/src/weights/orml_tokens.rs | 87 ++- runtime/hydradx/src/weights/orml_vesting.rs | 75 +- .../src/weights/pallet_asset_registry.rs | 95 +-- .../hydradx/src/weights/pallet_balances.rs | 113 +-- runtime/hydradx/src/weights/pallet_bonds.rs | 57 +- .../src/weights/pallet_circuit_breaker.rs | 105 +-- runtime/hydradx/src/weights/pallet_claims.rs | 49 +- .../src/weights/pallet_collator_selection.rs | 153 ++-- .../src/weights/pallet_collective_council.rs | 255 ++++--- .../pallet_collective_technical_committee.rs | 247 +++--- .../hydradx/src/weights/pallet_currencies.rs | 87 ++- runtime/hydradx/src/weights/pallet_dca.rs | 89 ++- .../hydradx/src/weights/pallet_democracy.rs | 305 ++++---- runtime/hydradx/src/weights/pallet_duster.rs | 69 +- .../src/weights/pallet_dynamic_evm_fee.rs | 83 +- .../src/weights/pallet_elections_phragmen.rs | 204 ++--- .../hydradx/src/weights/pallet_ema_oracle.rs | 117 +-- .../src/weights/pallet_evm_accounts.rs | 79 +- .../hydradx/src/weights/pallet_identity.rs | 251 +++--- runtime/hydradx/src/weights/pallet_lbp.rs | 147 ++-- .../src/weights/pallet_message_queue.rs | 66 +- .../hydradx/src/weights/pallet_multisig.rs | 165 ++++ .../hydradx/src/weights/pallet_omnipool.rs | 185 ++--- .../pallet_omnipool_liquidity_mining.rs | 125 +-- runtime/hydradx/src/weights/pallet_otc.rs | 81 +- .../hydradx/src/weights/pallet_preimage.rs | 216 +++--- runtime/hydradx/src/weights/pallet_proxy.rs | 163 ++-- .../hydradx/src/weights/pallet_referrals.rs | 95 +-- .../src/weights/pallet_route_executor.rs | 97 +-- .../hydradx/src/weights/pallet_scheduler.rs | 149 ++-- .../hydradx/src/weights/pallet_stableswap.rs | 187 ++--- runtime/hydradx/src/weights/pallet_staking.rs | 83 +- .../weights/pallet_state_trie_migration.rs | 119 +-- .../hydradx/src/weights/pallet_timestamp.rs | 49 +- runtime/hydradx/src/weights/pallet_tips.rs | 113 +-- .../pallet_transaction_multi_payment.rs | 91 +-- .../src/weights/pallet_transaction_pause.rs | 57 +- .../hydradx/src/weights/pallet_treasury.rs | 163 ++-- runtime/hydradx/src/weights/pallet_utility.rs | 69 +- runtime/hydradx/src/weights/pallet_xcm.rs | 170 +++-- runtime/hydradx/src/weights/pallet_xyk.rs | 159 ++-- .../weights/pallet_xyk_liquidity_mining.rs | 159 ++-- runtime/hydradx/src/xcm.rs | 2 +- 80 files changed, 4969 insertions(+), 7031 deletions(-) create mode 100644 runtime/hydradx/src/weights/cumulus_pallet_parachain_system.rs create mode 100644 runtime/hydradx/src/weights/pallet_multisig.rs diff --git a/pallets/asset-registry/src/lib.rs b/pallets/asset-registry/src/lib.rs index 5e7c34309..6a9174b64 100644 --- a/pallets/asset-registry/src/lib.rs +++ b/pallets/asset-registry/src/lib.rs @@ -37,7 +37,7 @@ pub mod migration; mod types; pub mod weights; -use weights::WeightInfo; +pub use weights::WeightInfo; pub use types::AssetType; diff --git a/pallets/asset-registry/src/weights.rs b/pallets/asset-registry/src/weights.rs index b40d1c585..8aa8daa00 100644 --- a/pallets/asset-registry/src/weights.rs +++ b/pallets/asset-registry/src/weights.rs @@ -15,26 +15,32 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for pallet_asset_registry +//! Autogenerated weights for `pallet_asset_registry` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-10-23, STEPS: 10, REPEAT: 20, LOW RANGE: [], HIGH RANGE: [] -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-05-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=10 -// --repeat=20 -// --execution=wasm // --wasm-execution=compiled -// --heap-pages=4096 -// --template=.maintain/pallet-weight-template-no-back.hbs -// --pallet=pallet_asset_registry -// --output=weights.rs -// --extrinsic=* +// --pallet +// * +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 +// --template=scripts/pallet-weight-template.hbs +// --output +// weights/ #![allow(unused_parens)] #![allow(unused_imports)] @@ -54,136 +60,81 @@ pub trait WeightInfo { fn unban_asset() -> Weight; } /// Weights for pallet_asset_registry using the hydraDX node and recommended hardware. -pub struct HydraWeight(PhantomData); - -impl WeightInfo for HydraWeight { - // Storage: AssetRegistry Assets (r:1 w:1) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(133), added: 2608, mode: MaxEncodedLen) - // Storage: AssetRegistry AssetIds (r:1 w:1) - // Proof: AssetRegistry AssetIds (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) - // Storage: AssetRegistry LocationAssets (r:1 w:1) - // Proof: AssetRegistry LocationAssets (max_values: None, max_size: Some(622), added: 3097, mode: MaxEncodedLen) - // Storage: AssetRegistry AssetLocations (r:0 w:1) - // Proof: AssetRegistry AssetLocations (max_values: None, max_size: Some(622), added: 3097, mode: MaxEncodedLen) - fn register() -> Weight { - // Minimum execution time: 39_013 nanoseconds. - Weight::from_parts(39_795_000, 0) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().writes(4 as u64)) - } - // Storage: AssetRegistry Assets (r:1 w:1) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(133), added: 2608, mode: MaxEncodedLen) - // Storage: AssetRegistry AssetIds (r:1 w:2) - // Proof: AssetRegistry AssetIds (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) - // Storage: AssetRegistry AssetLocations (r:1 w:1) - // Proof: AssetRegistry AssetLocations (max_values: None, max_size: Some(622), added: 3097, mode: MaxEncodedLen) - // Storage: AssetRegistry LocationAssets (r:0 w:1) - // Proof: AssetRegistry LocationAssets (max_values: None, max_size: Some(622), added: 3097, mode: MaxEncodedLen) - fn update() -> Weight { - // Minimum execution time: 47_430 nanoseconds. - Weight::from_parts(47_760_000, 0) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().writes(5 as u64)) - } - // Storage: System Account (r:2 w:2) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: AssetRegistry NextAssetId (r:1 w:1) - // Proof: AssetRegistry NextAssetId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - // Storage: AssetRegistry LocationAssets (r:1 w:1) - // Proof: AssetRegistry LocationAssets (max_values: None, max_size: Some(622), added: 3097, mode: MaxEncodedLen) - // Storage: AssetRegistry AssetLocations (r:0 w:1) - // Proof: AssetRegistry AssetLocations (max_values: None, max_size: Some(622), added: 3097, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:0 w:1) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(133), added: 2608, mode: MaxEncodedLen) - fn register_external() -> Weight { - // Minimum execution time: 63_891 nanoseconds. - Weight::from_parts(64_922_000, 0) - .saturating_add(T::DbWeight::get().reads(4 as u64)) - .saturating_add(T::DbWeight::get().writes(6 as u64)) - } - - // Storage: AssetRegistry Assets (r:1 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(125), added: 2600, mode: MaxEncodedLen) - // Storage: AssetRegistry BlacklistedAssets (r:1 w:1) - // Proof: AssetRegistry BlacklistedAssets (max_values: None, max_size: Some(20), added: 2495, mode: MaxEncodedLen) - fn ban_asset() -> Weight { - // Minimum execution time: 22_677 nanoseconds. - Weight::from_parts(22_950_000, 0) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) - } - // Storage: AssetRegistry BlacklistedAssets (r:1 w:1) - // Proof: AssetRegistry BlacklistedAssets (max_values: None, max_size: Some(20), added: 2495, mode: MaxEncodedLen) - fn unban_asset() -> Weight { - // Minimum execution time: 17_460 nanoseconds. - Weight::from_parts(17_958_000, 0) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) - } -} impl WeightInfo for () { - // Storage: AssetRegistry Assets (r:1 w:1) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(133), added: 2608, mode: MaxEncodedLen) - // Storage: AssetRegistry AssetIds (r:1 w:1) - // Proof: AssetRegistry AssetIds (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) - // Storage: AssetRegistry LocationAssets (r:1 w:1) - // Proof: AssetRegistry LocationAssets (max_values: None, max_size: Some(622), added: 3097, mode: MaxEncodedLen) - // Storage: AssetRegistry AssetLocations (r:0 w:1) - // Proof: AssetRegistry AssetLocations (max_values: None, max_size: Some(622), added: 3097, mode: MaxEncodedLen) + /// Storage: `AssetRegistry::Assets` (r:1 w:1) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::AssetIds` (r:1 w:1) + /// Proof: `AssetRegistry::AssetIds` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::LocationAssets` (r:1 w:1) + /// Proof: `AssetRegistry::LocationAssets` (`max_values`: None, `max_size`: Some(622), added: 3097, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::AssetLocations` (r:0 w:1) + /// Proof: `AssetRegistry::AssetLocations` (`max_values`: None, `max_size`: Some(622), added: 3097, mode: `MaxEncodedLen`) fn register() -> Weight { - // Minimum execution time: 39_013 nanoseconds. - Weight::from_parts(39_795_000, 0) - .saturating_add(RocksDbWeight::get().reads(3 as u64)) - .saturating_add(RocksDbWeight::get().writes(4 as u64)) + // Proof Size summary in bytes: + // Measured: `388` + // Estimated: `4087` + // Minimum execution time: 33_258_000 picoseconds. + Weight::from_parts(33_840_000, 4087) + .saturating_add(RocksDbWeight::get().reads(3_u64)) + .saturating_add(RocksDbWeight::get().writes(4_u64)) } - // Storage: AssetRegistry Assets (r:1 w:1) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(133), added: 2608, mode: MaxEncodedLen) - // Storage: AssetRegistry AssetIds (r:1 w:2) - // Proof: AssetRegistry AssetIds (max_values: None, max_size: Some(53), added: 2528, mode: MaxEncodedLen) - // Storage: AssetRegistry AssetLocations (r:1 w:1) - // Proof: AssetRegistry AssetLocations (max_values: None, max_size: Some(622), added: 3097, mode: MaxEncodedLen) - // Storage: AssetRegistry LocationAssets (r:0 w:1) - // Proof: AssetRegistry LocationAssets (max_values: None, max_size: Some(622), added: 3097, mode: MaxEncodedLen) + /// Storage: `AssetRegistry::Assets` (r:1 w:1) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::AssetIds` (r:1 w:2) + /// Proof: `AssetRegistry::AssetIds` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::AssetLocations` (r:1 w:1) + /// Proof: `AssetRegistry::AssetLocations` (`max_values`: None, `max_size`: Some(622), added: 3097, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::LocationAssets` (r:0 w:1) + /// Proof: `AssetRegistry::LocationAssets` (`max_values`: None, `max_size`: Some(622), added: 3097, mode: `MaxEncodedLen`) fn update() -> Weight { - // Minimum execution time: 47_430 nanoseconds. - Weight::from_parts(47_760_000, 0) - .saturating_add(RocksDbWeight::get().reads(3 as u64)) - .saturating_add(RocksDbWeight::get().writes(5 as u64)) + // Proof Size summary in bytes: + // Measured: `617` + // Estimated: `4087` + // Minimum execution time: 40_246_000 picoseconds. + Weight::from_parts(40_839_000, 4087) + .saturating_add(RocksDbWeight::get().reads(3_u64)) + .saturating_add(RocksDbWeight::get().writes(5_u64)) } - // Storage: System Account (r:2 w:2) - // Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) - // Storage: AssetRegistry NextAssetId (r:1 w:1) - // Proof: AssetRegistry NextAssetId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - // Storage: AssetRegistry LocationAssets (r:1 w:1) - // Proof: AssetRegistry LocationAssets (max_values: None, max_size: Some(622), added: 3097, mode: MaxEncodedLen) - // Storage: AssetRegistry AssetLocations (r:0 w:1) - // Proof: AssetRegistry AssetLocations (max_values: None, max_size: Some(622), added: 3097, mode: MaxEncodedLen) - // Storage: AssetRegistry Assets (r:0 w:1) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(133), added: 2608, mode: MaxEncodedLen) + /// Storage: `AssetRegistry::NextAssetId` (r:1 w:1) + /// Proof: `AssetRegistry::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::LocationAssets` (r:1 w:1) + /// Proof: `AssetRegistry::LocationAssets` (`max_values`: None, `max_size`: Some(622), added: 3097, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::AssetLocations` (r:0 w:1) + /// Proof: `AssetRegistry::AssetLocations` (`max_values`: None, `max_size`: Some(622), added: 3097, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:0 w:1) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) fn register_external() -> Weight { - // Minimum execution time: 63_891 nanoseconds. - Weight::from_parts(64_922_000, 0) - .saturating_add(RocksDbWeight::get().reads(4 as u64)) - .saturating_add(RocksDbWeight::get().writes(6 as u64)) + // Proof Size summary in bytes: + // Measured: `301` + // Estimated: `4087` + // Minimum execution time: 23_496_000 picoseconds. + Weight::from_parts(23_982_000, 4087) + .saturating_add(RocksDbWeight::get().reads(2_u64)) + .saturating_add(RocksDbWeight::get().writes(4_u64)) } - - // Storage: AssetRegistry Assets (r:1 w:0) - // Proof: AssetRegistry Assets (max_values: None, max_size: Some(125), added: 2600, mode: MaxEncodedLen) - // Storage: AssetRegistry BlacklistedAssets (r:1 w:1) - // Proof: AssetRegistry BlacklistedAssets (max_values: None, max_size: Some(20), added: 2495, mode: MaxEncodedLen) + /// Storage: `AssetRegistry::Assets` (r:1 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::BannedAssets` (r:1 w:1) + /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) fn ban_asset() -> Weight { - // Minimum execution time: 22_677 nanoseconds. - Weight::from_parts(22_950_000, 0) - .saturating_add(RocksDbWeight::get().reads(2 as u64)) - .saturating_add(RocksDbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `427` + // Estimated: `3590` + // Minimum execution time: 17_542_000 picoseconds. + Weight::from_parts(17_999_000, 3590) + .saturating_add(RocksDbWeight::get().reads(2_u64)) + .saturating_add(RocksDbWeight::get().writes(1_u64)) } - // Storage: AssetRegistry BlacklistedAssets (r:1 w:1) - // Proof: AssetRegistry BlacklistedAssets (max_values: None, max_size: Some(20), added: 2495, mode: MaxEncodedLen) + /// Storage: `AssetRegistry::BannedAssets` (r:1 w:1) + /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) fn unban_asset() -> Weight { - // Minimum execution time: 17_460 nanoseconds. - Weight::from_parts(17_958_000, 0) - .saturating_add(RocksDbWeight::get().reads(1 as u64)) - .saturating_add(RocksDbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `320` + // Estimated: `3485` + // Minimum execution time: 14_891_000 picoseconds. + Weight::from_parts(15_319_000, 3485) + .saturating_add(RocksDbWeight::get().reads(1_u64)) + .saturating_add(RocksDbWeight::get().writes(1_u64)) } } diff --git a/pallets/bonds/src/weights.rs b/pallets/bonds/src/weights.rs index 3e2392821..2709a2edd 100644 --- a/pallets/bonds/src/weights.rs +++ b/pallets/bonds/src/weights.rs @@ -17,27 +17,30 @@ //! Autogenerated weights for `pallet_bonds` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-12, STEPS: `5`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-05-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --pallet=pallet-bonds // --wasm-execution=compiled -// --heap-pages=4096 -// --chain=dev -// --extrinsic=* -// --steps=5 -// --repeat=20 +// --pallet +// * +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 +// --template=scripts/pallet-weight-template.hbs // --output -// ./weights-1.1.0/bonds.rs -// --template -// .maintain/pallet-weight-template-no-back.hbs +// weights/ #![allow(unused_parens)] #![allow(unused_imports)] @@ -56,97 +59,47 @@ pub trait WeightInfo { } /// Weights for pallet_bonds using the hydraDX node and recommended hardware. -pub struct HydraWeight(PhantomData); - -impl WeightInfo for HydraWeight { - /// Storage: `AssetRegistry::Assets` (r:1 w:1) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) - /// Storage: `Bonds::BondIds` (r:1 w:1) - /// Proof: `Bonds::BondIds` (`max_values`: None, `max_size`: Some(32), added: 2507, mode: `MaxEncodedLen`) - /// Storage: `Timestamp::Now` (r:1 w:0) - /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::NextAssetId` (r:1 w:1) - /// Proof: `AssetRegistry::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:3 w:3) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `Tokens::Accounts` (r:1 w:1) - /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) - /// Storage: `Tokens::TotalIssuance` (r:1 w:1) - /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:0) - /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) - /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) - /// Storage: `Bonds::Bonds` (r:0 w:1) - /// Proof: `Bonds::Bonds` (`max_values`: None, `max_size`: Some(32), added: 2507, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::AssetIds` (r:0 w:1) - /// Proof: `AssetRegistry::AssetIds` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) - fn issue() -> Weight { - // Proof Size summary in bytes: - // Measured: `1240` - // Estimated: `8799` - // Minimum execution time: 208_163_000 picoseconds. - Weight::from_parts(209_241_000, 8799) - .saturating_add(T::DbWeight::get().reads(11_u64)) - .saturating_add(T::DbWeight::get().writes(10_u64)) - } - /// Storage: `Bonds::Bonds` (r:1 w:0) - /// Proof: `Bonds::Bonds` (`max_values`: None, `max_size`: Some(32), added: 2507, mode: `MaxEncodedLen`) - /// Storage: `Timestamp::Now` (r:1 w:0) - /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) - /// Storage: `Tokens::Accounts` (r:1 w:1) - /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:1 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) - /// Storage: `Tokens::TotalIssuance` (r:1 w:1) - /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:2) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:0 w:1) - /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - fn redeem() -> Weight { - // Proof Size summary in bytes: - // Measured: `1415` - // Estimated: `6196` - // Minimum execution time: 146_646_000 picoseconds. - Weight::from_parts(147_343_000, 6196) - .saturating_add(T::DbWeight::get().reads(7_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) - } -} // For backwards compatibility and tests impl WeightInfo for () { /// Storage: `AssetRegistry::Assets` (r:1 w:1) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `Bonds::BondIds` (r:1 w:1) /// Proof: `Bonds::BondIds` (`max_values`: None, `max_size`: Some(32), added: 2507, mode: `MaxEncodedLen`) /// Storage: `Timestamp::Now` (r:1 w:0) /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::NextAssetId` (r:1 w:1) /// Proof: `AssetRegistry::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::AssetIds` (r:1 w:1) + /// Proof: `AssetRegistry::AssetIds` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:3 w:3) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::BannedAssets` (r:1 w:0) + /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) /// Storage: `Tokens::Accounts` (r:1 w:1) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) - /// Storage: `Tokens::TotalIssuance` (r:1 w:1) - /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:0) /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::ExistentialDepositCounter` (r:1 w:1) + /// Proof: `AssetRegistry::ExistentialDepositCounter` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `Tokens::TotalIssuance` (r:1 w:1) + /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) /// Storage: `Bonds::Bonds` (r:0 w:1) /// Proof: `Bonds::Bonds` (`max_values`: None, `max_size`: Some(32), added: 2507, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::AssetIds` (r:0 w:1) - /// Proof: `AssetRegistry::AssetIds` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn issue() -> Weight { // Proof Size summary in bytes: - // Measured: `1240` + // Measured: `1393` // Estimated: `8799` - // Minimum execution time: 208_163_000 picoseconds. - Weight::from_parts(209_241_000, 8799) - .saturating_add(RocksDbWeight::get().reads(11_u64)) - .saturating_add(RocksDbWeight::get().writes(10_u64)) + // Minimum execution time: 233_669_000 picoseconds. + Weight::from_parts(235_504_000, 8799) + .saturating_add(RocksDbWeight::get().reads(16_u64)) + .saturating_add(RocksDbWeight::get().writes(12_u64)) } /// Storage: `Bonds::Bonds` (r:1 w:0) /// Proof: `Bonds::Bonds` (`max_values`: None, `max_size`: Some(32), added: 2507, mode: `MaxEncodedLen`) @@ -155,20 +108,26 @@ impl WeightInfo for () { /// Storage: `Tokens::Accounts` (r:1 w:1) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::Assets` (r:1 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `Tokens::TotalIssuance` (r:1 w:1) /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:2) + /// Storage: `System::Account` (r:3 w:3) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:0 w:1) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:0) /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::ExistentialDepositCounter` (r:1 w:1) + /// Proof: `AssetRegistry::ExistentialDepositCounter` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) fn redeem() -> Weight { // Proof Size summary in bytes: - // Measured: `1415` - // Estimated: `6196` - // Minimum execution time: 146_646_000 picoseconds. - Weight::from_parts(147_343_000, 6196) - .saturating_add(RocksDbWeight::get().reads(7_u64)) - .saturating_add(RocksDbWeight::get().writes(5_u64)) + // Measured: `1810` + // Estimated: `8799` + // Minimum execution time: 175_138_000 picoseconds. + Weight::from_parts(176_054_000, 8799) + .saturating_add(RocksDbWeight::get().reads(12_u64)) + .saturating_add(RocksDbWeight::get().writes(7_u64)) } } diff --git a/pallets/circuit-breaker/src/weights.rs b/pallets/circuit-breaker/src/weights.rs index 9fe074fbe..ec3b5a601 100644 --- a/pallets/circuit-breaker/src/weights.rs +++ b/pallets/circuit-breaker/src/weights.rs @@ -17,27 +17,30 @@ //! Autogenerated weights for `pallet_circuit_breaker` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-12, STEPS: `5`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-05-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --pallet=pallet-circuit-breaker // --wasm-execution=compiled -// --heap-pages=4096 -// --chain=dev -// --extrinsic=* -// --steps=5 -// --repeat=20 +// --pallet +// * +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 +// --template=scripts/pallet-weight-template.hbs // --output -// ./weights-1.1.0/circuit_breaker.rs -// --template -// .maintain/pallet-weight-template-no-back.hbs +// weights/ #![allow(unused_parens)] #![allow(unused_imports)] @@ -69,35 +72,35 @@ impl WeightInfo for () { /// The range of component `m` is `[0, 400]`. fn on_finalize(n: u32, m: u32) -> Weight { // Proof Size summary in bytes: - // Measured: `105 + m * (113 ±0) + n * (56 ±0)` + // Measured: `64 + m * (113 ±0) + n * (56 ±0)` // Estimated: `0` - // Minimum execution time: 336_709_000 picoseconds. - Weight::from_parts(338_100_000, 0) - // Standard Error: 34_770 - .saturating_add(Weight::from_parts(304_235, 0).saturating_mul(n.into())) - // Standard Error: 34_770 - .saturating_add(Weight::from_parts(1_161_474, 0).saturating_mul(m.into())) + // Minimum execution time: 306_621_000 picoseconds. + Weight::from_parts(308_251_000, 0) + // Standard Error: 8_989 + .saturating_add(Weight::from_parts(270_702, 0).saturating_mul(n.into())) + // Standard Error: 8_989 + .saturating_add(Weight::from_parts(1_049_170, 0).saturating_mul(m.into())) } fn on_finalize_single_liquidity_limit_entry() -> Weight { // Proof Size summary in bytes: // Measured: `208` // Estimated: `0` - // Minimum execution time: 9_370_000 picoseconds. - Weight::from_parts(9_492_000, 0) + // Minimum execution time: 8_112_000 picoseconds. + Weight::from_parts(8_381_000, 0) } fn on_finalize_single_trade_limit_entry() -> Weight { // Proof Size summary in bytes: // Measured: `208` // Estimated: `0` - // Minimum execution time: 9_297_000 picoseconds. - Weight::from_parts(9_518_000, 0) + // Minimum execution time: 8_194_000 picoseconds. + Weight::from_parts(8_399_000, 0) } fn on_finalize_empty() -> Weight { // Proof Size summary in bytes: // Measured: `208` // Estimated: `0` - // Minimum execution time: 9_320_000 picoseconds. - Weight::from_parts(9_566_000, 0) + // Minimum execution time: 8_191_000 picoseconds. + Weight::from_parts(8_373_000, 0) } /// Storage: `CircuitBreaker::TradeVolumeLimitPerAsset` (r:0 w:1) /// Proof: `CircuitBreaker::TradeVolumeLimitPerAsset` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) @@ -105,8 +108,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_401_000 picoseconds. - Weight::from_parts(12_601_000, 0).saturating_add(RocksDbWeight::get().writes(1_u64)) + // Minimum execution time: 8_818_000 picoseconds. + Weight::from_parts(9_140_000, 0).saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `CircuitBreaker::LiquidityAddLimitPerAsset` (r:0 w:1) /// Proof: `CircuitBreaker::LiquidityAddLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) @@ -114,8 +117,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_366_000 picoseconds. - Weight::from_parts(12_660_000, 0).saturating_add(RocksDbWeight::get().writes(1_u64)) + // Minimum execution time: 8_841_000 picoseconds. + Weight::from_parts(9_081_000, 0).saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (r:0 w:1) /// Proof: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) @@ -123,8 +126,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_543_000 picoseconds. - Weight::from_parts(12_729_000, 0).saturating_add(RocksDbWeight::get().writes(1_u64)) + // Minimum execution time: 9_089_000 picoseconds. + Weight::from_parts(9_231_000, 0).saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `CircuitBreaker::LiquidityAddLimitPerAsset` (r:1 w:0) /// Proof: `CircuitBreaker::LiquidityAddLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) @@ -138,8 +141,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `262` // Estimated: `3517` - // Minimum execution time: 20_930_000 picoseconds. - Weight::from_parts(21_398_000, 3517) + // Minimum execution time: 20_016_000 picoseconds. + Weight::from_parts(20_252_000, 3517) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -155,8 +158,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `208` // Estimated: `3517` - // Minimum execution time: 17_808_000 picoseconds. - Weight::from_parts(18_193_000, 3517) + // Minimum execution time: 17_308_000 picoseconds. + Weight::from_parts(17_647_000, 3517) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -168,8 +171,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `208` // Estimated: `6076` - // Minimum execution time: 18_243_000 picoseconds. - Weight::from_parts(18_729_000, 6076) + // Minimum execution time: 17_387_000 picoseconds. + Weight::from_parts(17_667_000, 6076) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } diff --git a/pallets/claims/src/lib.rs b/pallets/claims/src/lib.rs index 60bc16ff5..42a67fed2 100644 --- a/pallets/claims/src/lib.rs +++ b/pallets/claims/src/lib.rs @@ -35,7 +35,7 @@ use scale_info::TypeInfo; use sp_runtime::DispatchError; use sp_runtime::{traits::Zero, ModuleError}; use sp_std::{marker::PhantomData, prelude::*, vec::Vec}; -use weights::WeightInfo; +pub use weights::WeightInfo; mod benchmarking; mod traits; diff --git a/pallets/claims/src/weights.rs b/pallets/claims/src/weights.rs index ad2f63ee6..4c0d5b79f 100644 --- a/pallets/claims/src/weights.rs +++ b/pallets/claims/src/weights.rs @@ -55,22 +55,6 @@ pub trait WeightInfo { } /// Weights for claims using the hydraDX node and recommended hardware. -pub struct HydraWeight(PhantomData); -impl WeightInfo for HydraWeight { - /// Storage: `Claims::Claims` (r:1 w:1) - /// Proof: `Claims::Claims` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - fn claim() -> Weight { - // Proof Size summary in bytes: - // Measured: `382` - // Estimated: `3593` - // Minimum execution time: 82_736_000 picoseconds. - Weight::from_parts(83_275_000, 3593) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) - } -} // For backwards compatibility and tests impl WeightInfo for () { @@ -82,8 +66,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `382` // Estimated: `3593` - // Minimum execution time: 82_736_000 picoseconds. - Weight::from_parts(83_275_000, 3593) + // Minimum execution time: 69_254_000 picoseconds. + Weight::from_parts(69_849_000, 3593) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } diff --git a/pallets/currencies/src/weights.rs b/pallets/currencies/src/weights.rs index ede399f83..1a75abd99 100644 --- a/pallets/currencies/src/weights.rs +++ b/pallets/currencies/src/weights.rs @@ -15,29 +15,33 @@ // See the License for the specific language governing permissions and // limitations under the License. + //! Autogenerated weights for `pallet_currencies` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-12, STEPS: `5`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-05-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --pallet=pallet-currencies // --wasm-execution=compiled -// --heap-pages=4096 -// --chain=dev -// --extrinsic=* -// --steps=5 -// --repeat=20 +// --pallet +// * +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 +// --template=scripts/pallet-weight-template.hbs // --output -// ./weights-1.1.0/currencies.rs -// --template -// .maintain/pallet-weight-template-no-back.hbs +// weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -58,10 +62,14 @@ pub trait WeightInfo { /// Default weights. impl WeightInfo for () { + /// Storage: `Duster::AccountBlacklist` (r:1 w:0) + /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::BannedAssets` (r:1 w:0) + /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) /// Storage: `Tokens::Accounts` (r:2 w:2) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::Assets` (r:1 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:1) @@ -70,28 +78,30 @@ impl WeightInfo for () { /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) fn transfer_non_native_currency() -> Weight { // Proof Size summary in bytes: - // Measured: `2335` + // Measured: `2649` // Estimated: `6156` - // Minimum execution time: 96_394_000 picoseconds. - Weight::from_parts(96_942_000, 6156) - .saturating_add(RocksDbWeight::get().reads(6_u64)) + // Minimum execution time: 89_816_000 picoseconds. + Weight::from_parts(90_275_000, 6156) + .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_native_currency() -> Weight { // Proof Size summary in bytes: - // Measured: `1668` + // Measured: `1642` // Estimated: `3593` - // Minimum execution time: 92_953_000 picoseconds. - Weight::from_parts(94_336_000, 3593) + // Minimum execution time: 70_873_000 picoseconds. + Weight::from_parts(71_750_000, 3593) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } + /// Storage: `AssetRegistry::BannedAssets` (r:1 w:0) + /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) /// Storage: `Tokens::Accounts` (r:1 w:1) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::Assets` (r:1 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `Tokens::TotalIssuance` (r:1 w:1) /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) @@ -102,21 +112,21 @@ impl WeightInfo for () { /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) fn update_balance_non_native_currency() -> Weight { // Proof Size summary in bytes: - // Measured: `2127` + // Measured: `2213` // Estimated: `3593` - // Minimum execution time: 73_636_000 picoseconds. - Weight::from_parts(74_177_000, 3593) - .saturating_add(RocksDbWeight::get().reads(6_u64)) + // Minimum execution time: 62_719_000 picoseconds. + Weight::from_parts(63_335_000, 3593) + .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn update_balance_native_currency_creating() -> Weight { // Proof Size summary in bytes: - // Measured: `1528` + // Measured: `1502` // Estimated: `3593` - // Minimum execution time: 54_370_000 picoseconds. - Weight::from_parts(55_148_000, 3593) + // Minimum execution time: 38_419_000 picoseconds. + Weight::from_parts(39_090_000, 3593) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -124,10 +134,10 @@ impl WeightInfo for () { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn update_balance_native_currency_killing() -> Weight { // Proof Size summary in bytes: - // Measured: `1616` + // Measured: `1590` // Estimated: `3593` - // Minimum execution time: 54_487_000 picoseconds. - Weight::from_parts(55_170_000, 3593) + // Minimum execution time: 40_366_000 picoseconds. + Weight::from_parts(41_238_000, 3593) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } diff --git a/pallets/dca/src/lib.rs b/pallets/dca/src/lib.rs index 09e786839..f0504baea 100644 --- a/pallets/dca/src/lib.rs +++ b/pallets/dca/src/lib.rs @@ -101,7 +101,7 @@ mod tests; pub mod types; pub mod weights; -use weights::WeightInfo; +pub use weights::WeightInfo; // Re-export pallet items so that they can be accessed from the crate namespace. pub use pallet::*; diff --git a/pallets/dca/src/weights.rs b/pallets/dca/src/weights.rs index bccefb04d..aaa7d69cb 100644 --- a/pallets/dca/src/weights.rs +++ b/pallets/dca/src/weights.rs @@ -17,25 +17,30 @@ //! Autogenerated weights for `pallet_dca` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-27, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-05-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=10 -// --repeat=30 // --wasm-execution=compiled -// --heap-pages=4096 -// --template=.maintain/pallet-weight-template-no-back.hbs -// --pallet=pallet-dca -// --output=weights-1.1.0/dca.rs -// --extrinsic=* +// --pallet +// * +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 +// --template=scripts/pallet-weight-template.hbs +// --output +// weights/ #![allow(unused_parens)] #![allow(unused_imports)] @@ -57,117 +62,6 @@ pub trait WeightInfo { } /// Weights for pallet_dca using the hydraDX node and recommended hardware. -pub struct HydraWeight(PhantomData); - -impl WeightInfo for HydraWeight { - /// Storage: `DCA::ScheduleIdsPerBlock` (r:12 w:2) - /// Proof: `DCA::ScheduleIdsPerBlock` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`) - /// Storage: `DCA::Schedules` (r:1 w:0) - /// Proof: `DCA::Schedules` (`max_values`: None, `max_size`: Some(191), added: 2666, mode: `MaxEncodedLen`) - /// Storage: `DCA::RemainingAmounts` (r:1 w:1) - /// Proof: `DCA::RemainingAmounts` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) - /// Storage: `Balances::Reserves` (r:1 w:1) - /// Proof: `Balances::Reserves` (`max_values`: None, `max_size`: Some(1249), added: 3724, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:2) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `DCA::RetriesOnError` (r:0 w:1) - /// Proof: `DCA::RetriesOnError` (`max_values`: None, `max_size`: Some(21), added: 2496, mode: `MaxEncodedLen`) - fn on_initialize_with_buy_trade() -> Weight { - // Proof Size summary in bytes: - // Measured: `54411` - // Estimated: `31902` - // Minimum execution time: 244_530_000 picoseconds. - Weight::from_parts(249_044_000, 31902) - .saturating_add(T::DbWeight::get().reads(17)) - .saturating_add(T::DbWeight::get().writes(7)) - } - /// Storage: `DCA::ScheduleIdsPerBlock` (r:12 w:2) - /// Proof: `DCA::ScheduleIdsPerBlock` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`) - /// Storage: `DCA::Schedules` (r:1 w:0) - /// Proof: `DCA::Schedules` (`max_values`: None, `max_size`: Some(191), added: 2666, mode: `MaxEncodedLen`) - /// Storage: `DCA::RemainingAmounts` (r:1 w:1) - /// Proof: `DCA::RemainingAmounts` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) - /// Storage: `Balances::Reserves` (r:1 w:1) - /// Proof: `Balances::Reserves` (`max_values`: None, `max_size`: Some(1249), added: 3724, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:2) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `DCA::RetriesOnError` (r:0 w:1) - /// Proof: `DCA::RetriesOnError` (`max_values`: None, `max_size`: Some(21), added: 2496, mode: `MaxEncodedLen`) - fn on_initialize_with_sell_trade() -> Weight { - // Proof Size summary in bytes: - // Measured: `54411` - // Estimated: `31902` - // Minimum execution time: 244_929_000 picoseconds. - Weight::from_parts(249_576_000, 31902) - .saturating_add(T::DbWeight::get().reads(17)) - .saturating_add(T::DbWeight::get().writes(7)) - } - /// Storage: `DCA::ScheduleIdsPerBlock` (r:1 w:0) - /// Proof: `DCA::ScheduleIdsPerBlock` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`) - fn on_initialize_with_empty_block() -> Weight { - // Proof Size summary in bytes: - // Measured: `1075` - // Estimated: `3566` - // Minimum execution time: 17_904_000 picoseconds. - Weight::from_parts(18_177_000, 3566).saturating_add(T::DbWeight::get().reads(1)) - } - /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) - /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) - /// Storage: `Router::Routes` (r:1 w:0) - /// Proof: `Router::Routes` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) - /// Storage: `DCA::ScheduleIdSequencer` (r:1 w:1) - /// Proof: `DCA::ScheduleIdSequencer` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) - /// Storage: `Tokens::Reserves` (r:1 w:1) - /// Proof: `Tokens::Reserves` (`max_values`: None, `max_size`: Some(1261), added: 3736, mode: `MaxEncodedLen`) - /// Storage: `Tokens::Accounts` (r:1 w:1) - /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:1 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) - /// Storage: `DCA::ScheduleIdsPerBlock` (r:11 w:1) - /// Proof: `DCA::ScheduleIdsPerBlock` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`) - /// Storage: `DCA::RetriesOnError` (r:0 w:1) - /// Proof: `DCA::RetriesOnError` (`max_values`: None, `max_size`: Some(21), added: 2496, mode: `MaxEncodedLen`) - /// Storage: `DCA::Schedules` (r:0 w:1) - /// Proof: `DCA::Schedules` (`max_values`: None, `max_size`: Some(191), added: 2666, mode: `MaxEncodedLen`) - /// Storage: `DCA::ScheduleOwnership` (r:0 w:1) - /// Proof: `DCA::ScheduleOwnership` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) - /// Storage: `DCA::RemainingAmounts` (r:0 w:1) - /// Proof: `DCA::RemainingAmounts` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) - fn schedule() -> Weight { - // Proof Size summary in bytes: - // Measured: `52577` - // Estimated: `29326` - // Minimum execution time: 175_288_000 picoseconds. - Weight::from_parts(178_961_000, 29326) - .saturating_add(T::DbWeight::get().reads(17)) - .saturating_add(T::DbWeight::get().writes(8)) - } - /// Storage: `DCA::Schedules` (r:1 w:1) - /// Proof: `DCA::Schedules` (`max_values`: None, `max_size`: Some(191), added: 2666, mode: `MaxEncodedLen`) - /// Storage: `DCA::RemainingAmounts` (r:1 w:1) - /// Proof: `DCA::RemainingAmounts` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) - /// Storage: `Balances::Reserves` (r:1 w:1) - /// Proof: `Balances::Reserves` (`max_values`: None, `max_size`: Some(1249), added: 3724, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `DCA::ScheduleIdsPerBlock` (r:1 w:1) - /// Proof: `DCA::ScheduleIdsPerBlock` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`) - /// Storage: `DCA::RetriesOnError` (r:0 w:1) - /// Proof: `DCA::RetriesOnError` (`max_values`: None, `max_size`: Some(21), added: 2496, mode: `MaxEncodedLen`) - /// Storage: `DCA::ScheduleOwnership` (r:0 w:1) - /// Proof: `DCA::ScheduleOwnership` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) - fn terminate() -> Weight { - // Proof Size summary in bytes: - // Measured: `2526` - // Estimated: `4714` - // Minimum execution time: 82_404_000 picoseconds. - Weight::from_parts(83_099_000, 4714) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(7)) - } -} - -// For backwards compatibility and tests impl WeightInfo for () { /// Storage: `DCA::ScheduleIdsPerBlock` (r:12 w:2) /// Proof: `DCA::ScheduleIdsPerBlock` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`) @@ -183,12 +77,12 @@ impl WeightInfo for () { /// Proof: `DCA::RetriesOnError` (`max_values`: None, `max_size`: Some(21), added: 2496, mode: `MaxEncodedLen`) fn on_initialize_with_buy_trade() -> Weight { // Proof Size summary in bytes: - // Measured: `54411` + // Measured: `54489` // Estimated: `31902` - // Minimum execution time: 244_530_000 picoseconds. - Weight::from_parts(249_044_000, 31902) - .saturating_add(RocksDbWeight::get().reads(17)) - .saturating_add(RocksDbWeight::get().writes(7)) + // Minimum execution time: 202_799_000 picoseconds. + Weight::from_parts(206_738_000, 31902) + .saturating_add(RocksDbWeight::get().reads(17_u64)) + .saturating_add(RocksDbWeight::get().writes(7_u64)) } /// Storage: `DCA::ScheduleIdsPerBlock` (r:12 w:2) /// Proof: `DCA::ScheduleIdsPerBlock` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`) @@ -204,21 +98,21 @@ impl WeightInfo for () { /// Proof: `DCA::RetriesOnError` (`max_values`: None, `max_size`: Some(21), added: 2496, mode: `MaxEncodedLen`) fn on_initialize_with_sell_trade() -> Weight { // Proof Size summary in bytes: - // Measured: `54411` + // Measured: `54597` // Estimated: `31902` - // Minimum execution time: 244_929_000 picoseconds. - Weight::from_parts(249_576_000, 31902) - .saturating_add(RocksDbWeight::get().reads(17)) - .saturating_add(RocksDbWeight::get().writes(7)) + // Minimum execution time: 204_918_000 picoseconds. + Weight::from_parts(208_782_000, 31902) + .saturating_add(RocksDbWeight::get().reads(17_u64)) + .saturating_add(RocksDbWeight::get().writes(7_u64)) } /// Storage: `DCA::ScheduleIdsPerBlock` (r:1 w:0) /// Proof: `DCA::ScheduleIdsPerBlock` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`) fn on_initialize_with_empty_block() -> Weight { // Proof Size summary in bytes: - // Measured: `1075` + // Measured: `1079` // Estimated: `3566` - // Minimum execution time: 17_904_000 picoseconds. - Weight::from_parts(18_177_000, 3566).saturating_add(RocksDbWeight::get().reads(1)) + // Minimum execution time: 14_238_000 picoseconds. + Weight::from_parts(14_673_000, 3566).saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) @@ -231,7 +125,7 @@ impl WeightInfo for () { /// Storage: `Tokens::Accounts` (r:1 w:1) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::Assets` (r:1 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `DCA::ScheduleIdsPerBlock` (r:11 w:1) /// Proof: `DCA::ScheduleIdsPerBlock` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`) /// Storage: `DCA::RetriesOnError` (r:0 w:1) @@ -244,12 +138,12 @@ impl WeightInfo for () { /// Proof: `DCA::RemainingAmounts` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) fn schedule() -> Weight { // Proof Size summary in bytes: - // Measured: `52577` + // Measured: `52622` // Estimated: `29326` - // Minimum execution time: 175_288_000 picoseconds. - Weight::from_parts(178_961_000, 29326) - .saturating_add(RocksDbWeight::get().reads(17)) - .saturating_add(RocksDbWeight::get().writes(8)) + // Minimum execution time: 152_498_000 picoseconds. + Weight::from_parts(153_894_000, 29326) + .saturating_add(RocksDbWeight::get().reads(17_u64)) + .saturating_add(RocksDbWeight::get().writes(8_u64)) } /// Storage: `DCA::Schedules` (r:1 w:1) /// Proof: `DCA::Schedules` (`max_values`: None, `max_size`: Some(191), added: 2666, mode: `MaxEncodedLen`) @@ -267,11 +161,11 @@ impl WeightInfo for () { /// Proof: `DCA::ScheduleOwnership` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) fn terminate() -> Weight { // Proof Size summary in bytes: - // Measured: `2526` + // Measured: `2496` // Estimated: `4714` - // Minimum execution time: 82_404_000 picoseconds. - Weight::from_parts(83_099_000, 4714) - .saturating_add(RocksDbWeight::get().reads(5)) - .saturating_add(RocksDbWeight::get().writes(7)) + // Minimum execution time: 69_671_000 picoseconds. + Weight::from_parts(70_408_000, 4714) + .saturating_add(RocksDbWeight::get().reads(5_u64)) + .saturating_add(RocksDbWeight::get().writes(7_u64)) } } diff --git a/pallets/democracy/src/weights.rs b/pallets/democracy/src/weights.rs index 464316c00..8f37fec76 100644 --- a/pallets/democracy/src/weights.rs +++ b/pallets/democracy/src/weights.rs @@ -1,5 +1,4 @@ // This file is part of HydraDX. -// This file is part of HydraDX. // Copyright (C) 2020-2023 Intergalactic, Limited (GIB). // SPDX-License-Identifier: Apache-2.0 @@ -16,29 +15,33 @@ // See the License for the specific language governing permissions and // limitations under the License. + //! Autogenerated weights for `pallet_democracy` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-12, STEPS: `5`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-05-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --pallet=pallet-democracy // --wasm-execution=compiled -// --heap-pages=4096 -// --chain=dev -// --extrinsic=* -// --steps=5 -// --repeat=20 +// --pallet +// * +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 +// --template=scripts/pallet-weight-template.hbs // --output -// ./weights-1.1.0/democracy.rs -// --template -// .maintain/pallet-weight-template-no-back.hbs +// weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -81,483 +84,6 @@ pub trait WeightInfo { } /// Weights for pallet_democracy using the Substrate node and recommended hardware. -pub struct SubstrateWeight(PhantomData); -impl WeightInfo for SubstrateWeight { - /// Storage: `Democracy::PublicPropCount` (r:1 w:1) - /// Proof: `Democracy::PublicPropCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) - /// Storage: `Democracy::PublicProps` (r:1 w:1) - /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) - /// Storage: `Democracy::Blacklist` (r:1 w:0) - /// Proof: `Democracy::Blacklist` (`max_values`: None, `max_size`: Some(3238), added: 5713, mode: `MaxEncodedLen`) - /// Storage: `Democracy::DepositOf` (r:0 w:1) - /// Proof: `Democracy::DepositOf` (`max_values`: None, `max_size`: Some(3230), added: 5705, mode: `MaxEncodedLen`) - fn propose() -> Weight { - // Proof Size summary in bytes: - // Measured: `4688` - // Estimated: `18187` - // Minimum execution time: 52_594_000 picoseconds. - Weight::from_parts(53_207_000, 18187) - .saturating_add(T::DbWeight::get().reads(3_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) - } - /// Storage: `Democracy::DepositOf` (r:1 w:1) - /// Proof: `Democracy::DepositOf` (`max_values`: None, `max_size`: Some(3230), added: 5705, mode: `MaxEncodedLen`) - fn second() -> Weight { - // Proof Size summary in bytes: - // Measured: `3443` - // Estimated: `6695` - // Minimum execution time: 47_180_000 picoseconds. - Weight::from_parts(47_748_000, 6695) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) - } - /// Storage: `Democracy::ReferendumInfoOf` (r:100 w:1) - /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) - /// Storage: `Democracy::VotingOf` (r:1 w:1) - /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) - /// Storage: `Balances::Locks` (r:1 w:1) - /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) - /// Storage: `Balances::Freezes` (r:1 w:0) - /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) - /// Storage: `Uniques::Account` (r:2 w:0) - /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) - /// Storage: `Staking::Positions` (r:1 w:1) - /// Proof: `Staking::Positions` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Staking::PositionVotes` (r:1 w:1) - /// Proof: `Staking::PositionVotes` (`max_values`: None, `max_size`: Some(2134), added: 4609, mode: `MaxEncodedLen`) - fn vote_new() -> Weight { - // Proof Size summary in bytes: - // Measured: `15343` - // Estimated: `268590` - // Minimum execution time: 452_520_000 picoseconds. - Weight::from_parts(456_752_000, 268590) - .saturating_add(T::DbWeight::get().reads(107_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) - } - /// Storage: `Democracy::ReferendumInfoOf` (r:100 w:1) - /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) - /// Storage: `Democracy::VotingOf` (r:1 w:1) - /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) - /// Storage: `Balances::Locks` (r:1 w:1) - /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) - /// Storage: `Balances::Freezes` (r:1 w:0) - /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) - /// Storage: `Uniques::Account` (r:2 w:0) - /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) - /// Storage: `Staking::Positions` (r:1 w:1) - /// Proof: `Staking::Positions` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Staking::PositionVotes` (r:1 w:1) - /// Proof: `Staking::PositionVotes` (`max_values`: None, `max_size`: Some(2134), added: 4609, mode: `MaxEncodedLen`) - fn vote_existing() -> Weight { - // Proof Size summary in bytes: - // Measured: `15365` - // Estimated: `268590` - // Minimum execution time: 451_312_000 picoseconds. - Weight::from_parts(457_827_000, 268590) - .saturating_add(T::DbWeight::get().reads(107_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) - } - /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) - /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) - /// Storage: `Democracy::Cancellations` (r:1 w:1) - /// Proof: `Democracy::Cancellations` (`max_values`: None, `max_size`: Some(33), added: 2508, mode: `MaxEncodedLen`) - /// Storage: `Democracy::MetadataOf` (r:1 w:1) - /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) - fn emergency_cancel() -> Weight { - // Proof Size summary in bytes: - // Measured: `249` - // Estimated: `3666` - // Minimum execution time: 35_636_000 picoseconds. - Weight::from_parts(36_070_000, 3666) - .saturating_add(T::DbWeight::get().reads(3_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) - } - /// Storage: `Democracy::PublicProps` (r:1 w:1) - /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) - /// Storage: `Democracy::DepositOf` (r:1 w:1) - /// Proof: `Democracy::DepositOf` (`max_values`: None, `max_size`: Some(3230), added: 5705, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:2) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `Democracy::MetadataOf` (r:3 w:1) - /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) - /// Storage: `Democracy::NextExternal` (r:1 w:1) - /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) - /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) - /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) - /// Storage: `Democracy::Blacklist` (r:0 w:1) - /// Proof: `Democracy::Blacklist` (`max_values`: None, `max_size`: Some(3238), added: 5713, mode: `MaxEncodedLen`) - fn blacklist() -> Weight { - // Proof Size summary in bytes: - // Measured: `6191` - // Estimated: `18187` - // Minimum execution time: 132_102_000 picoseconds. - Weight::from_parts(133_131_000, 18187) - .saturating_add(T::DbWeight::get().reads(9_u64)) - .saturating_add(T::DbWeight::get().writes(8_u64)) - } - /// Storage: `Democracy::NextExternal` (r:1 w:1) - /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) - /// Storage: `Democracy::Blacklist` (r:1 w:0) - /// Proof: `Democracy::Blacklist` (`max_values`: None, `max_size`: Some(3238), added: 5713, mode: `MaxEncodedLen`) - fn external_propose() -> Weight { - // Proof Size summary in bytes: - // Measured: `3276` - // Estimated: `6703` - // Minimum execution time: 16_474_000 picoseconds. - Weight::from_parts(16_722_000, 6703) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) - } - /// Storage: `Democracy::NextExternal` (r:0 w:1) - /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) - fn external_propose_majority() -> Weight { - // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 5_354_000 picoseconds. - Weight::from_parts(5_544_000, 0).saturating_add(T::DbWeight::get().writes(1_u64)) - } - /// Storage: `Democracy::NextExternal` (r:0 w:1) - /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) - fn external_propose_default() -> Weight { - // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 5_302_000 picoseconds. - Weight::from_parts(5_556_000, 0).saturating_add(T::DbWeight::get().writes(1_u64)) - } - /// Storage: `Democracy::NextExternal` (r:1 w:1) - /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) - /// Storage: `Democracy::ReferendumCount` (r:1 w:1) - /// Proof: `Democracy::ReferendumCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) - /// Storage: `Democracy::MetadataOf` (r:1 w:2) - /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) - /// Storage: `Democracy::ReferendumInfoOf` (r:0 w:1) - /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) - fn fast_track() -> Weight { - // Proof Size summary in bytes: - // Measured: `147` - // Estimated: `3518` - // Minimum execution time: 35_393_000 picoseconds. - Weight::from_parts(36_025_000, 3518) - .saturating_add(T::DbWeight::get().reads(3_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) - } - /// Storage: `Democracy::NextExternal` (r:1 w:1) - /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) - /// Storage: `Democracy::Blacklist` (r:1 w:1) - /// Proof: `Democracy::Blacklist` (`max_values`: None, `max_size`: Some(3238), added: 5713, mode: `MaxEncodedLen`) - /// Storage: `Democracy::MetadataOf` (r:1 w:1) - /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) - fn veto_external() -> Weight { - // Proof Size summary in bytes: - // Measured: `3377` - // Estimated: `6703` - // Minimum execution time: 37_183_000 picoseconds. - Weight::from_parts(37_728_000, 6703) - .saturating_add(T::DbWeight::get().reads(3_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) - } - /// Storage: `Democracy::PublicProps` (r:1 w:1) - /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) - /// Storage: `Democracy::DepositOf` (r:1 w:1) - /// Proof: `Democracy::DepositOf` (`max_values`: None, `max_size`: Some(3230), added: 5705, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:2) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `Democracy::MetadataOf` (r:1 w:1) - /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) - fn cancel_proposal() -> Weight { - // Proof Size summary in bytes: - // Measured: `6076` - // Estimated: `18187` - // Minimum execution time: 107_143_000 picoseconds. - Weight::from_parts(107_867_000, 18187) - .saturating_add(T::DbWeight::get().reads(5_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) - } - /// Storage: `Democracy::MetadataOf` (r:1 w:1) - /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) - /// Storage: `Democracy::ReferendumInfoOf` (r:0 w:1) - /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) - fn cancel_referendum() -> Weight { - // Proof Size summary in bytes: - // Measured: `181` - // Estimated: `3518` - // Minimum execution time: 27_379_000 picoseconds. - Weight::from_parts(27_886_000, 3518) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) - } - /// Storage: `Democracy::LowestUnbaked` (r:1 w:1) - /// Proof: `Democracy::LowestUnbaked` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) - /// Storage: `Democracy::ReferendumCount` (r:1 w:0) - /// Proof: `Democracy::ReferendumCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) - /// Storage: `Democracy::ReferendumInfoOf` (r:99 w:0) - /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) - /// The range of component `r` is `[0, 99]`. - fn on_initialize_base(r: u32) -> Weight { - // Proof Size summary in bytes: - // Measured: `108 + r * (86 ±0)` - // Estimated: `1489 + r * (2676 ±0)` - // Minimum execution time: 6_121_000 picoseconds. - Weight::from_parts(8_592_893, 1489) - // Standard Error: 15_703 - .saturating_add(Weight::from_parts(3_531_200, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) - .saturating_add(T::DbWeight::get().writes(1_u64)) - .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) - } - /// Storage: `Democracy::LowestUnbaked` (r:1 w:1) - /// Proof: `Democracy::LowestUnbaked` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) - /// Storage: `Democracy::ReferendumCount` (r:1 w:0) - /// Proof: `Democracy::ReferendumCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) - /// Storage: `Democracy::LastTabledWasExternal` (r:1 w:0) - /// Proof: `Democracy::LastTabledWasExternal` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) - /// Storage: `Democracy::NextExternal` (r:1 w:0) - /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) - /// Storage: `Democracy::PublicProps` (r:1 w:0) - /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) - /// Storage: `Democracy::ReferendumInfoOf` (r:99 w:0) - /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) - /// The range of component `r` is `[0, 99]`. - fn on_initialize_base_with_launch_period(r: u32) -> Weight { - // Proof Size summary in bytes: - // Measured: `108 + r * (86 ±0)` - // Estimated: `18187 + r * (2676 ±0)` - // Minimum execution time: 10_482_000 picoseconds. - Weight::from_parts(12_899_855, 18187) - // Standard Error: 16_258 - .saturating_add(Weight::from_parts(3_555_121, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(5_u64)) - .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) - .saturating_add(T::DbWeight::get().writes(1_u64)) - .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) - } - /// Storage: `Democracy::VotingOf` (r:3 w:3) - /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) - /// Storage: `Democracy::ReferendumInfoOf` (r:99 w:99) - /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) - /// Storage: `Balances::Locks` (r:1 w:1) - /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) - /// Storage: `Balances::Freezes` (r:1 w:0) - /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) - /// The range of component `r` is `[0, 99]`. - fn delegate(r: u32) -> Weight { - // Proof Size summary in bytes: - // Measured: `658 + r * (108 ±0)` - // Estimated: `19800 + r * (2676 ±0)` - // Minimum execution time: 52_402_000 picoseconds. - Weight::from_parts(54_800_637, 19800) - // Standard Error: 20_146 - .saturating_add(Weight::from_parts(4_621_419, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(5_u64)) - .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) - .saturating_add(T::DbWeight::get().writes(4_u64)) - .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) - .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) - } - /// Storage: `Democracy::VotingOf` (r:2 w:2) - /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) - /// Storage: `Democracy::ReferendumInfoOf` (r:99 w:99) - /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) - /// The range of component `r` is `[0, 99]`. - fn undelegate(r: u32) -> Weight { - // Proof Size summary in bytes: - // Measured: `356 + r * (108 ±0)` - // Estimated: `13530 + r * (2676 ±0)` - // Minimum execution time: 25_946_000 picoseconds. - Weight::from_parts(27_003_784, 13530) - // Standard Error: 14_228 - .saturating_add(Weight::from_parts(4_553_164, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) - .saturating_add(T::DbWeight::get().writes(2_u64)) - .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) - .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) - } - /// Storage: `Democracy::PublicProps` (r:0 w:1) - /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) - fn clear_public_proposals() -> Weight { - // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 5_588_000 picoseconds. - Weight::from_parts(5_693_000, 0).saturating_add(T::DbWeight::get().writes(1_u64)) - } - /// Storage: `Democracy::VotingOf` (r:1 w:1) - /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) - /// Storage: `Balances::Locks` (r:1 w:1) - /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) - /// Storage: `Balances::Freezes` (r:1 w:0) - /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// The range of component `r` is `[0, 99]`. - fn unlock_remove(r: u32) -> Weight { - // Proof Size summary in bytes: - // Measured: `432` - // Estimated: `7260` - // Minimum execution time: 31_199_000 picoseconds. - Weight::from_parts(38_826_891, 7260) - // Standard Error: 21_192 - .saturating_add(Weight::from_parts(155_153, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) - } - /// Storage: `Democracy::VotingOf` (r:1 w:1) - /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) - /// Storage: `Balances::Locks` (r:1 w:1) - /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) - /// Storage: `Balances::Freezes` (r:1 w:0) - /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// The range of component `r` is `[0, 99]`. - fn unlock_set(r: u32) -> Weight { - // Proof Size summary in bytes: - // Measured: `432 + r * (22 ±0)` - // Estimated: `7260` - // Minimum execution time: 46_808_000 picoseconds. - Weight::from_parts(47_316_553, 7260) - // Standard Error: 2_010 - .saturating_add(Weight::from_parts(32_507, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) - } - /// Storage: `Democracy::ReferendumInfoOf` (r:100 w:1) - /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) - /// Storage: `Democracy::VotingOf` (r:1 w:1) - /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) - /// Storage: `Uniques::Account` (r:2 w:0) - /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) - /// Storage: `Staking::Positions` (r:1 w:1) - /// Proof: `Staking::Positions` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Staking::PositionVotes` (r:1 w:1) - /// Proof: `Staking::PositionVotes` (`max_values`: None, `max_size`: Some(2134), added: 4609, mode: `MaxEncodedLen`) - /// The range of component `r` is `[1, 100]`. - fn remove_vote(r: u32) -> Weight { - // Proof Size summary in bytes: - // Measured: `1081 + r * (129 ±0)` - // Estimated: `7260 + r * (2676 ±0)` - // Minimum execution time: 50_224_000 picoseconds. - Weight::from_parts(48_115_552, 7260) - // Standard Error: 12_377 - .saturating_add(Weight::from_parts(3_620_792, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(5_u64)) - .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) - .saturating_add(T::DbWeight::get().writes(4_u64)) - .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) - } - /// Storage: `Democracy::ReferendumInfoOf` (r:100 w:1) - /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) - /// Storage: `Democracy::VotingOf` (r:1 w:1) - /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) - /// Storage: `Uniques::Account` (r:2 w:0) - /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) - /// Storage: `Staking::Positions` (r:1 w:1) - /// Proof: `Staking::Positions` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Staking::PositionVotes` (r:1 w:1) - /// Proof: `Staking::PositionVotes` (`max_values`: None, `max_size`: Some(2134), added: 4609, mode: `MaxEncodedLen`) - /// The range of component `r` is `[1, 100]`. - fn remove_other_vote(r: u32) -> Weight { - // Proof Size summary in bytes: - // Measured: `1081 + r * (129 ±0)` - // Estimated: `7260 + r * (2676 ±0)` - // Minimum execution time: 50_234_000 picoseconds. - Weight::from_parts(48_913_493, 7260) - // Standard Error: 9_632 - .saturating_add(Weight::from_parts(3_610_105, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(5_u64)) - .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) - .saturating_add(T::DbWeight::get().writes(4_u64)) - .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) - } - /// Storage: `Democracy::NextExternal` (r:1 w:0) - /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) - /// Storage: `Preimage::StatusFor` (r:1 w:0) - /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) - /// Storage: `Democracy::MetadataOf` (r:0 w:1) - /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) - fn set_external_metadata() -> Weight { - // Proof Size summary in bytes: - // Measured: `287` - // Estimated: `3556` - // Minimum execution time: 23_854_000 picoseconds. - Weight::from_parts(24_292_000, 3556) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) - } - /// Storage: `Democracy::NextExternal` (r:1 w:0) - /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) - /// Storage: `Democracy::MetadataOf` (r:1 w:1) - /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) - fn clear_external_metadata() -> Weight { - // Proof Size summary in bytes: - // Measured: `147` - // Estimated: `3518` - // Minimum execution time: 21_276_000 picoseconds. - Weight::from_parts(21_525_000, 3518) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) - } - /// Storage: `Democracy::PublicProps` (r:1 w:0) - /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) - /// Storage: `Preimage::StatusFor` (r:1 w:0) - /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) - /// Storage: `Democracy::MetadataOf` (r:0 w:1) - /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) - fn set_proposal_metadata() -> Weight { - // Proof Size summary in bytes: - // Measured: `4842` - // Estimated: `18187` - // Minimum execution time: 47_143_000 picoseconds. - Weight::from_parts(47_852_000, 18187) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) - } - /// Storage: `Democracy::PublicProps` (r:1 w:0) - /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) - /// Storage: `Democracy::MetadataOf` (r:1 w:1) - /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) - fn clear_proposal_metadata() -> Weight { - // Proof Size summary in bytes: - // Measured: `4706` - // Estimated: `18187` - // Minimum execution time: 43_821_000 picoseconds. - Weight::from_parts(44_144_000, 18187) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) - } - /// Storage: `Preimage::StatusFor` (r:1 w:0) - /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) - /// Storage: `Democracy::MetadataOf` (r:0 w:1) - /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) - fn set_referendum_metadata() -> Weight { - // Proof Size summary in bytes: - // Measured: `211` - // Estimated: `3556` - // Minimum execution time: 20_772_000 picoseconds. - Weight::from_parts(21_133_000, 3556) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) - } - /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:0) - /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) - /// Storage: `Democracy::MetadataOf` (r:1 w:1) - /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) - fn clear_referendum_metadata() -> Weight { - // Proof Size summary in bytes: - // Measured: `159` - // Estimated: `3666` - // Minimum execution time: 23_308_000 picoseconds. - Weight::from_parts(23_661_000, 3666) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) - } -} - -// For backwards compatibility and tests impl WeightInfo for () { /// Storage: `Democracy::PublicPropCount` (r:1 w:1) /// Proof: `Democracy::PublicPropCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) @@ -571,8 +97,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `4688` // Estimated: `18187` - // Minimum execution time: 52_594_000 picoseconds. - Weight::from_parts(53_207_000, 18187) + // Minimum execution time: 41_583_000 picoseconds. + Weight::from_parts(42_288_000, 18187) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -582,8 +108,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `3443` // Estimated: `6695` - // Minimum execution time: 47_180_000 picoseconds. - Weight::from_parts(47_748_000, 6695) + // Minimum execution time: 39_101_000 picoseconds. + Weight::from_parts(39_726_000, 6695) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -605,8 +131,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `15343` // Estimated: `268590` - // Minimum execution time: 452_520_000 picoseconds. - Weight::from_parts(456_752_000, 268590) + // Minimum execution time: 410_085_000 picoseconds. + Weight::from_parts(416_106_000, 268590) .saturating_add(RocksDbWeight::get().reads(107_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } @@ -628,8 +154,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `15365` // Estimated: `268590` - // Minimum execution time: 451_312_000 picoseconds. - Weight::from_parts(457_827_000, 268590) + // Minimum execution time: 415_909_000 picoseconds. + Weight::from_parts(419_308_000, 268590) .saturating_add(RocksDbWeight::get().reads(107_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } @@ -643,8 +169,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `249` // Estimated: `3666` - // Minimum execution time: 35_636_000 picoseconds. - Weight::from_parts(36_070_000, 3666) + // Minimum execution time: 27_314_000 picoseconds. + Weight::from_parts(27_738_000, 3666) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -666,8 +192,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `6191` // Estimated: `18187` - // Minimum execution time: 132_102_000 picoseconds. - Weight::from_parts(133_131_000, 18187) + // Minimum execution time: 106_015_000 picoseconds. + Weight::from_parts(107_156_000, 18187) .saturating_add(RocksDbWeight::get().reads(9_u64)) .saturating_add(RocksDbWeight::get().writes(8_u64)) } @@ -679,8 +205,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `3276` // Estimated: `6703` - // Minimum execution time: 16_474_000 picoseconds. - Weight::from_parts(16_722_000, 6703) + // Minimum execution time: 13_109_000 picoseconds. + Weight::from_parts(13_498_000, 6703) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -690,8 +216,9 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_354_000 picoseconds. - Weight::from_parts(5_544_000, 0).saturating_add(RocksDbWeight::get().writes(1_u64)) + // Minimum execution time: 3_867_000 picoseconds. + Weight::from_parts(4_031_000, 0) + .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `Democracy::NextExternal` (r:0 w:1) /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) @@ -699,8 +226,9 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_302_000 picoseconds. - Weight::from_parts(5_556_000, 0).saturating_add(RocksDbWeight::get().writes(1_u64)) + // Minimum execution time: 3_863_000 picoseconds. + Weight::from_parts(4_063_000, 0) + .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `Democracy::NextExternal` (r:1 w:1) /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) @@ -714,8 +242,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `147` // Estimated: `3518` - // Minimum execution time: 35_393_000 picoseconds. - Weight::from_parts(36_025_000, 3518) + // Minimum execution time: 25_327_000 picoseconds. + Weight::from_parts(25_746_000, 3518) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } @@ -729,8 +257,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `3377` // Estimated: `6703` - // Minimum execution time: 37_183_000 picoseconds. - Weight::from_parts(37_728_000, 6703) + // Minimum execution time: 28_513_000 picoseconds. + Weight::from_parts(29_004_000, 6703) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -746,8 +274,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `6076` // Estimated: `18187` - // Minimum execution time: 107_143_000 picoseconds. - Weight::from_parts(107_867_000, 18187) + // Minimum execution time: 85_579_000 picoseconds. + Weight::from_parts(86_462_000, 18187) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } @@ -759,8 +287,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `181` // Estimated: `3518` - // Minimum execution time: 27_379_000 picoseconds. - Weight::from_parts(27_886_000, 3518) + // Minimum execution time: 20_065_000 picoseconds. + Weight::from_parts(20_350_000, 3518) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -771,14 +299,14 @@ impl WeightInfo for () { /// Storage: `Democracy::ReferendumInfoOf` (r:99 w:0) /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. - fn on_initialize_base(r: u32) -> Weight { + fn on_initialize_base(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `108 + r * (86 ±0)` + // Measured: `127 + r * (86 ±0)` // Estimated: `1489 + r * (2676 ±0)` - // Minimum execution time: 6_121_000 picoseconds. - Weight::from_parts(8_592_893, 1489) - // Standard Error: 15_703 - .saturating_add(Weight::from_parts(3_531_200, 0).saturating_mul(r.into())) + // Minimum execution time: 4_074_000 picoseconds. + Weight::from_parts(8_776_460, 1489) + // Standard Error: 4_628 + .saturating_add(Weight::from_parts(3_201_403, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(1_u64)) @@ -797,14 +325,14 @@ impl WeightInfo for () { /// Storage: `Democracy::ReferendumInfoOf` (r:99 w:0) /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. - fn on_initialize_base_with_launch_period(r: u32) -> Weight { + fn on_initialize_base_with_launch_period(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `108 + r * (86 ±0)` + // Measured: `127 + r * (86 ±0)` // Estimated: `18187 + r * (2676 ±0)` - // Minimum execution time: 10_482_000 picoseconds. - Weight::from_parts(12_899_855, 18187) - // Standard Error: 16_258 - .saturating_add(Weight::from_parts(3_555_121, 0).saturating_mul(r.into())) + // Minimum execution time: 6_644_000 picoseconds. + Weight::from_parts(11_778_472, 18187) + // Standard Error: 5_684 + .saturating_add(Weight::from_parts(3_210_685, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(1_u64)) @@ -819,14 +347,14 @@ impl WeightInfo for () { /// Storage: `Balances::Freezes` (r:1 w:0) /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. - fn delegate(r: u32) -> Weight { + fn delegate(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `658 + r * (108 ±0)` + // Measured: `677 + r * (108 ±0)` // Estimated: `19800 + r * (2676 ±0)` - // Minimum execution time: 52_402_000 picoseconds. - Weight::from_parts(54_800_637, 19800) - // Standard Error: 20_146 - .saturating_add(Weight::from_parts(4_621_419, 0).saturating_mul(r.into())) + // Minimum execution time: 43_611_000 picoseconds. + Weight::from_parts(49_441_401, 19800) + // Standard Error: 6_010 + .saturating_add(Weight::from_parts(4_110_653, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(4_u64)) @@ -838,14 +366,14 @@ impl WeightInfo for () { /// Storage: `Democracy::ReferendumInfoOf` (r:99 w:99) /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. - fn undelegate(r: u32) -> Weight { + fn undelegate(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `356 + r * (108 ±0)` + // Measured: `374 + r * (108 ±0)` // Estimated: `13530 + r * (2676 ±0)` - // Minimum execution time: 25_946_000 picoseconds. - Weight::from_parts(27_003_784, 13530) - // Standard Error: 14_228 - .saturating_add(Weight::from_parts(4_553_164, 0).saturating_mul(r.into())) + // Minimum execution time: 20_638_000 picoseconds. + Weight::from_parts(22_569_518, 13530) + // Standard Error: 5_015 + .saturating_add(Weight::from_parts(4_078_739, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(2_u64)) @@ -858,8 +386,9 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_588_000 picoseconds. - Weight::from_parts(5_693_000, 0).saturating_add(RocksDbWeight::get().writes(1_u64)) + // Minimum execution time: 4_025_000 picoseconds. + Weight::from_parts(4_259_000, 0) + .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `Democracy::VotingOf` (r:1 w:1) /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) @@ -870,14 +399,14 @@ impl WeightInfo for () { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. - fn unlock_remove(r: u32) -> Weight { + fn unlock_remove(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `432` // Estimated: `7260` - // Minimum execution time: 31_199_000 picoseconds. - Weight::from_parts(38_826_891, 7260) - // Standard Error: 21_192 - .saturating_add(Weight::from_parts(155_153, 0).saturating_mul(r.into())) + // Minimum execution time: 26_212_000 picoseconds. + Weight::from_parts(37_912_071, 7260) + // Standard Error: 2_649 + .saturating_add(Weight::from_parts(38_915, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -890,14 +419,14 @@ impl WeightInfo for () { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `r` is `[0, 99]`. - fn unlock_set(r: u32) -> Weight { + fn unlock_set(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `432 + r * (22 ±0)` + // Measured: `433 + r * (22 ±0)` // Estimated: `7260` - // Minimum execution time: 46_808_000 picoseconds. - Weight::from_parts(47_316_553, 7260) - // Standard Error: 2_010 - .saturating_add(Weight::from_parts(32_507, 0).saturating_mul(r.into())) + // Minimum execution time: 36_330_000 picoseconds. + Weight::from_parts(37_941_730, 7260) + // Standard Error: 717 + .saturating_add(Weight::from_parts(59_784, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -912,14 +441,14 @@ impl WeightInfo for () { /// Storage: `Staking::PositionVotes` (r:1 w:1) /// Proof: `Staking::PositionVotes` (`max_values`: None, `max_size`: Some(2134), added: 4609, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 100]`. - fn remove_vote(r: u32) -> Weight { + fn remove_vote(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1081 + r * (129 ±0)` + // Measured: `1077 + r * (129 ±0)` // Estimated: `7260 + r * (2676 ±0)` - // Minimum execution time: 50_224_000 picoseconds. - Weight::from_parts(48_115_552, 7260) - // Standard Error: 12_377 - .saturating_add(Weight::from_parts(3_620_792, 0).saturating_mul(r.into())) + // Minimum execution time: 46_481_000 picoseconds. + Weight::from_parts(46_605_938, 7260) + // Standard Error: 4_894 + .saturating_add(Weight::from_parts(3_310_988, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(4_u64)) @@ -936,14 +465,14 @@ impl WeightInfo for () { /// Storage: `Staking::PositionVotes` (r:1 w:1) /// Proof: `Staking::PositionVotes` (`max_values`: None, `max_size`: Some(2134), added: 4609, mode: `MaxEncodedLen`) /// The range of component `r` is `[1, 100]`. - fn remove_other_vote(r: u32) -> Weight { + fn remove_other_vote(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1081 + r * (129 ±0)` + // Measured: `1077 + r * (129 ±0)` // Estimated: `7260 + r * (2676 ±0)` - // Minimum execution time: 50_234_000 picoseconds. - Weight::from_parts(48_913_493, 7260) - // Standard Error: 9_632 - .saturating_add(Weight::from_parts(3_610_105, 0).saturating_mul(r.into())) + // Minimum execution time: 45_868_000 picoseconds. + Weight::from_parts(46_237_093, 7260) + // Standard Error: 5_206 + .saturating_add(Weight::from_parts(3_320_564, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(4_u64)) @@ -953,15 +482,17 @@ impl WeightInfo for () { /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) /// Storage: `Preimage::StatusFor` (r:1 w:0) /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:0) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(75), added: 2550, mode: `MaxEncodedLen`) /// Storage: `Democracy::MetadataOf` (r:0 w:1) /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn set_external_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `287` // Estimated: `3556` - // Minimum execution time: 23_854_000 picoseconds. - Weight::from_parts(24_292_000, 3556) - .saturating_add(RocksDbWeight::get().reads(2_u64)) + // Minimum execution time: 20_451_000 picoseconds. + Weight::from_parts(20_700_000, 3556) + .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `Democracy::NextExternal` (r:1 w:0) @@ -972,8 +503,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `147` // Estimated: `3518` - // Minimum execution time: 21_276_000 picoseconds. - Weight::from_parts(21_525_000, 3518) + // Minimum execution time: 16_417_000 picoseconds. + Weight::from_parts(16_604_000, 3518) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -981,15 +512,17 @@ impl WeightInfo for () { /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) /// Storage: `Preimage::StatusFor` (r:1 w:0) /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:0) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(75), added: 2550, mode: `MaxEncodedLen`) /// Storage: `Democracy::MetadataOf` (r:0 w:1) /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn set_proposal_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `4842` // Estimated: `18187` - // Minimum execution time: 47_143_000 picoseconds. - Weight::from_parts(47_852_000, 18187) - .saturating_add(RocksDbWeight::get().reads(2_u64)) + // Minimum execution time: 42_228_000 picoseconds. + Weight::from_parts(42_643_000, 18187) + .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `Democracy::PublicProps` (r:1 w:0) @@ -1000,22 +533,24 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `4706` // Estimated: `18187` - // Minimum execution time: 43_821_000 picoseconds. - Weight::from_parts(44_144_000, 18187) + // Minimum execution time: 36_760_000 picoseconds. + Weight::from_parts(37_250_000, 18187) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `Preimage::StatusFor` (r:1 w:0) /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:0) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(75), added: 2550, mode: `MaxEncodedLen`) /// Storage: `Democracy::MetadataOf` (r:0 w:1) /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn set_referendum_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `211` // Estimated: `3556` - // Minimum execution time: 20_772_000 picoseconds. - Weight::from_parts(21_133_000, 3556) - .saturating_add(RocksDbWeight::get().reads(1_u64)) + // Minimum execution time: 18_163_000 picoseconds. + Weight::from_parts(18_437_000, 3556) + .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:0) @@ -1026,8 +561,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `159` // Estimated: `3666` - // Minimum execution time: 23_308_000 picoseconds. - Weight::from_parts(23_661_000, 3666) + // Minimum execution time: 19_028_000 picoseconds. + Weight::from_parts(19_242_000, 3666) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } diff --git a/pallets/duster/src/weights.rs b/pallets/duster/src/weights.rs index 920078063..16f46958a 100644 --- a/pallets/duster/src/weights.rs +++ b/pallets/duster/src/weights.rs @@ -3,11 +3,6 @@ // Copyright (C) 2020-2023 Intergalactic, Limited (GIB). // SPDX-License-Identifier: Apache-2.0 -// This file is part of HydraDX. - -// Copyright (C) 2020-2023 Intergalactic, Limited (GIB). -// SPDX-License-Identifier: Apache-2.0 - // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at @@ -22,27 +17,30 @@ //! Autogenerated weights for `pallet_duster` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-12, STEPS: `5`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-05-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --pallet=pallet-duster // --wasm-execution=compiled -// --heap-pages=4096 -// --chain=dev -// --extrinsic=* -// --steps=5 -// --repeat=20 +// --pallet +// * +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 +// --template=scripts/pallet-weight-template.hbs // --output -// ./weights-1.1.0/duster.rs -// --template -// .maintain/pallet-weight-template-no-back.hbs +// weights/ #![allow(unused_parens)] #![allow(unused_imports)] @@ -62,63 +60,17 @@ pub trait WeightInfo { } /// Weights for claims using the hydraDX node and recommended hardware. -pub struct HydraWeight(PhantomData); -impl WeightInfo for HydraWeight { - /// Storage: `Duster::AccountBlacklist` (r:1 w:0) - /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:1 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) - /// Storage: `Tokens::Accounts` (r:2 w:2) - /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) - /// Storage: `Duster::DustAccount` (r:1 w:0) - /// Proof: `Duster::DustAccount` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `Duster::RewardAccount` (r:1 w:0) - /// Proof: `Duster::RewardAccount` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:0 w:1) - /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - fn dust_account() -> Weight { - // Proof Size summary in bytes: - // Measured: `2538` - // Estimated: `6156` - // Minimum execution time: 90_102_000 picoseconds. - Weight::from_parts(90_700_000, 6156) - .saturating_add(T::DbWeight::get().reads(7_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) - } - /// Storage: `Duster::AccountBlacklist` (r:0 w:1) - /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - fn add_nondustable_account() -> Weight { - // Proof Size summary in bytes: - // Measured: `1008` - // Estimated: `0` - // Minimum execution time: 21_071_000 picoseconds. - Weight::from_parts(21_591_000, 0).saturating_add(T::DbWeight::get().writes(1_u64)) - } - /// Storage: `Duster::AccountBlacklist` (r:1 w:1) - /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - fn remove_nondustable_account() -> Weight { - // Proof Size summary in bytes: - // Measured: `1296` - // Estimated: `3513` - // Minimum execution time: 26_630_000 picoseconds. - Weight::from_parts(27_026_000, 3513) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) - } -} - -// For backwards compatibility and tests impl WeightInfo for () { /// Storage: `Duster::AccountBlacklist` (r:1 w:0) /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::Assets` (r:1 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `Tokens::Accounts` (r:2 w:2) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `Duster::DustAccount` (r:1 w:0) /// Proof: `Duster::DustAccount` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::BannedAssets` (r:1 w:0) + /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `Duster::RewardAccount` (r:1 w:0) @@ -127,30 +79,30 @@ impl WeightInfo for () { /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) fn dust_account() -> Weight { // Proof Size summary in bytes: - // Measured: `2538` + // Measured: `2690` // Estimated: `6156` - // Minimum execution time: 90_102_000 picoseconds. - Weight::from_parts(90_700_000, 6156) - .saturating_add(RocksDbWeight::get().reads(7_u64)) + // Minimum execution time: 84_500_000 picoseconds. + Weight::from_parts(85_254_000, 6156) + .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } /// Storage: `Duster::AccountBlacklist` (r:0 w:1) /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) fn add_nondustable_account() -> Weight { // Proof Size summary in bytes: - // Measured: `1008` + // Measured: `1016` // Estimated: `0` - // Minimum execution time: 21_071_000 picoseconds. - Weight::from_parts(21_591_000, 0).saturating_add(RocksDbWeight::get().writes(1_u64)) + // Minimum execution time: 16_109_000 picoseconds. + Weight::from_parts(16_551_000, 0).saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `Duster::AccountBlacklist` (r:1 w:1) /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) fn remove_nondustable_account() -> Weight { // Proof Size summary in bytes: - // Measured: `1296` + // Measured: `1370` // Estimated: `3513` - // Minimum execution time: 26_630_000 picoseconds. - Weight::from_parts(27_026_000, 3513) + // Minimum execution time: 20_814_000 picoseconds. + Weight::from_parts(21_277_000, 3513) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } diff --git a/pallets/dynamic-evm-fee/src/weights.rs b/pallets/dynamic-evm-fee/src/weights.rs index 838a95c3f..b8fbb32bc 100644 --- a/pallets/dynamic-evm-fee/src/weights.rs +++ b/pallets/dynamic-evm-fee/src/weights.rs @@ -18,25 +18,30 @@ //! Autogenerated weights for `pallet_dynamic_evm_fee` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-02-06, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-05-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `dmoka-msi-pc`, CPU: `AMD Ryzen 9 5900X 12-Core Processor` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` +//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=10 -// --repeat=30 // --wasm-execution=compiled -// --heap-pages=4096 -// --template=.maintain/pallet-weight-template.hbs -// --pallet=pallet-dynamic-evm-fee -// --output=dynamic-evm-fee2.rs -// --extrinsic=* +// --pallet +// * +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 +// --template=scripts/pallet-weight-template.hbs +// --output +// weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -52,56 +57,28 @@ pub trait WeightInfo { } /// Weights for `pallet_dynamic_evm_fee` using the HydraDX node and recommended hardware. -pub struct HydraWeight(PhantomData); -impl WeightInfo for HydraWeight { - /// Storage: `DynamicEvmFee::BaseFeePerGas` (r:1 w:1) - /// Proof: `DynamicEvmFee::BaseFeePerGas` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) - /// Storage: `TransactionPayment::NextFeeMultiplier` (r:1 w:0) - /// Proof: `TransactionPayment::NextFeeMultiplier` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::NextAssetId` (r:1 w:0) - /// Proof: `AssetRegistry::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::LocationAssets` (r:1 w:0) - /// Proof: `AssetRegistry::LocationAssets` (`max_values`: None, `max_size`: Some(622), added: 3097, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) - /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) - /// Storage: `Router::Routes` (r:1 w:0) - /// Proof: `Router::Routes` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) - /// Storage: `EmaOracle::Oracles` (r:4 w:0) - /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) - fn on_initialize() -> Weight { - // Proof Size summary in bytes: - // Measured: `2709` - // Estimated: `11598` - // Minimum execution time: 64_849_000 picoseconds. - Weight::from_parts(66_099_000, 11598) - .saturating_add(T::DbWeight::get().reads(10_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) - } -} - -// For backwards compatibility and tests. impl WeightInfo for () { /// Storage: `DynamicEvmFee::BaseFeePerGas` (r:1 w:1) - /// Proof: `DynamicEvmFee::BaseFeePerGas` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) - /// Storage: `TransactionPayment::NextFeeMultiplier` (r:1 w:0) - /// Proof: `TransactionPayment::NextFeeMultiplier` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::NextAssetId` (r:1 w:0) - /// Proof: `AssetRegistry::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::LocationAssets` (r:1 w:0) - /// Proof: `AssetRegistry::LocationAssets` (`max_values`: None, `max_size`: Some(622), added: 3097, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) - /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) - /// Storage: `Router::Routes` (r:1 w:0) - /// Proof: `Router::Routes` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) - /// Storage: `EmaOracle::Oracles` (r:4 w:0) - /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) - fn on_initialize() -> Weight { - // Proof Size summary in bytes: - // Measured: `2709` - // Estimated: `11598` - // Minimum execution time: 64_849_000 picoseconds. - Weight::from_parts(66_099_000, 11598) - .saturating_add(RocksDbWeight::get().reads(10_u64)) - .saturating_add(RocksDbWeight::get().writes(1_u64)) - } + /// Proof: `DynamicEvmFee::BaseFeePerGas` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `TransactionPayment::NextFeeMultiplier` (r:1 w:0) + /// Proof: `TransactionPayment::NextFeeMultiplier` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::NextAssetId` (r:1 w:0) + /// Proof: `AssetRegistry::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::LocationAssets` (r:1 w:0) + /// Proof: `AssetRegistry::LocationAssets` (`max_values`: None, `max_size`: Some(622), added: 3097, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `Router::Routes` (r:1 w:0) + /// Proof: `Router::Routes` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Oracles` (r:4 w:0) + /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) + fn on_initialize() -> Weight { + // Proof Size summary in bytes: + // Measured: `2746` + // Estimated: `11598` + // Minimum execution time: 66_128_000 picoseconds. + Weight::from_parts(66_561_000, 11598) + .saturating_add(RocksDbWeight::get().reads(10_u64)) + .saturating_add(RocksDbWeight::get().writes(1_u64)) + } } diff --git a/pallets/ema-oracle/src/weights.rs b/pallets/ema-oracle/src/weights.rs index 9f5677c51..1d3872a85 100644 --- a/pallets/ema-oracle/src/weights.rs +++ b/pallets/ema-oracle/src/weights.rs @@ -17,25 +17,30 @@ //! Autogenerated weights for `pallet_ema_oracle` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-05, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-05-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=10 -// --repeat=30 // --wasm-execution=compiled -// --heap-pages=4096 -// --template=.maintain/pallet-weight-template-no-back.hbs -// --pallet=pallet-ema-oracle -// --output=weights-1.1.0/oracle.rs -// --extrinsic=* +// --pallet +// * +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 +// --template=scripts/pallet-weight-template.hbs +// --output +// weights* #![allow(unused_parens)] #![allow(unused_imports)] @@ -58,125 +63,33 @@ pub trait WeightInfo { fn get_entry() -> Weight; } -pub struct BasiliskWeight(PhantomData); - -impl WeightInfo for BasiliskWeight { +/// Weights for `pallet_ema_oracle` using the HydraDX node and recommended hardware. +impl WeightInfo for () { /// Storage: `EmaOracle::WhitelistedAssets` (r:1 w:1) /// Proof: `EmaOracle::WhitelistedAssets` (`max_values`: Some(1), `max_size`: Some(641), added: 1136, mode: `MaxEncodedLen`) fn add_oracle() -> Weight { // Proof Size summary in bytes: // Measured: `860` // Estimated: `2126` - // Minimum execution time: 21_341_000 picoseconds. - Weight::from_parts(21_667_000, 2126) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 15_633_000 picoseconds. + Weight::from_parts(15_827_000, 2126) + .saturating_add(RocksDbWeight::get().reads(1_u64)) + .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `EmaOracle::WhitelistedAssets` (r:1 w:1) /// Proof: `EmaOracle::WhitelistedAssets` (`max_values`: Some(1), `max_size`: Some(641), added: 1136, mode: `MaxEncodedLen`) - fn remove_oracle() -> Weight { - // Proof Size summary in bytes: - // Measured: `876` - // Estimated: `2126` - // Minimum execution time: 21_553_000 picoseconds. - Weight::from_parts(21_866_000, 2126) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) - } - /// Storage: `EmaOracle::Accumulator` (r:1 w:0) - /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) - fn on_finalize_no_entry() -> Weight { - // Proof Size summary in bytes: - // Measured: `208` - // Estimated: `7406` - // Minimum execution time: 3_165_000 picoseconds. - Weight::from_parts(3_271_000, 7406).saturating_add(T::DbWeight::get().reads(1)) - } - /// Storage: `EmaOracle::Accumulator` (r:1 w:1) - /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) - /// Storage: `EmaOracle::Oracles` (r:117 w:117) - /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) - /// The range of component `b` is `[1, 39]`. - fn on_finalize_multiple_tokens(b: u32) -> Weight { - // Proof Size summary in bytes: - // Measured: `304 + b * (626 ±0)` - // Estimated: `7406 + b * (7956 ±0)` - // Minimum execution time: 48_505_000 picoseconds. - Weight::from_parts(12_673_348, 7406) - // Standard Error: 31_644 - .saturating_add(Weight::from_parts(36_427_193, 0).saturating_mul(b.into())) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(b.into()))) - .saturating_add(T::DbWeight::get().writes(1)) - .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(b.into()))) - .saturating_add(Weight::from_parts(0, 7956).saturating_mul(b.into())) - } - /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) - /// Storage: `EmaOracle::Accumulator` (r:1 w:1) - /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) - /// The range of component `b` is `[1, 39]`. - fn on_trade_multiple_tokens(b: u32) -> Weight { - // Proof Size summary in bytes: - // Measured: `751 + b * (163 ±0)` - // Estimated: `7406` - // Minimum execution time: 18_943_000 picoseconds. - Weight::from_parts(19_294_596, 7406) - // Standard Error: 3_556 - .saturating_add(Weight::from_parts(423_769, 0).saturating_mul(b.into())) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(1)) - } - /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `EmaOracle::Accumulator` (r:1 w:1) /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) - /// The range of component `b` is `[1, 39]`. - fn on_liquidity_changed_multiple_tokens(b: u32) -> Weight { - // Proof Size summary in bytes: - // Measured: `751 + b * (163 ±0)` - // Estimated: `7406` - // Minimum execution time: 19_079_000 picoseconds. - Weight::from_parts(19_403_394, 7406) - // Standard Error: 3_730 - .saturating_add(Weight::from_parts(422_560, 0).saturating_mul(b.into())) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(1)) - } - /// Storage: `EmaOracle::Oracles` (r:2 w:0) + /// Storage: `EmaOracle::Oracles` (r:0 w:3) /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) - fn get_entry() -> Weight { - // Proof Size summary in bytes: - // Measured: `638` - // Estimated: `6294` - // Minimum execution time: 18_991_000 picoseconds. - Weight::from_parts(19_258_000, 6294).saturating_add(T::DbWeight::get().reads(2)) - } -} - -// For backwards compatibility and tests -impl WeightInfo for () { - /// Storage: `EmaOracle::WhitelistedAssets` (r:1 w:1) - /// Proof: `EmaOracle::WhitelistedAssets` (`max_values`: Some(1), `max_size`: Some(641), added: 1136, mode: `MaxEncodedLen`) - fn add_oracle() -> Weight { - // Proof Size summary in bytes: - // Measured: `860` - // Estimated: `2126` - // Minimum execution time: 21_341_000 picoseconds. - Weight::from_parts(21_667_000, 2126) - .saturating_add(RocksDbWeight::get().reads(1)) - .saturating_add(RocksDbWeight::get().writes(1)) - } - /// Storage: `EmaOracle::WhitelistedAssets` (r:1 w:1) - /// Proof: `EmaOracle::WhitelistedAssets` (`max_values`: Some(1), `max_size`: Some(641), added: 1136, mode: `MaxEncodedLen`) fn remove_oracle() -> Weight { // Proof Size summary in bytes: // Measured: `876` - // Estimated: `2126` - // Minimum execution time: 21_553_000 picoseconds. - Weight::from_parts(21_866_000, 2126) - .saturating_add(RocksDbWeight::get().reads(1)) - .saturating_add(RocksDbWeight::get().writes(1)) + // Estimated: `7406` + // Minimum execution time: 31_307_000 picoseconds. + Weight::from_parts(31_799_000, 7406) + .saturating_add(RocksDbWeight::get().reads(2_u64)) + .saturating_add(RocksDbWeight::get().writes(5_u64)) } /// Storage: `EmaOracle::Accumulator` (r:1 w:0) /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) @@ -184,8 +97,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `208` // Estimated: `7406` - // Minimum execution time: 3_165_000 picoseconds. - Weight::from_parts(3_271_000, 7406).saturating_add(RocksDbWeight::get().reads(1)) + // Minimum execution time: 2_253_000 picoseconds. + Weight::from_parts(2_365_000, 7406).saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `EmaOracle::Accumulator` (r:1 w:1) /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) @@ -194,15 +107,15 @@ impl WeightInfo for () { /// The range of component `b` is `[1, 39]`. fn on_finalize_multiple_tokens(b: u32) -> Weight { // Proof Size summary in bytes: - // Measured: `304 + b * (626 ±0)` + // Measured: `305 + b * (626 ±0)` // Estimated: `7406 + b * (7956 ±0)` - // Minimum execution time: 48_505_000 picoseconds. - Weight::from_parts(12_673_348, 7406) - // Standard Error: 31_644 - .saturating_add(Weight::from_parts(36_427_193, 0).saturating_mul(b.into())) - .saturating_add(RocksDbWeight::get().reads(1)) + // Minimum execution time: 44_581_000 picoseconds. + Weight::from_parts(9_813_697, 7406) + // Standard Error: 19_578 + .saturating_add(Weight::from_parts(33_915_148, 0).saturating_mul(b.into())) + .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().reads((3_u64).saturating_mul(b.into()))) - .saturating_add(RocksDbWeight::get().writes(1)) + .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(RocksDbWeight::get().writes((3_u64).saturating_mul(b.into()))) .saturating_add(Weight::from_parts(0, 7956).saturating_mul(b.into())) } @@ -213,14 +126,14 @@ impl WeightInfo for () { /// The range of component `b` is `[1, 39]`. fn on_trade_multiple_tokens(b: u32) -> Weight { // Proof Size summary in bytes: - // Measured: `751 + b * (163 ±0)` + // Measured: `821 + b * (164 ±0)` // Estimated: `7406` - // Minimum execution time: 18_943_000 picoseconds. - Weight::from_parts(19_294_596, 7406) - // Standard Error: 3_556 - .saturating_add(Weight::from_parts(423_769, 0).saturating_mul(b.into())) - .saturating_add(RocksDbWeight::get().reads(3)) - .saturating_add(RocksDbWeight::get().writes(1)) + // Minimum execution time: 16_199_000 picoseconds. + Weight::from_parts(17_137_924, 7406) + // Standard Error: 2_536 + .saturating_add(Weight::from_parts(402_614, 0).saturating_mul(b.into())) + .saturating_add(RocksDbWeight::get().reads(3_u64)) + .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `AssetRegistry::Assets` (r:2 w:0) /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) @@ -229,14 +142,14 @@ impl WeightInfo for () { /// The range of component `b` is `[1, 39]`. fn on_liquidity_changed_multiple_tokens(b: u32) -> Weight { // Proof Size summary in bytes: - // Measured: `751 + b * (163 ±0)` + // Measured: `821 + b * (164 ±0)` // Estimated: `7406` - // Minimum execution time: 19_079_000 picoseconds. - Weight::from_parts(19_403_394, 7406) - // Standard Error: 3_730 - .saturating_add(Weight::from_parts(422_560, 0).saturating_mul(b.into())) - .saturating_add(RocksDbWeight::get().reads(3)) - .saturating_add(RocksDbWeight::get().writes(1)) + // Minimum execution time: 16_217_000 picoseconds. + Weight::from_parts(17_087_683, 7406) + // Standard Error: 2_611 + .saturating_add(Weight::from_parts(406_220, 0).saturating_mul(b.into())) + .saturating_add(RocksDbWeight::get().reads(3_u64)) + .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `EmaOracle::Oracles` (r:2 w:0) /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) @@ -244,7 +157,7 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `638` // Estimated: `6294` - // Minimum execution time: 18_991_000 picoseconds. - Weight::from_parts(19_258_000, 6294).saturating_add(RocksDbWeight::get().reads(2)) + // Minimum execution time: 17_768_000 picoseconds. + Weight::from_parts(18_090_000, 6294).saturating_add(RocksDbWeight::get().reads(2_u64)) } } diff --git a/pallets/evm-accounts/src/weights.rs b/pallets/evm-accounts/src/weights.rs index 4ba3fa82c..d9175d81c 100644 --- a/pallets/evm-accounts/src/weights.rs +++ b/pallets/evm-accounts/src/weights.rs @@ -1,6 +1,6 @@ // This file is part of HydraDX. -// Copyright (C) 2020-2024 Intergalactic, Limited (GIB). +// Copyright (C) 2020-2023 Intergalactic, Limited (GIB). // SPDX-License-Identifier: Apache-2.0 // Licensed under the Apache License, Version 2.0 (the "License"); @@ -17,25 +17,30 @@ //! Autogenerated weights for `pallet_evm_accounts` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-02-21, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-05-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=10 -// --repeat=30 // --wasm-execution=compiled -// --heap-pages=4096 -// --template=.maintain/pallet-weight-template-no-back.hbs -// --pallet=pallet-evm-accounts -// --output=weights-1.1.0/evm-accounts.rs -// --extrinsic=* +// --pallet +// * +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 +// --template=scripts/pallet-weight-template.hbs +// --output +// weights/ #![allow(unused_parens)] #![allow(unused_imports)] @@ -54,58 +59,7 @@ pub trait WeightInfo { fn renounce_contract_deployer() -> Weight; } -pub struct HydraWeight(PhantomData); - -impl WeightInfo for HydraWeight { - /// Storage: `EVMAccounts::AccountExtension` (r:1 w:1) - /// Proof: `EVMAccounts::AccountExtension` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:0) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::NextAssetId` (r:1 w:0) - /// Proof: `AssetRegistry::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::LocationAssets` (r:1 w:0) - /// Proof: `AssetRegistry::LocationAssets` (`max_values`: None, `max_size`: Some(622), added: 3097, mode: `MaxEncodedLen`) - /// Storage: `Tokens::Accounts` (r:1 w:0) - /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) - fn bind_evm_address() -> Weight { - // Proof Size summary in bytes: - // Measured: `479` - // Estimated: `4087` - // Minimum execution time: 36_357_000 picoseconds. - Weight::from_parts(36_601_000, 4087) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(1)) - } - /// Storage: `EVMAccounts::ContractDeployer` (r:0 w:1) - /// Proof: `EVMAccounts::ContractDeployer` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) - fn add_contract_deployer() -> Weight { - // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 13_157_000 picoseconds. - Weight::from_parts(13_481_000, 0).saturating_add(T::DbWeight::get().writes(1)) - } - /// Storage: `EVMAccounts::ContractDeployer` (r:0 w:1) - /// Proof: `EVMAccounts::ContractDeployer` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) - fn remove_contract_deployer() -> Weight { - // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 13_196_000 picoseconds. - Weight::from_parts(13_517_000, 0).saturating_add(T::DbWeight::get().writes(1)) - } - /// Storage: `EVMAccounts::ContractDeployer` (r:0 w:1) - /// Proof: `EVMAccounts::ContractDeployer` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) - fn renounce_contract_deployer() -> Weight { - // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 13_153_000 picoseconds. - Weight::from_parts(13_380_000, 0).saturating_add(T::DbWeight::get().writes(1)) - } -} - -// For backwards compatibility and tests +/// Weights for `pallet_evm_accounts` using the HydraDX node and recommended hardware. impl WeightInfo for () { /// Storage: `EVMAccounts::AccountExtension` (r:1 w:1) /// Proof: `EVMAccounts::AccountExtension` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) @@ -117,14 +71,16 @@ impl WeightInfo for () { /// Proof: `AssetRegistry::LocationAssets` (`max_values`: None, `max_size`: Some(622), added: 3097, mode: `MaxEncodedLen`) /// Storage: `Tokens::Accounts` (r:1 w:0) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:1 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) fn bind_evm_address() -> Weight { // Proof Size summary in bytes: - // Measured: `479` + // Measured: `545` // Estimated: `4087` - // Minimum execution time: 36_357_000 picoseconds. - Weight::from_parts(36_601_000, 4087) - .saturating_add(RocksDbWeight::get().reads(5)) - .saturating_add(RocksDbWeight::get().writes(1)) + // Minimum execution time: 32_109_000 picoseconds. + Weight::from_parts(32_705_000, 4087) + .saturating_add(RocksDbWeight::get().reads(6_u64)) + .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `EVMAccounts::ContractDeployer` (r:0 w:1) /// Proof: `EVMAccounts::ContractDeployer` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) @@ -132,8 +88,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 13_157_000 picoseconds. - Weight::from_parts(13_481_000, 0).saturating_add(RocksDbWeight::get().writes(1)) + // Minimum execution time: 9_574_000 picoseconds. + Weight::from_parts(9_760_000, 0).saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `EVMAccounts::ContractDeployer` (r:0 w:1) /// Proof: `EVMAccounts::ContractDeployer` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) @@ -141,8 +97,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 13_196_000 picoseconds. - Weight::from_parts(13_517_000, 0).saturating_add(RocksDbWeight::get().writes(1)) + // Minimum execution time: 9_344_000 picoseconds. + Weight::from_parts(9_633_000, 0).saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `EVMAccounts::ContractDeployer` (r:0 w:1) /// Proof: `EVMAccounts::ContractDeployer` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) @@ -150,7 +106,7 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 13_153_000 picoseconds. - Weight::from_parts(13_380_000, 0).saturating_add(RocksDbWeight::get().writes(1)) + // Minimum execution time: 9_421_000 picoseconds. + Weight::from_parts(9_685_000, 0).saturating_add(RocksDbWeight::get().writes(1_u64)) } } diff --git a/pallets/lbp/src/weights.rs b/pallets/lbp/src/weights.rs index b43c189e4..2447524f8 100644 --- a/pallets/lbp/src/weights.rs +++ b/pallets/lbp/src/weights.rs @@ -17,27 +17,30 @@ //! Autogenerated weights for `pallet_lbp` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-12, STEPS: `5`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-05-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --pallet=pallet-lbp // --wasm-execution=compiled -// --heap-pages=4096 -// --chain=dev -// --extrinsic=* -// --steps=5 -// --repeat=20 +// --pallet +// * +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 +// --template=scripts/pallet-weight-template.hbs // --output -// ./weights-1.1.0/lbp.rs -// --template -// .maintain/pallet-weight-template-no-back.hbs +// weights/ #![allow(unused_parens)] #![allow(unused_imports)] @@ -63,191 +66,6 @@ pub trait WeightInfo { } /// Weights for pallet_lbp using the hydraDX node and recommended hardware. -pub struct HydraWeight(PhantomData); - -impl WeightInfo for HydraWeight { - /// Storage: `LBP::PoolData` (r:1 w:1) - /// Proof: `LBP::PoolData` (`max_values`: None, `max_size`: Some(163), added: 2638, mode: `MaxEncodedLen`) - /// Storage: `LBP::FeeCollectorWithAsset` (r:1 w:1) - /// Proof: `LBP::FeeCollectorWithAsset` (`max_values`: None, `max_size`: Some(69), added: 2544, mode: `MaxEncodedLen`) - /// Storage: `Tokens::Accounts` (r:4 w:4) - /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:1) - /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) - /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) - fn create_pool() -> Weight { - // Proof Size summary in bytes: - // Measured: `992` - // Estimated: `11322` - // Minimum execution time: 144_386_000 picoseconds. - Weight::from_parts(145_196_000, 11322) - .saturating_add(T::DbWeight::get().reads(12_u64)) - .saturating_add(T::DbWeight::get().writes(8_u64)) - } - /// Storage: `LBP::PoolData` (r:1 w:1) - /// Proof: `LBP::PoolData` (`max_values`: None, `max_size`: Some(163), added: 2638, mode: `MaxEncodedLen`) - /// Storage: `LBP::FeeCollectorWithAsset` (r:1 w:2) - /// Proof: `LBP::FeeCollectorWithAsset` (`max_values`: None, `max_size`: Some(69), added: 2544, mode: `MaxEncodedLen`) - fn update_pool_data() -> Weight { - // Proof Size summary in bytes: - // Measured: `351` - // Estimated: `3628` - // Minimum execution time: 30_461_000 picoseconds. - Weight::from_parts(30_686_000, 3628) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) - } - /// Storage: `LBP::PoolData` (r:1 w:0) - /// Proof: `LBP::PoolData` (`max_values`: None, `max_size`: Some(163), added: 2638, mode: `MaxEncodedLen`) - /// Storage: `Tokens::Accounts` (r:4 w:4) - /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:0) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - fn add_liquidity() -> Weight { - // Proof Size summary in bytes: - // Measured: `1180` - // Estimated: `11322` - // Minimum execution time: 100_583_000 picoseconds. - Weight::from_parts(101_592_000, 11322) - .saturating_add(T::DbWeight::get().reads(8_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) - } - /// Storage: `LBP::PoolData` (r:1 w:1) - /// Proof: `LBP::PoolData` (`max_values`: None, `max_size`: Some(163), added: 2638, mode: `MaxEncodedLen`) - /// Storage: `Tokens::Accounts` (r:4 w:4) - /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:1) - /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `Tokens::Locks` (r:1 w:0) - /// Proof: `Tokens::Locks` (`max_values`: None, `max_size`: Some(1261), added: 3736, mode: `MaxEncodedLen`) - /// Storage: `LBP::FeeCollectorWithAsset` (r:0 w:1) - /// Proof: `LBP::FeeCollectorWithAsset` (`max_values`: None, `max_size`: Some(69), added: 2544, mode: `MaxEncodedLen`) - fn remove_liquidity() -> Weight { - // Proof Size summary in bytes: - // Measured: `1368` - // Estimated: `11322` - // Minimum execution time: 133_274_000 picoseconds. - Weight::from_parts(134_648_000, 11322) - .saturating_add(T::DbWeight::get().reads(10_u64)) - .saturating_add(T::DbWeight::get().writes(8_u64)) - } - /// Storage: `Tokens::Accounts` (r:5 w:5) - /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) - /// Storage: `LBP::PoolData` (r:1 w:0) - /// Proof: `LBP::PoolData` (`max_values`: None, `max_size`: Some(163), added: 2638, mode: `MaxEncodedLen`) - /// Storage: `Tokens::Locks` (r:1 w:1) - /// Proof: `Tokens::Locks` (`max_values`: None, `max_size`: Some(1261), added: 3736, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:3 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - fn sell() -> Weight { - // Proof Size summary in bytes: - // Measured: `1585` - // Estimated: `13905` - // Minimum execution time: 218_344_000 picoseconds. - Weight::from_parts(220_109_000, 13905) - .saturating_add(T::DbWeight::get().reads(12_u64)) - .saturating_add(T::DbWeight::get().writes(7_u64)) - } - /// Storage: `LBP::PoolData` (r:1 w:0) - /// Proof: `LBP::PoolData` (`max_values`: None, `max_size`: Some(163), added: 2638, mode: `MaxEncodedLen`) - /// Storage: `Tokens::Accounts` (r:5 w:5) - /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) - /// Storage: `Tokens::Locks` (r:1 w:1) - /// Proof: `Tokens::Locks` (`max_values`: None, `max_size`: Some(1261), added: 3736, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:3 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - fn buy() -> Weight { - // Proof Size summary in bytes: - // Measured: `1585` - // Estimated: `13905` - // Minimum execution time: 219_060_000 picoseconds. - Weight::from_parts(220_516_000, 13905) - .saturating_add(T::DbWeight::get().reads(12_u64)) - .saturating_add(T::DbWeight::get().writes(7_u64)) - } - /// Storage: `LBP::PoolData` (r:1 w:0) - /// Proof: `LBP::PoolData` (`max_values`: None, `max_size`: Some(163), added: 2638, mode: `MaxEncodedLen`) - /// Storage: `Tokens::Accounts` (r:5 w:5) - /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) - /// Storage: `Tokens::Locks` (r:1 w:1) - /// Proof: `Tokens::Locks` (`max_values`: None, `max_size`: Some(1261), added: 3736, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:3 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// The range of component `c` is `[1, 2]`. - /// The range of component `e` is `[0, 1]`. - fn router_execution_sell(c: u32, e: u32) -> Weight { - // Proof Size summary in bytes: - // Measured: `756 + e * (829 ±0)` - // Estimated: `6156 + e * (7749 ±0)` - // Minimum execution time: 65_722_000 picoseconds. - Weight::from_parts(66_193_000, 6156) - // Standard Error: 1_355_364 - .saturating_add(Weight::from_parts(3_961_882, 0).saturating_mul(c.into())) - // Standard Error: 2_927_921 - .saturating_add(Weight::from_parts(163_724_923, 0).saturating_mul(e.into())) - .saturating_add(T::DbWeight::get().reads(3_u64)) - .saturating_add(T::DbWeight::get().reads((9_u64).saturating_mul(e.into()))) - .saturating_add(T::DbWeight::get().writes((7_u64).saturating_mul(e.into()))) - .saturating_add(Weight::from_parts(0, 7749).saturating_mul(e.into())) - } - /// Storage: `LBP::PoolData` (r:1 w:0) - /// Proof: `LBP::PoolData` (`max_values`: None, `max_size`: Some(163), added: 2638, mode: `MaxEncodedLen`) - /// Storage: `Tokens::Accounts` (r:5 w:5) - /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) - /// Storage: `Tokens::Locks` (r:1 w:1) - /// Proof: `Tokens::Locks` (`max_values`: None, `max_size`: Some(1261), added: 3736, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:3 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// The range of component `c` is `[1, 3]`. - /// The range of component `e` is `[0, 1]`. - fn router_execution_buy(c: u32, e: u32) -> Weight { - // Proof Size summary in bytes: - // Measured: `756 + e * (829 ±0)` - // Estimated: `6156 + e * (7749 ±0)` - // Minimum execution time: 116_733_000 picoseconds. - Weight::from_parts(117_433_000, 6156) - // Standard Error: 1_509_020 - .saturating_add(Weight::from_parts(5_197_432, 0).saturating_mul(c.into())) - // Standard Error: 4_928_439 - .saturating_add(Weight::from_parts(141_782_318, 0).saturating_mul(e.into())) - .saturating_add(T::DbWeight::get().reads(3_u64)) - .saturating_add(T::DbWeight::get().reads((9_u64).saturating_mul(e.into()))) - .saturating_add(T::DbWeight::get().writes((7_u64).saturating_mul(e.into()))) - .saturating_add(Weight::from_parts(0, 7749).saturating_mul(e.into())) - } - /// Storage: `LBP::PoolData` (r:1 w:0) - /// Proof: `LBP::PoolData` (`max_values`: None, `max_size`: Some(163), added: 2638, mode: `MaxEncodedLen`) - /// Storage: `Tokens::Accounts` (r:2 w:0) - /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) - fn calculate_buy() -> Weight { - // Proof Size summary in bytes: - // Measured: `756` - // Estimated: `6156` - // Minimum execution time: 65_795_000 picoseconds. - Weight::from_parts(66_370_000, 6156).saturating_add(T::DbWeight::get().reads(3_u64)) - } -} - -// For backwards compatibility and tests impl WeightInfo for () { /// Storage: `LBP::PoolData` (r:1 w:1) /// Proof: `LBP::PoolData` (`max_values`: None, `max_size`: Some(163), added: 2638, mode: `MaxEncodedLen`) @@ -255,8 +73,12 @@ impl WeightInfo for () { /// Proof: `LBP::FeeCollectorWithAsset` (`max_values`: None, `max_size`: Some(69), added: 2544, mode: `MaxEncodedLen`) /// Storage: `Tokens::Accounts` (r:4 w:4) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `Duster::AccountBlacklist` (r:1 w:0) + /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::BannedAssets` (r:2 w:0) + /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:2 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:1) @@ -265,11 +87,11 @@ impl WeightInfo for () { /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) fn create_pool() -> Weight { // Proof Size summary in bytes: - // Measured: `992` + // Measured: `1311` // Estimated: `11322` - // Minimum execution time: 144_386_000 picoseconds. - Weight::from_parts(145_196_000, 11322) - .saturating_add(RocksDbWeight::get().reads(12_u64)) + // Minimum execution time: 131_482_000 picoseconds. + Weight::from_parts(132_832_000, 11322) + .saturating_add(RocksDbWeight::get().reads(15_u64)) .saturating_add(RocksDbWeight::get().writes(8_u64)) } /// Storage: `LBP::PoolData` (r:1 w:1) @@ -278,10 +100,10 @@ impl WeightInfo for () { /// Proof: `LBP::FeeCollectorWithAsset` (`max_values`: None, `max_size`: Some(69), added: 2544, mode: `MaxEncodedLen`) fn update_pool_data() -> Weight { // Proof Size summary in bytes: - // Measured: `351` + // Measured: `417` // Estimated: `3628` - // Minimum execution time: 30_461_000 picoseconds. - Weight::from_parts(30_686_000, 3628) + // Minimum execution time: 24_822_000 picoseconds. + Weight::from_parts(25_218_000, 3628) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -289,25 +111,33 @@ impl WeightInfo for () { /// Proof: `LBP::PoolData` (`max_values`: None, `max_size`: Some(163), added: 2638, mode: `MaxEncodedLen`) /// Storage: `Tokens::Accounts` (r:4 w:4) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `Duster::AccountBlacklist` (r:1 w:0) + /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::BannedAssets` (r:2 w:0) + /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn add_liquidity() -> Weight { // Proof Size summary in bytes: - // Measured: `1180` + // Measured: `1572` // Estimated: `11322` - // Minimum execution time: 100_583_000 picoseconds. - Weight::from_parts(101_592_000, 11322) - .saturating_add(RocksDbWeight::get().reads(8_u64)) + // Minimum execution time: 99_136_000 picoseconds. + Weight::from_parts(99_953_000, 11322) + .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } /// Storage: `LBP::PoolData` (r:1 w:1) /// Proof: `LBP::PoolData` (`max_values`: None, `max_size`: Some(163), added: 2638, mode: `MaxEncodedLen`) /// Storage: `Tokens::Accounts` (r:4 w:4) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `Duster::AccountBlacklist` (r:1 w:0) + /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::BannedAssets` (r:2 w:0) + /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:1) @@ -318,11 +148,11 @@ impl WeightInfo for () { /// Proof: `LBP::FeeCollectorWithAsset` (`max_values`: None, `max_size`: Some(69), added: 2544, mode: `MaxEncodedLen`) fn remove_liquidity() -> Weight { // Proof Size summary in bytes: - // Measured: `1368` + // Measured: `1687` // Estimated: `11322` - // Minimum execution time: 133_274_000 picoseconds. - Weight::from_parts(134_648_000, 11322) - .saturating_add(RocksDbWeight::get().reads(10_u64)) + // Minimum execution time: 129_681_000 picoseconds. + Weight::from_parts(131_072_000, 11322) + .saturating_add(RocksDbWeight::get().reads(13_u64)) .saturating_add(RocksDbWeight::get().writes(8_u64)) } /// Storage: `Tokens::Accounts` (r:5 w:5) @@ -331,17 +161,21 @@ impl WeightInfo for () { /// Proof: `LBP::PoolData` (`max_values`: None, `max_size`: Some(163), added: 2638, mode: `MaxEncodedLen`) /// Storage: `Tokens::Locks` (r:1 w:1) /// Proof: `Tokens::Locks` (`max_values`: None, `max_size`: Some(1261), added: 3736, mode: `MaxEncodedLen`) + /// Storage: `Duster::AccountBlacklist` (r:2 w:0) + /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::BannedAssets` (r:2 w:0) + /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:3 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn sell() -> Weight { // Proof Size summary in bytes: - // Measured: `1585` + // Measured: `1977` // Estimated: `13905` - // Minimum execution time: 218_344_000 picoseconds. - Weight::from_parts(220_109_000, 13905) - .saturating_add(RocksDbWeight::get().reads(12_u64)) + // Minimum execution time: 229_471_000 picoseconds. + Weight::from_parts(231_032_000, 13905) + .saturating_add(RocksDbWeight::get().reads(16_u64)) .saturating_add(RocksDbWeight::get().writes(7_u64)) } /// Storage: `LBP::PoolData` (r:1 w:0) @@ -350,17 +184,21 @@ impl WeightInfo for () { /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `Tokens::Locks` (r:1 w:1) /// Proof: `Tokens::Locks` (`max_values`: None, `max_size`: Some(1261), added: 3736, mode: `MaxEncodedLen`) + /// Storage: `Duster::AccountBlacklist` (r:2 w:0) + /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::BannedAssets` (r:2 w:0) + /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:3 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn buy() -> Weight { // Proof Size summary in bytes: - // Measured: `1585` + // Measured: `1977` // Estimated: `13905` - // Minimum execution time: 219_060_000 picoseconds. - Weight::from_parts(220_516_000, 13905) - .saturating_add(RocksDbWeight::get().reads(12_u64)) + // Minimum execution time: 230_204_000 picoseconds. + Weight::from_parts(231_446_000, 13905) + .saturating_add(RocksDbWeight::get().reads(16_u64)) .saturating_add(RocksDbWeight::get().writes(7_u64)) } /// Storage: `LBP::PoolData` (r:1 w:0) @@ -369,24 +207,28 @@ impl WeightInfo for () { /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `Tokens::Locks` (r:1 w:1) /// Proof: `Tokens::Locks` (`max_values`: None, `max_size`: Some(1261), added: 3736, mode: `MaxEncodedLen`) + /// Storage: `Duster::AccountBlacklist` (r:2 w:0) + /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::BannedAssets` (r:2 w:0) + /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:3 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 2]`. /// The range of component `e` is `[0, 1]`. fn router_execution_sell(c: u32, e: u32) -> Weight { // Proof Size summary in bytes: - // Measured: `756 + e * (829 ±0)` - // Estimated: `6156 + e * (7749 ±0)` - // Minimum execution time: 65_722_000 picoseconds. - Weight::from_parts(66_193_000, 6156) - // Standard Error: 1_355_364 - .saturating_add(Weight::from_parts(3_961_882, 0).saturating_mul(c.into())) - // Standard Error: 2_927_921 - .saturating_add(Weight::from_parts(163_724_923, 0).saturating_mul(e.into())) + // Measured: `822 + e * (1155 ±0)` + // Estimated: `8799 + e * (7749 ±0)` + // Minimum execution time: 86_477_000 picoseconds. + Weight::from_parts(87_284_000, 8799) + // Standard Error: 227_219 + .saturating_add(Weight::from_parts(978_707, 0).saturating_mul(c.into())) + // Standard Error: 506_080 + .saturating_add(Weight::from_parts(145_385_809, 0).saturating_mul(e.into())) .saturating_add(RocksDbWeight::get().reads(3_u64)) - .saturating_add(RocksDbWeight::get().reads((9_u64).saturating_mul(e.into()))) + .saturating_add(RocksDbWeight::get().reads((13_u64).saturating_mul(e.into()))) .saturating_add(RocksDbWeight::get().writes((7_u64).saturating_mul(e.into()))) .saturating_add(Weight::from_parts(0, 7749).saturating_mul(e.into())) } @@ -396,26 +238,30 @@ impl WeightInfo for () { /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `Tokens::Locks` (r:1 w:1) /// Proof: `Tokens::Locks` (`max_values`: None, `max_size`: Some(1261), added: 3736, mode: `MaxEncodedLen`) + /// Storage: `Duster::AccountBlacklist` (r:2 w:0) + /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::BannedAssets` (r:2 w:0) + /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:3 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 3]`. /// The range of component `e` is `[0, 1]`. fn router_execution_buy(c: u32, e: u32) -> Weight { // Proof Size summary in bytes: - // Measured: `756 + e * (829 ±0)` - // Estimated: `6156 + e * (7749 ±0)` - // Minimum execution time: 116_733_000 picoseconds. - Weight::from_parts(117_433_000, 6156) - // Standard Error: 1_509_020 - .saturating_add(Weight::from_parts(5_197_432, 0).saturating_mul(c.into())) - // Standard Error: 4_928_439 - .saturating_add(Weight::from_parts(141_782_318, 0).saturating_mul(e.into())) + // Measured: `822 + e * (1155 ±0)` + // Estimated: `6156 + e * (8544 ±4_363_391_150_632_390)` + // Minimum execution time: 157_384_000 picoseconds. + Weight::from_parts(158_861_000, 6156) + // Standard Error: 426_842 + .saturating_add(Weight::from_parts(2_861_447, 0).saturating_mul(c.into())) + // Standard Error: 1_439_449 + .saturating_add(Weight::from_parts(107_641_350, 0).saturating_mul(e.into())) .saturating_add(RocksDbWeight::get().reads(3_u64)) - .saturating_add(RocksDbWeight::get().reads((9_u64).saturating_mul(e.into()))) + .saturating_add(RocksDbWeight::get().reads((13_u64).saturating_mul(e.into()))) .saturating_add(RocksDbWeight::get().writes((7_u64).saturating_mul(e.into()))) - .saturating_add(Weight::from_parts(0, 7749).saturating_mul(e.into())) + .saturating_add(Weight::from_parts(0, 8544).saturating_mul(e.into())) } /// Storage: `LBP::PoolData` (r:1 w:0) /// Proof: `LBP::PoolData` (`max_values`: None, `max_size`: Some(163), added: 2638, mode: `MaxEncodedLen`) @@ -423,9 +269,9 @@ impl WeightInfo for () { /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) fn calculate_buy() -> Weight { // Proof Size summary in bytes: - // Measured: `756` + // Measured: `822` // Estimated: `6156` - // Minimum execution time: 65_795_000 picoseconds. - Weight::from_parts(66_370_000, 6156).saturating_add(RocksDbWeight::get().reads(3_u64)) + // Minimum execution time: 88_840_000 picoseconds. + Weight::from_parts(89_569_000, 6156).saturating_add(RocksDbWeight::get().reads(3_u64)) } } diff --git a/pallets/nft/src/mock.rs b/pallets/nft/src/mock.rs index 58d83fb36..dc380f668 100644 --- a/pallets/nft/src/mock.rs +++ b/pallets/nft/src/mock.rs @@ -77,7 +77,7 @@ impl NftPermission for NftTestPermissions { impl Config for Test { type RuntimeEvent = RuntimeEvent; - type WeightInfo = pallet_nft::weights::BasiliskWeight; + type WeightInfo = (); type NftCollectionId = CollectionId; type NftItemId = ItemId; type CollectionType = CollectionType; diff --git a/pallets/nft/src/weights.rs b/pallets/nft/src/weights.rs index 2a5413a9a..dd1a7c342 100644 --- a/pallets/nft/src/weights.rs +++ b/pallets/nft/src/weights.rs @@ -17,25 +17,32 @@ //! Autogenerated weights for `pallet_nft` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-18, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-04-25, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` +//! HOSTNAME: `ubuntu`, CPU: `AMD Ryzen 9 5900X 12-Core Processor` +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/basilisk +// ./target/release/basilisk // benchmark // pallet -// --chain=dev -// --steps=10 -// --repeat=30 // --wasm-execution=compiled -// --heap-pages=4096 +// --pallet +// * +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 // --template=.maintain/pallet-weight-template-no-back.hbs -// --pallet=pallet-nft -// --output=weights-1.1.0/nft.rs -// --extrinsic=* +// --json-file +// raw.json +// --output +// weights/ #![allow(unused_parens)] #![allow(unused_imports)] @@ -56,125 +63,10 @@ pub trait WeightInfo { fn burn() -> Weight; } -pub struct BasiliskWeight(PhantomData); +const CREATE_COLLECTION_OFFSET: u64 = 180 * 3; +const MINT_OFFSET: u64 = 140 * 3; -impl WeightInfo for BasiliskWeight { - /// Storage: `Uniques::Class` (r:1 w:1) - /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(190), added: 2665, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::NextAssetId` (r:1 w:0) - /// Proof: `AssetRegistry::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::LocationAssets` (r:1 w:0) - /// Proof: `AssetRegistry::LocationAssets` (`max_values`: None, `max_size`: Some(622), added: 3097, mode: `MaxEncodedLen`) - /// Storage: `Uniques::ClassAccount` (r:0 w:1) - /// Proof: `Uniques::ClassAccount` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) - /// Storage: `NFT::Collections` (r:0 w:1) - /// Proof: `NFT::Collections` (`max_values`: None, `max_size`: Some(99), added: 2574, mode: `MaxEncodedLen`) - fn create_collection() -> Weight { - // Proof Size summary in bytes: - // Measured: `467` - // Estimated: `4087` - // Minimum execution time: 36_037_000 picoseconds. - Weight::from_parts(36_568_000, 4087) - .saturating_add(T::DbWeight::get().reads(3_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) - } - /// Storage: `NFT::Collections` (r:1 w:0) - /// Proof: `NFT::Collections` (`max_values`: None, `max_size`: Some(99), added: 2574, mode: `MaxEncodedLen`) - /// Storage: `Uniques::Class` (r:1 w:1) - /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(190), added: 2665, mode: `MaxEncodedLen`) - /// Storage: `Uniques::Asset` (r:1 w:1) - /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) - /// Storage: `Uniques::CollectionMaxSupply` (r:1 w:0) - /// Proof: `Uniques::CollectionMaxSupply` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::NextAssetId` (r:1 w:0) - /// Proof: `AssetRegistry::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::LocationAssets` (r:1 w:0) - /// Proof: `AssetRegistry::LocationAssets` (`max_values`: None, `max_size`: Some(622), added: 3097, mode: `MaxEncodedLen`) - /// Storage: `Uniques::Account` (r:0 w:1) - /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) - /// Storage: `NFT::Items` (r:0 w:1) - /// Proof: `NFT::Items` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`) - fn mint() -> Weight { - // Proof Size summary in bytes: - // Measured: `903` - // Estimated: `4087` - // Minimum execution time: 57_537_000 picoseconds. - Weight::from_parts(58_178_000, 4087) - .saturating_add(T::DbWeight::get().reads(6_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) - } - /// Storage: `NFT::Collections` (r:1 w:0) - /// Proof: `NFT::Collections` (`max_values`: None, `max_size`: Some(99), added: 2574, mode: `MaxEncodedLen`) - /// Storage: `Uniques::Asset` (r:1 w:1) - /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) - /// Storage: `Uniques::Class` (r:1 w:0) - /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(190), added: 2665, mode: `MaxEncodedLen`) - /// Storage: `Uniques::Account` (r:0 w:2) - /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) - /// Storage: `Uniques::ItemPriceOf` (r:0 w:1) - /// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(113), added: 2588, mode: `MaxEncodedLen`) - fn transfer() -> Weight { - // Proof Size summary in bytes: - // Measured: `873` - // Estimated: `3655` - // Minimum execution time: 52_771_000 picoseconds. - Weight::from_parts(53_359_000, 3655) - .saturating_add(T::DbWeight::get().reads(3_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) - } - /// Storage: `NFT::Collections` (r:1 w:1) - /// Proof: `NFT::Collections` (`max_values`: None, `max_size`: Some(99), added: 2574, mode: `MaxEncodedLen`) - /// Storage: `Uniques::Class` (r:1 w:1) - /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(190), added: 2665, mode: `MaxEncodedLen`) - /// Storage: `Uniques::Asset` (r:1 w:0) - /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::NextAssetId` (r:1 w:0) - /// Proof: `AssetRegistry::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::LocationAssets` (r:1 w:0) - /// Proof: `AssetRegistry::LocationAssets` (`max_values`: None, `max_size`: Some(622), added: 3097, mode: `MaxEncodedLen`) - /// Storage: `Uniques::ClassAccount` (r:0 w:1) - /// Proof: `Uniques::ClassAccount` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) - /// Storage: `Uniques::ClassMetadataOf` (r:0 w:1) - /// Proof: `Uniques::ClassMetadataOf` (`max_values`: None, `max_size`: Some(123), added: 2598, mode: `MaxEncodedLen`) - /// Storage: `Uniques::CollectionMaxSupply` (r:0 w:1) - /// Proof: `Uniques::CollectionMaxSupply` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) - fn destroy_collection() -> Weight { - // Proof Size summary in bytes: - // Measured: `945` - // Estimated: `4087` - // Minimum execution time: 67_231_000 picoseconds. - Weight::from_parts(67_829_000, 4087) - .saturating_add(T::DbWeight::get().reads(5_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) - } - /// Storage: `NFT::Collections` (r:1 w:0) - /// Proof: `NFT::Collections` (`max_values`: None, `max_size`: Some(99), added: 2574, mode: `MaxEncodedLen`) - /// Storage: `Uniques::Asset` (r:1 w:1) - /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) - /// Storage: `Uniques::Class` (r:1 w:1) - /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(190), added: 2665, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::NextAssetId` (r:1 w:0) - /// Proof: `AssetRegistry::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::LocationAssets` (r:1 w:0) - /// Proof: `AssetRegistry::LocationAssets` (`max_values`: None, `max_size`: Some(622), added: 3097, mode: `MaxEncodedLen`) - /// Storage: `Uniques::Account` (r:0 w:1) - /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) - /// Storage: `Uniques::ItemPriceOf` (r:0 w:1) - /// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(113), added: 2588, mode: `MaxEncodedLen`) - /// Storage: `NFT::Items` (r:0 w:1) - /// Proof: `NFT::Items` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`) - fn burn() -> Weight { - // Proof Size summary in bytes: - // Measured: `1108` - // Estimated: `4087` - // Minimum execution time: 56_978_000 picoseconds. - Weight::from_parts(57_449_000, 4087) - .saturating_add(T::DbWeight::get().reads(5_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) - } -} - -// For backwards compatibility and tests +/// Weights for `pallet_nft` using the Basilisk node and recommended hardware. impl WeightInfo for () { /// Storage: `Uniques::Class` (r:1 w:1) /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(190), added: 2665, mode: `MaxEncodedLen`) @@ -188,10 +80,11 @@ impl WeightInfo for () { /// Proof: `NFT::Collections` (`max_values`: None, `max_size`: Some(99), added: 2574, mode: `MaxEncodedLen`) fn create_collection() -> Weight { // Proof Size summary in bytes: - // Measured: `467` + // Measured: `500` // Estimated: `4087` - // Minimum execution time: 36_037_000 picoseconds. - Weight::from_parts(36_568_000, 4087) + // Minimum execution time: 21_440_000 picoseconds. + Weight::from_parts(22_950_000, 4087) + .saturating_mul(CREATE_COLLECTION_OFFSET) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -213,10 +106,11 @@ impl WeightInfo for () { /// Proof: `NFT::Items` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`) fn mint() -> Weight { // Proof Size summary in bytes: - // Measured: `903` + // Measured: `936` // Estimated: `4087` - // Minimum execution time: 57_537_000 picoseconds. - Weight::from_parts(58_178_000, 4087) + // Minimum execution time: 38_970_000 picoseconds. + Weight::from_parts(40_021_000, 4087) + .saturating_mul(MINT_OFFSET) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -234,8 +128,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `873` // Estimated: `3655` - // Minimum execution time: 52_771_000 picoseconds. - Weight::from_parts(53_359_000, 3655) + // Minimum execution time: 36_170_000 picoseconds. + Weight::from_parts(38_671_000, 3655) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -257,10 +151,10 @@ impl WeightInfo for () { /// Proof: `Uniques::CollectionMaxSupply` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) fn destroy_collection() -> Weight { // Proof Size summary in bytes: - // Measured: `945` + // Measured: `978` // Estimated: `4087` - // Minimum execution time: 67_231_000 picoseconds. - Weight::from_parts(67_829_000, 4087) + // Minimum execution time: 45_351_000 picoseconds. + Weight::from_parts(46_690_000, 4087) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } @@ -282,10 +176,10 @@ impl WeightInfo for () { /// Proof: `NFT::Items` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`) fn burn() -> Weight { // Proof Size summary in bytes: - // Measured: `1108` + // Measured: `1141` // Estimated: `4087` - // Minimum execution time: 56_978_000 picoseconds. - Weight::from_parts(57_449_000, 4087) + // Minimum execution time: 39_440_000 picoseconds. + Weight::from_parts(41_081_000, 4087) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } diff --git a/pallets/omnipool-liquidity-mining/src/weights.rs b/pallets/omnipool-liquidity-mining/src/weights.rs index bf997493c..b145e46ee 100644 --- a/pallets/omnipool-liquidity-mining/src/weights.rs +++ b/pallets/omnipool-liquidity-mining/src/weights.rs @@ -17,27 +17,30 @@ //! Autogenerated weights for `pallet_omnipool_liquidity_mining` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-12, STEPS: `5`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-05-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --pallet=pallet-omnipool-liquidity-mining // --wasm-execution=compiled -// --heap-pages=4096 -// --chain=dev -// --extrinsic=* -// --steps=5 -// --repeat=20 +// --pallet +// * +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 +// --template=scripts/pallet-weight-template.hbs // --output -// ./weights-1.1.0/omnipool_lm.rs -// --template -// .maintain/pallet-weight-template-no-back.hbs +// weights/ #![allow(unused_parens)] #![allow(unused_imports)] @@ -65,282 +68,9 @@ pub trait WeightInfo { } /// Weights for pallet_omnipool_liquidity_mining using the hydraDX node and recommended hardware. -pub struct HydraWeight(PhantomData); - -impl WeightInfo for HydraWeight { - /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:2) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `OmnipoolWarehouseLM::FarmSequencer` (r:1 w:1) - /// Proof: `OmnipoolWarehouseLM::FarmSequencer` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) - /// Storage: `Duster::AccountBlacklist` (r:0 w:1) - /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `OmnipoolWarehouseLM::GlobalFarm` (r:0 w:1) - /// Proof: `OmnipoolWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) - fn create_global_farm() -> Weight { - // Proof Size summary in bytes: - // Measured: `462` - // Estimated: `6196` - // Minimum execution time: 104_411_000 picoseconds. - Weight::from_parts(105_372_000, 6196) - .saturating_add(T::DbWeight::get().reads(5_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) - } - /// Storage: `OmnipoolWarehouseLM::GlobalFarm` (r:1 w:1) - /// Proof: `OmnipoolWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:2) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `Duster::AccountBlacklist` (r:1 w:1) - /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - fn terminate_global_farm() -> Weight { - // Proof Size summary in bytes: - // Measured: `898` - // Estimated: `6196` - // Minimum execution time: 101_766_000 picoseconds. - Weight::from_parts(102_892_000, 6196) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) - } - /// Storage: `Omnipool::Assets` (r:1 w:0) - /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) - /// Storage: `OmnipoolWarehouseLM::GlobalFarm` (r:1 w:1) - /// Proof: `OmnipoolWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) - /// Storage: `OmnipoolWarehouseLM::ActiveYieldFarm` (r:1 w:1) - /// Proof: `OmnipoolWarehouseLM::ActiveYieldFarm` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:1 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:2) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `EmaOracle::Oracles` (r:2 w:0) - /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) - /// Storage: `OmnipoolWarehouseLM::FarmSequencer` (r:1 w:1) - /// Proof: `OmnipoolWarehouseLM::FarmSequencer` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) - /// Storage: `OmnipoolWarehouseLM::YieldFarm` (r:0 w:1) - /// Proof: `OmnipoolWarehouseLM::YieldFarm` (`max_values`: None, `max_size`: Some(198), added: 2673, mode: `MaxEncodedLen`) - fn create_yield_farm() -> Weight { - // Proof Size summary in bytes: - // Measured: `2287` - // Estimated: `6294` - // Minimum execution time: 140_071_000 picoseconds. - Weight::from_parts(141_599_000, 6294) - .saturating_add(T::DbWeight::get().reads(9_u64)) - .saturating_add(T::DbWeight::get().writes(6_u64)) - } - /// Storage: `Omnipool::Assets` (r:1 w:0) - /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) - /// Storage: `OmnipoolWarehouseLM::ActiveYieldFarm` (r:1 w:0) - /// Proof: `OmnipoolWarehouseLM::ActiveYieldFarm` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) - /// Storage: `OmnipoolWarehouseLM::YieldFarm` (r:1 w:1) - /// Proof: `OmnipoolWarehouseLM::YieldFarm` (`max_values`: None, `max_size`: Some(198), added: 2673, mode: `MaxEncodedLen`) - /// Storage: `OmnipoolWarehouseLM::GlobalFarm` (r:1 w:1) - /// Proof: `OmnipoolWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:1 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:2) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `EmaOracle::Oracles` (r:2 w:0) - /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) - fn update_yield_farm() -> Weight { - // Proof Size summary in bytes: - // Measured: `2457` - // Estimated: `6294` - // Minimum execution time: 145_051_000 picoseconds. - Weight::from_parts(146_213_000, 6294) - .saturating_add(T::DbWeight::get().reads(9_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) - } - /// Storage: `OmnipoolWarehouseLM::ActiveYieldFarm` (r:1 w:1) - /// Proof: `OmnipoolWarehouseLM::ActiveYieldFarm` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) - /// Storage: `OmnipoolWarehouseLM::YieldFarm` (r:1 w:1) - /// Proof: `OmnipoolWarehouseLM::YieldFarm` (`max_values`: None, `max_size`: Some(198), added: 2673, mode: `MaxEncodedLen`) - /// Storage: `OmnipoolWarehouseLM::GlobalFarm` (r:1 w:1) - /// Proof: `OmnipoolWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:1 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:2) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `EmaOracle::Oracles` (r:2 w:0) - /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) - fn stop_yield_farm() -> Weight { - // Proof Size summary in bytes: - // Measured: `2096` - // Estimated: `6294` - // Minimum execution time: 139_750_000 picoseconds. - Weight::from_parts(140_646_000, 6294) - .saturating_add(T::DbWeight::get().reads(8_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) - } - /// Storage: `Omnipool::Assets` (r:1 w:0) - /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) - /// Storage: `OmnipoolWarehouseLM::ActiveYieldFarm` (r:1 w:1) - /// Proof: `OmnipoolWarehouseLM::ActiveYieldFarm` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) - /// Storage: `OmnipoolWarehouseLM::YieldFarm` (r:1 w:1) - /// Proof: `OmnipoolWarehouseLM::YieldFarm` (`max_values`: None, `max_size`: Some(198), added: 2673, mode: `MaxEncodedLen`) - /// Storage: `OmnipoolWarehouseLM::GlobalFarm` (r:1 w:1) - /// Proof: `OmnipoolWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:1 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:2) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `EmaOracle::Oracles` (r:2 w:0) - /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) - fn resume_yield_farm() -> Weight { - // Proof Size summary in bytes: - // Measured: `2493` - // Estimated: `6294` - // Minimum execution time: 141_404_000 picoseconds. - Weight::from_parts(142_349_000, 6294) - .saturating_add(T::DbWeight::get().reads(9_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) - } - /// Storage: `OmnipoolWarehouseLM::ActiveYieldFarm` (r:1 w:0) - /// Proof: `OmnipoolWarehouseLM::ActiveYieldFarm` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) - /// Storage: `OmnipoolWarehouseLM::GlobalFarm` (r:1 w:1) - /// Proof: `OmnipoolWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) - /// Storage: `OmnipoolWarehouseLM::YieldFarm` (r:1 w:1) - /// Proof: `OmnipoolWarehouseLM::YieldFarm` (`max_values`: None, `max_size`: Some(198), added: 2673, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:2) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - fn terminate_yield_farm() -> Weight { - // Proof Size summary in bytes: - // Measured: `924` - // Estimated: `6196` - // Minimum execution time: 90_529_000 picoseconds. - Weight::from_parts(91_011_000, 6196) - .saturating_add(T::DbWeight::get().reads(5_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) - } - /// Storage: `Uniques::Asset` (r:2 w:2) - /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) - /// Storage: `Omnipool::Positions` (r:1 w:0) - /// Proof: `Omnipool::Positions` (`max_values`: None, `max_size`: Some(100), added: 2575, mode: `MaxEncodedLen`) - /// Storage: `Omnipool::Assets` (r:1 w:0) - /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) - /// Storage: `OmnipoolWarehouseLM::YieldFarm` (r:1 w:1) - /// Proof: `OmnipoolWarehouseLM::YieldFarm` (`max_values`: None, `max_size`: Some(198), added: 2673, mode: `MaxEncodedLen`) - /// Storage: `OmnipoolWarehouseLM::GlobalFarm` (r:1 w:1) - /// Proof: `OmnipoolWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:1 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:2) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `EmaOracle::Oracles` (r:4 w:0) - /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) - /// Storage: `OmnipoolWarehouseLM::DepositSequencer` (r:1 w:1) - /// Proof: `OmnipoolWarehouseLM::DepositSequencer` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) - /// Storage: `Uniques::Class` (r:2 w:1) - /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(190), added: 2665, mode: `MaxEncodedLen`) - /// Storage: `Uniques::CollectionMaxSupply` (r:1 w:0) - /// Proof: `Uniques::CollectionMaxSupply` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) - /// Storage: `Uniques::Account` (r:0 w:3) - /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) - /// Storage: `Uniques::ItemPriceOf` (r:0 w:1) - /// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(113), added: 2588, mode: `MaxEncodedLen`) - /// Storage: `OmnipoolLiquidityMining::OmniPositionId` (r:0 w:1) - /// Proof: `OmnipoolLiquidityMining::OmniPositionId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `OmnipoolWarehouseLM::Deposit` (r:0 w:1) - /// Proof: `OmnipoolWarehouseLM::Deposit` (`max_values`: None, `max_size`: Some(385), added: 2860, mode: `MaxEncodedLen`) - fn deposit_shares() -> Weight { - // Proof Size summary in bytes: - // Measured: `3989` - // Estimated: `11598` - // Minimum execution time: 240_264_000 picoseconds. - Weight::from_parts(241_286_000, 11598) - .saturating_add(T::DbWeight::get().reads(17_u64)) - .saturating_add(T::DbWeight::get().writes(14_u64)) - } - /// Storage: `Uniques::Asset` (r:2 w:0) - /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) - /// Storage: `OmnipoolLiquidityMining::OmniPositionId` (r:1 w:0) - /// Proof: `OmnipoolLiquidityMining::OmniPositionId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `Omnipool::Positions` (r:1 w:0) - /// Proof: `Omnipool::Positions` (`max_values`: None, `max_size`: Some(100), added: 2575, mode: `MaxEncodedLen`) - /// Storage: `Omnipool::Assets` (r:1 w:0) - /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) - /// Storage: `OmnipoolWarehouseLM::Deposit` (r:1 w:1) - /// Proof: `OmnipoolWarehouseLM::Deposit` (`max_values`: None, `max_size`: Some(385), added: 2860, mode: `MaxEncodedLen`) - /// Storage: `OmnipoolWarehouseLM::YieldFarm` (r:1 w:1) - /// Proof: `OmnipoolWarehouseLM::YieldFarm` (`max_values`: None, `max_size`: Some(198), added: 2673, mode: `MaxEncodedLen`) - /// Storage: `OmnipoolWarehouseLM::GlobalFarm` (r:1 w:1) - /// Proof: `OmnipoolWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:1 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:2) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `EmaOracle::Oracles` (r:4 w:0) - /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) - fn redeposit_shares() -> Weight { - // Proof Size summary in bytes: - // Measured: `4331` - // Estimated: `11598` - // Minimum execution time: 195_833_000 picoseconds. - Weight::from_parts(196_912_000, 11598) - .saturating_add(T::DbWeight::get().reads(15_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) - } - /// Storage: `Uniques::Asset` (r:1 w:0) - /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) - /// Storage: `OmnipoolWarehouseLM::Deposit` (r:1 w:1) - /// Proof: `OmnipoolWarehouseLM::Deposit` (`max_values`: None, `max_size`: Some(385), added: 2860, mode: `MaxEncodedLen`) - /// Storage: `OmnipoolWarehouseLM::YieldFarm` (r:1 w:1) - /// Proof: `OmnipoolWarehouseLM::YieldFarm` (`max_values`: None, `max_size`: Some(198), added: 2673, mode: `MaxEncodedLen`) - /// Storage: `OmnipoolWarehouseLM::GlobalFarm` (r:1 w:1) - /// Proof: `OmnipoolWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:1 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:3 w:3) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `EmaOracle::Oracles` (r:2 w:0) - /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) - fn claim_rewards() -> Weight { - // Proof Size summary in bytes: - // Measured: `2896` - // Estimated: `8799` - // Minimum execution time: 195_680_000 picoseconds. - Weight::from_parts(196_827_000, 8799) - .saturating_add(T::DbWeight::get().reads(10_u64)) - .saturating_add(T::DbWeight::get().writes(6_u64)) - } - /// Storage: `Uniques::Asset` (r:2 w:2) - /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) - /// Storage: `OmnipoolLiquidityMining::OmniPositionId` (r:1 w:1) - /// Proof: `OmnipoolLiquidityMining::OmniPositionId` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `Omnipool::Positions` (r:1 w:0) - /// Proof: `Omnipool::Positions` (`max_values`: None, `max_size`: Some(100), added: 2575, mode: `MaxEncodedLen`) - /// Storage: `OmnipoolWarehouseLM::Deposit` (r:1 w:1) - /// Proof: `OmnipoolWarehouseLM::Deposit` (`max_values`: None, `max_size`: Some(385), added: 2860, mode: `MaxEncodedLen`) - /// Storage: `OmnipoolWarehouseLM::YieldFarm` (r:1 w:1) - /// Proof: `OmnipoolWarehouseLM::YieldFarm` (`max_values`: None, `max_size`: Some(198), added: 2673, mode: `MaxEncodedLen`) - /// Storage: `OmnipoolWarehouseLM::GlobalFarm` (r:1 w:1) - /// Proof: `OmnipoolWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:1 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:3 w:3) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `EmaOracle::Oracles` (r:2 w:0) - /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) - /// Storage: `Uniques::Class` (r:2 w:1) - /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(190), added: 2665, mode: `MaxEncodedLen`) - /// Storage: `Uniques::Account` (r:0 w:3) - /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) - /// Storage: `Uniques::ItemPriceOf` (r:0 w:2) - /// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(113), added: 2588, mode: `MaxEncodedLen`) - fn withdraw_shares() -> Weight { - // Proof Size summary in bytes: - // Measured: `3857` - // Estimated: `8799` - // Minimum execution time: 294_229_000 picoseconds. - Weight::from_parts(296_004_000, 8799) - .saturating_add(T::DbWeight::get().reads(15_u64)) - .saturating_add(T::DbWeight::get().writes(15_u64)) - } -} - -// For backwards compatibility and tests impl WeightInfo for () { /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `OmnipoolWarehouseLM::FarmSequencer` (r:1 w:1) @@ -351,10 +81,10 @@ impl WeightInfo for () { /// Proof: `OmnipoolWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) fn create_global_farm() -> Weight { // Proof Size summary in bytes: - // Measured: `462` + // Measured: `557` // Estimated: `6196` - // Minimum execution time: 104_411_000 picoseconds. - Weight::from_parts(105_372_000, 6196) + // Minimum execution time: 80_933_000 picoseconds. + Weight::from_parts(81_673_000, 6196) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } @@ -366,10 +96,10 @@ impl WeightInfo for () { /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) fn terminate_global_farm() -> Weight { // Proof Size summary in bytes: - // Measured: `898` + // Measured: `964` // Estimated: `6196` - // Minimum execution time: 101_766_000 picoseconds. - Weight::from_parts(102_892_000, 6196) + // Minimum execution time: 79_070_000 picoseconds. + Weight::from_parts(79_648_000, 6196) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -380,7 +110,7 @@ impl WeightInfo for () { /// Storage: `OmnipoolWarehouseLM::ActiveYieldFarm` (r:1 w:1) /// Proof: `OmnipoolWarehouseLM::ActiveYieldFarm` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::Assets` (r:1 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `EmaOracle::Oracles` (r:2 w:0) @@ -391,10 +121,10 @@ impl WeightInfo for () { /// Proof: `OmnipoolWarehouseLM::YieldFarm` (`max_values`: None, `max_size`: Some(198), added: 2673, mode: `MaxEncodedLen`) fn create_yield_farm() -> Weight { // Proof Size summary in bytes: - // Measured: `2287` + // Measured: `2337` // Estimated: `6294` - // Minimum execution time: 140_071_000 picoseconds. - Weight::from_parts(141_599_000, 6294) + // Minimum execution time: 123_093_000 picoseconds. + Weight::from_parts(124_230_000, 6294) .saturating_add(RocksDbWeight::get().reads(9_u64)) .saturating_add(RocksDbWeight::get().writes(6_u64)) } @@ -407,17 +137,17 @@ impl WeightInfo for () { /// Storage: `OmnipoolWarehouseLM::GlobalFarm` (r:1 w:1) /// Proof: `OmnipoolWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::Assets` (r:1 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `EmaOracle::Oracles` (r:2 w:0) /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) fn update_yield_farm() -> Weight { // Proof Size summary in bytes: - // Measured: `2457` + // Measured: `2507` // Estimated: `6294` - // Minimum execution time: 145_051_000 picoseconds. - Weight::from_parts(146_213_000, 6294) + // Minimum execution time: 126_053_000 picoseconds. + Weight::from_parts(127_134_000, 6294) .saturating_add(RocksDbWeight::get().reads(9_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -428,17 +158,17 @@ impl WeightInfo for () { /// Storage: `OmnipoolWarehouseLM::GlobalFarm` (r:1 w:1) /// Proof: `OmnipoolWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::Assets` (r:1 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `EmaOracle::Oracles` (r:2 w:0) /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) fn stop_yield_farm() -> Weight { // Proof Size summary in bytes: - // Measured: `2096` + // Measured: `2146` // Estimated: `6294` - // Minimum execution time: 139_750_000 picoseconds. - Weight::from_parts(140_646_000, 6294) + // Minimum execution time: 120_037_000 picoseconds. + Weight::from_parts(120_995_000, 6294) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } @@ -451,17 +181,17 @@ impl WeightInfo for () { /// Storage: `OmnipoolWarehouseLM::GlobalFarm` (r:1 w:1) /// Proof: `OmnipoolWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::Assets` (r:1 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `EmaOracle::Oracles` (r:2 w:0) /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) fn resume_yield_farm() -> Weight { // Proof Size summary in bytes: - // Measured: `2493` + // Measured: `2543` // Estimated: `6294` - // Minimum execution time: 141_404_000 picoseconds. - Weight::from_parts(142_349_000, 6294) + // Minimum execution time: 124_191_000 picoseconds. + Weight::from_parts(124_920_000, 6294) .saturating_add(RocksDbWeight::get().reads(9_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } @@ -477,8 +207,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `924` // Estimated: `6196` - // Minimum execution time: 90_529_000 picoseconds. - Weight::from_parts(91_011_000, 6196) + // Minimum execution time: 75_542_000 picoseconds. + Weight::from_parts(75_959_000, 6196) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -493,7 +223,7 @@ impl WeightInfo for () { /// Storage: `OmnipoolWarehouseLM::GlobalFarm` (r:1 w:1) /// Proof: `OmnipoolWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::Assets` (r:1 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `EmaOracle::Oracles` (r:4 w:0) @@ -514,10 +244,10 @@ impl WeightInfo for () { /// Proof: `OmnipoolWarehouseLM::Deposit` (`max_values`: None, `max_size`: Some(385), added: 2860, mode: `MaxEncodedLen`) fn deposit_shares() -> Weight { // Proof Size summary in bytes: - // Measured: `3989` + // Measured: `4072` // Estimated: `11598` - // Minimum execution time: 240_264_000 picoseconds. - Weight::from_parts(241_286_000, 11598) + // Minimum execution time: 207_096_000 picoseconds. + Weight::from_parts(208_255_000, 11598) .saturating_add(RocksDbWeight::get().reads(17_u64)) .saturating_add(RocksDbWeight::get().writes(14_u64)) } @@ -536,17 +266,17 @@ impl WeightInfo for () { /// Storage: `OmnipoolWarehouseLM::GlobalFarm` (r:1 w:1) /// Proof: `OmnipoolWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::Assets` (r:1 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `EmaOracle::Oracles` (r:4 w:0) /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) fn redeposit_shares() -> Weight { // Proof Size summary in bytes: - // Measured: `4331` + // Measured: `4381` // Estimated: `11598` - // Minimum execution time: 195_833_000 picoseconds. - Weight::from_parts(196_912_000, 11598) + // Minimum execution time: 171_971_000 picoseconds. + Weight::from_parts(173_516_000, 11598) .saturating_add(RocksDbWeight::get().reads(15_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } @@ -559,17 +289,17 @@ impl WeightInfo for () { /// Storage: `OmnipoolWarehouseLM::GlobalFarm` (r:1 w:1) /// Proof: `OmnipoolWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::Assets` (r:1 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:3 w:3) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `EmaOracle::Oracles` (r:2 w:0) /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) fn claim_rewards() -> Weight { // Proof Size summary in bytes: - // Measured: `2896` + // Measured: `2946` // Estimated: `8799` - // Minimum execution time: 195_680_000 picoseconds. - Weight::from_parts(196_827_000, 8799) + // Minimum execution time: 165_734_000 picoseconds. + Weight::from_parts(167_004_000, 8799) .saturating_add(RocksDbWeight::get().reads(10_u64)) .saturating_add(RocksDbWeight::get().writes(6_u64)) } @@ -586,7 +316,7 @@ impl WeightInfo for () { /// Storage: `OmnipoolWarehouseLM::GlobalFarm` (r:1 w:1) /// Proof: `OmnipoolWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::Assets` (r:1 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:3 w:3) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `EmaOracle::Oracles` (r:2 w:0) @@ -599,10 +329,10 @@ impl WeightInfo for () { /// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(113), added: 2588, mode: `MaxEncodedLen`) fn withdraw_shares() -> Weight { // Proof Size summary in bytes: - // Measured: `3857` + // Measured: `3940` // Estimated: `8799` - // Minimum execution time: 294_229_000 picoseconds. - Weight::from_parts(296_004_000, 8799) + // Minimum execution time: 250_173_000 picoseconds. + Weight::from_parts(251_222_000, 8799) .saturating_add(RocksDbWeight::get().reads(15_u64)) .saturating_add(RocksDbWeight::get().writes(15_u64)) } diff --git a/pallets/omnipool/src/weights.rs b/pallets/omnipool/src/weights.rs index 27d69e493..b8ca1f488 100644 --- a/pallets/omnipool/src/weights.rs +++ b/pallets/omnipool/src/weights.rs @@ -17,25 +17,30 @@ //! Autogenerated weights for `pallet_omnipool` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-01-09, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-05-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=10 -// --repeat=30 // --wasm-execution=compiled -// --heap-pages=4096 -// --template=.maintain/pallet-weight-template-no-back.hbs -// --pallet=pallet-omnipool -// --output=weights-1.1.0/omnipool.rs -// --extrinsic=* +// --pallet +// * +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 +// --template=scripts/pallet-weight-template.hbs +// --output +// weights/ #![allow(unused_parens)] #![allow(unused_imports)] @@ -65,476 +70,11 @@ pub trait WeightInfo { } /// Weights for pallet_omnipool using the hydraDX node and recommended hardware. -pub struct HydraWeight(PhantomData); - -impl WeightInfo for HydraWeight { - /// Storage: `Omnipool::Assets` (r:1 w:1) - /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) - /// Storage: `Uniques::Class` (r:1 w:1) - /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(190), added: 2665, mode: `MaxEncodedLen`) - /// Storage: `Tokens::Accounts` (r:2 w:1) - /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) - /// Storage: `Omnipool::NextPositionId` (r:1 w:1) - /// Proof: `Omnipool::NextPositionId` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) - /// Storage: `Uniques::Asset` (r:1 w:1) - /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) - /// Storage: `Uniques::CollectionMaxSupply` (r:1 w:0) - /// Proof: `Uniques::CollectionMaxSupply` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) - /// Storage: `Omnipool::HubAssetImbalance` (r:1 w:1) - /// Proof: `Omnipool::HubAssetImbalance` (`max_values`: Some(1), `max_size`: Some(17), added: 512, mode: `MaxEncodedLen`) - /// Storage: `Tokens::TotalIssuance` (r:1 w:1) - /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) - /// Storage: `EmaOracle::Accumulator` (r:1 w:1) - /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) - /// Storage: `Uniques::Account` (r:0 w:1) - /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) - /// Storage: `Omnipool::Positions` (r:0 w:1) - /// Proof: `Omnipool::Positions` (`max_values`: None, `max_size`: Some(100), added: 2575, mode: `MaxEncodedLen`) - fn add_token() -> Weight { - // Proof Size summary in bytes: - // Measured: `3004` - // Estimated: `7406` - // Minimum execution time: 141_394_000 picoseconds. - Weight::from_parts(142_349_000, 7406) - .saturating_add(T::DbWeight::get().reads(12)) - .saturating_add(T::DbWeight::get().writes(10)) - } - /// Storage: `Tokens::Accounts` (r:3 w:3) - /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) - /// Storage: `Omnipool::Assets` (r:1 w:1) - /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) - /// Storage: `EmaOracle::Oracles` (r:2 w:0) - /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) - /// Storage: `Omnipool::HubAssetImbalance` (r:1 w:1) - /// Proof: `Omnipool::HubAssetImbalance` (`max_values`: Some(1), `max_size`: Some(17), added: 512, mode: `MaxEncodedLen`) - /// Storage: `Omnipool::NextPositionId` (r:1 w:1) - /// Proof: `Omnipool::NextPositionId` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) - /// Storage: `Uniques::Asset` (r:1 w:1) - /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) - /// Storage: `Uniques::Class` (r:1 w:1) - /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(190), added: 2665, mode: `MaxEncodedLen`) - /// Storage: `Uniques::CollectionMaxSupply` (r:1 w:0) - /// Proof: `Uniques::CollectionMaxSupply` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:0) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `Tokens::TotalIssuance` (r:1 w:1) - /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) - /// Storage: `EmaOracle::Accumulator` (r:1 w:1) - /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) - /// Storage: `CircuitBreaker::LiquidityAddLimitPerAsset` (r:1 w:0) - /// Proof: `CircuitBreaker::LiquidityAddLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) - /// Storage: `CircuitBreaker::AllowedAddLiquidityAmountPerAsset` (r:1 w:1) - /// Proof: `CircuitBreaker::AllowedAddLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (r:1 w:0) - /// Proof: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) - /// Storage: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (r:1 w:1) - /// Proof: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `Uniques::Account` (r:0 w:1) - /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) - /// Storage: `Omnipool::Positions` (r:0 w:1) - /// Proof: `Omnipool::Positions` (`max_values`: None, `max_size`: Some(100), added: 2575, mode: `MaxEncodedLen`) - fn add_liquidity() -> Weight { - // Proof Size summary in bytes: - // Measured: `3919` - // Estimated: `8739` - // Minimum execution time: 220_969_000 picoseconds. - Weight::from_parts(222_574_000, 8739) - .saturating_add(T::DbWeight::get().reads(20)) - .saturating_add(T::DbWeight::get().writes(14)) - } - /// Storage: `Uniques::Asset` (r:1 w:1) - /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) - /// Storage: `Omnipool::Positions` (r:1 w:1) - /// Proof: `Omnipool::Positions` (`max_values`: None, `max_size`: Some(100), added: 2575, mode: `MaxEncodedLen`) - /// Storage: `Omnipool::Assets` (r:1 w:1) - /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) - /// Storage: `Tokens::Accounts` (r:4 w:4) - /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) - /// Storage: `EmaOracle::Oracles` (r:2 w:0) - /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) - /// Storage: `Omnipool::HubAssetImbalance` (r:1 w:1) - /// Proof: `Omnipool::HubAssetImbalance` (`max_values`: Some(1), `max_size`: Some(17), added: 512, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `Tokens::TotalIssuance` (r:1 w:1) - /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:1) - /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) - /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) - /// Storage: `Uniques::Class` (r:1 w:1) - /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(190), added: 2665, mode: `MaxEncodedLen`) - /// Storage: `EmaOracle::Accumulator` (r:1 w:1) - /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) - /// Storage: `CircuitBreaker::LiquidityAddLimitPerAsset` (r:1 w:0) - /// Proof: `CircuitBreaker::LiquidityAddLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) - /// Storage: `CircuitBreaker::AllowedAddLiquidityAmountPerAsset` (r:1 w:0) - /// Proof: `CircuitBreaker::AllowedAddLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (r:1 w:0) - /// Proof: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) - /// Storage: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (r:1 w:1) - /// Proof: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `Uniques::Account` (r:0 w:1) - /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) - /// Storage: `Uniques::ItemPriceOf` (r:0 w:1) - /// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(113), added: 2588, mode: `MaxEncodedLen`) - fn remove_liquidity() -> Weight { - // Proof Size summary in bytes: - // Measured: `6903` - // Estimated: `11322` - // Minimum execution time: 297_780_000 picoseconds. - Weight::from_parts(299_506_000, 11322) - .saturating_add(T::DbWeight::get().reads(23)) - .saturating_add(T::DbWeight::get().writes(16)) - } - /// Storage: `Tokens::Accounts` (r:5 w:5) - /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) - /// Storage: `Omnipool::Assets` (r:3 w:3) - /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) - /// Storage: `Omnipool::HubAssetImbalance` (r:1 w:1) - /// Proof: `Omnipool::HubAssetImbalance` (`max_values`: Some(1), `max_size`: Some(17), added: 512, mode: `MaxEncodedLen`) - /// Storage: `DynamicFees::AssetFee` (r:2 w:0) - /// Proof: `DynamicFees::AssetFee` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:3 w:2) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:2 w:2) - /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) - /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) - /// Storage: `EmaOracle::Accumulator` (r:1 w:1) - /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) - /// Storage: `CircuitBreaker::AllowedTradeVolumeLimitPerAsset` (r:2 w:2) - /// Proof: `CircuitBreaker::AllowedTradeVolumeLimitPerAsset` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`) - /// Storage: `CircuitBreaker::LiquidityAddLimitPerAsset` (r:1 w:0) - /// Proof: `CircuitBreaker::LiquidityAddLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) - /// Storage: `CircuitBreaker::AllowedAddLiquidityAmountPerAsset` (r:1 w:1) - /// Proof: `CircuitBreaker::AllowedAddLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (r:1 w:0) - /// Proof: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) - /// Storage: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (r:1 w:0) - /// Proof: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `Referrals::LinkedAccounts` (r:1 w:0) - /// Proof: `Referrals::LinkedAccounts` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) - /// Storage: `Referrals::Referrer` (r:1 w:0) - /// Proof: `Referrals::Referrer` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`) - /// Storage: `Referrals::AssetRewards` (r:1 w:0) - /// Proof: `Referrals::AssetRewards` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) - /// Storage: `Referrals::TotalShares` (r:1 w:1) - /// Proof: `Referrals::TotalShares` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) - /// Storage: `Referrals::ReferrerShares` (r:1 w:1) - /// Proof: `Referrals::ReferrerShares` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) - /// Storage: `Referrals::TraderShares` (r:2 w:2) - /// Proof: `Referrals::TraderShares` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) - /// Storage: `Referrals::PendingConversions` (r:1 w:1) - /// Proof: `Referrals::PendingConversions` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) - /// Storage: `Referrals::CounterForPendingConversions` (r:1 w:1) - /// Proof: `Referrals::CounterForPendingConversions` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) - fn sell() -> Weight { - // Proof Size summary in bytes: - // Measured: `7179` - // Estimated: `13905` - // Minimum execution time: 333_598_000 picoseconds. - Weight::from_parts(336_465_000, 13905) - .saturating_add(T::DbWeight::get().reads(35)) - .saturating_add(T::DbWeight::get().writes(23)) - } - /// Storage: `Omnipool::Assets` (r:3 w:3) - /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) - /// Storage: `Tokens::Accounts` (r:5 w:5) - /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) - /// Storage: `Omnipool::HubAssetImbalance` (r:1 w:1) - /// Proof: `Omnipool::HubAssetImbalance` (`max_values`: Some(1), `max_size`: Some(17), added: 512, mode: `MaxEncodedLen`) - /// Storage: `DynamicFees::AssetFee` (r:2 w:0) - /// Proof: `DynamicFees::AssetFee` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:3 w:2) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:2 w:2) - /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) - /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) - /// Storage: `EmaOracle::Accumulator` (r:1 w:1) - /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) - /// Storage: `CircuitBreaker::AllowedTradeVolumeLimitPerAsset` (r:2 w:2) - /// Proof: `CircuitBreaker::AllowedTradeVolumeLimitPerAsset` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`) - /// Storage: `CircuitBreaker::LiquidityAddLimitPerAsset` (r:1 w:0) - /// Proof: `CircuitBreaker::LiquidityAddLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) - /// Storage: `CircuitBreaker::AllowedAddLiquidityAmountPerAsset` (r:1 w:1) - /// Proof: `CircuitBreaker::AllowedAddLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (r:1 w:0) - /// Proof: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) - /// Storage: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (r:1 w:0) - /// Proof: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `Referrals::LinkedAccounts` (r:1 w:0) - /// Proof: `Referrals::LinkedAccounts` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) - /// Storage: `Referrals::Referrer` (r:1 w:0) - /// Proof: `Referrals::Referrer` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`) - /// Storage: `Referrals::AssetRewards` (r:1 w:0) - /// Proof: `Referrals::AssetRewards` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) - /// Storage: `Referrals::TotalShares` (r:1 w:1) - /// Proof: `Referrals::TotalShares` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) - /// Storage: `Referrals::ReferrerShares` (r:1 w:1) - /// Proof: `Referrals::ReferrerShares` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) - /// Storage: `Referrals::TraderShares` (r:2 w:2) - /// Proof: `Referrals::TraderShares` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) - /// Storage: `Referrals::PendingConversions` (r:1 w:1) - /// Proof: `Referrals::PendingConversions` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) - /// Storage: `Referrals::CounterForPendingConversions` (r:1 w:1) - /// Proof: `Referrals::CounterForPendingConversions` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) - fn buy() -> Weight { - // Proof Size summary in bytes: - // Measured: `7179` - // Estimated: `13905` - // Minimum execution time: 333_688_000 picoseconds. - Weight::from_parts(335_133_000, 13905) - .saturating_add(T::DbWeight::get().reads(35)) - .saturating_add(T::DbWeight::get().writes(23)) - } - /// Storage: `Omnipool::Assets` (r:1 w:1) - /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) - fn set_asset_tradable_state() -> Weight { - // Proof Size summary in bytes: - // Measured: `1305` - // Estimated: `3550` - // Minimum execution time: 32_634_000 picoseconds. - Weight::from_parts(33_024_000, 3550) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) - } - /// Storage: `Omnipool::Assets` (r:1 w:0) - /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) - /// Storage: `Tokens::Accounts` (r:2 w:2) - /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:1 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:2) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:1) - /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) - /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) - fn refund_refused_asset() -> Weight { - // Proof Size summary in bytes: - // Measured: `2336` - // Estimated: `6196` - // Minimum execution time: 107_435_000 picoseconds. - Weight::from_parts(108_211_000, 6196) - .saturating_add(T::DbWeight::get().reads(8)) - .saturating_add(T::DbWeight::get().writes(5)) - } - /// Storage: `Omnipool::Positions` (r:1 w:1) - /// Proof: `Omnipool::Positions` (`max_values`: None, `max_size`: Some(100), added: 2575, mode: `MaxEncodedLen`) - /// Storage: `Uniques::Asset` (r:1 w:1) - /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) - /// Storage: `Omnipool::Assets` (r:1 w:1) - /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) - /// Storage: `Uniques::Class` (r:1 w:1) - /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(190), added: 2665, mode: `MaxEncodedLen`) - /// Storage: `Uniques::Account` (r:0 w:1) - /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) - /// Storage: `Uniques::ItemPriceOf` (r:0 w:1) - /// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(113), added: 2588, mode: `MaxEncodedLen`) - fn sacrifice_position() -> Weight { - // Proof Size summary in bytes: - // Measured: `2876` - // Estimated: `3655` - // Minimum execution time: 75_289_000 picoseconds. - Weight::from_parts(76_090_000, 3655) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(6)) - } - /// Storage: `Omnipool::Assets` (r:1 w:1) - /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) - fn set_asset_weight_cap() -> Weight { - // Proof Size summary in bytes: - // Measured: `1305` - // Estimated: `3550` - // Minimum execution time: 32_857_000 picoseconds. - Weight::from_parts(33_349_000, 3550) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) - } - /// Storage: `Omnipool::Assets` (r:1 w:1) - /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) - /// Storage: `Tokens::Accounts` (r:3 w:3) - /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) - /// Storage: `Omnipool::HubAssetImbalance` (r:1 w:1) - /// Proof: `Omnipool::HubAssetImbalance` (`max_values`: Some(1), `max_size`: Some(17), added: 512, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:0) - /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) - /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) - /// Storage: `Tokens::TotalIssuance` (r:1 w:1) - /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) - /// Storage: `EmaOracle::Accumulator` (r:1 w:1) - /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) - fn withdraw_protocol_liquidity() -> Weight { - // Proof Size summary in bytes: - // Measured: `4019` - // Estimated: `8739` - // Minimum execution time: 161_313_000 picoseconds. - Weight::from_parts(162_354_000, 8739) - .saturating_add(T::DbWeight::get().reads(13)) - .saturating_add(T::DbWeight::get().writes(8)) - } - /// Storage: `Omnipool::Assets` (r:1 w:1) - /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) - /// Storage: `Tokens::Accounts` (r:4 w:3) - /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) - /// Storage: `Omnipool::HubAssetImbalance` (r:1 w:1) - /// Proof: `Omnipool::HubAssetImbalance` (`max_values`: Some(1), `max_size`: Some(17), added: 512, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) - /// Storage: `Tokens::TotalIssuance` (r:1 w:1) - /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:2) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:2 w:0) - /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) - /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) - fn remove_token() -> Weight { - // Proof Size summary in bytes: - // Measured: `3110` - // Estimated: `11322` - // Minimum execution time: 160_104_000 picoseconds. - Weight::from_parts(161_947_000, 11322) - .saturating_add(T::DbWeight::get().reads(14)) - .saturating_add(T::DbWeight::get().writes(8)) - } - /// Storage: `Omnipool::Assets` (r:3 w:3) - /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) - /// Storage: `Tokens::Accounts` (r:5 w:5) - /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) - /// Storage: `Omnipool::HubAssetImbalance` (r:1 w:1) - /// Proof: `Omnipool::HubAssetImbalance` (`max_values`: Some(1), `max_size`: Some(17), added: 512, mode: `MaxEncodedLen`) - /// Storage: `DynamicFees::AssetFee` (r:2 w:0) - /// Proof: `DynamicFees::AssetFee` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:3 w:2) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:2 w:2) - /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) - /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) - /// Storage: `EmaOracle::Accumulator` (r:1 w:1) - /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) - /// Storage: `CircuitBreaker::AllowedTradeVolumeLimitPerAsset` (r:2 w:2) - /// Proof: `CircuitBreaker::AllowedTradeVolumeLimitPerAsset` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`) - /// Storage: `CircuitBreaker::LiquidityAddLimitPerAsset` (r:1 w:0) - /// Proof: `CircuitBreaker::LiquidityAddLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) - /// Storage: `CircuitBreaker::AllowedAddLiquidityAmountPerAsset` (r:1 w:1) - /// Proof: `CircuitBreaker::AllowedAddLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (r:1 w:0) - /// Proof: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) - /// Storage: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (r:1 w:0) - /// Proof: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `Referrals::LinkedAccounts` (r:1 w:0) - /// Proof: `Referrals::LinkedAccounts` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) - /// Storage: `Referrals::AssetRewards` (r:1 w:0) - /// Proof: `Referrals::AssetRewards` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) - /// Storage: `Referrals::TotalShares` (r:1 w:1) - /// Proof: `Referrals::TotalShares` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) - /// Storage: `Referrals::TraderShares` (r:2 w:2) - /// Proof: `Referrals::TraderShares` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) - /// Storage: `Referrals::PendingConversions` (r:1 w:1) - /// Proof: `Referrals::PendingConversions` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) - /// Storage: `Referrals::CounterForPendingConversions` (r:1 w:1) - /// Proof: `Referrals::CounterForPendingConversions` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) - /// The range of component `c` is `[1, 2]`. - /// The range of component `e` is `[0, 1]`. - fn router_execution_sell(c: u32, e: u32) -> Weight { - // Proof Size summary in bytes: - // Measured: `1974 + e * (4788 ±0)` - // Estimated: `6156 + e * (7749 ±0)` - // Minimum execution time: 48_705_000 picoseconds. - Weight::from_parts(49_088_855, 6156) - // Standard Error: 97_412 - .saturating_add(Weight::from_parts(321_546, 0).saturating_mul(c.into())) - // Standard Error: 97_412 - .saturating_add(Weight::from_parts(291_861_384, 0).saturating_mul(e.into())) - .saturating_add(T::DbWeight::get().reads(7)) - .saturating_add(T::DbWeight::get().reads((26_u64).saturating_mul(e.into()))) - .saturating_add(T::DbWeight::get().writes((22_u64).saturating_mul(e.into()))) - .saturating_add(Weight::from_parts(0, 7749).saturating_mul(e.into())) - } - /// Storage: `Omnipool::Assets` (r:3 w:3) - /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) - /// Storage: `Tokens::Accounts` (r:5 w:5) - /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) - /// Storage: `Omnipool::HubAssetImbalance` (r:1 w:1) - /// Proof: `Omnipool::HubAssetImbalance` (`max_values`: Some(1), `max_size`: Some(17), added: 512, mode: `MaxEncodedLen`) - /// Storage: `DynamicFees::AssetFee` (r:2 w:0) - /// Proof: `DynamicFees::AssetFee` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:3 w:2) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:2 w:2) - /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) - /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) - /// Storage: `EmaOracle::Accumulator` (r:1 w:1) - /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) - /// Storage: `CircuitBreaker::AllowedTradeVolumeLimitPerAsset` (r:2 w:2) - /// Proof: `CircuitBreaker::AllowedTradeVolumeLimitPerAsset` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`) - /// Storage: `CircuitBreaker::LiquidityAddLimitPerAsset` (r:1 w:0) - /// Proof: `CircuitBreaker::LiquidityAddLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) - /// Storage: `CircuitBreaker::AllowedAddLiquidityAmountPerAsset` (r:1 w:1) - /// Proof: `CircuitBreaker::AllowedAddLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (r:1 w:0) - /// Proof: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) - /// Storage: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (r:1 w:0) - /// Proof: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `Referrals::LinkedAccounts` (r:1 w:0) - /// Proof: `Referrals::LinkedAccounts` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) - /// Storage: `Referrals::AssetRewards` (r:1 w:0) - /// Proof: `Referrals::AssetRewards` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) - /// Storage: `Referrals::TotalShares` (r:1 w:1) - /// Proof: `Referrals::TotalShares` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) - /// Storage: `Referrals::TraderShares` (r:2 w:2) - /// Proof: `Referrals::TraderShares` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) - /// Storage: `Referrals::PendingConversions` (r:1 w:1) - /// Proof: `Referrals::PendingConversions` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) - /// Storage: `Referrals::CounterForPendingConversions` (r:1 w:1) - /// Proof: `Referrals::CounterForPendingConversions` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) - /// The range of component `c` is `[1, 2]`. - /// The range of component `e` is `[0, 1]`. - fn router_execution_buy(c: u32, e: u32) -> Weight { - // Proof Size summary in bytes: - // Measured: `6762` - // Estimated: `13905` - // Minimum execution time: 325_047_000 picoseconds. - Weight::from_parts(309_584_818, 13905) - // Standard Error: 196_245 - .saturating_add(Weight::from_parts(16_694_995, 0).saturating_mul(c.into())) - // Standard Error: 196_245 - .saturating_add(Weight::from_parts(1_594_024, 0).saturating_mul(e.into())) - .saturating_add(T::DbWeight::get().reads(33)) - .saturating_add(T::DbWeight::get().writes(22)) - } -} - -// For backwards compatibility and tests impl WeightInfo for () { /// Storage: `Omnipool::Assets` (r:1 w:1) /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `Uniques::Class` (r:1 w:1) /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(190), added: 2665, mode: `MaxEncodedLen`) /// Storage: `Tokens::Accounts` (r:2 w:1) @@ -547,6 +87,8 @@ impl WeightInfo for () { /// Proof: `Uniques::CollectionMaxSupply` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) /// Storage: `Omnipool::HubAssetImbalance` (r:1 w:1) /// Proof: `Omnipool::HubAssetImbalance` (`max_values`: Some(1), `max_size`: Some(17), added: 512, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::BannedAssets` (r:1 w:0) + /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) /// Storage: `Tokens::TotalIssuance` (r:1 w:1) /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) /// Storage: `EmaOracle::Accumulator` (r:1 w:1) @@ -557,12 +99,12 @@ impl WeightInfo for () { /// Proof: `Omnipool::Positions` (`max_values`: None, `max_size`: Some(100), added: 2575, mode: `MaxEncodedLen`) fn add_token() -> Weight { // Proof Size summary in bytes: - // Measured: `3004` + // Measured: `3132` // Estimated: `7406` - // Minimum execution time: 141_394_000 picoseconds. - Weight::from_parts(142_349_000, 7406) - .saturating_add(RocksDbWeight::get().reads(12)) - .saturating_add(RocksDbWeight::get().writes(10)) + // Minimum execution time: 129_176_000 picoseconds. + Weight::from_parts(130_298_000, 7406) + .saturating_add(RocksDbWeight::get().reads(13_u64)) + .saturating_add(RocksDbWeight::get().writes(10_u64)) } /// Storage: `Tokens::Accounts` (r:3 w:3) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) @@ -580,8 +122,12 @@ impl WeightInfo for () { /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(190), added: 2665, mode: `MaxEncodedLen`) /// Storage: `Uniques::CollectionMaxSupply` (r:1 w:0) /// Proof: `Uniques::CollectionMaxSupply` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) + /// Storage: `Duster::AccountBlacklist` (r:1 w:0) + /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::BannedAssets` (r:2 w:0) + /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `Tokens::TotalIssuance` (r:1 w:1) @@ -602,12 +148,12 @@ impl WeightInfo for () { /// Proof: `Omnipool::Positions` (`max_values`: None, `max_size`: Some(100), added: 2575, mode: `MaxEncodedLen`) fn add_liquidity() -> Weight { // Proof Size summary in bytes: - // Measured: `3919` + // Measured: `4348` // Estimated: `8739` - // Minimum execution time: 220_969_000 picoseconds. - Weight::from_parts(222_574_000, 8739) - .saturating_add(RocksDbWeight::get().reads(20)) - .saturating_add(RocksDbWeight::get().writes(14)) + // Minimum execution time: 204_599_000 picoseconds. + Weight::from_parts(205_728_000, 8739) + .saturating_add(RocksDbWeight::get().reads(23_u64)) + .saturating_add(RocksDbWeight::get().writes(14_u64)) } /// Storage: `Uniques::Asset` (r:1 w:1) /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) @@ -621,8 +167,12 @@ impl WeightInfo for () { /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) /// Storage: `Omnipool::HubAssetImbalance` (r:1 w:1) /// Proof: `Omnipool::HubAssetImbalance` (`max_values`: Some(1), `max_size`: Some(17), added: 512, mode: `MaxEncodedLen`) + /// Storage: `Duster::AccountBlacklist` (r:1 w:0) + /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::BannedAssets` (r:2 w:0) + /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:2 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `Tokens::TotalIssuance` (r:1 w:1) @@ -649,12 +199,12 @@ impl WeightInfo for () { /// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(113), added: 2588, mode: `MaxEncodedLen`) fn remove_liquidity() -> Weight { // Proof Size summary in bytes: - // Measured: `6903` + // Measured: `7259` // Estimated: `11322` - // Minimum execution time: 297_780_000 picoseconds. - Weight::from_parts(299_506_000, 11322) - .saturating_add(RocksDbWeight::get().reads(23)) - .saturating_add(RocksDbWeight::get().writes(16)) + // Minimum execution time: 275_044_000 picoseconds. + Weight::from_parts(276_562_000, 11322) + .saturating_add(RocksDbWeight::get().reads(26_u64)) + .saturating_add(RocksDbWeight::get().writes(16_u64)) } /// Storage: `Tokens::Accounts` (r:5 w:5) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) @@ -664,8 +214,12 @@ impl WeightInfo for () { /// Proof: `Omnipool::HubAssetImbalance` (`max_values`: Some(1), `max_size`: Some(17), added: 512, mode: `MaxEncodedLen`) /// Storage: `DynamicFees::AssetFee` (r:2 w:0) /// Proof: `DynamicFees::AssetFee` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `Duster::AccountBlacklist` (r:2 w:0) + /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::BannedAssets` (r:2 w:0) + /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:4 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:3 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:2 w:2) @@ -702,12 +256,12 @@ impl WeightInfo for () { /// Proof: `Referrals::CounterForPendingConversions` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) fn sell() -> Weight { // Proof Size summary in bytes: - // Measured: `7179` + // Measured: `7619` // Estimated: `13905` - // Minimum execution time: 333_598_000 picoseconds. - Weight::from_parts(336_465_000, 13905) - .saturating_add(RocksDbWeight::get().reads(35)) - .saturating_add(RocksDbWeight::get().writes(23)) + // Minimum execution time: 327_772_000 picoseconds. + Weight::from_parts(329_562_000, 13905) + .saturating_add(RocksDbWeight::get().reads(41_u64)) + .saturating_add(RocksDbWeight::get().writes(23_u64)) } /// Storage: `Omnipool::Assets` (r:3 w:3) /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) @@ -717,8 +271,12 @@ impl WeightInfo for () { /// Proof: `Omnipool::HubAssetImbalance` (`max_values`: Some(1), `max_size`: Some(17), added: 512, mode: `MaxEncodedLen`) /// Storage: `DynamicFees::AssetFee` (r:2 w:0) /// Proof: `DynamicFees::AssetFee` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `Duster::AccountBlacklist` (r:2 w:0) + /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::BannedAssets` (r:2 w:0) + /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:4 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:3 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:2 w:2) @@ -755,30 +313,34 @@ impl WeightInfo for () { /// Proof: `Referrals::CounterForPendingConversions` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) fn buy() -> Weight { // Proof Size summary in bytes: - // Measured: `7179` + // Measured: `7619` // Estimated: `13905` - // Minimum execution time: 333_688_000 picoseconds. - Weight::from_parts(335_133_000, 13905) - .saturating_add(RocksDbWeight::get().reads(35)) - .saturating_add(RocksDbWeight::get().writes(23)) + // Minimum execution time: 327_371_000 picoseconds. + Weight::from_parts(328_952_000, 13905) + .saturating_add(RocksDbWeight::get().reads(41_u64)) + .saturating_add(RocksDbWeight::get().writes(23_u64)) } /// Storage: `Omnipool::Assets` (r:1 w:1) /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) fn set_asset_tradable_state() -> Weight { // Proof Size summary in bytes: - // Measured: `1305` + // Measured: `1309` // Estimated: `3550` - // Minimum execution time: 32_634_000 picoseconds. - Weight::from_parts(33_024_000, 3550) - .saturating_add(RocksDbWeight::get().reads(1)) - .saturating_add(RocksDbWeight::get().writes(1)) + // Minimum execution time: 27_719_000 picoseconds. + Weight::from_parts(28_329_000, 3550) + .saturating_add(RocksDbWeight::get().reads(1_u64)) + .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `Omnipool::Assets` (r:1 w:0) /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) /// Storage: `Tokens::Accounts` (r:2 w:2) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `Duster::AccountBlacklist` (r:1 w:0) + /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::BannedAssets` (r:1 w:0) + /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::Assets` (r:1 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:1) @@ -787,12 +349,12 @@ impl WeightInfo for () { /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) fn refund_refused_asset() -> Weight { // Proof Size summary in bytes: - // Measured: `2336` + // Measured: `2646` // Estimated: `6196` - // Minimum execution time: 107_435_000 picoseconds. - Weight::from_parts(108_211_000, 6196) - .saturating_add(RocksDbWeight::get().reads(8)) - .saturating_add(RocksDbWeight::get().writes(5)) + // Minimum execution time: 99_820_000 picoseconds. + Weight::from_parts(100_687_000, 6196) + .saturating_add(RocksDbWeight::get().reads(10_u64)) + .saturating_add(RocksDbWeight::get().writes(5_u64)) } /// Storage: `Omnipool::Positions` (r:1 w:1) /// Proof: `Omnipool::Positions` (`max_values`: None, `max_size`: Some(100), added: 2575, mode: `MaxEncodedLen`) @@ -808,23 +370,23 @@ impl WeightInfo for () { /// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(113), added: 2588, mode: `MaxEncodedLen`) fn sacrifice_position() -> Weight { // Proof Size summary in bytes: - // Measured: `2876` + // Measured: `2914` // Estimated: `3655` - // Minimum execution time: 75_289_000 picoseconds. - Weight::from_parts(76_090_000, 3655) - .saturating_add(RocksDbWeight::get().reads(4)) - .saturating_add(RocksDbWeight::get().writes(6)) + // Minimum execution time: 66_207_000 picoseconds. + Weight::from_parts(66_955_000, 3655) + .saturating_add(RocksDbWeight::get().reads(4_u64)) + .saturating_add(RocksDbWeight::get().writes(6_u64)) } /// Storage: `Omnipool::Assets` (r:1 w:1) /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) fn set_asset_weight_cap() -> Weight { // Proof Size summary in bytes: - // Measured: `1305` + // Measured: `1309` // Estimated: `3550` - // Minimum execution time: 32_857_000 picoseconds. - Weight::from_parts(33_349_000, 3550) - .saturating_add(RocksDbWeight::get().reads(1)) - .saturating_add(RocksDbWeight::get().writes(1)) + // Minimum execution time: 28_043_000 picoseconds. + Weight::from_parts(28_560_000, 3550) + .saturating_add(RocksDbWeight::get().reads(1_u64)) + .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `Omnipool::Assets` (r:1 w:1) /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) @@ -832,8 +394,12 @@ impl WeightInfo for () { /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `Omnipool::HubAssetImbalance` (r:1 w:1) /// Proof: `Omnipool::HubAssetImbalance` (`max_values`: Some(1), `max_size`: Some(17), added: 512, mode: `MaxEncodedLen`) + /// Storage: `Duster::AccountBlacklist` (r:1 w:0) + /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::BannedAssets` (r:1 w:0) + /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:2 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:0) @@ -846,12 +412,12 @@ impl WeightInfo for () { /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) fn withdraw_protocol_liquidity() -> Weight { // Proof Size summary in bytes: - // Measured: `4019` + // Measured: `4341` // Estimated: `8739` - // Minimum execution time: 161_313_000 picoseconds. - Weight::from_parts(162_354_000, 8739) - .saturating_add(RocksDbWeight::get().reads(13)) - .saturating_add(RocksDbWeight::get().writes(8)) + // Minimum execution time: 146_266_000 picoseconds. + Weight::from_parts(147_681_000, 8739) + .saturating_add(RocksDbWeight::get().reads(15_u64)) + .saturating_add(RocksDbWeight::get().writes(8_u64)) } /// Storage: `Omnipool::Assets` (r:1 w:1) /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) @@ -860,9 +426,13 @@ impl WeightInfo for () { /// Storage: `Omnipool::HubAssetImbalance` (r:1 w:1) /// Proof: `Omnipool::HubAssetImbalance` (`max_values`: Some(1), `max_size`: Some(17), added: 512, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `Tokens::TotalIssuance` (r:1 w:1) /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `Duster::AccountBlacklist` (r:1 w:0) + /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::BannedAssets` (r:1 w:0) + /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:2 w:0) @@ -871,12 +441,12 @@ impl WeightInfo for () { /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) fn remove_token() -> Weight { // Proof Size summary in bytes: - // Measured: `3110` + // Measured: `3432` // Estimated: `11322` - // Minimum execution time: 160_104_000 picoseconds. - Weight::from_parts(161_947_000, 11322) - .saturating_add(RocksDbWeight::get().reads(14)) - .saturating_add(RocksDbWeight::get().writes(8)) + // Minimum execution time: 145_092_000 picoseconds. + Weight::from_parts(146_152_000, 11322) + .saturating_add(RocksDbWeight::get().reads(16_u64)) + .saturating_add(RocksDbWeight::get().writes(8_u64)) } /// Storage: `Omnipool::Assets` (r:3 w:3) /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) @@ -886,8 +456,12 @@ impl WeightInfo for () { /// Proof: `Omnipool::HubAssetImbalance` (`max_values`: Some(1), `max_size`: Some(17), added: 512, mode: `MaxEncodedLen`) /// Storage: `DynamicFees::AssetFee` (r:2 w:0) /// Proof: `DynamicFees::AssetFee` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `Duster::AccountBlacklist` (r:2 w:0) + /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::BannedAssets` (r:2 w:0) + /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:4 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:3 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:2 w:2) @@ -912,7 +486,7 @@ impl WeightInfo for () { /// Proof: `Referrals::AssetRewards` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) /// Storage: `Referrals::TotalShares` (r:1 w:1) /// Proof: `Referrals::TotalShares` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) - /// Storage: `Referrals::TraderShares` (r:2 w:2) + /// Storage: `Referrals::TraderShares` (r:1 w:1) /// Proof: `Referrals::TraderShares` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) /// Storage: `Referrals::PendingConversions` (r:1 w:1) /// Proof: `Referrals::PendingConversions` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) @@ -920,19 +494,17 @@ impl WeightInfo for () { /// Proof: `Referrals::CounterForPendingConversions` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 2]`. /// The range of component `e` is `[0, 1]`. - fn router_execution_sell(c: u32, e: u32) -> Weight { + fn router_execution_sell(_c: u32, e: u32) -> Weight { // Proof Size summary in bytes: - // Measured: `1974 + e * (4788 ±0)` - // Estimated: `6156 + e * (7749 ±0)` - // Minimum execution time: 48_705_000 picoseconds. - Weight::from_parts(49_088_855, 6156) - // Standard Error: 97_412 - .saturating_add(Weight::from_parts(321_546, 0).saturating_mul(c.into())) - // Standard Error: 97_412 - .saturating_add(Weight::from_parts(291_861_384, 0).saturating_mul(e.into())) - .saturating_add(RocksDbWeight::get().reads(7)) - .saturating_add(RocksDbWeight::get().reads((26_u64).saturating_mul(e.into()))) - .saturating_add(RocksDbWeight::get().writes((22_u64).saturating_mul(e.into()))) + // Measured: `1978 + e * (5140 ±0)` + // Estimated: `11390 + e * (7749 ±0)` + // Minimum execution time: 44_566_000 picoseconds. + Weight::from_parts(46_051_604, 11390) + // Standard Error: 113_379 + .saturating_add(Weight::from_parts(283_478_583, 0).saturating_mul(e.into())) + .saturating_add(RocksDbWeight::get().reads(7_u64)) + .saturating_add(RocksDbWeight::get().reads((31_u64).saturating_mul(e.into()))) + .saturating_add(RocksDbWeight::get().writes((21_u64).saturating_mul(e.into()))) .saturating_add(Weight::from_parts(0, 7749).saturating_mul(e.into())) } /// Storage: `Omnipool::Assets` (r:3 w:3) @@ -943,8 +515,12 @@ impl WeightInfo for () { /// Proof: `Omnipool::HubAssetImbalance` (`max_values`: Some(1), `max_size`: Some(17), added: 512, mode: `MaxEncodedLen`) /// Storage: `DynamicFees::AssetFee` (r:2 w:0) /// Proof: `DynamicFees::AssetFee` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `Duster::AccountBlacklist` (r:2 w:0) + /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::BannedAssets` (r:2 w:0) + /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:4 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:3 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:2 w:2) @@ -969,7 +545,7 @@ impl WeightInfo for () { /// Proof: `Referrals::AssetRewards` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) /// Storage: `Referrals::TotalShares` (r:1 w:1) /// Proof: `Referrals::TotalShares` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) - /// Storage: `Referrals::TraderShares` (r:2 w:2) + /// Storage: `Referrals::TraderShares` (r:1 w:1) /// Proof: `Referrals::TraderShares` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) /// Storage: `Referrals::PendingConversions` (r:1 w:1) /// Proof: `Referrals::PendingConversions` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) @@ -977,17 +553,15 @@ impl WeightInfo for () { /// Proof: `Referrals::CounterForPendingConversions` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 2]`. /// The range of component `e` is `[0, 1]`. - fn router_execution_buy(c: u32, e: u32) -> Weight { + fn router_execution_buy(c: u32, _e: u32) -> Weight { // Proof Size summary in bytes: - // Measured: `6762` + // Measured: `7118` // Estimated: `13905` - // Minimum execution time: 325_047_000 picoseconds. - Weight::from_parts(309_584_818, 13905) - // Standard Error: 196_245 - .saturating_add(Weight::from_parts(16_694_995, 0).saturating_mul(c.into())) - // Standard Error: 196_245 - .saturating_add(Weight::from_parts(1_594_024, 0).saturating_mul(e.into())) - .saturating_add(RocksDbWeight::get().reads(33)) - .saturating_add(RocksDbWeight::get().writes(22)) + // Minimum execution time: 312_903_000 picoseconds. + Weight::from_parts(305_669_455, 13905) + // Standard Error: 152_808 + .saturating_add(Weight::from_parts(12_462_813, 0).saturating_mul(c.into())) + .saturating_add(RocksDbWeight::get().reads(38_u64)) + .saturating_add(RocksDbWeight::get().writes(21_u64)) } } diff --git a/pallets/otc/src/lib.rs b/pallets/otc/src/lib.rs index c924a83e8..674a9f16d 100644 --- a/pallets/otc/src/lib.rs +++ b/pallets/otc/src/lib.rs @@ -49,7 +49,7 @@ mod benchmarks; pub mod weights; -use weights::WeightInfo; +pub use weights::WeightInfo; // Re-export pallet items so that they can be accessed from the crate namespace. pub use pallet::*; diff --git a/pallets/otc/src/weights.rs b/pallets/otc/src/weights.rs index 96dafe15f..4af2df9b9 100644 --- a/pallets/otc/src/weights.rs +++ b/pallets/otc/src/weights.rs @@ -17,27 +17,30 @@ //! Autogenerated weights for `pallet_otc` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-12, STEPS: `5`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-05-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --pallet=pallet-otc // --wasm-execution=compiled -// --heap-pages=4096 -// --chain=dev -// --extrinsic=* -// --steps=5 -// --repeat=20 +// --pallet +// * +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 +// --template=scripts/pallet-weight-template.hbs // --output -// ./weights-1.1.0/otc.rs -// --template -// .maintain/pallet-weight-template-no-back.hbs +// weights/ #![allow(unused_parens)] #![allow(unused_imports)] @@ -58,155 +61,87 @@ pub trait WeightInfo { } /// Weights for pallet_otc using the hydraDX node and recommended hardware. -pub struct HydraWeight(PhantomData); - -impl WeightInfo for HydraWeight { - /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) - /// Storage: `OTC::NextOrderId` (r:1 w:1) - /// Proof: `OTC::NextOrderId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) - /// Storage: `Balances::Reserves` (r:1 w:1) - /// Proof: `Balances::Reserves` (`max_values`: None, `max_size`: Some(1249), added: 3724, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `OTC::Orders` (r:0 w:1) - /// Proof: `OTC::Orders` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `MaxEncodedLen`) - fn place_order() -> Weight { - // Proof Size summary in bytes: - // Measured: `624` - // Estimated: `6114` - // Minimum execution time: 54_176_000 picoseconds. - Weight::from_parts(54_920_000, 6114) - .saturating_add(T::DbWeight::get().reads(5_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) - } - /// Storage: `OTC::Orders` (r:1 w:1) - /// Proof: `OTC::Orders` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) - /// Storage: `Tokens::Accounts` (r:2 w:2) - /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:2) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `Balances::Reserves` (r:1 w:1) - /// Proof: `Balances::Reserves` (`max_values`: None, `max_size`: Some(1249), added: 3724, mode: `MaxEncodedLen`) - fn partial_fill_order() -> Weight { - // Proof Size summary in bytes: - // Measured: `1404` - // Estimated: `6196` - // Minimum execution time: 138_354_000 picoseconds. - Weight::from_parts(140_113_000, 6196) - .saturating_add(T::DbWeight::get().reads(8_u64)) - .saturating_add(T::DbWeight::get().writes(6_u64)) - } - /// Storage: `OTC::Orders` (r:1 w:1) - /// Proof: `OTC::Orders` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `MaxEncodedLen`) - /// Storage: `Tokens::Accounts` (r:2 w:2) - /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:1 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:2) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `Balances::Reserves` (r:1 w:1) - /// Proof: `Balances::Reserves` (`max_values`: None, `max_size`: Some(1249), added: 3724, mode: `MaxEncodedLen`) - fn fill_order() -> Weight { - // Proof Size summary in bytes: - // Measured: `1399` - // Estimated: `6196` - // Minimum execution time: 136_927_000 picoseconds. - Weight::from_parts(137_782_000, 6196) - .saturating_add(T::DbWeight::get().reads(7_u64)) - .saturating_add(T::DbWeight::get().writes(6_u64)) - } - /// Storage: `OTC::Orders` (r:1 w:1) - /// Proof: `OTC::Orders` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `MaxEncodedLen`) - /// Storage: `Balances::Reserves` (r:1 w:1) - /// Proof: `Balances::Reserves` (`max_values`: None, `max_size`: Some(1249), added: 3724, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - fn cancel_order() -> Weight { - // Proof Size summary in bytes: - // Measured: `525` - // Estimated: `4714` - // Minimum execution time: 44_402_000 picoseconds. - Weight::from_parts(44_773_000, 4714) - .saturating_add(T::DbWeight::get().reads(3_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) - } -} - -// For backwards compatibility and tests impl WeightInfo for () { /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `OTC::NextOrderId` (r:1 w:1) /// Proof: `OTC::NextOrderId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) - /// Storage: `Balances::Reserves` (r:1 w:1) - /// Proof: `Balances::Reserves` (`max_values`: None, `max_size`: Some(1249), added: 3724, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Reserves` (r:1 w:1) + /// Proof: `Tokens::Reserves` (`max_values`: None, `max_size`: Some(1261), added: 3736, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:1 w:1) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `OTC::Orders` (r:0 w:1) /// Proof: `OTC::Orders` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `MaxEncodedLen`) fn place_order() -> Weight { // Proof Size summary in bytes: - // Measured: `624` - // Estimated: `6114` - // Minimum execution time: 54_176_000 picoseconds. - Weight::from_parts(54_920_000, 6114) + // Measured: `963` + // Estimated: `6190` + // Minimum execution time: 46_410_000 picoseconds. + Weight::from_parts(46_985_000, 6190) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } /// Storage: `OTC::Orders` (r:1 w:1) /// Proof: `OTC::Orders` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) - /// Storage: `Tokens::Accounts` (r:2 w:2) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) + /// Storage: `Duster::AccountBlacklist` (r:2 w:0) + /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::BannedAssets` (r:2 w:0) + /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:4 w:4) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:2) + /// Storage: `System::Account` (r:2 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `Balances::Reserves` (r:1 w:1) - /// Proof: `Balances::Reserves` (`max_values`: None, `max_size`: Some(1249), added: 3724, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Reserves` (r:1 w:1) + /// Proof: `Tokens::Reserves` (`max_values`: None, `max_size`: Some(1261), added: 3736, mode: `MaxEncodedLen`) fn partial_fill_order() -> Weight { // Proof Size summary in bytes: - // Measured: `1404` - // Estimated: `6196` - // Minimum execution time: 138_354_000 picoseconds. - Weight::from_parts(140_113_000, 6196) - .saturating_add(RocksDbWeight::get().reads(8_u64)) + // Measured: `2034` + // Estimated: `11322` + // Minimum execution time: 116_670_000 picoseconds. + Weight::from_parts(117_660_000, 11322) + .saturating_add(RocksDbWeight::get().reads(14_u64)) .saturating_add(RocksDbWeight::get().writes(6_u64)) } /// Storage: `OTC::Orders` (r:1 w:1) /// Proof: `OTC::Orders` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `MaxEncodedLen`) - /// Storage: `Tokens::Accounts` (r:2 w:2) + /// Storage: `Duster::AccountBlacklist` (r:2 w:0) + /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::BannedAssets` (r:2 w:0) + /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:4 w:4) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:1 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:2) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `Balances::Reserves` (r:1 w:1) - /// Proof: `Balances::Reserves` (`max_values`: None, `max_size`: Some(1249), added: 3724, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Reserves` (r:1 w:1) + /// Proof: `Tokens::Reserves` (`max_values`: None, `max_size`: Some(1261), added: 3736, mode: `MaxEncodedLen`) fn fill_order() -> Weight { // Proof Size summary in bytes: - // Measured: `1399` - // Estimated: `6196` - // Minimum execution time: 136_927_000 picoseconds. - Weight::from_parts(137_782_000, 6196) - .saturating_add(RocksDbWeight::get().reads(7_u64)) + // Measured: `2034` + // Estimated: `11322` + // Minimum execution time: 114_236_000 picoseconds. + Weight::from_parts(114_837_000, 11322) + .saturating_add(RocksDbWeight::get().reads(14_u64)) .saturating_add(RocksDbWeight::get().writes(6_u64)) } /// Storage: `OTC::Orders` (r:1 w:1) /// Proof: `OTC::Orders` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `MaxEncodedLen`) - /// Storage: `Balances::Reserves` (r:1 w:1) - /// Proof: `Balances::Reserves` (`max_values`: None, `max_size`: Some(1249), added: 3724, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Reserves` (r:1 w:1) + /// Proof: `Tokens::Reserves` (`max_values`: None, `max_size`: Some(1261), added: 3736, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:1 w:1) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:1 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) fn cancel_order() -> Weight { // Proof Size summary in bytes: - // Measured: `525` - // Estimated: `4714` - // Minimum execution time: 44_402_000 picoseconds. - Weight::from_parts(44_773_000, 4714) - .saturating_add(RocksDbWeight::get().reads(3_u64)) + // Measured: `1197` + // Estimated: `4726` + // Minimum execution time: 41_852_000 picoseconds. + Weight::from_parts(42_296_000, 4726) + .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } } diff --git a/pallets/referrals/src/lib.rs b/pallets/referrals/src/lib.rs index 0d0f1924e..57871655b 100644 --- a/pallets/referrals/src/lib.rs +++ b/pallets/referrals/src/lib.rs @@ -75,7 +75,7 @@ pub use crate::traits::BenchmarkHelper; pub use pallet::*; -use weights::WeightInfo; +pub use weights::WeightInfo; pub type Balance = u128; pub type ReferralCode = BoundedVec; diff --git a/pallets/referrals/src/weights.rs b/pallets/referrals/src/weights.rs index 364772a08..d2a537eb0 100644 --- a/pallets/referrals/src/weights.rs +++ b/pallets/referrals/src/weights.rs @@ -17,25 +17,30 @@ //! Autogenerated weights for `pallet_referrals` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-01-09, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-05-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=10 -// --repeat=30 // --wasm-execution=compiled -// --heap-pages=4096 -// --template=.maintain/pallet-weight-template-no-back.hbs -// --pallet=pallet-referrals -// --output=weights-1.1.0/referrals.rs -// --extrinsic=* +// --pallet +// * +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 +// --template=scripts/pallet-weight-template.hbs +// --output +// weights/ #![allow(unused_parens)] #![allow(unused_imports)] @@ -57,118 +62,6 @@ pub trait WeightInfo { } /// Weights for pallet_referrals using the hydraDX node and recommended hardware. -pub struct HydraWeight(PhantomData); - -impl WeightInfo for HydraWeight { - /// Storage: `Referrals::ReferralAccounts` (r:1 w:1) - /// Proof: `Referrals::ReferralAccounts` (`max_values`: None, `max_size`: Some(59), added: 2534, mode: `MaxEncodedLen`) - /// Storage: `Referrals::ReferralCodes` (r:1 w:1) - /// Proof: `Referrals::ReferralCodes` (`max_values`: None, `max_size`: Some(59), added: 2534, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:2) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `Referrals::Referrer` (r:0 w:1) - /// Proof: `Referrals::Referrer` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`) - fn register_code() -> Weight { - // Proof Size summary in bytes: - // Measured: `284` - // Estimated: `6196` - // Minimum execution time: 64_118_000 picoseconds. - Weight::from_parts(64_600_000, 6196) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(5)) - } - /// Storage: `Referrals::ReferralCodes` (r:1 w:0) - /// Proof: `Referrals::ReferralCodes` (`max_values`: None, `max_size`: Some(59), added: 2534, mode: `MaxEncodedLen`) - /// Storage: `Referrals::LinkedAccounts` (r:1 w:1) - /// Proof: `Referrals::LinkedAccounts` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) - fn link_code() -> Weight { - // Proof Size summary in bytes: - // Measured: `194` - // Estimated: `3545` - // Minimum execution time: 22_117_000 picoseconds. - Weight::from_parts(22_358_000, 3545) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) - } - /// Storage: `Tokens::Accounts` (r:2 w:2) - /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) - /// Storage: `Omnipool::Assets` (r:2 w:2) - /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:2) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `Omnipool::HubAssetImbalance` (r:1 w:1) - /// Proof: `Omnipool::HubAssetImbalance` (`max_values`: Some(1), `max_size`: Some(17), added: 512, mode: `MaxEncodedLen`) - /// Storage: `DynamicFees::AssetFee` (r:2 w:0) - /// Proof: `DynamicFees::AssetFee` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`) - /// Storage: `EmaOracle::Oracles` (r:2 w:0) - /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:1 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) - /// Storage: `EmaOracle::Accumulator` (r:1 w:1) - /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) - /// Storage: `CircuitBreaker::AllowedTradeVolumeLimitPerAsset` (r:2 w:2) - /// Proof: `CircuitBreaker::AllowedTradeVolumeLimitPerAsset` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`) - /// Storage: `CircuitBreaker::TradeVolumeLimitPerAsset` (r:2 w:0) - /// Proof: `CircuitBreaker::TradeVolumeLimitPerAsset` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) - /// Storage: `CircuitBreaker::LiquidityAddLimitPerAsset` (r:1 w:0) - /// Proof: `CircuitBreaker::LiquidityAddLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) - /// Storage: `CircuitBreaker::AllowedAddLiquidityAmountPerAsset` (r:1 w:1) - /// Proof: `CircuitBreaker::AllowedAddLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (r:1 w:0) - /// Proof: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) - /// Storage: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (r:1 w:1) - /// Proof: `CircuitBreaker::AllowedRemoveLiquidityAmountPerAsset` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `Staking::Staking` (r:1 w:0) - /// Proof: `Staking::Staking` (`max_values`: Some(1), `max_size`: Some(48), added: 543, mode: `MaxEncodedLen`) - /// Storage: `Referrals::PendingConversions` (r:1 w:1) - /// Proof: `Referrals::PendingConversions` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) - /// Storage: `Referrals::CounterForPendingConversions` (r:1 w:1) - /// Proof: `Referrals::CounterForPendingConversions` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:0 w:1) - /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - fn convert() -> Weight { - // Proof Size summary in bytes: - // Measured: `2105` - // Estimated: `7406` - // Minimum execution time: 290_406_000 picoseconds. - Weight::from_parts(291_955_000, 7406) - .saturating_add(T::DbWeight::get().reads(24)) - .saturating_add(T::DbWeight::get().writes(15)) - } - /// Storage: `Referrals::PendingConversions` (r:1 w:0) - /// Proof: `Referrals::PendingConversions` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) - /// Storage: `Referrals::ReferrerShares` (r:1 w:1) - /// Proof: `Referrals::ReferrerShares` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) - /// Storage: `Referrals::TraderShares` (r:1 w:1) - /// Proof: `Referrals::TraderShares` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:2) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `Referrals::TotalShares` (r:1 w:1) - /// Proof: `Referrals::TotalShares` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) - /// Storage: `Referrals::Referrer` (r:1 w:1) - /// Proof: `Referrals::Referrer` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`) - fn claim_rewards() -> Weight { - // Proof Size summary in bytes: - // Measured: `655` - // Estimated: `6196` - // Minimum execution time: 88_340_000 picoseconds. - Weight::from_parts(89_429_000, 6196) - .saturating_add(T::DbWeight::get().reads(7)) - .saturating_add(T::DbWeight::get().writes(6)) - } - /// Storage: `Referrals::AssetRewards` (r:1 w:1) - /// Proof: `Referrals::AssetRewards` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) - fn set_reward_percentage() -> Weight { - // Proof Size summary in bytes: - // Measured: `42` - // Estimated: `3514` - // Minimum execution time: 16_024_000 picoseconds. - Weight::from_parts(16_319_000, 3514) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) - } -} - impl WeightInfo for () { /// Storage: `Referrals::ReferralAccounts` (r:1 w:1) /// Proof: `Referrals::ReferralAccounts` (`max_values`: None, `max_size`: Some(59), added: 2534, mode: `MaxEncodedLen`) @@ -180,12 +73,12 @@ impl WeightInfo for () { /// Proof: `Referrals::Referrer` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`) fn register_code() -> Weight { // Proof Size summary in bytes: - // Measured: `284` + // Measured: `318` // Estimated: `6196` - // Minimum execution time: 64_118_000 picoseconds. - Weight::from_parts(64_600_000, 6196) - .saturating_add(RocksDbWeight::get().reads(4)) - .saturating_add(RocksDbWeight::get().writes(5)) + // Minimum execution time: 58_712_000 picoseconds. + Weight::from_parts(59_464_000, 6196) + .saturating_add(RocksDbWeight::get().reads(4_u64)) + .saturating_add(RocksDbWeight::get().writes(5_u64)) } /// Storage: `Referrals::ReferralCodes` (r:1 w:0) /// Proof: `Referrals::ReferralCodes` (`max_values`: None, `max_size`: Some(59), added: 2534, mode: `MaxEncodedLen`) @@ -193,12 +86,12 @@ impl WeightInfo for () { /// Proof: `Referrals::LinkedAccounts` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) fn link_code() -> Weight { // Proof Size summary in bytes: - // Measured: `194` + // Measured: `228` // Estimated: `3545` - // Minimum execution time: 22_117_000 picoseconds. - Weight::from_parts(22_358_000, 3545) - .saturating_add(RocksDbWeight::get().reads(2)) - .saturating_add(RocksDbWeight::get().writes(1)) + // Minimum execution time: 17_123_000 picoseconds. + Weight::from_parts(17_546_000, 3545) + .saturating_add(RocksDbWeight::get().reads(2_u64)) + .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `Tokens::Accounts` (r:2 w:2) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) @@ -212,8 +105,10 @@ impl WeightInfo for () { /// Proof: `DynamicFees::AssetFee` (`max_values`: None, `max_size`: Some(24), added: 2499, mode: `MaxEncodedLen`) /// Storage: `EmaOracle::Oracles` (r:2 w:0) /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:1 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::BannedAssets` (r:1 w:0) + /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:3 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `EmaOracle::Accumulator` (r:1 w:1) /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) /// Storage: `CircuitBreaker::AllowedTradeVolumeLimitPerAsset` (r:2 w:2) @@ -238,12 +133,12 @@ impl WeightInfo for () { /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) fn convert() -> Weight { // Proof Size summary in bytes: - // Measured: `2105` - // Estimated: `7406` - // Minimum execution time: 290_406_000 picoseconds. - Weight::from_parts(291_955_000, 7406) - .saturating_add(RocksDbWeight::get().reads(24)) - .saturating_add(RocksDbWeight::get().writes(15)) + // Measured: `2226` + // Estimated: `8790` + // Minimum execution time: 263_297_000 picoseconds. + Weight::from_parts(264_892_000, 8790) + .saturating_add(RocksDbWeight::get().reads(27_u64)) + .saturating_add(RocksDbWeight::get().writes(15_u64)) } /// Storage: `Referrals::PendingConversions` (r:1 w:0) /// Proof: `Referrals::PendingConversions` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) @@ -259,22 +154,22 @@ impl WeightInfo for () { /// Proof: `Referrals::Referrer` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`) fn claim_rewards() -> Weight { // Proof Size summary in bytes: - // Measured: `655` + // Measured: `689` // Estimated: `6196` - // Minimum execution time: 88_340_000 picoseconds. - Weight::from_parts(89_429_000, 6196) - .saturating_add(RocksDbWeight::get().reads(7)) - .saturating_add(RocksDbWeight::get().writes(6)) + // Minimum execution time: 77_361_000 picoseconds. + Weight::from_parts(78_136_000, 6196) + .saturating_add(RocksDbWeight::get().reads(7_u64)) + .saturating_add(RocksDbWeight::get().writes(6_u64)) } /// Storage: `Referrals::AssetRewards` (r:1 w:1) /// Proof: `Referrals::AssetRewards` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) fn set_reward_percentage() -> Weight { // Proof Size summary in bytes: - // Measured: `42` + // Measured: `76` // Estimated: `3514` - // Minimum execution time: 16_024_000 picoseconds. - Weight::from_parts(16_319_000, 3514) - .saturating_add(RocksDbWeight::get().reads(1)) - .saturating_add(RocksDbWeight::get().writes(1)) + // Minimum execution time: 11_771_000 picoseconds. + Weight::from_parts(11_990_000, 3514) + .saturating_add(RocksDbWeight::get().reads(1_u64)) + .saturating_add(RocksDbWeight::get().writes(1_u64)) } } diff --git a/pallets/route-executor/src/weights.rs b/pallets/route-executor/src/weights.rs index be4375720..03a63c830 100644 --- a/pallets/route-executor/src/weights.rs +++ b/pallets/route-executor/src/weights.rs @@ -18,25 +18,30 @@ //! Autogenerated weights for `pallet_route_executor` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-18, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-05-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=10 -// --repeat=30 // --wasm-execution=compiled -// --heap-pages=4096 -// --template=.maintain/pallet-weight-template.hbs -// --pallet=pallet_route-executor -// --output=re2.rs -// --extrinsic=* +// --pallet +// * +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 +// --template=scripts/pallet-weight-template.hbs +// --output +// weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -55,133 +60,30 @@ pub trait WeightInfo { } /// Weights for `pallet_route_executor` using the HydraDX node and recommended hardware. -pub struct HydraWeight(PhantomData); -impl WeightInfo for HydraWeight { +impl WeightInfo for () { /// Storage: `LBP::PoolData` (r:1 w:0) /// Proof: `LBP::PoolData` (`max_values`: None, `max_size`: Some(163), added: 2638, mode: `MaxEncodedLen`) /// Storage: `Tokens::Accounts` (r:5 w:5) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:3 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `Tokens::Locks` (r:1 w:1) - /// Proof: `Tokens::Locks` (`max_values`: None, `max_size`: Some(1261), added: 3736, mode: `MaxEncodedLen`) - /// Storage: `Duster::AccountBlacklist` (r:2 w:0) - /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::BannedAssets` (r:2 w:0) - /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::Assets` (r:2 w:0) /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) - /// The range of component `c` is `[0, 1]`. - fn calculate_and_execute_sell_in_lbp(c: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `3436` - // Estimated: `13905` - // Minimum execution time: 342_467_000 picoseconds. - Weight::from_parts(346_028_529, 13905) - // Standard Error: 185_098 - .saturating_add(Weight::from_parts(50_586_970, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(16_u64)) - .saturating_add(T::DbWeight::get().writes(7_u64)) - } - /// Storage: `LBP::PoolData` (r:1 w:0) - /// Proof: `LBP::PoolData` (`max_values`: None, `max_size`: Some(163), added: 2638, mode: `MaxEncodedLen`) - /// Storage: `Tokens::Accounts` (r:5 w:5) - /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:3 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `Tokens::Locks` (r:1 w:1) /// Proof: `Tokens::Locks` (`max_values`: None, `max_size`: Some(1261), added: 3736, mode: `MaxEncodedLen`) /// Storage: `Duster::AccountBlacklist` (r:2 w:0) /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::BannedAssets` (r:2 w:0) /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) - /// The range of component `c` is `[1, 2]`. - /// The range of component `b` is `[0, 1]`. - fn calculate_and_execute_buy_in_lbp(c: u32, b: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `1604 + b * (1837 ±0)` - // Estimated: `6156 + b * (7749 ±0)` - // Minimum execution time: 75_256_000 picoseconds. - Weight::from_parts(76_245_000, 6156) - // Standard Error: 604_587 - .saturating_add(Weight::from_parts(2_376_809, 0).saturating_mul(c.into())) - // Standard Error: 1_327_242 - .saturating_add(Weight::from_parts(273_173_826, 0).saturating_mul(b.into())) - .saturating_add(T::DbWeight::get().reads(3_u64)) - .saturating_add(T::DbWeight::get().reads((13_u64).saturating_mul(b.into()))) - .saturating_add(T::DbWeight::get().writes((7_u64).saturating_mul(b.into()))) - .saturating_add(Weight::from_parts(0, 7749).saturating_mul(b.into())) - } - /// Storage: `AssetRegistry::Assets` (r:6 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) - /// Storage: `Router::Routes` (r:1 w:1) - /// Proof: `Router::Routes` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:7 w:0) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `Tokens::Accounts` (r:15 w:0) - /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) - /// Storage: `XYK::ShareToken` (r:6 w:0) - /// Proof: `XYK::ShareToken` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `Duster::AccountBlacklist` (r:7 w:0) - /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::BannedAssets` (r:5 w:0) - /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:0) - /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:5 w:0) - /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) - /// Storage: `EmaOracle::Accumulator` (r:1 w:0) - /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) - /// Storage: `Tokens::TotalIssuance` (r:1 w:0) - /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) - fn set_route_for_xyk() -> Weight { - // Proof Size summary in bytes: - // Measured: `6326` - // Estimated: `39735` - // Minimum execution time: 2_275_922_000 picoseconds. - Weight::from_parts(2_284_697_000, 39735) - .saturating_add(T::DbWeight::get().reads(55_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) - } - /// Storage: `Router::Routes` (r:0 w:1) - /// Proof: `Router::Routes` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) - fn force_insert_route() -> Weight { - // Proof Size summary in bytes: - // Measured: `1012` - // Estimated: `0` - // Minimum execution time: 30_072_000 picoseconds. - Weight::from_parts(30_421_000, 0) - .saturating_add(T::DbWeight::get().writes(1_u64)) - } -} - -// For backwards compatibility and tests. -impl WeightInfo for () { - /// Storage: `LBP::PoolData` (r:1 w:0) - /// Proof: `LBP::PoolData` (`max_values`: None, `max_size`: Some(163), added: 2638, mode: `MaxEncodedLen`) - /// Storage: `Tokens::Accounts` (r:5 w:5) - /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:3 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `Tokens::Locks` (r:1 w:1) - /// Proof: `Tokens::Locks` (`max_values`: None, `max_size`: Some(1261), added: 3736, mode: `MaxEncodedLen`) - /// Storage: `Duster::AccountBlacklist` (r:2 w:0) - /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::BannedAssets` (r:2 w:0) - /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// The range of component `c` is `[0, 1]`. fn calculate_and_execute_sell_in_lbp(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `3436` + // Measured: `3539` // Estimated: `13905` - // Minimum execution time: 342_467_000 picoseconds. - Weight::from_parts(346_028_529, 13905) - // Standard Error: 185_098 - .saturating_add(Weight::from_parts(50_586_970, 0).saturating_mul(c.into())) + // Minimum execution time: 348_394_000 picoseconds. + Weight::from_parts(353_414_322, 13905) + // Standard Error: 310_815 + .saturating_add(Weight::from_parts(75_998_077, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(16_u64)) .saturating_add(RocksDbWeight::get().writes(7_u64)) } @@ -191,26 +93,26 @@ impl WeightInfo for () { /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:3 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `Tokens::Locks` (r:1 w:1) /// Proof: `Tokens::Locks` (`max_values`: None, `max_size`: Some(1261), added: 3736, mode: `MaxEncodedLen`) /// Storage: `Duster::AccountBlacklist` (r:2 w:0) /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::BannedAssets` (r:2 w:0) /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 2]`. /// The range of component `b` is `[0, 1]`. fn calculate_and_execute_buy_in_lbp(c: u32, b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1604 + b * (1837 ±0)` - // Estimated: `6156 + b * (7749 ±0)` - // Minimum execution time: 75_256_000 picoseconds. - Weight::from_parts(76_245_000, 6156) - // Standard Error: 604_587 - .saturating_add(Weight::from_parts(2_376_809, 0).saturating_mul(c.into())) - // Standard Error: 1_327_242 - .saturating_add(Weight::from_parts(273_173_826, 0).saturating_mul(b.into())) + // Measured: `1641 + b * (1923 ±0)` + // Estimated: `8799 + b * (7749 ±0)` + // Minimum execution time: 94_857_000 picoseconds. + Weight::from_parts(95_996_000, 8799) + // Standard Error: 221_018 + .saturating_add(Weight::from_parts(884_672, 0).saturating_mul(c.into())) + // Standard Error: 492_269 + .saturating_add(Weight::from_parts(260_708_136, 0).saturating_mul(b.into())) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().reads((13_u64).saturating_mul(b.into()))) .saturating_add(RocksDbWeight::get().writes((7_u64).saturating_mul(b.into()))) @@ -240,10 +142,10 @@ impl WeightInfo for () { /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) fn set_route_for_xyk() -> Weight { // Proof Size summary in bytes: - // Measured: `6326` + // Measured: `6430` // Estimated: `39735` - // Minimum execution time: 2_275_922_000 picoseconds. - Weight::from_parts(2_284_697_000, 39735) + // Minimum execution time: 1_844_939_000 picoseconds. + Weight::from_parts(1_854_473_000, 39735) .saturating_add(RocksDbWeight::get().reads(55_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -251,10 +153,10 @@ impl WeightInfo for () { /// Proof: `Router::Routes` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) fn force_insert_route() -> Weight { // Proof Size summary in bytes: - // Measured: `1012` + // Measured: `1016` // Estimated: `0` - // Minimum execution time: 30_072_000 picoseconds. - Weight::from_parts(30_421_000, 0) + // Minimum execution time: 25_416_000 picoseconds. + Weight::from_parts(25_741_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } } diff --git a/pallets/stableswap/src/lib.rs b/pallets/stableswap/src/lib.rs index d4a1d0866..df13820ec 100644 --- a/pallets/stableswap/src/lib.rs +++ b/pallets/stableswap/src/lib.rs @@ -73,7 +73,7 @@ use hydra_dx_math::stableswap::types::AssetReserve; use hydradx_traits::pools::DustRemovalAccountWhitelist; use orml_traits::MultiCurrency; use sp_std::collections::btree_map::BTreeMap; -use weights::WeightInfo; +pub use weights::WeightInfo; #[cfg(test)] pub(crate) mod tests; diff --git a/pallets/stableswap/src/weights.rs b/pallets/stableswap/src/weights.rs index ed47df426..9d5f57226 100644 --- a/pallets/stableswap/src/weights.rs +++ b/pallets/stableswap/src/weights.rs @@ -1,5 +1,4 @@ // This file is part of HydraDX. -// This file is part of HydraDX. // Copyright (C) 2020-2023 Intergalactic, Limited (GIB). // SPDX-License-Identifier: Apache-2.0 @@ -18,25 +17,30 @@ //! Autogenerated weights for `pallet_stableswap` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-18, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-05-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=10 -// --repeat=30 // --wasm-execution=compiled -// --heap-pages=4096 -// --template=.maintain/pallet-weight-template-no-back.hbs -// --pallet=pallet-stableswap -// --output=weights-1.1.0/stableswap.rs -// --extrinsic=* +// --pallet +// * +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 +// --template=scripts/pallet-weight-template.hbs +// --output +// weights/ #![allow(unused_parens)] #![allow(unused_imports)] @@ -65,23 +69,21 @@ pub trait WeightInfo { } /// Weights for pallet_stableswap using the hydraDX node and recommended hardware. -pub struct HydraWeight(PhantomData); - -impl WeightInfo for HydraWeight { +impl WeightInfo for () { /// Storage: `Stableswap::Pools` (r:1 w:1) /// Proof: `Stableswap::Pools` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::Assets` (r:6 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `Duster::AccountBlacklist` (r:0 w:1) /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) fn create_pool() -> Weight { // Proof Size summary in bytes: - // Measured: `717` - // Estimated: `16362` - // Minimum execution time: 52_498_000 picoseconds. - Weight::from_parts(52_992_000, 16362) - .saturating_add(T::DbWeight::get().reads(7)) - .saturating_add(T::DbWeight::get().writes(2)) + // Measured: `855` + // Estimated: `16590` + // Minimum execution time: 42_284_000 picoseconds. + Weight::from_parts(42_906_000, 16590) + .saturating_add(RocksDbWeight::get().reads(7_u64)) + .saturating_add(RocksDbWeight::get().writes(2_u64)) } /// Storage: `Stableswap::Pools` (r:1 w:0) /// Proof: `Stableswap::Pools` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) @@ -89,353 +91,61 @@ impl WeightInfo for HydraWeight { /// Proof: `Stableswap::AssetTradability` (`max_values`: None, `max_size`: Some(41), added: 2516, mode: `MaxEncodedLen`) /// Storage: `Tokens::Accounts` (r:11 w:11) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::AssetMetadataMap` (r:5 w:0) - /// Proof: `AssetRegistry::AssetMetadataMap` (`max_values`: None, `max_size`: Some(46), added: 2521, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:6 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `Tokens::TotalIssuance` (r:1 w:1) /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:6 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::BannedAssets` (r:6 w:0) + /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:0) /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `Duster::AccountBlacklist` (r:1 w:0) + /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// Storage: `EmaOracle::Accumulator` (r:1 w:1) /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) fn add_liquidity() -> Weight { // Proof Size summary in bytes: - // Measured: `3168` + // Measured: `3471` // Estimated: `29403` - // Minimum execution time: 1_087_109_000 picoseconds. - Weight::from_parts(1_090_256_000, 29403) - .saturating_add(T::DbWeight::get().reads(33)) - .saturating_add(T::DbWeight::get().writes(14)) - } - /// Storage: `Stableswap::Pools` (r:1 w:0) - /// Proof: `Stableswap::Pools` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) - /// Storage: `Tokens::TotalIssuance` (r:1 w:1) - /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) - /// Storage: `Tokens::Accounts` (r:7 w:3) - /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::AssetMetadataMap` (r:5 w:0) - /// Proof: `AssetRegistry::AssetMetadataMap` (`max_values`: None, `max_size`: Some(46), added: 2521, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:0) - /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) - /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) - /// Storage: `EmaOracle::Accumulator` (r:1 w:1) - /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) - fn add_liquidity_shares() -> Weight { - // Proof Size summary in bytes: - // Measured: `3014` - // Estimated: `19071` - // Minimum execution time: 739_668_000 picoseconds. - Weight::from_parts(743_517_000, 19071) - .saturating_add(T::DbWeight::get().reads(20)) - .saturating_add(T::DbWeight::get().writes(6)) + // Minimum execution time: 1_342_534_000 picoseconds. + Weight::from_parts(1_346_186_000, 29403) + .saturating_add(RocksDbWeight::get().reads(35_u64)) + .saturating_add(RocksDbWeight::get().writes(14_u64)) } /// Storage: `Stableswap::AssetTradability` (r:1 w:0) /// Proof: `Stableswap::AssetTradability` (`max_values`: None, `max_size`: Some(41), added: 2516, mode: `MaxEncodedLen`) - /// Storage: `Tokens::Accounts` (r:7 w:3) - /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `Stableswap::Pools` (r:1 w:0) /// Proof: `Stableswap::Pools` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::AssetMetadataMap` (r:5 w:0) - /// Proof: `AssetRegistry::AssetMetadataMap` (`max_values`: None, `max_size`: Some(46), added: 2521, mode: `MaxEncodedLen`) /// Storage: `Tokens::TotalIssuance` (r:1 w:1) /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) - /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) - /// Storage: `EmaOracle::Accumulator` (r:1 w:1) - /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:0 w:1) - /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - fn remove_liquidity_one_asset() -> Weight { - // Proof Size summary in bytes: - // Measured: `3017` - // Estimated: `19071` - // Minimum execution time: 777_557_000 picoseconds. - Weight::from_parts(781_094_000, 19071) - .saturating_add(T::DbWeight::get().reads(21)) - .saturating_add(T::DbWeight::get().writes(7)) - } - /// Storage: `Stableswap::AssetTradability` (r:1 w:0) - /// Proof: `Stableswap::AssetTradability` (`max_values`: None, `max_size`: Some(41), added: 2516, mode: `MaxEncodedLen`) - /// Storage: `Stableswap::Pools` (r:1 w:0) - /// Proof: `Stableswap::Pools` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) /// Storage: `Tokens::Accounts` (r:7 w:3) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::AssetMetadataMap` (r:5 w:0) - /// Proof: `AssetRegistry::AssetMetadataMap` (`max_values`: None, `max_size`: Some(46), added: 2521, mode: `MaxEncodedLen`) - /// Storage: `Tokens::TotalIssuance` (r:1 w:1) - /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:0) - /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) - /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) - /// Storage: `EmaOracle::Accumulator` (r:1 w:1) - /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) - fn withdraw_asset_amount() -> Weight { - // Proof Size summary in bytes: - // Measured: `3017` - // Estimated: `19071` - // Minimum execution time: 1_041_027_000 picoseconds. - Weight::from_parts(1_050_193_000, 19071) - .saturating_add(T::DbWeight::get().reads(22)) - .saturating_add(T::DbWeight::get().writes(6)) - } - /// Storage: `Stableswap::AssetTradability` (r:2 w:0) - /// Proof: `Stableswap::AssetTradability` (`max_values`: None, `max_size`: Some(41), added: 2516, mode: `MaxEncodedLen`) - /// Storage: `Tokens::Accounts` (r:7 w:4) - /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) - /// Storage: `Stableswap::Pools` (r:1 w:0) - /// Proof: `Stableswap::Pools` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::AssetMetadataMap` (r:5 w:0) - /// Proof: `AssetRegistry::AssetMetadataMap` (`max_values`: None, `max_size`: Some(46), added: 2521, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) - /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) - /// Storage: `Tokens::TotalIssuance` (r:1 w:0) - /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) - /// Storage: `EmaOracle::Accumulator` (r:1 w:1) - /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:0 w:1) - /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - fn sell() -> Weight { - // Proof Size summary in bytes: - // Measured: `3043` - // Estimated: `19071` - // Minimum execution time: 730_301_000 picoseconds. - Weight::from_parts(735_887_000, 19071) - .saturating_add(T::DbWeight::get().reads(22)) - .saturating_add(T::DbWeight::get().writes(7)) - } - /// Storage: `Stableswap::AssetTradability` (r:2 w:0) - /// Proof: `Stableswap::AssetTradability` (`max_values`: None, `max_size`: Some(41), added: 2516, mode: `MaxEncodedLen`) - /// Storage: `Stableswap::Pools` (r:1 w:0) - /// Proof: `Stableswap::Pools` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) - /// Storage: `Tokens::Accounts` (r:7 w:4) - /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::AssetMetadataMap` (r:5 w:0) - /// Proof: `AssetRegistry::AssetMetadataMap` (`max_values`: None, `max_size`: Some(46), added: 2521, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:0) - /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) - /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) - /// Storage: `Tokens::TotalIssuance` (r:1 w:0) - /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) - /// Storage: `EmaOracle::Accumulator` (r:1 w:1) - /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) - fn buy() -> Weight { - // Proof Size summary in bytes: - // Measured: `3013` - // Estimated: `19071` - // Minimum execution time: 710_874_000 picoseconds. - Weight::from_parts(714_006_000, 19071) - .saturating_add(T::DbWeight::get().reads(23)) - .saturating_add(T::DbWeight::get().writes(6)) - } - /// Storage: `Stableswap::Pools` (r:1 w:0) - /// Proof: `Stableswap::Pools` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) - /// Storage: `Stableswap::AssetTradability` (r:1 w:1) - /// Proof: `Stableswap::AssetTradability` (`max_values`: None, `max_size`: Some(41), added: 2516, mode: `MaxEncodedLen`) - fn set_asset_tradable_state() -> Weight { - // Proof Size summary in bytes: - // Measured: `291` - // Estimated: `3522` - // Minimum execution time: 25_547_000 picoseconds. - Weight::from_parts(25_951_000, 3522) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) - } - /// Storage: `Stableswap::Pools` (r:1 w:1) - /// Proof: `Stableswap::Pools` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) - fn update_pool_fee() -> Weight { - // Proof Size summary in bytes: - // Measured: `291` - // Estimated: `3522` - // Minimum execution time: 23_026_000 picoseconds. - Weight::from_parts(23_457_000, 3522) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) - } - /// Storage: `Stableswap::Pools` (r:1 w:1) - /// Proof: `Stableswap::Pools` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) - fn update_amplification() -> Weight { - // Proof Size summary in bytes: - // Measured: `291` - // Estimated: `3522` - // Minimum execution time: 24_839_000 picoseconds. - Weight::from_parts(25_332_000, 3522) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) - } - /// Storage: `Stableswap::Pools` (r:1 w:0) - /// Proof: `Stableswap::Pools` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) - /// Storage: `Tokens::Accounts` (r:7 w:4) - /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::AssetMetadataMap` (r:5 w:0) - /// Proof: `AssetRegistry::AssetMetadataMap` (`max_values`: None, `max_size`: Some(46), added: 2521, mode: `MaxEncodedLen`) - /// Storage: `Stableswap::AssetTradability` (r:2 w:0) - /// Proof: `Stableswap::AssetTradability` (`max_values`: None, `max_size`: Some(41), added: 2516, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) - /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) - /// Storage: `Tokens::TotalIssuance` (r:1 w:0) - /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) - /// Storage: `EmaOracle::Accumulator` (r:1 w:1) - /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:0 w:1) - /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// The range of component `c` is `[1, 2]`. - /// The range of component `e` is `[0, 1]`. - fn router_execution_sell(_c: u32, e: u32) -> Weight { - // Proof Size summary in bytes: - // Measured: `1276 + e * (1767 ±0)` - // Estimated: `13905 + e * (5797 ±124_823_812_913_251_024)` - // Minimum execution time: 305_934_000 picoseconds. - Weight::from_parts(312_030_194, 13905) - // Standard Error: 324_777 - .saturating_add(Weight::from_parts(704_923_524, 0).saturating_mul(e.into())) - .saturating_add(T::DbWeight::get().reads(11)) - .saturating_add(T::DbWeight::get().reads((11_u64).saturating_mul(e.into()))) - .saturating_add(T::DbWeight::get().writes((7_u64).saturating_mul(e.into()))) - .saturating_add(Weight::from_parts(0, 5797).saturating_mul(e.into())) - } - /// Storage: `Stableswap::Pools` (r:1 w:0) - /// Proof: `Stableswap::Pools` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) - /// Storage: `Tokens::Accounts` (r:7 w:4) - /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::AssetMetadataMap` (r:5 w:0) - /// Proof: `AssetRegistry::AssetMetadataMap` (`max_values`: None, `max_size`: Some(46), added: 2521, mode: `MaxEncodedLen`) - /// Storage: `Stableswap::AssetTradability` (r:2 w:0) - /// Proof: `Stableswap::AssetTradability` (`max_values`: None, `max_size`: Some(41), added: 2516, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:0) - /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) - /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) - /// Storage: `Tokens::TotalIssuance` (r:1 w:0) - /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) - /// Storage: `EmaOracle::Accumulator` (r:1 w:1) - /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) - /// The range of component `c` is `[1, 2]`. - /// The range of component `e` is `[0, 1]`. - fn router_execution_buy(c: u32, e: u32) -> Weight { - // Proof Size summary in bytes: - // Measured: `1275 + e * (1738 ±0)` - // Estimated: `13905 + e * (5797 ±201_913_854_157_949_888)` - // Minimum execution time: 304_954_000 picoseconds. - Weight::from_parts(306_226_000, 13905) - // Standard Error: 3_224_854 - .saturating_add(Weight::from_parts(12_176_535, 0).saturating_mul(c.into())) - // Standard Error: 7_079_475 - .saturating_add(Weight::from_parts(445_329_428, 0).saturating_mul(e.into())) - .saturating_add(T::DbWeight::get().reads(11)) - .saturating_add(T::DbWeight::get().reads((12_u64).saturating_mul(e.into()))) - .saturating_add(T::DbWeight::get().writes((6_u64).saturating_mul(e.into()))) - .saturating_add(Weight::from_parts(0, 5797).saturating_mul(e.into())) - } -} - -// For backwards compatibility and tests -impl WeightInfo for () { - /// Storage: `Stableswap::Pools` (r:1 w:1) - /// Proof: `Stableswap::Pools` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:6 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) - /// Storage: `Duster::AccountBlacklist` (r:0 w:1) - /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - fn create_pool() -> Weight { - // Proof Size summary in bytes: - // Measured: `717` - // Estimated: `16362` - // Minimum execution time: 52_498_000 picoseconds. - Weight::from_parts(52_992_000, 16362) - .saturating_add(RocksDbWeight::get().reads(7)) - .saturating_add(RocksDbWeight::get().writes(2)) - } - /// Storage: `Stableswap::Pools` (r:1 w:0) - /// Proof: `Stableswap::Pools` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) - /// Storage: `Stableswap::AssetTradability` (r:5 w:0) - /// Proof: `Stableswap::AssetTradability` (`max_values`: None, `max_size`: Some(41), added: 2516, mode: `MaxEncodedLen`) - /// Storage: `Tokens::Accounts` (r:11 w:11) - /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::AssetMetadataMap` (r:5 w:0) - /// Proof: `AssetRegistry::AssetMetadataMap` (`max_values`: None, `max_size`: Some(46), added: 2521, mode: `MaxEncodedLen`) - /// Storage: `Tokens::TotalIssuance` (r:1 w:1) - /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::Assets` (r:6 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:0) - /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) - /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) - /// Storage: `EmaOracle::Accumulator` (r:1 w:1) - /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) - fn add_liquidity() -> Weight { - // Proof Size summary in bytes: - // Measured: `3168` - // Estimated: `29403` - // Minimum execution time: 1_087_109_000 picoseconds. - Weight::from_parts(1_090_256_000, 29403) - .saturating_add(RocksDbWeight::get().reads(33)) - .saturating_add(RocksDbWeight::get().writes(14)) - } - /// Storage: `Stableswap::Pools` (r:1 w:0) - /// Proof: `Stableswap::Pools` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) - /// Storage: `Tokens::TotalIssuance` (r:1 w:1) - /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) - /// Storage: `Tokens::Accounts` (r:7 w:3) - /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::AssetMetadataMap` (r:5 w:0) - /// Proof: `AssetRegistry::AssetMetadataMap` (`max_values`: None, `max_size`: Some(46), added: 2521, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::BannedAssets` (r:2 w:0) + /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:0) /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `Duster::AccountBlacklist` (r:1 w:0) + /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// Storage: `EmaOracle::Accumulator` (r:1 w:1) /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) fn add_liquidity_shares() -> Weight { // Proof Size summary in bytes: - // Measured: `3014` + // Measured: `3339` // Estimated: `19071` - // Minimum execution time: 739_668_000 picoseconds. - Weight::from_parts(743_517_000, 19071) - .saturating_add(RocksDbWeight::get().reads(20)) - .saturating_add(RocksDbWeight::get().writes(6)) + // Minimum execution time: 896_494_000 picoseconds. + Weight::from_parts(900_100_000, 19071) + .saturating_add(RocksDbWeight::get().reads(23_u64)) + .saturating_add(RocksDbWeight::get().writes(6_u64)) } /// Storage: `Stableswap::AssetTradability` (r:1 w:0) /// Proof: `Stableswap::AssetTradability` (`max_values`: None, `max_size`: Some(41), added: 2516, mode: `MaxEncodedLen`) @@ -443,14 +153,16 @@ impl WeightInfo for () { /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `Stableswap::Pools` (r:1 w:0) /// Proof: `Stableswap::Pools` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::AssetMetadataMap` (r:5 w:0) - /// Proof: `AssetRegistry::AssetMetadataMap` (`max_values`: None, `max_size`: Some(46), added: 2521, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:6 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `Tokens::TotalIssuance` (r:1 w:1) /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:2 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Duster::AccountBlacklist` (r:1 w:0) + /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::BannedAssets` (r:1 w:0) + /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) /// Storage: `EmaOracle::Accumulator` (r:1 w:1) @@ -459,12 +171,12 @@ impl WeightInfo for () { /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) fn remove_liquidity_one_asset() -> Weight { // Proof Size summary in bytes: - // Measured: `3017` + // Measured: `3363` // Estimated: `19071` - // Minimum execution time: 777_557_000 picoseconds. - Weight::from_parts(781_094_000, 19071) - .saturating_add(RocksDbWeight::get().reads(21)) - .saturating_add(RocksDbWeight::get().writes(7)) + // Minimum execution time: 921_757_000 picoseconds. + Weight::from_parts(924_632_000, 19071) + .saturating_add(RocksDbWeight::get().reads(22_u64)) + .saturating_add(RocksDbWeight::get().writes(7_u64)) } /// Storage: `Stableswap::AssetTradability` (r:1 w:0) /// Proof: `Stableswap::AssetTradability` (`max_values`: None, `max_size`: Some(41), added: 2516, mode: `MaxEncodedLen`) @@ -472,12 +184,14 @@ impl WeightInfo for () { /// Proof: `Stableswap::Pools` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) /// Storage: `Tokens::Accounts` (r:7 w:3) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::AssetMetadataMap` (r:5 w:0) - /// Proof: `AssetRegistry::AssetMetadataMap` (`max_values`: None, `max_size`: Some(46), added: 2521, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:6 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `Tokens::TotalIssuance` (r:1 w:1) /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `Duster::AccountBlacklist` (r:1 w:0) + /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::BannedAssets` (r:1 w:0) + /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:2 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:0) @@ -488,12 +202,12 @@ impl WeightInfo for () { /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) fn withdraw_asset_amount() -> Weight { // Proof Size summary in bytes: - // Measured: `3017` + // Measured: `3363` // Estimated: `19071` - // Minimum execution time: 1_041_027_000 picoseconds. - Weight::from_parts(1_050_193_000, 19071) - .saturating_add(RocksDbWeight::get().reads(22)) - .saturating_add(RocksDbWeight::get().writes(6)) + // Minimum execution time: 1_266_805_000 picoseconds. + Weight::from_parts(1_272_407_000, 19071) + .saturating_add(RocksDbWeight::get().reads(23_u64)) + .saturating_add(RocksDbWeight::get().writes(6_u64)) } /// Storage: `Stableswap::AssetTradability` (r:2 w:0) /// Proof: `Stableswap::AssetTradability` (`max_values`: None, `max_size`: Some(41), added: 2516, mode: `MaxEncodedLen`) @@ -501,10 +215,12 @@ impl WeightInfo for () { /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `Stableswap::Pools` (r:1 w:0) /// Proof: `Stableswap::Pools` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::AssetMetadataMap` (r:5 w:0) - /// Proof: `AssetRegistry::AssetMetadataMap` (`max_values`: None, `max_size`: Some(46), added: 2521, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:6 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) + /// Storage: `Duster::AccountBlacklist` (r:2 w:0) + /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::BannedAssets` (r:2 w:0) + /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:2 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) @@ -517,12 +233,12 @@ impl WeightInfo for () { /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) fn sell() -> Weight { // Proof Size summary in bytes: - // Measured: `3043` + // Measured: `3426` // Estimated: `19071` - // Minimum execution time: 730_301_000 picoseconds. - Weight::from_parts(735_887_000, 19071) - .saturating_add(RocksDbWeight::get().reads(22)) - .saturating_add(RocksDbWeight::get().writes(7)) + // Minimum execution time: 863_718_000 picoseconds. + Weight::from_parts(866_668_000, 19071) + .saturating_add(RocksDbWeight::get().reads(25_u64)) + .saturating_add(RocksDbWeight::get().writes(7_u64)) } /// Storage: `Stableswap::AssetTradability` (r:2 w:0) /// Proof: `Stableswap::AssetTradability` (`max_values`: None, `max_size`: Some(41), added: 2516, mode: `MaxEncodedLen`) @@ -530,10 +246,12 @@ impl WeightInfo for () { /// Proof: `Stableswap::Pools` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) /// Storage: `Tokens::Accounts` (r:7 w:4) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::AssetMetadataMap` (r:5 w:0) - /// Proof: `AssetRegistry::AssetMetadataMap` (`max_values`: None, `max_size`: Some(46), added: 2521, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:6 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) + /// Storage: `Duster::AccountBlacklist` (r:2 w:0) + /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::BannedAssets` (r:2 w:0) + /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:2 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:0) @@ -546,12 +264,12 @@ impl WeightInfo for () { /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) fn buy() -> Weight { // Proof Size summary in bytes: - // Measured: `3013` + // Measured: `3396` // Estimated: `19071` - // Minimum execution time: 710_874_000 picoseconds. - Weight::from_parts(714_006_000, 19071) - .saturating_add(RocksDbWeight::get().reads(23)) - .saturating_add(RocksDbWeight::get().writes(6)) + // Minimum execution time: 846_241_000 picoseconds. + Weight::from_parts(850_907_000, 19071) + .saturating_add(RocksDbWeight::get().reads(26_u64)) + .saturating_add(RocksDbWeight::get().writes(6_u64)) } /// Storage: `Stableswap::Pools` (r:1 w:0) /// Proof: `Stableswap::Pools` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) @@ -561,10 +279,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `291` // Estimated: `3522` - // Minimum execution time: 25_547_000 picoseconds. - Weight::from_parts(25_951_000, 3522) - .saturating_add(RocksDbWeight::get().reads(2)) - .saturating_add(RocksDbWeight::get().writes(1)) + // Minimum execution time: 20_725_000 picoseconds. + Weight::from_parts(21_012_000, 3522) + .saturating_add(RocksDbWeight::get().reads(2_u64)) + .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `Stableswap::Pools` (r:1 w:1) /// Proof: `Stableswap::Pools` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) @@ -572,10 +290,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `291` // Estimated: `3522` - // Minimum execution time: 23_026_000 picoseconds. - Weight::from_parts(23_457_000, 3522) - .saturating_add(RocksDbWeight::get().reads(1)) - .saturating_add(RocksDbWeight::get().writes(1)) + // Minimum execution time: 18_190_000 picoseconds. + Weight::from_parts(18_524_000, 3522) + .saturating_add(RocksDbWeight::get().reads(1_u64)) + .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `Stableswap::Pools` (r:1 w:1) /// Proof: `Stableswap::Pools` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) @@ -583,21 +301,23 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `291` // Estimated: `3522` - // Minimum execution time: 24_839_000 picoseconds. - Weight::from_parts(25_332_000, 3522) - .saturating_add(RocksDbWeight::get().reads(1)) - .saturating_add(RocksDbWeight::get().writes(1)) + // Minimum execution time: 19_133_000 picoseconds. + Weight::from_parts(19_315_000, 3522) + .saturating_add(RocksDbWeight::get().reads(1_u64)) + .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `Stableswap::Pools` (r:1 w:0) /// Proof: `Stableswap::Pools` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) /// Storage: `Tokens::Accounts` (r:7 w:4) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::AssetMetadataMap` (r:5 w:0) - /// Proof: `AssetRegistry::AssetMetadataMap` (`max_values`: None, `max_size`: Some(46), added: 2521, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:6 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `Stableswap::AssetTradability` (r:2 w:0) /// Proof: `Stableswap::AssetTradability` (`max_values`: None, `max_size`: Some(41), added: 2516, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `Duster::AccountBlacklist` (r:2 w:0) + /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::BannedAssets` (r:2 w:0) + /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:2 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) @@ -610,29 +330,33 @@ impl WeightInfo for () { /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 2]`. /// The range of component `e` is `[0, 1]`. - fn router_execution_sell(_c: u32, e: u32) -> Weight { + fn router_execution_sell(c: u32, e: u32) -> Weight { // Proof Size summary in bytes: - // Measured: `1276 + e * (1767 ±0)` - // Estimated: `13905 + e * (5797 ±124_823_812_913_251_024)` - // Minimum execution time: 305_934_000 picoseconds. - Weight::from_parts(312_030_194, 13905) - // Standard Error: 324_777 - .saturating_add(Weight::from_parts(704_923_524, 0).saturating_mul(e.into())) - .saturating_add(RocksDbWeight::get().reads(11)) - .saturating_add(RocksDbWeight::get().reads((11_u64).saturating_mul(e.into()))) + // Measured: `1621 + e * (1805 ±0)` + // Estimated: `13990 + e * (5166 ±0)` + // Minimum execution time: 376_396_000 picoseconds. + Weight::from_parts(353_453_826, 13990) + // Standard Error: 838_992 + .saturating_add(Weight::from_parts(12_974_831, 0).saturating_mul(c.into())) + // Standard Error: 838_992 + .saturating_add(Weight::from_parts(852_434_060, 0).saturating_mul(e.into())) + .saturating_add(RocksDbWeight::get().reads(11_u64)) + .saturating_add(RocksDbWeight::get().reads((14_u64).saturating_mul(e.into()))) .saturating_add(RocksDbWeight::get().writes((7_u64).saturating_mul(e.into()))) - .saturating_add(Weight::from_parts(0, 5797).saturating_mul(e.into())) + .saturating_add(Weight::from_parts(0, 5166).saturating_mul(e.into())) } /// Storage: `Stableswap::Pools` (r:1 w:0) /// Proof: `Stableswap::Pools` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) /// Storage: `Tokens::Accounts` (r:7 w:4) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::AssetMetadataMap` (r:5 w:0) - /// Proof: `AssetRegistry::AssetMetadataMap` (`max_values`: None, `max_size`: Some(46), added: 2521, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:6 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `Stableswap::AssetTradability` (r:2 w:0) /// Proof: `Stableswap::AssetTradability` (`max_values`: None, `max_size`: Some(41), added: 2516, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) + /// Storage: `Duster::AccountBlacklist` (r:2 w:0) + /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::BannedAssets` (r:2 w:0) + /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:2 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:0) @@ -647,17 +371,17 @@ impl WeightInfo for () { /// The range of component `e` is `[0, 1]`. fn router_execution_buy(c: u32, e: u32) -> Weight { // Proof Size summary in bytes: - // Measured: `1275 + e * (1738 ±0)` - // Estimated: `13905 + e * (5797 ±201_913_854_157_949_888)` - // Minimum execution time: 304_954_000 picoseconds. - Weight::from_parts(306_226_000, 13905) - // Standard Error: 3_224_854 - .saturating_add(Weight::from_parts(12_176_535, 0).saturating_mul(c.into())) - // Standard Error: 7_079_475 - .saturating_add(Weight::from_parts(445_329_428, 0).saturating_mul(e.into())) - .saturating_add(RocksDbWeight::get().reads(11)) - .saturating_add(RocksDbWeight::get().reads((12_u64).saturating_mul(e.into()))) + // Measured: `1620 + e * (1776 ±0)` + // Estimated: `13990 + e * (5166 ±0)` + // Minimum execution time: 375_050_000 picoseconds. + Weight::from_parts(376_366_000, 13990) + // Standard Error: 1_073_561 + .saturating_add(Weight::from_parts(3_994_783, 0).saturating_mul(c.into())) + // Standard Error: 2_391_123 + .saturating_add(Weight::from_parts(488_537_240, 0).saturating_mul(e.into())) + .saturating_add(RocksDbWeight::get().reads(11_u64)) + .saturating_add(RocksDbWeight::get().reads((15_u64).saturating_mul(e.into()))) .saturating_add(RocksDbWeight::get().writes((6_u64).saturating_mul(e.into()))) - .saturating_add(Weight::from_parts(0, 5797).saturating_mul(e.into())) + .saturating_add(Weight::from_parts(0, 5166).saturating_mul(e.into())) } } diff --git a/pallets/staking/src/weights.rs b/pallets/staking/src/weights.rs index 42d55e902..3dbc3adca 100644 --- a/pallets/staking/src/weights.rs +++ b/pallets/staking/src/weights.rs @@ -17,27 +17,30 @@ //! Autogenerated weights for `pallet_staking` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-12, STEPS: `5`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-05-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --pallet=pallet-staking // --wasm-execution=compiled -// --heap-pages=4096 -// --chain=dev -// --extrinsic=* -// --steps=5 -// --repeat=20 +// --pallet +// * +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 +// --template=scripts/pallet-weight-template.hbs // --output -// ./weights-1.1.0/staking.rs -// --template -// .maintain/pallet-weight-template-no-back.hbs +// weights/ #![allow(unused_parens)] #![allow(unused_imports)] @@ -59,139 +62,6 @@ pub trait WeightInfo { } /// Weights for pallet_staking using the hydraDX node and recommended hardware. -pub struct HydraWeight(PhantomData); - -impl WeightInfo for HydraWeight { - /// Storage: `Staking::Staking` (r:1 w:1) - /// Proof: `Staking::Staking` (`max_values`: Some(1), `max_size`: Some(48), added: 543, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:0) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `Uniques::Class` (r:1 w:1) - /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(190), added: 2665, mode: `MaxEncodedLen`) - /// Storage: `Uniques::ClassAccount` (r:0 w:1) - /// Proof: `Uniques::ClassAccount` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) - fn initialize_staking() -> Weight { - // Proof Size summary in bytes: - // Measured: `513` - // Estimated: `3655` - // Minimum execution time: 46_433_000 picoseconds. - Weight::from_parts(47_121_000, 3655) - .saturating_add(T::DbWeight::get().reads(3_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) - } - /// Storage: `Staking::Staking` (r:1 w:1) - /// Proof: `Staking::Staking` (`max_values`: Some(1), `max_size`: Some(48), added: 543, mode: `MaxEncodedLen`) - /// Storage: `Uniques::Account` (r:1 w:1) - /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `Balances::Locks` (r:1 w:1) - /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) - /// Storage: `Staking::NextPositionId` (r:1 w:1) - /// Proof: `Staking::NextPositionId` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) - /// Storage: `Uniques::Asset` (r:1 w:1) - /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) - /// Storage: `Uniques::Class` (r:1 w:1) - /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(190), added: 2665, mode: `MaxEncodedLen`) - /// Storage: `Uniques::CollectionMaxSupply` (r:1 w:0) - /// Proof: `Uniques::CollectionMaxSupply` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) - /// Storage: `Balances::Freezes` (r:1 w:0) - /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) - /// Storage: `Staking::Positions` (r:0 w:1) - /// Proof: `Staking::Positions` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - fn stake() -> Weight { - // Proof Size summary in bytes: - // Measured: `1240` - // Estimated: `6196` - // Minimum execution time: 113_477_000 picoseconds. - Weight::from_parts(114_557_000, 6196) - .saturating_add(T::DbWeight::get().reads(10_u64)) - .saturating_add(T::DbWeight::get().writes(8_u64)) - } - /// Storage: `Staking::Staking` (r:1 w:1) - /// Proof: `Staking::Staking` (`max_values`: Some(1), `max_size`: Some(48), added: 543, mode: `MaxEncodedLen`) - /// Storage: `Uniques::Asset` (r:1 w:0) - /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:2) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `Staking::Positions` (r:1 w:1) - /// Proof: `Staking::Positions` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Balances::Locks` (r:1 w:1) - /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) - /// Storage: `Staking::PositionVotes` (r:1 w:1) - /// Proof: `Staking::PositionVotes` (`max_values`: None, `max_size`: Some(2134), added: 4609, mode: `MaxEncodedLen`) - /// Storage: `Democracy::ReferendumInfoOf` (r:100 w:0) - /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) - /// Storage: `Balances::Freezes` (r:1 w:0) - /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) - fn increase_stake() -> Weight { - // Proof Size summary in bytes: - // Measured: `3379` - // Estimated: `268590` - // Minimum execution time: 297_204_000 picoseconds. - Weight::from_parts(300_714_000, 268590) - .saturating_add(T::DbWeight::get().reads(108_u64)) - .saturating_add(T::DbWeight::get().writes(6_u64)) - } - /// Storage: `Staking::Staking` (r:1 w:1) - /// Proof: `Staking::Staking` (`max_values`: Some(1), `max_size`: Some(48), added: 543, mode: `MaxEncodedLen`) - /// Storage: `Uniques::Asset` (r:1 w:0) - /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:2) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `Staking::Positions` (r:1 w:1) - /// Proof: `Staking::Positions` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Staking::PositionVotes` (r:1 w:1) - /// Proof: `Staking::PositionVotes` (`max_values`: None, `max_size`: Some(2134), added: 4609, mode: `MaxEncodedLen`) - /// Storage: `Democracy::ReferendumInfoOf` (r:100 w:0) - /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) - /// Storage: `Balances::Locks` (r:1 w:1) - /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) - /// Storage: `Balances::Freezes` (r:1 w:0) - /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) - fn claim() -> Weight { - // Proof Size summary in bytes: - // Measured: `3379` - // Estimated: `268590` - // Minimum execution time: 291_136_000 picoseconds. - Weight::from_parts(294_313_000, 268590) - .saturating_add(T::DbWeight::get().reads(108_u64)) - .saturating_add(T::DbWeight::get().writes(6_u64)) - } - /// Storage: `Staking::Staking` (r:1 w:1) - /// Proof: `Staking::Staking` (`max_values`: Some(1), `max_size`: Some(48), added: 543, mode: `MaxEncodedLen`) - /// Storage: `Uniques::Asset` (r:1 w:1) - /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:2) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `Staking::Positions` (r:1 w:1) - /// Proof: `Staking::Positions` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) - /// Storage: `Staking::PositionVotes` (r:1 w:1) - /// Proof: `Staking::PositionVotes` (`max_values`: None, `max_size`: Some(2134), added: 4609, mode: `MaxEncodedLen`) - /// Storage: `Democracy::ReferendumInfoOf` (r:100 w:0) - /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) - /// Storage: `Uniques::Class` (r:1 w:1) - /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(190), added: 2665, mode: `MaxEncodedLen`) - /// Storage: `Balances::Locks` (r:1 w:1) - /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) - /// Storage: `Balances::Freezes` (r:1 w:0) - /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) - /// Storage: `Uniques::Account` (r:0 w:1) - /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) - /// Storage: `Uniques::ItemPriceOf` (r:0 w:1) - /// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(113), added: 2588, mode: `MaxEncodedLen`) - fn unstake() -> Weight { - // Proof Size summary in bytes: - // Measured: `3598` - // Estimated: `268590` - // Minimum execution time: 330_733_000 picoseconds. - Weight::from_parts(334_301_000, 268590) - .saturating_add(T::DbWeight::get().reads(109_u64)) - .saturating_add(T::DbWeight::get().writes(10_u64)) - } -} - -// For backwards compatibility and tests impl WeightInfo for () { /// Storage: `Staking::Staking` (r:1 w:1) /// Proof: `Staking::Staking` (`max_values`: Some(1), `max_size`: Some(48), added: 543, mode: `MaxEncodedLen`) @@ -203,10 +73,10 @@ impl WeightInfo for () { /// Proof: `Uniques::ClassAccount` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) fn initialize_staking() -> Weight { // Proof Size summary in bytes: - // Measured: `513` + // Measured: `516` // Estimated: `3655` - // Minimum execution time: 46_433_000 picoseconds. - Weight::from_parts(47_121_000, 3655) + // Minimum execution time: 35_209_000 picoseconds. + Weight::from_parts(35_707_000, 3655) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -232,10 +102,10 @@ impl WeightInfo for () { /// Proof: `Staking::Positions` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) fn stake() -> Weight { // Proof Size summary in bytes: - // Measured: `1240` + // Measured: `1274` // Estimated: `6196` - // Minimum execution time: 113_477_000 picoseconds. - Weight::from_parts(114_557_000, 6196) + // Minimum execution time: 89_042_000 picoseconds. + Weight::from_parts(90_537_000, 6196) .saturating_add(RocksDbWeight::get().reads(10_u64)) .saturating_add(RocksDbWeight::get().writes(8_u64)) } @@ -259,8 +129,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `3379` // Estimated: `268590` - // Minimum execution time: 297_204_000 picoseconds. - Weight::from_parts(300_714_000, 268590) + // Minimum execution time: 254_275_000 picoseconds. + Weight::from_parts(258_360_000, 268590) .saturating_add(RocksDbWeight::get().reads(108_u64)) .saturating_add(RocksDbWeight::get().writes(6_u64)) } @@ -284,8 +154,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `3379` // Estimated: `268590` - // Minimum execution time: 291_136_000 picoseconds. - Weight::from_parts(294_313_000, 268590) + // Minimum execution time: 249_197_000 picoseconds. + Weight::from_parts(252_012_000, 268590) .saturating_add(RocksDbWeight::get().reads(108_u64)) .saturating_add(RocksDbWeight::get().writes(6_u64)) } @@ -313,10 +183,10 @@ impl WeightInfo for () { /// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(113), added: 2588, mode: `MaxEncodedLen`) fn unstake() -> Weight { // Proof Size summary in bytes: - // Measured: `3598` + // Measured: `3632` // Estimated: `268590` - // Minimum execution time: 330_733_000 picoseconds. - Weight::from_parts(334_301_000, 268590) + // Minimum execution time: 276_577_000 picoseconds. + Weight::from_parts(280_091_000, 268590) .saturating_add(RocksDbWeight::get().reads(109_u64)) .saturating_add(RocksDbWeight::get().writes(10_u64)) } diff --git a/pallets/transaction-multi-payment/src/weights.rs b/pallets/transaction-multi-payment/src/weights.rs index b00df3764..2a5d51b51 100644 --- a/pallets/transaction-multi-payment/src/weights.rs +++ b/pallets/transaction-multi-payment/src/weights.rs @@ -1,6 +1,6 @@ // This file is part of HydraDX. -// Copyright (C) 2020-2024 Intergalactic, Limited (GIB). +// Copyright (C) 2020-2023 Intergalactic, Limited (GIB). // SPDX-License-Identifier: Apache-2.0 // Licensed under the Apache License, Version 2.0 (the "License"); @@ -17,25 +17,30 @@ //! Autogenerated weights for `pallet_transaction_multi_payment` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-17, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-05-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=10 -// --repeat=30 // --wasm-execution=compiled -// --heap-pages=4096 -// --template=.maintain/pallet-weight-template-no-back.hbs -// --pallet=pallet-transaction-multi-payment -// --output=weights-1.1.0/payment.rs -// --extrinsic=* +// --pallet +// * +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 +// --template=scripts/pallet-weight-template.hbs +// --output +// weights/ #![allow(unused_parens)] #![allow(unused_imports)] @@ -57,95 +62,28 @@ pub trait WeightInfo { } /// Weights for pallet_transaction_multi_payment using the hydraDX node and recommended hardware. -pub struct HydraWeight(PhantomData); - -impl WeightInfo for HydraWeight { - /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:1) - /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) - fn add_currency() -> Weight { - // Proof Size summary in bytes: - // Measured: `1176` - // Estimated: `3493` - // Minimum execution time: 24_548_000 picoseconds. - Weight::from_parts(25_118_000, 3493) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) - } - /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:1) - /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) - fn remove_currency() -> Weight { - // Proof Size summary in bytes: - // Measured: `1207` - // Estimated: `3493` - // Minimum execution time: 25_178_000 picoseconds. - Weight::from_parts(25_545_000, 3493) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) - } - /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) - /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:0 w:1) - /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - fn set_currency() -> Weight { - // Proof Size summary in bytes: - // Measured: `1241` - // Estimated: `3493` - // Minimum execution time: 31_064_000 picoseconds. - Weight::from_parts(31_466_000, 3493) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) - } - /// Storage: `Router::Routes` (r:1 w:0) - /// Proof: `Router::Routes` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) - /// Storage: `EmaOracle::Oracles` (r:10 w:0) - /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) - fn get_oracle_price() -> Weight { - // Proof Size summary in bytes: - // Measured: `3221` - // Estimated: `27510` - // Minimum execution time: 93_281_000 picoseconds. - Weight::from_parts(94_259_000, 27510).saturating_add(T::DbWeight::get().reads(11)) - } - /// Storage: `AssetRegistry::NextAssetId` (r:1 w:0) - /// Proof: `AssetRegistry::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::LocationAssets` (r:1 w:0) - /// Proof: `AssetRegistry::LocationAssets` (`max_values`: None, `max_size`: Some(622), added: 3097, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:0 w:1) - /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - fn reset_payment_currency() -> Weight { - // Proof Size summary in bytes: - // Measured: `1280` - // Estimated: `4087` - // Minimum execution time: 28_830_000 picoseconds. - Weight::from_parts(29_378_000, 4087) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) - } -} - -// For backwards compatibility and tests impl WeightInfo for () { /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:1) /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) fn add_currency() -> Weight { // Proof Size summary in bytes: - // Measured: `1176` + // Measured: `1180` // Estimated: `3493` - // Minimum execution time: 24_548_000 picoseconds. - Weight::from_parts(25_118_000, 3493) - .saturating_add(RocksDbWeight::get().reads(1)) - .saturating_add(RocksDbWeight::get().writes(1)) + // Minimum execution time: 19_243_000 picoseconds. + Weight::from_parts(19_945_000, 3493) + .saturating_add(RocksDbWeight::get().reads(1_u64)) + .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:1) /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) fn remove_currency() -> Weight { // Proof Size summary in bytes: - // Measured: `1207` + // Measured: `1211` // Estimated: `3493` - // Minimum execution time: 25_178_000 picoseconds. - Weight::from_parts(25_545_000, 3493) - .saturating_add(RocksDbWeight::get().reads(1)) - .saturating_add(RocksDbWeight::get().writes(1)) + // Minimum execution time: 20_151_000 picoseconds. + Weight::from_parts(20_486_000, 3493) + .saturating_add(RocksDbWeight::get().reads(1_u64)) + .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) @@ -153,12 +91,12 @@ impl WeightInfo for () { /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) fn set_currency() -> Weight { // Proof Size summary in bytes: - // Measured: `1241` + // Measured: `1245` // Estimated: `3493` - // Minimum execution time: 31_064_000 picoseconds. - Weight::from_parts(31_466_000, 3493) - .saturating_add(RocksDbWeight::get().reads(1)) - .saturating_add(RocksDbWeight::get().writes(1)) + // Minimum execution time: 24_924_000 picoseconds. + Weight::from_parts(25_169_000, 3493) + .saturating_add(RocksDbWeight::get().reads(1_u64)) + .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `Router::Routes` (r:1 w:0) /// Proof: `Router::Routes` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) @@ -166,10 +104,10 @@ impl WeightInfo for () { /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) fn get_oracle_price() -> Weight { // Proof Size summary in bytes: - // Measured: `3221` + // Measured: `3225` // Estimated: `27510` - // Minimum execution time: 93_281_000 picoseconds. - Weight::from_parts(94_259_000, 27510).saturating_add(RocksDbWeight::get().reads(11)) + // Minimum execution time: 89_268_000 picoseconds. + Weight::from_parts(90_513_000, 27510).saturating_add(RocksDbWeight::get().reads(11_u64)) } /// Storage: `AssetRegistry::NextAssetId` (r:1 w:0) /// Proof: `AssetRegistry::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) @@ -179,11 +117,11 @@ impl WeightInfo for () { /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) fn reset_payment_currency() -> Weight { // Proof Size summary in bytes: - // Measured: `1280` + // Measured: `1317` // Estimated: `4087` - // Minimum execution time: 28_830_000 picoseconds. - Weight::from_parts(29_378_000, 4087) - .saturating_add(RocksDbWeight::get().reads(2)) - .saturating_add(RocksDbWeight::get().writes(1)) + // Minimum execution time: 22_192_000 picoseconds. + Weight::from_parts(22_762_000, 4087) + .saturating_add(RocksDbWeight::get().reads(2_u64)) + .saturating_add(RocksDbWeight::get().writes(1_u64)) } } diff --git a/pallets/transaction-pause/src/weights.rs b/pallets/transaction-pause/src/weights.rs index 0a42477df..43cf80f9e 100644 --- a/pallets/transaction-pause/src/weights.rs +++ b/pallets/transaction-pause/src/weights.rs @@ -15,30 +15,33 @@ // See the License for the specific language governing permissions and // limitations under the License. + //! Autogenerated weights for `pallet_transaction_pause` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-12, STEPS: `5`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-05-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --pallet=pallet-transaction-pause // --wasm-execution=compiled -// --heap-pages=4096 -// --chain=dev -// --extrinsic=* -// --steps=5 -// --repeat=20 +// --pallet +// * +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 +// --template=scripts/pallet-weight-template.hbs // --output -// ./weights-1.1.0/transaction_pause.rs -// --template -// .maintain/pallet-weight-template-no-back.hbs - +// weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -55,33 +58,6 @@ pub trait WeightInfo { } /// Weights for module_transaction_pause using the Acala node and recommended hardware. -pub struct AcalaWeight(PhantomData); -impl WeightInfo for AcalaWeight { - /// Storage: `TransactionPause::PausedTransactions` (r:1 w:1) - /// Proof: `TransactionPause::PausedTransactions` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) - fn pause_transaction() -> Weight { - // Proof Size summary in bytes: - // Measured: `109` - // Estimated: `3555` - // Minimum execution time: 15_060_000 picoseconds. - Weight::from_parts(15_317_000, 3555) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) - } - /// Storage: `TransactionPause::PausedTransactions` (r:1 w:1) - /// Proof: `TransactionPause::PausedTransactions` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) - fn unpause_transaction() -> Weight { - // Proof Size summary in bytes: - // Measured: `160` - // Estimated: `3555` - // Minimum execution time: 17_304_000 picoseconds. - Weight::from_parts(17_780_000, 3555) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) - } -} - -// For backwards compatibility and tests impl WeightInfo for () { /// Storage: `TransactionPause::PausedTransactions` (r:1 w:1) /// Proof: `TransactionPause::PausedTransactions` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) @@ -89,8 +65,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `109` // Estimated: `3555` - // Minimum execution time: 15_060_000 picoseconds. - Weight::from_parts(15_317_000, 3555) + // Minimum execution time: 10_806_000 picoseconds. + Weight::from_parts(10_995_000, 3555) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -100,8 +76,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `160` // Estimated: `3555` - // Minimum execution time: 17_304_000 picoseconds. - Weight::from_parts(17_780_000, 3555) + // Minimum execution time: 12_641_000 picoseconds. + Weight::from_parts(13_122_000, 3555) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } diff --git a/pallets/xyk-liquidity-mining/src/lib.rs b/pallets/xyk-liquidity-mining/src/lib.rs index 52ff4e289..4ae443483 100644 --- a/pallets/xyk-liquidity-mining/src/lib.rs +++ b/pallets/xyk-liquidity-mining/src/lib.rs @@ -43,6 +43,7 @@ mod tests; pub mod migration; pub mod weights; +pub use crate::weights::WeightInfo; pub use pallet::*; use frame_support::traits::tokens::nonfungibles::{Create, Inspect, Mutate, Transfer}; @@ -71,7 +72,6 @@ type PeriodOf = BlockNumberFor; #[allow(clippy::too_many_arguments)] pub mod pallet { use super::*; - use crate::weights::WeightInfo; use frame_system::pallet_prelude::BlockNumberFor; use hydradx_traits::pools::DustRemovalAccountWhitelist; diff --git a/pallets/xyk-liquidity-mining/src/weights.rs b/pallets/xyk-liquidity-mining/src/weights.rs index 967fa8e9a..ee4ccc904 100644 --- a/pallets/xyk-liquidity-mining/src/weights.rs +++ b/pallets/xyk-liquidity-mining/src/weights.rs @@ -1,4 +1,4 @@ -// This file is part of Basilisk. +// This file is part of HydraDX. // Copyright (C) 2020-2023 Intergalactic, Limited (GIB). // SPDX-License-Identifier: Apache-2.0 @@ -17,25 +17,30 @@ //! Autogenerated weights for `pallet_xyk_liquidity_mining` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-06, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-05-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/basilisk +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=10 -// --repeat=30 // --wasm-execution=compiled -// --heap-pages=4096 -// --template=.maintain/pallet-weight-template-no-back.hbs -// --pallet=pallet-xyk-liquidity-mining -// --output=xyk_liquidity_mining.rs -// --extrinsic=* +// --pallet +// * +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 +// --template=scripts/pallet-weight-template.hbs +// --output +// weights/ #![allow(unused_parens)] #![allow(unused_imports)] @@ -63,349 +68,92 @@ pub trait WeightInfo { fn resume_yield_farm() -> Weight; } -pub struct BasiliskWeight(PhantomData); - -impl WeightInfo for BasiliskWeight { - /// Storage: `AssetRegistry::Assets` (r:1 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:2) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `XYKWarehouseLM::FarmSequencer` (r:1 w:1) - /// Proof: `XYKWarehouseLM::FarmSequencer` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) - /// Storage: `Duster::AccountBlacklist` (r:0 w:1) - /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `XYKWarehouseLM::GlobalFarm` (r:0 w:1) - /// Proof: `XYKWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) - fn create_global_farm() -> Weight { - // Proof Size summary in bytes: - // Measured: `473` - // Estimated: `6196` - // Minimum execution time: 93_370_000 picoseconds. - Weight::from_parts(94_187_000, 6196) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) - } - /// Storage: `XYKWarehouseLM::GlobalFarm` (r:1 w:1) - /// Proof: `XYKWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:1 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:2) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - fn update_global_farm() -> Weight { - // Proof Size summary in bytes: - // Measured: `879` - // Estimated: `6196` - // Minimum execution time: 98_533_000 picoseconds. - Weight::from_parts(99_357_000, 6196) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) - } - /// Storage: `XYKWarehouseLM::GlobalFarm` (r:1 w:1) - /// Proof: `XYKWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:2) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) +/// Weights for `pallet_xyk_liquidity_mining` using the HydraDX node and recommended hardware. +impl WeightInfo for () { + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `Duster::AccountBlacklist` (r:1 w:1) /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - fn terminate_global_farm() -> Weight { - // Proof Size summary in bytes: - // Measured: `1002` - // Estimated: `6196` - // Minimum execution time: 95_311_000 picoseconds. - Weight::from_parts(95_938_000, 6196) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) - } - /// Storage: `XYK::ShareToken` (r:1 w:0) - /// Proof: `XYK::ShareToken` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `XYKWarehouseLM::GlobalFarm` (r:1 w:1) - /// Proof: `XYKWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) - /// Storage: `XYKWarehouseLM::ActiveYieldFarm` (r:1 w:1) - /// Proof: `XYKWarehouseLM::ActiveYieldFarm` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:1 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:2) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `XYKWarehouseLM::FarmSequencer` (r:1 w:1) - /// Proof: `XYKWarehouseLM::FarmSequencer` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) - /// Storage: `XYKWarehouseLM::YieldFarm` (r:0 w:1) - /// Proof: `XYKWarehouseLM::YieldFarm` (`max_values`: None, `max_size`: Some(226), added: 2701, mode: `MaxEncodedLen`) - fn create_yield_farm() -> Weight { - // Proof Size summary in bytes: - // Measured: `1213` - // Estimated: `6196` - // Minimum execution time: 122_647_000 picoseconds. - Weight::from_parts(124_077_000, 6196) - .saturating_add(T::DbWeight::get().reads(7_u64)) - .saturating_add(T::DbWeight::get().writes(6_u64)) - } - /// Storage: `XYK::ShareToken` (r:1 w:0) - /// Proof: `XYK::ShareToken` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `XYKWarehouseLM::ActiveYieldFarm` (r:1 w:0) - /// Proof: `XYKWarehouseLM::ActiveYieldFarm` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) - /// Storage: `XYKWarehouseLM::YieldFarm` (r:1 w:1) - /// Proof: `XYKWarehouseLM::YieldFarm` (`max_values`: None, `max_size`: Some(226), added: 2701, mode: `MaxEncodedLen`) - /// Storage: `XYKWarehouseLM::GlobalFarm` (r:1 w:1) - /// Proof: `XYKWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:1 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:2) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - fn update_yield_farm() -> Weight { - // Proof Size summary in bytes: - // Measured: `1361` - // Estimated: `6196` - // Minimum execution time: 129_497_000 picoseconds. - Weight::from_parts(130_156_000, 6196) - .saturating_add(T::DbWeight::get().reads(7_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) - } - /// Storage: `XYKWarehouseLM::ActiveYieldFarm` (r:1 w:1) - /// Proof: `XYKWarehouseLM::ActiveYieldFarm` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) - /// Storage: `XYKWarehouseLM::YieldFarm` (r:1 w:1) - /// Proof: `XYKWarehouseLM::YieldFarm` (`max_values`: None, `max_size`: Some(226), added: 2701, mode: `MaxEncodedLen`) - /// Storage: `XYKWarehouseLM::GlobalFarm` (r:1 w:1) - /// Proof: `XYKWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:1 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:2) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - fn stop_yield_farm() -> Weight { - // Proof Size summary in bytes: - // Measured: `1195` - // Estimated: `6196` - // Minimum execution time: 124_385_000 picoseconds. - Weight::from_parts(125_118_000, 6196) - .saturating_add(T::DbWeight::get().reads(6_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) - } - /// Storage: `XYKWarehouseLM::ActiveYieldFarm` (r:1 w:0) - /// Proof: `XYKWarehouseLM::ActiveYieldFarm` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) - /// Storage: `XYKWarehouseLM::GlobalFarm` (r:1 w:1) - /// Proof: `XYKWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) - /// Storage: `XYKWarehouseLM::YieldFarm` (r:1 w:1) - /// Proof: `XYKWarehouseLM::YieldFarm` (`max_values`: None, `max_size`: Some(226), added: 2701, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:2) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - fn terminate_yield_farm() -> Weight { - // Proof Size summary in bytes: - // Measured: `904` - // Estimated: `6196` - // Minimum execution time: 99_601_000 picoseconds. - Weight::from_parts(100_152_000, 6196) - .saturating_add(T::DbWeight::get().reads(5_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) - } - /// Storage: `XYK::ShareToken` (r:1 w:0) - /// Proof: `XYK::ShareToken` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `Tokens::Accounts` (r:3 w:2) + /// Storage: `AssetRegistry::BannedAssets` (r:1 w:0) + /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:3 w:3) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) - /// Storage: `XYKWarehouseLM::YieldFarm` (r:1 w:1) - /// Proof: `XYKWarehouseLM::YieldFarm` (`max_values`: None, `max_size`: Some(226), added: 2701, mode: `MaxEncodedLen`) - /// Storage: `XYKWarehouseLM::GlobalFarm` (r:1 w:1) - /// Proof: `XYKWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:4 w:3) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `XYK::PoolAssets` (r:1 w:0) - /// Proof: `XYK::PoolAssets` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) - /// Storage: `XYK::TotalLiquidity` (r:1 w:0) - /// Proof: `XYK::TotalLiquidity` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) - /// Storage: `XYKWarehouseLM::DepositSequencer` (r:1 w:1) - /// Proof: `XYKWarehouseLM::DepositSequencer` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:0) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:3 w:0) /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `NFT::Collections` (r:1 w:0) - /// Proof: `NFT::Collections` (`max_values`: None, `max_size`: Some(99), added: 2574, mode: `MaxEncodedLen`) - /// Storage: `Uniques::Asset` (r:1 w:1) - /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) - /// Storage: `Uniques::Class` (r:1 w:1) - /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(190), added: 2665, mode: `MaxEncodedLen`) - /// Storage: `Uniques::CollectionMaxSupply` (r:1 w:0) - /// Proof: `Uniques::CollectionMaxSupply` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::NextAssetId` (r:1 w:0) - /// Proof: `AssetRegistry::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::LocationAssets` (r:1 w:0) - /// Proof: `AssetRegistry::LocationAssets` (`max_values`: None, `max_size`: Some(622), added: 3097, mode: `MaxEncodedLen`) - /// Storage: `Uniques::Account` (r:0 w:1) - /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) - /// Storage: `NFT::Items` (r:0 w:1) - /// Proof: `NFT::Items` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`) - /// Storage: `XYKWarehouseLM::Deposit` (r:0 w:1) - /// Proof: `XYKWarehouseLM::Deposit` (`max_values`: None, `max_size`: Some(413), added: 2888, mode: `MaxEncodedLen`) - fn deposit_shares() -> Weight { - // Proof Size summary in bytes: - // Measured: `3236` - // Estimated: `11402` - // Minimum execution time: 257_650_000 picoseconds. - Weight::from_parts(258_966_000, 11402) - .saturating_add(T::DbWeight::get().reads(22_u64)) - .saturating_add(T::DbWeight::get().writes(13_u64)) - } - /// Storage: `Uniques::Asset` (r:1 w:0) - /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) - /// Storage: `XYK::ShareToken` (r:1 w:0) - /// Proof: `XYK::ShareToken` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `XYKWarehouseLM::Deposit` (r:1 w:1) - /// Proof: `XYKWarehouseLM::Deposit` (`max_values`: None, `max_size`: Some(413), added: 2888, mode: `MaxEncodedLen`) - /// Storage: `XYKWarehouseLM::YieldFarm` (r:1 w:1) - /// Proof: `XYKWarehouseLM::YieldFarm` (`max_values`: None, `max_size`: Some(226), added: 2701, mode: `MaxEncodedLen`) - /// Storage: `XYKWarehouseLM::GlobalFarm` (r:1 w:1) - /// Proof: `XYKWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) - /// Storage: `XYK::PoolAssets` (r:1 w:0) - /// Proof: `XYK::PoolAssets` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) - /// Storage: `XYK::TotalLiquidity` (r:1 w:0) - /// Proof: `XYK::TotalLiquidity` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:0) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `Tokens::Accounts` (r:1 w:0) - /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) - fn redeposit_shares() -> Weight { - // Proof Size summary in bytes: - // Measured: `2363` - // Estimated: `3878` - // Minimum execution time: 82_242_000 picoseconds. - Weight::from_parts(83_084_000, 3878) - .saturating_add(T::DbWeight::get().reads(9_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) - } - /// Storage: `Uniques::Asset` (r:1 w:0) - /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) - /// Storage: `XYKWarehouseLM::Deposit` (r:1 w:1) - /// Proof: `XYKWarehouseLM::Deposit` (`max_values`: None, `max_size`: Some(413), added: 2888, mode: `MaxEncodedLen`) - /// Storage: `XYKWarehouseLM::YieldFarm` (r:1 w:1) - /// Proof: `XYKWarehouseLM::YieldFarm` (`max_values`: None, `max_size`: Some(226), added: 2701, mode: `MaxEncodedLen`) - /// Storage: `XYKWarehouseLM::GlobalFarm` (r:1 w:1) - /// Proof: `XYKWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:1 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:3 w:3) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - fn claim_rewards() -> Weight { - // Proof Size summary in bytes: - // Measured: `2097` - // Estimated: `8799` - // Minimum execution time: 176_232_000 picoseconds. - Weight::from_parts(177_357_000, 8799) - .saturating_add(T::DbWeight::get().reads(8_u64)) - .saturating_add(T::DbWeight::get().writes(6_u64)) - } - /// Storage: `Uniques::Asset` (r:1 w:1) - /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) - /// Storage: `XYK::ShareToken` (r:1 w:0) - /// Proof: `XYK::ShareToken` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `XYKWarehouseLM::Deposit` (r:1 w:1) - /// Proof: `XYKWarehouseLM::Deposit` (`max_values`: None, `max_size`: Some(413), added: 2888, mode: `MaxEncodedLen`) - /// Storage: `XYKWarehouseLM::YieldFarm` (r:1 w:1) - /// Proof: `XYKWarehouseLM::YieldFarm` (`max_values`: None, `max_size`: Some(226), added: 2701, mode: `MaxEncodedLen`) - /// Storage: `XYKWarehouseLM::GlobalFarm` (r:1 w:1) - /// Proof: `XYKWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:4 w:4) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `XYK::PoolAssets` (r:1 w:0) - /// Proof: `XYK::PoolAssets` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) - /// Storage: `Tokens::Accounts` (r:2 w:2) - /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:1) - /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::ExistentialDepositCounter` (r:1 w:1) + /// Proof: `AssetRegistry::ExistentialDepositCounter` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) - /// Storage: `Uniques::Class` (r:1 w:1) - /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(190), added: 2665, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::NextAssetId` (r:1 w:0) - /// Proof: `AssetRegistry::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::LocationAssets` (r:1 w:0) - /// Proof: `AssetRegistry::LocationAssets` (`max_values`: None, `max_size`: Some(622), added: 3097, mode: `MaxEncodedLen`) - /// Storage: `Uniques::Account` (r:0 w:1) - /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) - /// Storage: `Uniques::ItemPriceOf` (r:0 w:1) - /// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(113), added: 2588, mode: `MaxEncodedLen`) - /// Storage: `NFT::Items` (r:0 w:1) - /// Proof: `NFT::Items` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`) - fn withdraw_shares() -> Weight { - // Proof Size summary in bytes: - // Measured: `2928` - // Estimated: `11402` - // Minimum execution time: 383_107_000 picoseconds. - Weight::from_parts(385_120_000, 11402) - .saturating_add(T::DbWeight::get().reads(19_u64)) - .saturating_add(T::DbWeight::get().writes(15_u64)) - } - /// Storage: `XYK::ShareToken` (r:1 w:0) - /// Proof: `XYK::ShareToken` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `XYKWarehouseLM::ActiveYieldFarm` (r:1 w:1) - /// Proof: `XYKWarehouseLM::ActiveYieldFarm` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) - /// Storage: `XYKWarehouseLM::YieldFarm` (r:1 w:1) - /// Proof: `XYKWarehouseLM::YieldFarm` (`max_values`: None, `max_size`: Some(226), added: 2701, mode: `MaxEncodedLen`) - /// Storage: `XYKWarehouseLM::GlobalFarm` (r:1 w:1) - /// Proof: `XYKWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:1 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:2) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - fn resume_yield_farm() -> Weight { - // Proof Size summary in bytes: - // Measured: `1469` - // Estimated: `6196` - // Minimum execution time: 123_753_000 picoseconds. - Weight::from_parts(124_758_000, 6196) - .saturating_add(T::DbWeight::get().reads(7_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) - } -} - -// For backwards compatibility and tests -impl WeightInfo for () { - /// Storage: `AssetRegistry::Assets` (r:1 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:2) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `XYKWarehouseLM::FarmSequencer` (r:1 w:1) /// Proof: `XYKWarehouseLM::FarmSequencer` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) - /// Storage: `Duster::AccountBlacklist` (r:0 w:1) - /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// Storage: `XYKWarehouseLM::GlobalFarm` (r:0 w:1) /// Proof: `XYKWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) fn create_global_farm() -> Weight { // Proof Size summary in bytes: - // Measured: `473` - // Estimated: `6196` - // Minimum execution time: 93_370_000 picoseconds. - Weight::from_parts(94_187_000, 6196) - .saturating_add(RocksDbWeight::get().reads(4_u64)) - .saturating_add(RocksDbWeight::get().writes(5_u64)) + // Measured: `3102` + // Estimated: `11402` + // Minimum execution time: 277_908_000 picoseconds. + Weight::from_parts(279_339_000, 11402) + .saturating_add(RocksDbWeight::get().reads(19_u64)) + .saturating_add(RocksDbWeight::get().writes(12_u64)) } /// Storage: `XYKWarehouseLM::GlobalFarm` (r:1 w:1) /// Proof: `XYKWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::Assets` (r:1 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:2) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:2 w:2) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Oracles` (r:1 w:0) + /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) + /// Storage: `Duster::AccountBlacklist` (r:1 w:0) + /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::BannedAssets` (r:1 w:0) + /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn update_global_farm() -> Weight { // Proof Size summary in bytes: - // Measured: `879` - // Estimated: `6196` - // Minimum execution time: 98_533_000 picoseconds. - Weight::from_parts(99_357_000, 6196) - .saturating_add(RocksDbWeight::get().reads(4_u64)) + // Measured: `4351` + // Estimated: `6156` + // Minimum execution time: 103_336_000 picoseconds. + Weight::from_parts(104_299_000, 6156) + .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } /// Storage: `XYKWarehouseLM::GlobalFarm` (r:1 w:1) /// Proof: `XYKWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:2) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:2 w:2) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `Duster::AccountBlacklist` (r:1 w:1) /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::BannedAssets` (r:1 w:0) + /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:1 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::ExistentialDepositCounter` (r:1 w:1) + /// Proof: `AssetRegistry::ExistentialDepositCounter` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) fn terminate_global_farm() -> Weight { // Proof Size summary in bytes: - // Measured: `1002` + // Measured: `3814` // Estimated: `6196` - // Minimum execution time: 95_311_000 picoseconds. - Weight::from_parts(95_938_000, 6196) - .saturating_add(RocksDbWeight::get().reads(4_u64)) - .saturating_add(RocksDbWeight::get().writes(4_u64)) + // Minimum execution time: 172_009_000 picoseconds. + Weight::from_parts(173_139_000, 6196) + .saturating_add(RocksDbWeight::get().reads(12_u64)) + .saturating_add(RocksDbWeight::get().writes(8_u64)) } /// Storage: `XYK::ShareToken` (r:1 w:0) /// Proof: `XYK::ShareToken` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) @@ -413,22 +161,18 @@ impl WeightInfo for () { /// Proof: `XYKWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) /// Storage: `XYKWarehouseLM::ActiveYieldFarm` (r:1 w:1) /// Proof: `XYKWarehouseLM::ActiveYieldFarm` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:1 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:2) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `XYKWarehouseLM::FarmSequencer` (r:1 w:1) /// Proof: `XYKWarehouseLM::FarmSequencer` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `XYKWarehouseLM::YieldFarm` (r:0 w:1) /// Proof: `XYKWarehouseLM::YieldFarm` (`max_values`: None, `max_size`: Some(226), added: 2701, mode: `MaxEncodedLen`) fn create_yield_farm() -> Weight { // Proof Size summary in bytes: - // Measured: `1213` - // Estimated: `6196` - // Minimum execution time: 122_647_000 picoseconds. - Weight::from_parts(124_077_000, 6196) - .saturating_add(RocksDbWeight::get().reads(7_u64)) - .saturating_add(RocksDbWeight::get().writes(6_u64)) + // Measured: `1586` + // Estimated: `3670` + // Minimum execution time: 47_538_000 picoseconds. + Weight::from_parts(48_206_000, 3670) + .saturating_add(RocksDbWeight::get().reads(4_u64)) + .saturating_add(RocksDbWeight::get().writes(4_u64)) } /// Storage: `XYK::ShareToken` (r:1 w:0) /// Proof: `XYK::ShareToken` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) @@ -439,16 +183,24 @@ impl WeightInfo for () { /// Storage: `XYKWarehouseLM::GlobalFarm` (r:1 w:1) /// Proof: `XYKWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::Assets` (r:1 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:2) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:2 w:2) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Oracles` (r:1 w:0) + /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) + /// Storage: `Duster::AccountBlacklist` (r:1 w:0) + /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::BannedAssets` (r:1 w:0) + /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn update_yield_farm() -> Weight { // Proof Size summary in bytes: - // Measured: `1361` - // Estimated: `6196` - // Minimum execution time: 129_497_000 picoseconds. - Weight::from_parts(130_156_000, 6196) - .saturating_add(RocksDbWeight::get().reads(7_u64)) + // Measured: `4867` + // Estimated: `6156` + // Minimum execution time: 127_361_000 picoseconds. + Weight::from_parts(128_178_000, 6156) + .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } /// Storage: `XYKWarehouseLM::ActiveYieldFarm` (r:1 w:1) @@ -458,16 +210,24 @@ impl WeightInfo for () { /// Storage: `XYKWarehouseLM::GlobalFarm` (r:1 w:1) /// Proof: `XYKWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::Assets` (r:1 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:2) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:2 w:2) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Oracles` (r:1 w:0) + /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) + /// Storage: `Duster::AccountBlacklist` (r:1 w:0) + /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::BannedAssets` (r:1 w:0) + /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn stop_yield_farm() -> Weight { // Proof Size summary in bytes: - // Measured: `1195` - // Estimated: `6196` - // Minimum execution time: 124_385_000 picoseconds. - Weight::from_parts(125_118_000, 6196) - .saturating_add(RocksDbWeight::get().reads(6_u64)) + // Measured: `4667` + // Estimated: `6156` + // Minimum execution time: 122_100_000 picoseconds. + Weight::from_parts(123_315_000, 6156) + .saturating_add(RocksDbWeight::get().reads(10_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } /// Storage: `XYKWarehouseLM::ActiveYieldFarm` (r:1 w:0) @@ -476,28 +236,42 @@ impl WeightInfo for () { /// Proof: `XYKWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) /// Storage: `XYKWarehouseLM::YieldFarm` (r:1 w:1) /// Proof: `XYKWarehouseLM::YieldFarm` (`max_values`: None, `max_size`: Some(226), added: 2701, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:2) + /// Storage: `Duster::AccountBlacklist` (r:1 w:0) + /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::BannedAssets` (r:1 w:0) + /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:2 w:2) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:1 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn terminate_yield_farm() -> Weight { // Proof Size summary in bytes: - // Measured: `904` - // Estimated: `6196` - // Minimum execution time: 99_601_000 picoseconds. - Weight::from_parts(100_152_000, 6196) - .saturating_add(RocksDbWeight::get().reads(5_u64)) + // Measured: `4714` + // Estimated: `6156` + // Minimum execution time: 99_990_000 picoseconds. + Weight::from_parts(100_957_000, 6156) + .saturating_add(RocksDbWeight::get().reads(9_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } /// Storage: `XYK::ShareToken` (r:1 w:0) /// Proof: `XYK::ShareToken` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `Tokens::Accounts` (r:3 w:2) + /// Storage: `Tokens::Accounts` (r:6 w:4) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `XYKWarehouseLM::YieldFarm` (r:1 w:1) /// Proof: `XYKWarehouseLM::YieldFarm` (`max_values`: None, `max_size`: Some(226), added: 2701, mode: `MaxEncodedLen`) /// Storage: `XYKWarehouseLM::GlobalFarm` (r:1 w:1) /// Proof: `XYKWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:4 w:3) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Oracles` (r:1 w:0) + /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) + /// Storage: `Duster::AccountBlacklist` (r:2 w:0) + /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::BannedAssets` (r:2 w:0) + /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `XYK::PoolAssets` (r:1 w:0) /// Proof: `XYK::PoolAssets` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) @@ -505,34 +279,24 @@ impl WeightInfo for () { /// Proof: `XYK::TotalLiquidity` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) /// Storage: `XYKWarehouseLM::DepositSequencer` (r:1 w:1) /// Proof: `XYKWarehouseLM::DepositSequencer` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:0) - /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `NFT::Collections` (r:1 w:0) - /// Proof: `NFT::Collections` (`max_values`: None, `max_size`: Some(99), added: 2574, mode: `MaxEncodedLen`) /// Storage: `Uniques::Asset` (r:1 w:1) /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) /// Storage: `Uniques::Class` (r:1 w:1) /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(190), added: 2665, mode: `MaxEncodedLen`) /// Storage: `Uniques::CollectionMaxSupply` (r:1 w:0) /// Proof: `Uniques::CollectionMaxSupply` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::NextAssetId` (r:1 w:0) - /// Proof: `AssetRegistry::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::LocationAssets` (r:1 w:0) - /// Proof: `AssetRegistry::LocationAssets` (`max_values`: None, `max_size`: Some(622), added: 3097, mode: `MaxEncodedLen`) /// Storage: `Uniques::Account` (r:0 w:1) /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) - /// Storage: `NFT::Items` (r:0 w:1) - /// Proof: `NFT::Items` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`) /// Storage: `XYKWarehouseLM::Deposit` (r:0 w:1) /// Proof: `XYKWarehouseLM::Deposit` (`max_values`: None, `max_size`: Some(413), added: 2888, mode: `MaxEncodedLen`) fn deposit_shares() -> Weight { // Proof Size summary in bytes: - // Measured: `3236` - // Estimated: `11402` - // Minimum execution time: 257_650_000 picoseconds. - Weight::from_parts(258_966_000, 11402) - .saturating_add(RocksDbWeight::get().reads(22_u64)) - .saturating_add(RocksDbWeight::get().writes(13_u64)) + // Measured: `6036` + // Estimated: `16488` + // Minimum execution time: 218_921_000 picoseconds. + Weight::from_parts(220_788_000, 16488) + .saturating_add(RocksDbWeight::get().reads(24_u64)) + .saturating_add(RocksDbWeight::get().writes(11_u64)) } /// Storage: `Uniques::Asset` (r:1 w:0) /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) @@ -544,22 +308,30 @@ impl WeightInfo for () { /// Proof: `XYKWarehouseLM::YieldFarm` (`max_values`: None, `max_size`: Some(226), added: 2701, mode: `MaxEncodedLen`) /// Storage: `XYKWarehouseLM::GlobalFarm` (r:1 w:1) /// Proof: `XYKWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:1 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:4 w:2) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Oracles` (r:1 w:0) + /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) + /// Storage: `Duster::AccountBlacklist` (r:1 w:0) + /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::BannedAssets` (r:1 w:0) + /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `XYK::PoolAssets` (r:1 w:0) /// Proof: `XYK::PoolAssets` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) /// Storage: `XYK::TotalLiquidity` (r:1 w:0) /// Proof: `XYK::TotalLiquidity` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:0) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `Tokens::Accounts` (r:1 w:0) - /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) fn redeposit_shares() -> Weight { // Proof Size summary in bytes: - // Measured: `2363` - // Estimated: `3878` - // Minimum execution time: 82_242_000 picoseconds. - Weight::from_parts(83_084_000, 3878) - .saturating_add(RocksDbWeight::get().reads(9_u64)) - .saturating_add(RocksDbWeight::get().writes(3_u64)) + // Measured: `6965` + // Estimated: `11322` + // Minimum execution time: 169_802_000 picoseconds. + Weight::from_parts(170_914_000, 11322) + .saturating_add(RocksDbWeight::get().reads(16_u64)) + .saturating_add(RocksDbWeight::get().writes(5_u64)) } /// Storage: `Uniques::Asset` (r:1 w:0) /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) @@ -570,16 +342,24 @@ impl WeightInfo for () { /// Storage: `XYKWarehouseLM::GlobalFarm` (r:1 w:1) /// Proof: `XYKWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::Assets` (r:1 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:3 w:3) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:3 w:3) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Oracles` (r:1 w:0) + /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) + /// Storage: `Duster::AccountBlacklist` (r:2 w:0) + /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::BannedAssets` (r:1 w:0) + /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn claim_rewards() -> Weight { // Proof Size summary in bytes: - // Measured: `2097` - // Estimated: `8799` - // Minimum execution time: 176_232_000 picoseconds. - Weight::from_parts(177_357_000, 8799) - .saturating_add(RocksDbWeight::get().reads(8_u64)) + // Measured: `6806` + // Estimated: `8739` + // Minimum execution time: 174_694_000 picoseconds. + Weight::from_parts(176_187_000, 8739) + .saturating_add(RocksDbWeight::get().reads(14_u64)) .saturating_add(RocksDbWeight::get().writes(6_u64)) } /// Storage: `Uniques::Asset` (r:1 w:1) @@ -593,37 +373,41 @@ impl WeightInfo for () { /// Storage: `XYKWarehouseLM::GlobalFarm` (r:1 w:1) /// Proof: `XYKWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:4 w:4) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:5 w:5) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Oracles` (r:1 w:0) + /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) + /// Storage: `Duster::AccountBlacklist` (r:3 w:0) + /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::BannedAssets` (r:2 w:0) + /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:4 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `XYK::PoolAssets` (r:1 w:0) /// Proof: `XYK::PoolAssets` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) - /// Storage: `Tokens::Accounts` (r:2 w:2) - /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:1) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:0) /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) - /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::ExistentialDepositCounter` (r:1 w:1) + /// Proof: `AssetRegistry::ExistentialDepositCounter` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) /// Storage: `Uniques::Class` (r:1 w:1) /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(190), added: 2665, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::NextAssetId` (r:1 w:0) - /// Proof: `AssetRegistry::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::LocationAssets` (r:1 w:0) - /// Proof: `AssetRegistry::LocationAssets` (`max_values`: None, `max_size`: Some(622), added: 3097, mode: `MaxEncodedLen`) /// Storage: `Uniques::Account` (r:0 w:1) /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) /// Storage: `Uniques::ItemPriceOf` (r:0 w:1) /// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(113), added: 2588, mode: `MaxEncodedLen`) - /// Storage: `NFT::Items` (r:0 w:1) - /// Proof: `NFT::Items` (`max_values`: None, `max_size`: Some(122), added: 2597, mode: `MaxEncodedLen`) fn withdraw_shares() -> Weight { // Proof Size summary in bytes: - // Measured: `2928` - // Estimated: `11402` - // Minimum execution time: 383_107_000 picoseconds. - Weight::from_parts(385_120_000, 11402) - .saturating_add(RocksDbWeight::get().reads(19_u64)) - .saturating_add(RocksDbWeight::get().writes(15_u64)) + // Measured: `6479` + // Estimated: `13905` + // Minimum execution time: 369_769_000 picoseconds. + Weight::from_parts(371_613_000, 13905) + .saturating_add(RocksDbWeight::get().reads(28_u64)) + .saturating_add(RocksDbWeight::get().writes(16_u64)) } /// Storage: `XYK::ShareToken` (r:1 w:0) /// Proof: `XYK::ShareToken` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) @@ -634,16 +418,24 @@ impl WeightInfo for () { /// Storage: `XYKWarehouseLM::GlobalFarm` (r:1 w:1) /// Proof: `XYKWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::Assets` (r:1 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:2) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:2 w:2) + /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Oracles` (r:1 w:0) + /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) + /// Storage: `Duster::AccountBlacklist` (r:1 w:0) + /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::BannedAssets` (r:1 w:0) + /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn resume_yield_farm() -> Weight { // Proof Size summary in bytes: - // Measured: `1469` - // Estimated: `6196` - // Minimum execution time: 123_753_000 picoseconds. - Weight::from_parts(124_758_000, 6196) - .saturating_add(RocksDbWeight::get().reads(7_u64)) + // Measured: `5159` + // Estimated: `6156` + // Minimum execution time: 127_095_000 picoseconds. + Weight::from_parts(128_067_000, 6156) + .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } } diff --git a/pallets/xyk/src/weights.rs b/pallets/xyk/src/weights.rs index e1cae9ea6..a597f69f4 100644 --- a/pallets/xyk/src/weights.rs +++ b/pallets/xyk/src/weights.rs @@ -17,27 +17,30 @@ //! Autogenerated weights for `pallet_xyk` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-12, STEPS: `5`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-05-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --pallet=pallet-xyk // --wasm-execution=compiled -// --heap-pages=4096 -// --chain=dev -// --extrinsic=* -// --steps=5 -// --repeat=20 +// --pallet +// * +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 +// --template=scripts/pallet-weight-template.hbs // --output -// ./weights-1.1.0/xyk.rs -// --template -// .maintain/pallet-weight-template-no-back.hbs +// weights/ #![allow(unused_parens)] #![allow(unused_imports)] @@ -61,361 +64,274 @@ pub trait WeightInfo { } /// Weights for amm using the hydraDX node and recommended hardware. -pub struct HydraWeight(PhantomData); - -impl WeightInfo for HydraWeight { +impl WeightInfo for () { + /// Storage: `AssetRegistry::Assets` (r:3 w:1) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `LBP::PoolData` (r:1 w:0) /// Proof: `LBP::PoolData` (`max_values`: None, `max_size`: Some(163), added: 2638, mode: `MaxEncodedLen`) /// Storage: `XYK::ShareToken` (r:1 w:1) /// Proof: `XYK::ShareToken` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `Tokens::Accounts` (r:5 w:5) + /// Storage: `Tokens::Accounts` (r:7 w:7) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::AssetIds` (r:1 w:1) /// Proof: `AssetRegistry::AssetIds` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::NextAssetId` (r:1 w:1) /// Proof: `AssetRegistry::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:2 w:1) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:2) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:2 w:1) + /// Storage: `Duster::AccountBlacklist` (r:1 w:1) + /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::BannedAssets` (r:4 w:0) + /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:3 w:0) /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) + /// Storage: `MultiTransactionPayment::AcceptedCurrencyPrice` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencyPrice` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:3 w:3) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:3 w:0) /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::ExistentialDepositCounter` (r:1 w:1) + /// Proof: `AssetRegistry::ExistentialDepositCounter` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) /// Storage: `Tokens::TotalIssuance` (r:1 w:1) /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) - /// Storage: `Duster::AccountBlacklist` (r:0 w:1) - /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// Storage: `XYK::TotalLiquidity` (r:0 w:1) /// Proof: `XYK::TotalLiquidity` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) /// Storage: `XYK::PoolAssets` (r:0 w:1) /// Proof: `XYK::PoolAssets` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) fn create_pool() -> Weight { // Proof Size summary in bytes: - // Measured: `1140` - // Estimated: `13905` - // Minimum execution time: 202_507_000 picoseconds. - Weight::from_parts(203_717_000, 13905) - .saturating_add(T::DbWeight::get().reads(17_u64)) - .saturating_add(T::DbWeight::get().writes(16_u64)) + // Measured: `3659` + // Estimated: `19071` + // Minimum execution time: 479_166_000 picoseconds. + Weight::from_parts(482_391_000, 19071) + .saturating_add(RocksDbWeight::get().reads(33_u64)) + .saturating_add(RocksDbWeight::get().writes(20_u64)) } /// Storage: `XYK::ShareToken` (r:1 w:0) /// Proof: `XYK::ShareToken` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `Tokens::Accounts` (r:5 w:5) + /// Storage: `Tokens::Accounts` (r:7 w:7) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `XYK::TotalLiquidity` (r:1 w:1) /// Proof: `XYK::TotalLiquidity` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:3 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) + /// Storage: `Duster::AccountBlacklist` (r:1 w:0) + /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::BannedAssets` (r:4 w:0) + /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:4 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `Tokens::TotalIssuance` (r:1 w:1) - /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:0) /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `EmaOracle::Accumulator` (r:1 w:1) - /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) - fn add_liquidity() -> Weight { - // Proof Size summary in bytes: - // Measured: `1803` - // Estimated: `13905` - // Minimum execution time: 176_176_000 picoseconds. - Weight::from_parts(177_422_000, 13905) - .saturating_add(T::DbWeight::get().reads(14_u64)) - .saturating_add(T::DbWeight::get().writes(9_u64)) - } - /// Storage: `XYK::ShareToken` (r:1 w:0) - /// Proof: `XYK::ShareToken` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `XYK::TotalLiquidity` (r:1 w:1) - /// Proof: `XYK::TotalLiquidity` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) - /// Storage: `Tokens::Accounts` (r:5 w:5) - /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:3 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:0) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::ExistentialDepositCounter` (r:1 w:1) + /// Proof: `AssetRegistry::ExistentialDepositCounter` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencyPrice` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencyPrice` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) /// Storage: `Tokens::TotalIssuance` (r:1 w:1) /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) - /// Storage: `EmaOracle::Accumulator` (r:1 w:1) - /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) - fn remove_liquidity() -> Weight { - // Proof Size summary in bytes: - // Measured: `1749` - // Estimated: `13905` - // Minimum execution time: 168_176_000 picoseconds. - Weight::from_parts(169_296_000, 13905) - .saturating_add(T::DbWeight::get().reads(13_u64)) - .saturating_add(T::DbWeight::get().writes(8_u64)) - } - /// Storage: `XYK::ShareToken` (r:1 w:0) - /// Proof: `XYK::ShareToken` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `Tokens::Accounts` (r:4 w:4) - /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:0) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `EmaOracle::Accumulator` (r:1 w:1) - /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) - fn sell() -> Weight { - // Proof Size summary in bytes: - // Measured: `1492` - // Estimated: `11322` - // Minimum execution time: 127_203_000 picoseconds. - Weight::from_parts(127_918_000, 11322) - .saturating_add(T::DbWeight::get().reads(10_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) - } - /// Storage: `XYK::ShareToken` (r:1 w:0) - /// Proof: `XYK::ShareToken` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `Tokens::Accounts` (r:4 w:4) - /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:0) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `EmaOracle::Accumulator` (r:1 w:1) - /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) - fn buy() -> Weight { - // Proof Size summary in bytes: - // Measured: `1492` - // Estimated: `11322` - // Minimum execution time: 126_846_000 picoseconds. - Weight::from_parts(127_737_000, 11322) - .saturating_add(T::DbWeight::get().reads(10_u64)) - .saturating_add(T::DbWeight::get().writes(5_u64)) - } - /// Storage: `XYK::ShareToken` (r:1 w:0) - /// Proof: `XYK::ShareToken` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `Tokens::Accounts` (r:4 w:4) - /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:0) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `EmaOracle::Accumulator` (r:1 w:1) - /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) - /// The range of component `c` is `[1, 2]`. - /// The range of component `e` is `[0, 1]`. - fn router_execution_sell(c: u32, e: u32) -> Weight { - // Proof Size summary in bytes: - // Measured: `583 + e * (909 ±0)` - // Estimated: `6156 + e * (5166 ±0)` - // Minimum execution time: 22_072_000 picoseconds. - Weight::from_parts(5_201_125, 6156) - // Standard Error: 56_711 - .saturating_add(Weight::from_parts(8_630_075, 0).saturating_mul(c.into())) - // Standard Error: 56_711 - .saturating_add(Weight::from_parts(113_479_825, 0).saturating_mul(e.into())) - .saturating_add(T::DbWeight::get().reads(3_u64)) - .saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(e.into()))) - .saturating_add(T::DbWeight::get().writes((5_u64).saturating_mul(e.into()))) - .saturating_add(Weight::from_parts(0, 5166).saturating_mul(e.into())) - } - /// Storage: `XYK::ShareToken` (r:1 w:0) - /// Proof: `XYK::ShareToken` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `Tokens::Accounts` (r:4 w:4) - /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:0) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `EmaOracle::Accumulator` (r:1 w:1) - /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) - /// The range of component `c` is `[1, 3]`. - /// The range of component `e` is `[0, 1]`. - fn router_execution_buy(c: u32, e: u32) -> Weight { + /// Storage: `EmaOracle::WhitelistedAssets` (r:1 w:0) + /// Proof: `EmaOracle::WhitelistedAssets` (`max_values`: Some(1), `max_size`: Some(641), added: 1136, mode: `MaxEncodedLen`) + fn add_liquidity() -> Weight { // Proof Size summary in bytes: - // Measured: `583 + e * (909 ±0)` - // Estimated: `6156 + e * (5166 ±0)` - // Minimum execution time: 30_065_000 picoseconds. - Weight::from_parts(6_816_200, 6156) - // Standard Error: 42_652 - .saturating_add(Weight::from_parts(7_927_825, 0).saturating_mul(c.into())) - // Standard Error: 69_651 - .saturating_add(Weight::from_parts(112_378_650, 0).saturating_mul(e.into())) - .saturating_add(T::DbWeight::get().reads(3_u64)) - .saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(e.into()))) - .saturating_add(T::DbWeight::get().writes((5_u64).saturating_mul(e.into()))) - .saturating_add(Weight::from_parts(0, 5166).saturating_mul(e.into())) + // Measured: `4295` + // Estimated: `19071` + // Minimum execution time: 295_185_000 picoseconds. + Weight::from_parts(297_223_000, 19071) + .saturating_add(RocksDbWeight::get().reads(27_u64)) + .saturating_add(RocksDbWeight::get().writes(13_u64)) } -} - -// For backwards compatibility and tests -impl WeightInfo for () { - /// Storage: `LBP::PoolData` (r:1 w:0) - /// Proof: `LBP::PoolData` (`max_values`: None, `max_size`: Some(163), added: 2638, mode: `MaxEncodedLen`) /// Storage: `XYK::ShareToken` (r:1 w:1) /// Proof: `XYK::ShareToken` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `Tokens::Accounts` (r:5 w:5) + /// Storage: `XYK::TotalLiquidity` (r:1 w:1) + /// Proof: `XYK::TotalLiquidity` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) + /// Storage: `Tokens::Accounts` (r:7 w:7) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::AssetIds` (r:1 w:1) - /// Proof: `AssetRegistry::AssetIds` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::NextAssetId` (r:1 w:1) - /// Proof: `AssetRegistry::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:2 w:1) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:2) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:2 w:1) + /// Storage: `Duster::AccountBlacklist` (r:2 w:1) + /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::BannedAssets` (r:3 w:0) + /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:4 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:2 w:0) /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) - /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencyPrice` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencyPrice` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:3 w:3) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::ExistentialDepositCounter` (r:1 w:1) + /// Proof: `AssetRegistry::ExistentialDepositCounter` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) /// Storage: `Tokens::TotalIssuance` (r:1 w:1) /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) - /// Storage: `Duster::AccountBlacklist` (r:0 w:1) - /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) - /// Storage: `XYK::TotalLiquidity` (r:0 w:1) - /// Proof: `XYK::TotalLiquidity` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::WhitelistedAssets` (r:1 w:0) + /// Proof: `EmaOracle::WhitelistedAssets` (`max_values`: Some(1), `max_size`: Some(641), added: 1136, mode: `MaxEncodedLen`) /// Storage: `XYK::PoolAssets` (r:0 w:1) /// Proof: `XYK::PoolAssets` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) - fn create_pool() -> Weight { + fn remove_liquidity() -> Weight { // Proof Size summary in bytes: - // Measured: `1140` - // Estimated: `13905` - // Minimum execution time: 202_507_000 picoseconds. - Weight::from_parts(203_717_000, 13905) - .saturating_add(RocksDbWeight::get().reads(17_u64)) - .saturating_add(RocksDbWeight::get().writes(16_u64)) + // Measured: `4345` + // Estimated: `19071` + // Minimum execution time: 431_770_000 picoseconds. + Weight::from_parts(434_368_000, 19071) + .saturating_add(RocksDbWeight::get().reads(29_u64)) + .saturating_add(RocksDbWeight::get().writes(17_u64)) } /// Storage: `XYK::ShareToken` (r:1 w:0) /// Proof: `XYK::ShareToken` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `Tokens::Accounts` (r:5 w:5) + /// Storage: `Tokens::Accounts` (r:6 w:6) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) - /// Storage: `XYK::TotalLiquidity` (r:1 w:1) - /// Proof: `XYK::TotalLiquidity` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) + /// Storage: `Duster::AccountBlacklist` (r:2 w:0) + /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::BannedAssets` (r:3 w:0) + /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::Assets` (r:3 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:3 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `Tokens::TotalIssuance` (r:1 w:1) - /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:0) /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `EmaOracle::Accumulator` (r:1 w:1) - /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) - fn add_liquidity() -> Weight { - // Proof Size summary in bytes: - // Measured: `1803` - // Estimated: `13905` - // Minimum execution time: 176_176_000 picoseconds. - Weight::from_parts(177_422_000, 13905) - .saturating_add(RocksDbWeight::get().reads(14_u64)) - .saturating_add(RocksDbWeight::get().writes(9_u64)) - } - /// Storage: `XYK::ShareToken` (r:1 w:0) - /// Proof: `XYK::ShareToken` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `XYK::TotalLiquidity` (r:1 w:1) - /// Proof: `XYK::TotalLiquidity` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) - /// Storage: `Tokens::Accounts` (r:5 w:5) - /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:3 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:0) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `Tokens::TotalIssuance` (r:1 w:1) - /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) - /// Storage: `EmaOracle::Accumulator` (r:1 w:1) - /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) - fn remove_liquidity() -> Weight { - // Proof Size summary in bytes: - // Measured: `1749` - // Estimated: `13905` - // Minimum execution time: 168_176_000 picoseconds. - Weight::from_parts(169_296_000, 13905) - .saturating_add(RocksDbWeight::get().reads(13_u64)) - .saturating_add(RocksDbWeight::get().writes(8_u64)) - } - /// Storage: `XYK::ShareToken` (r:1 w:0) - /// Proof: `XYK::ShareToken` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `Tokens::Accounts` (r:4 w:4) - /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:0) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `EmaOracle::Accumulator` (r:1 w:1) - /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::ExistentialDepositCounter` (r:1 w:1) + /// Proof: `AssetRegistry::ExistentialDepositCounter` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencyPrice` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencyPrice` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::WhitelistedAssets` (r:1 w:0) + /// Proof: `EmaOracle::WhitelistedAssets` (`max_values`: Some(1), `max_size`: Some(641), added: 1136, mode: `MaxEncodedLen`) fn sell() -> Weight { // Proof Size summary in bytes: - // Measured: `1492` - // Estimated: `11322` - // Minimum execution time: 127_203_000 picoseconds. - Weight::from_parts(127_918_000, 11322) - .saturating_add(RocksDbWeight::get().reads(10_u64)) - .saturating_add(RocksDbWeight::get().writes(5_u64)) + // Measured: `4194` + // Estimated: `16488` + // Minimum execution time: 257_210_000 picoseconds. + Weight::from_parts(259_165_000, 16488) + .saturating_add(RocksDbWeight::get().reads(24_u64)) + .saturating_add(RocksDbWeight::get().writes(10_u64)) } /// Storage: `XYK::ShareToken` (r:1 w:0) /// Proof: `XYK::ShareToken` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `Tokens::Accounts` (r:4 w:4) + /// Storage: `Tokens::Accounts` (r:6 w:6) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:0) + /// Storage: `Duster::AccountBlacklist` (r:2 w:0) + /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::BannedAssets` (r:3 w:0) + /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:3 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencyPrice` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencyPrice` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:3 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `EmaOracle::Accumulator` (r:1 w:1) - /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::ExistentialDepositCounter` (r:1 w:1) + /// Proof: `AssetRegistry::ExistentialDepositCounter` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::WhitelistedAssets` (r:1 w:0) + /// Proof: `EmaOracle::WhitelistedAssets` (`max_values`: Some(1), `max_size`: Some(641), added: 1136, mode: `MaxEncodedLen`) fn buy() -> Weight { // Proof Size summary in bytes: - // Measured: `1492` - // Estimated: `11322` - // Minimum execution time: 126_846_000 picoseconds. - Weight::from_parts(127_737_000, 11322) - .saturating_add(RocksDbWeight::get().reads(10_u64)) - .saturating_add(RocksDbWeight::get().writes(5_u64)) + // Measured: `4194` + // Estimated: `16488` + // Minimum execution time: 256_649_000 picoseconds. + Weight::from_parts(257_410_000, 16488) + .saturating_add(RocksDbWeight::get().reads(24_u64)) + .saturating_add(RocksDbWeight::get().writes(10_u64)) } /// Storage: `XYK::ShareToken` (r:1 w:0) /// Proof: `XYK::ShareToken` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `Tokens::Accounts` (r:4 w:4) + /// Storage: `Tokens::Accounts` (r:6 w:6) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:0) + /// Storage: `Duster::AccountBlacklist` (r:2 w:0) + /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::BannedAssets` (r:3 w:0) + /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:3 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:3 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `EmaOracle::Accumulator` (r:1 w:1) - /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::ExistentialDepositCounter` (r:1 w:1) + /// Proof: `AssetRegistry::ExistentialDepositCounter` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencyPrice` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencyPrice` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::WhitelistedAssets` (r:1 w:0) + /// Proof: `EmaOracle::WhitelistedAssets` (`max_values`: Some(1), `max_size`: Some(641), added: 1136, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 2]`. /// The range of component `e` is `[0, 1]`. fn router_execution_sell(c: u32, e: u32) -> Weight { // Proof Size summary in bytes: - // Measured: `583 + e * (909 ±0)` - // Estimated: `6156 + e * (5166 ±0)` - // Minimum execution time: 22_072_000 picoseconds. - Weight::from_parts(5_201_125, 6156) - // Standard Error: 56_711 - .saturating_add(Weight::from_parts(8_630_075, 0).saturating_mul(c.into())) - // Standard Error: 56_711 - .saturating_add(Weight::from_parts(113_479_825, 0).saturating_mul(e.into())) + // Measured: `1221 + e * (2973 ±0)` + // Estimated: `8799 + e * (10332 ±0)` + // Minimum execution time: 24_501_000 picoseconds. + Weight::from_parts(10_206_077, 8799) + // Standard Error: 76_653 + .saturating_add(Weight::from_parts(7_446_454, 0).saturating_mul(c.into())) + // Standard Error: 76_653 + .saturating_add(Weight::from_parts(241_285_864, 0).saturating_mul(e.into())) .saturating_add(RocksDbWeight::get().reads(3_u64)) - .saturating_add(RocksDbWeight::get().reads((7_u64).saturating_mul(e.into()))) - .saturating_add(RocksDbWeight::get().writes((5_u64).saturating_mul(e.into()))) - .saturating_add(Weight::from_parts(0, 5166).saturating_mul(e.into())) + .saturating_add(RocksDbWeight::get().reads((21_u64).saturating_mul(e.into()))) + .saturating_add(RocksDbWeight::get().writes((10_u64).saturating_mul(e.into()))) + .saturating_add(Weight::from_parts(0, 10332).saturating_mul(e.into())) } /// Storage: `XYK::ShareToken` (r:1 w:0) /// Proof: `XYK::ShareToken` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) - /// Storage: `Tokens::Accounts` (r:4 w:4) + /// Storage: `Tokens::Accounts` (r:6 w:6) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(87), added: 2562, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:0) + /// Storage: `Duster::AccountBlacklist` (r:2 w:0) + /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::BannedAssets` (r:3 w:0) + /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:3 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencyPrice` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencyPrice` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:3 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `EmaOracle::Accumulator` (r:1 w:1) - /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::ExistentialDepositCounter` (r:1 w:1) + /// Proof: `AssetRegistry::ExistentialDepositCounter` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::WhitelistedAssets` (r:1 w:0) + /// Proof: `EmaOracle::WhitelistedAssets` (`max_values`: Some(1), `max_size`: Some(641), added: 1136, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 3]`. /// The range of component `e` is `[0, 1]`. fn router_execution_buy(c: u32, e: u32) -> Weight { // Proof Size summary in bytes: - // Measured: `583 + e * (909 ±0)` - // Estimated: `6156 + e * (5166 ±0)` - // Minimum execution time: 30_065_000 picoseconds. - Weight::from_parts(6_816_200, 6156) - // Standard Error: 42_652 - .saturating_add(Weight::from_parts(7_927_825, 0).saturating_mul(c.into())) - // Standard Error: 69_651 - .saturating_add(Weight::from_parts(112_378_650, 0).saturating_mul(e.into())) + // Measured: `1221 + e * (2973 ±0)` + // Estimated: `6156 + e * (10332 ±94_653_459_118_620)` + // Minimum execution time: 31_769_000 picoseconds. + Weight::from_parts(9_820_195, 6156) + // Standard Error: 25_963 + .saturating_add(Weight::from_parts(7_544_497, 0).saturating_mul(c.into())) + // Standard Error: 43_217 + .saturating_add(Weight::from_parts(239_839_406, 0).saturating_mul(e.into())) .saturating_add(RocksDbWeight::get().reads(3_u64)) - .saturating_add(RocksDbWeight::get().reads((7_u64).saturating_mul(e.into()))) - .saturating_add(RocksDbWeight::get().writes((5_u64).saturating_mul(e.into()))) - .saturating_add(Weight::from_parts(0, 5166).saturating_mul(e.into())) + .saturating_add(RocksDbWeight::get().reads((21_u64).saturating_mul(e.into()))) + .saturating_add(RocksDbWeight::get().writes((10_u64).saturating_mul(e.into()))) + .saturating_add(Weight::from_parts(0, 10332).saturating_mul(e.into())) } } diff --git a/runtime/hydradx/src/system.rs b/runtime/hydradx/src/system.rs index 1cba62697..d117bc5a1 100644 --- a/runtime/hydradx/src/system.rs +++ b/runtime/hydradx/src/system.rs @@ -218,7 +218,7 @@ impl cumulus_pallet_parachain_system::Config for Runtime { type ReservedXcmpWeight = ReservedXcmpWeight; type CheckAssociatedRelayNumber = cumulus_pallet_parachain_system::RelayNumberStrictlyIncreases; type DmpQueue = frame_support::traits::EnqueueWithOrigin; // TODO: what to set here ?! - type WeightInfo = (); + type WeightInfo = weights::cumulus_pallet_parachain_system::HydraWeight; } parameter_types! { @@ -426,7 +426,7 @@ impl pallet_multisig::Config for Runtime { type DepositBase = DepositBase; type DepositFactor = DepositFactor; type MaxSignatories = MaxSignatories; - type WeightInfo = (); + type WeightInfo = weights::pallet_multisig::HydraWeight; } impl pallet_genesis_history::Config for Runtime {} diff --git a/runtime/hydradx/src/weights/cumulus_pallet_parachain_system.rs b/runtime/hydradx/src/weights/cumulus_pallet_parachain_system.rs new file mode 100644 index 000000000..40fe12423 --- /dev/null +++ b/runtime/hydradx/src/weights/cumulus_pallet_parachain_system.rs @@ -0,0 +1,83 @@ +// This file is part of HydraDX. + +// Copyright (C) 2020-2023 Intergalactic, Limited (GIB). +// SPDX-License-Identifier: Apache-2.0 + +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + + +//! Autogenerated weights for `cumulus_pallet_parachain_system` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-05-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` + +// Executed Command: +// ./target/release/hydradx +// benchmark +// pallet +// --wasm-execution=compiled +// --pallet +// * +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 +// --template=scripts/pallet-weight-template.hbs +// --output +// weights/ + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] +#![allow(missing_docs)] + +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; +use core::marker::PhantomData; + +/// Weights for `cumulus_pallet_parachain_system`. +pub struct WeightInfo(PhantomData); + +/// Weights for `cumulus_pallet_parachain_system` using the HydraDX node and recommended hardware. +pub struct HydraWeight(PhantomData); +impl cumulus_pallet_parachain_system::WeightInfo for HydraWeight { + /// Storage: `ParachainSystem::LastDmqMqcHead` (r:1 w:1) + /// Proof: `ParachainSystem::LastDmqMqcHead` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `MessageQueue::BookStateFor` (r:1 w:1) + /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MessageQueue::ServiceHead` (r:1 w:1) + /// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `MaxEncodedLen`) + /// Storage: `ParachainSystem::ProcessedDownwardMessages` (r:0 w:1) + /// Proof: `ParachainSystem::ProcessedDownwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `MessageQueue::Pages` (r:0 w:1000) + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(134193), added: 136668, mode: `MaxEncodedLen`) + /// The range of component `n` is `[0, 1000]`. + fn enqueue_inbound_downward_messages(n: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `152` + // Estimated: `3517` + // Minimum execution time: 2_595_000 picoseconds. + Weight::from_parts(2_639_000, 3517) + // Standard Error: 29_324 + .saturating_add(Weight::from_parts(333_213_013, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into()))) + } +} \ No newline at end of file diff --git a/runtime/hydradx/src/weights/cumulus_pallet_xcmp_queue.rs b/runtime/hydradx/src/weights/cumulus_pallet_xcmp_queue.rs index d2b373d3e..6b9dd8d79 100644 --- a/runtime/hydradx/src/weights/cumulus_pallet_xcmp_queue.rs +++ b/runtime/hydradx/src/weights/cumulus_pallet_xcmp_queue.rs @@ -15,37 +15,46 @@ // See the License for the specific language governing permissions and // limitations under the License. + //! Autogenerated weights for `cumulus_pallet_xcmp_queue` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-02-15, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-05-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=10 -// --repeat=30 // --wasm-execution=compiled -// --heap-pages=4096 -// --template=.maintain/pallet-weight-template-no-back.hbs -// --pallet=cumulus-pallet-xcmp-queue -// --output=./weights/xcmp_queue.rs -// --extrinsic=* +// --pallet +// * +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 +// --template=scripts/pallet-weight-template.hbs +// --output +// weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] #![allow(missing_docs)] -use frame_support::{traits::Get, weights::Weight}; +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; use core::marker::PhantomData; -/// Weight functions for `cumulus_pallet_xcmp_queue`. +/// Weights for `cumulus_pallet_xcmp_queue`. +pub struct WeightInfo(PhantomData); + +/// Weights for `cumulus_pallet_xcmp_queue` using the HydraDX node and recommended hardware. pub struct HydraWeight(PhantomData); impl cumulus_pallet_xcmp_queue::WeightInfo for HydraWeight { /// Storage: `XcmpQueue::QueueConfig` (r:1 w:1) @@ -54,33 +63,103 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for HydraWei // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 7_816_000 picoseconds. - Weight::from_parts(8_016_000, 1627) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 5_674_000 picoseconds. + Weight::from_parts(5_888_000, 1627) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - + /// Storage: `XcmpQueue::QueueConfig` (r:1 w:0) + /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `MessageQueue::BookStateFor` (r:1 w:1) + /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MessageQueue::ServiceHead` (r:1 w:1) + /// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `MaxEncodedLen`) + /// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0) + /// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `MessageQueue::Pages` (r:0 w:1) + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(134193), added: 136668, mode: `MaxEncodedLen`) fn enqueue_xcmp_message() -> Weight { - Weight::from_parts(1, 0) + // Proof Size summary in bytes: + // Measured: `218` + // Estimated: `3517` + // Minimum execution time: 15_775_000 picoseconds. + Weight::from_parts(16_085_000, 3517) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } - + /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1) + /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn suspend_channel() -> Weight { - Weight::from_parts(1, 0) + // Proof Size summary in bytes: + // Measured: `142` + // Estimated: `1627` + // Minimum execution time: 3_240_000 picoseconds. + Weight::from_parts(3_353_000, 1627) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - + /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1) + /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn resume_channel() -> Weight { - Weight::from_parts(1, 0) + // Proof Size summary in bytes: + // Measured: `177` + // Estimated: `1662` + // Minimum execution time: 3_923_000 picoseconds. + Weight::from_parts(4_120_000, 1662) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - fn take_first_concatenated_xcm() -> Weight { - Weight::from_parts(1, 0) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 9_208_000 picoseconds. + Weight::from_parts(9_370_000, 0) } - + /// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6bedc49980ba3aa32b0a189290fd036649` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6bedc49980ba3aa32b0a189290fd036649` (r:1 w:1) + /// Storage: `MessageQueue::BookStateFor` (r:1 w:1) + /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MessageQueue::ServiceHead` (r:1 w:1) + /// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `MaxEncodedLen`) + /// Storage: `XcmpQueue::QueueConfig` (r:1 w:0) + /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0) + /// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `MessageQueue::Pages` (r:0 w:1) + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(134193), added: 136668, mode: `MaxEncodedLen`) fn on_idle_good_msg() -> Weight { - Weight::from_parts(1, 0) + // Proof Size summary in bytes: + // Measured: `134455` + // Estimated: `137920` + // Minimum execution time: 204_087_000 picoseconds. + Weight::from_parts(205_689_000, 137920) + .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) } - + /// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6bedc49980ba3aa32b0a189290fd036649` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6bedc49980ba3aa32b0a189290fd036649` (r:1 w:1) + /// Storage: `MessageQueue::BookStateFor` (r:1 w:1) + /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MessageQueue::ServiceHead` (r:1 w:1) + /// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `MaxEncodedLen`) + /// Storage: `XcmpQueue::QueueConfig` (r:1 w:0) + /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0) + /// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `MessageQueue::Pages` (r:0 w:1) + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(134193), added: 136668, mode: `MaxEncodedLen`) fn on_idle_large_msg() -> Weight { - Weight::from_parts(1, 0) + // Proof Size summary in bytes: + // Measured: `65852` + // Estimated: `69317` + // Minimum execution time: 116_628_000 picoseconds. + Weight::from_parts(117_388_000, 69317) + .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) } } \ No newline at end of file diff --git a/runtime/hydradx/src/weights/frame_system.rs b/runtime/hydradx/src/weights/frame_system.rs index d71ea8f3c..72d4f547c 100644 --- a/runtime/hydradx/src/weights/frame_system.rs +++ b/runtime/hydradx/src/weights/frame_system.rs @@ -15,37 +15,46 @@ // See the License for the specific language governing permissions and // limitations under the License. + //! Autogenerated weights for `frame_system` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-02-15, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-05-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=10 -// --repeat=30 // --wasm-execution=compiled -// --heap-pages=4096 -// --template=.maintain/pallet-weight-template-no-back.hbs -// --pallet=frame-system -// --output=./weights/system.rs -// --extrinsic=* +// --pallet +// * +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 +// --template=scripts/pallet-weight-template.hbs +// --output +// weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] #![allow(missing_docs)] -use frame_support::{traits::Get, weights::Weight}; +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; use core::marker::PhantomData; -/// Weight functions for `frame_system`. +/// Weights for `frame_system`. +pub struct WeightInfo(PhantomData); + +/// Weights for `frame_system` using the HydraDX node and recommended hardware. pub struct HydraWeight(PhantomData); impl frame_system::WeightInfo for HydraWeight { /// The range of component `b` is `[0, 3932160]`. @@ -53,20 +62,20 @@ impl frame_system::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_612_000 picoseconds. - Weight::from_parts(3_700_000, 0) + // Minimum execution time: 2_952_000 picoseconds. + Weight::from_parts(2_985_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(406, 0).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(410, 0).saturating_mul(b.into())) } /// The range of component `b` is `[0, 3932160]`. fn remark_with_event(b: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_260_000 picoseconds. - Weight::from_parts(11_496_000, 0) - // Standard Error: 1 - .saturating_add(Weight::from_parts(1_444, 0).saturating_mul(b.into())) + // Minimum execution time: 7_401_000 picoseconds. + Weight::from_parts(7_577_000, 0) + // Standard Error: 0 + .saturating_add(Weight::from_parts(1_433, 0).saturating_mul(b.into())) } /// Storage: `System::Digest` (r:1 w:1) /// Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -76,10 +85,10 @@ impl frame_system::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `1485` - // Minimum execution time: 6_621_000 picoseconds. - Weight::from_parts(6_809_000, 1485) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 5_067_000 picoseconds. + Weight::from_parts(5_260_000, 1485) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `ParachainSystem::ValidationData` (r:1 w:0) /// Proof: `ParachainSystem::ValidationData` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -97,10 +106,10 @@ impl frame_system::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `198` // Estimated: `1683` - // Minimum execution time: 117_242_692_000 picoseconds. - Weight::from_parts(118_784_037_000, 1683) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(3)) + // Minimum execution time: 120_537_211_000 picoseconds. + Weight::from_parts(121_688_931_000, 1683) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -109,10 +118,10 @@ impl frame_system::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_808_000 picoseconds. - Weight::from_parts(3_867_000, 0) - // Standard Error: 3_843 - .saturating_add(Weight::from_parts(894_266, 0).saturating_mul(i.into())) + // Minimum execution time: 2_967_000 picoseconds. + Weight::from_parts(3_024_000, 0) + // Standard Error: 1_792 + .saturating_add(Weight::from_parts(846_447, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -122,10 +131,10 @@ impl frame_system::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_791_000 picoseconds. - Weight::from_parts(3_854_000, 0) - // Standard Error: 1_362 - .saturating_add(Weight::from_parts(614_354, 0).saturating_mul(i.into())) + // Minimum execution time: 2_951_000 picoseconds. + Weight::from_parts(2_997_000, 0) + // Standard Error: 763 + .saturating_add(Weight::from_parts(582_917, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -133,22 +142,47 @@ impl frame_system::WeightInfo for HydraWeight { /// The range of component `p` is `[0, 1000]`. fn kill_prefix(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `119 + p * (69 ±0)` - // Estimated: `130 + p * (70 ±0)` - // Minimum execution time: 7_002_000 picoseconds. - Weight::from_parts(7_100_000, 130) - // Standard Error: 1_619 - .saturating_add(Weight::from_parts(1_101_962, 0).saturating_mul(p.into())) + // Measured: `173 + p * (69 ±0)` + // Estimated: `153 + p * (70 ±0)` + // Minimum execution time: 5_739_000 picoseconds. + Weight::from_parts(5_865_000, 153) + // Standard Error: 892 + .saturating_add(Weight::from_parts(1_034_334, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) .saturating_add(Weight::from_parts(0, 70).saturating_mul(p.into())) } - + /// Storage: `System::AuthorizedUpgrade` (r:0 w:1) + /// Proof: `System::AuthorizedUpgrade` (`max_values`: Some(1), `max_size`: Some(33), added: 528, mode: `MaxEncodedLen`) fn authorize_upgrade() -> Weight { - todo!() + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 10_017_000 picoseconds. + Weight::from_parts(10_283_000, 0) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - + /// Storage: `System::AuthorizedUpgrade` (r:1 w:1) + /// Proof: `System::AuthorizedUpgrade` (`max_values`: Some(1), `max_size`: Some(33), added: 528, mode: `MaxEncodedLen`) + /// Storage: `ParachainSystem::ValidationData` (r:1 w:0) + /// Proof: `ParachainSystem::ValidationData` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::UpgradeRestrictionSignal` (r:1 w:0) + /// Proof: `ParachainSystem::UpgradeRestrictionSignal` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::PendingValidationCode` (r:1 w:1) + /// Proof: `ParachainSystem::PendingValidationCode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) + /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::NewValidationCode` (r:0 w:1) + /// Proof: `ParachainSystem::NewValidationCode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::DidSetValidationCode` (r:0 w:1) + /// Proof: `ParachainSystem::DidSetValidationCode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn apply_authorized_upgrade() -> Weight { - todo!() + // Proof Size summary in bytes: + // Measured: `220` + // Estimated: `1705` + // Minimum execution time: 120_705_546_000 picoseconds. + Weight::from_parts(122_782_260_000, 1705) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) } } \ No newline at end of file diff --git a/runtime/hydradx/src/weights/mod.rs b/runtime/hydradx/src/weights/mod.rs index c73a70b05..f85b0b80c 100644 --- a/runtime/hydradx/src/weights/mod.rs +++ b/runtime/hydradx/src/weights/mod.rs @@ -1,3 +1,4 @@ +pub mod cumulus_pallet_parachain_system; pub mod cumulus_pallet_xcmp_queue; pub mod frame_system; pub mod orml_tokens; @@ -21,6 +22,7 @@ pub mod pallet_evm_accounts; pub mod pallet_identity; pub mod pallet_lbp; pub mod pallet_message_queue; +pub mod pallet_multisig; pub mod pallet_omnipool; pub mod pallet_omnipool_liquidity_mining; pub mod pallet_otc; diff --git a/runtime/hydradx/src/weights/orml_tokens.rs b/runtime/hydradx/src/weights/orml_tokens.rs index 51a44f5c7..2c98146ec 100644 --- a/runtime/hydradx/src/weights/orml_tokens.rs +++ b/runtime/hydradx/src/weights/orml_tokens.rs @@ -15,37 +15,46 @@ // See the License for the specific language governing permissions and // limitations under the License. + //! Autogenerated weights for `orml_tokens` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-02-15, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-05-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=10 -// --repeat=30 // --wasm-execution=compiled -// --heap-pages=4096 -// --template=.maintain/pallet-weight-template-no-back.hbs -// --pallet=orml_tokens -// --output=./weights/tokens.rs -// --extrinsic=* +// --pallet +// * +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 +// --template=scripts/pallet-weight-template.hbs +// --output +// weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] #![allow(missing_docs)] -use frame_support::{traits::Get, weights::Weight}; +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; use core::marker::PhantomData; -/// Weight functions for `orml_tokens`. +/// Weights for `orml_tokens`. +pub struct WeightInfo(PhantomData); + +/// Weights for `orml_tokens` using the HydraDX node and recommended hardware. pub struct HydraWeight(PhantomData); impl orml_tokens::WeightInfo for HydraWeight { /// Storage: `Duster::AccountBlacklist` (r:1 w:0) @@ -72,12 +81,12 @@ impl orml_tokens::WeightInfo for HydraWeight { /// Proof: `AssetRegistry::ExistentialDepositCounter` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) fn transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `3102` + // Measured: `3205` // Estimated: `11322` - // Minimum execution time: 282_258_000 picoseconds. - Weight::from_parts(285_181_000, 11322) - .saturating_add(T::DbWeight::get().reads(21)) - .saturating_add(T::DbWeight::get().writes(9)) + // Minimum execution time: 232_476_000 picoseconds. + Weight::from_parts(233_663_000, 11322) + .saturating_add(T::DbWeight::get().reads(21_u64)) + .saturating_add(T::DbWeight::get().writes(9_u64)) } /// Storage: `Tokens::Accounts` (r:4 w:4) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) @@ -103,12 +112,12 @@ impl orml_tokens::WeightInfo for HydraWeight { /// Proof: `AssetRegistry::ExistentialDepositCounter` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) fn transfer_all() -> Weight { // Proof Size summary in bytes: - // Measured: `3154` + // Measured: `3257` // Estimated: `11322` - // Minimum execution time: 286_100_000 picoseconds. - Weight::from_parts(287_775_000, 11322) - .saturating_add(T::DbWeight::get().reads(21)) - .saturating_add(T::DbWeight::get().writes(9)) + // Minimum execution time: 236_104_000 picoseconds. + Weight::from_parts(237_656_000, 11322) + .saturating_add(T::DbWeight::get().reads(21_u64)) + .saturating_add(T::DbWeight::get().writes(9_u64)) } /// Storage: `Duster::AccountBlacklist` (r:1 w:0) /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) @@ -134,12 +143,12 @@ impl orml_tokens::WeightInfo for HydraWeight { /// Proof: `AssetRegistry::ExistentialDepositCounter` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) fn transfer_keep_alive() -> Weight { // Proof Size summary in bytes: - // Measured: `3152` + // Measured: `3255` // Estimated: `11322` - // Minimum execution time: 198_176_000 picoseconds. - Weight::from_parts(199_598_000, 11322) - .saturating_add(T::DbWeight::get().reads(21)) - .saturating_add(T::DbWeight::get().writes(8)) + // Minimum execution time: 161_927_000 picoseconds. + Weight::from_parts(163_592_000, 11322) + .saturating_add(T::DbWeight::get().reads(21_u64)) + .saturating_add(T::DbWeight::get().writes(8_u64)) } /// Storage: `Duster::AccountBlacklist` (r:1 w:0) /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) @@ -165,12 +174,12 @@ impl orml_tokens::WeightInfo for HydraWeight { /// Proof: `AssetRegistry::ExistentialDepositCounter` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) fn force_transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `3154` + // Measured: `3257` // Estimated: `11322` - // Minimum execution time: 282_695_000 picoseconds. - Weight::from_parts(284_482_000, 11322) - .saturating_add(T::DbWeight::get().reads(21)) - .saturating_add(T::DbWeight::get().writes(9)) + // Minimum execution time: 232_442_000 picoseconds. + Weight::from_parts(233_954_000, 11322) + .saturating_add(T::DbWeight::get().reads(21_u64)) + .saturating_add(T::DbWeight::get().writes(9_u64)) } /// Storage: `Tokens::Accounts` (r:1 w:1) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) @@ -186,11 +195,11 @@ impl orml_tokens::WeightInfo for HydraWeight { /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) fn set_balance() -> Weight { // Proof Size summary in bytes: - // Measured: `2143` + // Measured: `2213` // Estimated: `3593` - // Minimum execution time: 67_017_000 picoseconds. - Weight::from_parts(67_929_000, 3593) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(3)) + // Minimum execution time: 53_851_000 picoseconds. + Weight::from_parts(54_455_000, 3593) + .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } } \ No newline at end of file diff --git a/runtime/hydradx/src/weights/orml_vesting.rs b/runtime/hydradx/src/weights/orml_vesting.rs index c8c72e4dd..10b472663 100644 --- a/runtime/hydradx/src/weights/orml_vesting.rs +++ b/runtime/hydradx/src/weights/orml_vesting.rs @@ -15,37 +15,46 @@ // See the License for the specific language governing permissions and // limitations under the License. + //! Autogenerated weights for `orml_vesting` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-02-15, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-05-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=10 -// --repeat=30 // --wasm-execution=compiled -// --heap-pages=4096 -// --template=.maintain/pallet-weight-template-no-back.hbs -// --pallet=orml_vesting -// --output=./weights/vesting.rs -// --extrinsic=* +// --pallet +// * +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 +// --template=scripts/pallet-weight-template.hbs +// --output +// weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] #![allow(missing_docs)] -use frame_support::{traits::Get, weights::Weight}; +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; use core::marker::PhantomData; -/// Weight functions for `orml_vesting`. +/// Weights for `orml_vesting`. +pub struct WeightInfo(PhantomData); + +/// Weights for `orml_vesting` using the HydraDX node and recommended hardware. pub struct HydraWeight(PhantomData); impl orml_vesting::WeightInfo for HydraWeight { /// Storage: `Vesting::VestingSchedules` (r:1 w:1) @@ -58,12 +67,12 @@ impl orml_vesting::WeightInfo for HydraWeight { /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) fn vested_transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `1918` + // Measured: `1888` // Estimated: `6315` - // Minimum execution time: 118_969_000 picoseconds. - Weight::from_parts(120_010_000, 6315) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(4)) + // Minimum execution time: 93_625_000 picoseconds. + Weight::from_parts(94_750_000, 6315) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) } /// Storage: `Vesting::VestingSchedules` (r:1 w:1) /// Proof: `Vesting::VestingSchedules` (`max_values`: None, `max_size`: Some(2850), added: 5325, mode: `MaxEncodedLen`) @@ -74,14 +83,14 @@ impl orml_vesting::WeightInfo for HydraWeight { /// The range of component `i` is `[1, 100]`. fn claim(i: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2037 + i * (18 ±0)` + // Measured: `2007 + i * (18 ±0)` // Estimated: `6315` - // Minimum execution time: 66_914_000 picoseconds. - Weight::from_parts(68_653_438, 6315) - // Standard Error: 1_016 - .saturating_add(Weight::from_parts(84_943, 0).saturating_mul(i.into())) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 53_425_000 picoseconds. + Weight::from_parts(55_058_378, 6315) + // Standard Error: 551 + .saturating_add(Weight::from_parts(98_382, 0).saturating_mul(i.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) @@ -94,13 +103,13 @@ impl orml_vesting::WeightInfo for HydraWeight { /// The range of component `i` is `[1, 100]`. fn update_vesting_schedules(i: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1619` + // Measured: `1589` // Estimated: `4764` - // Minimum execution time: 58_382_000 picoseconds. - Weight::from_parts(59_008_204, 4764) - // Standard Error: 546 - .saturating_add(Weight::from_parts(82_456, 0).saturating_mul(i.into())) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(3)) + // Minimum execution time: 45_123_000 picoseconds. + Weight::from_parts(46_153_805, 4764) + // Standard Error: 356 + .saturating_add(Weight::from_parts(95_410, 0).saturating_mul(i.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } } \ No newline at end of file diff --git a/runtime/hydradx/src/weights/pallet_asset_registry.rs b/runtime/hydradx/src/weights/pallet_asset_registry.rs index 26c0398c7..18a0799dd 100644 --- a/runtime/hydradx/src/weights/pallet_asset_registry.rs +++ b/runtime/hydradx/src/weights/pallet_asset_registry.rs @@ -15,41 +15,48 @@ // See the License for the specific language governing permissions and // limitations under the License. + //! Autogenerated weights for `pallet_asset_registry` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-02-15, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-05-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=10 -// --repeat=30 // --wasm-execution=compiled -// --heap-pages=4096 -// --template=.maintain/pallet-weight-template-no-back.hbs -// --pallet=pallet_asset_registry -// --output=./weights/registry.rs -// --extrinsic=* +// --pallet +// * +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 +// --template=scripts/pallet-weight-template.hbs +// --output +// weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] #![allow(missing_docs)] -use frame_support::{traits::Get, weights::Weight}; +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; use core::marker::PhantomData; -use pallet_asset_registry::weights::WeightInfo; +/// Weights for `pallet_asset_registry`. +pub struct WeightInfo(PhantomData); -/// Weight functions for `pallet_asset_registry`. +/// Weights for `pallet_asset_registry` using the HydraDX node and recommended hardware. pub struct HydraWeight(PhantomData); -impl WeightInfo for HydraWeight { +impl pallet_asset_registry::WeightInfo for HydraWeight { /// Storage: `AssetRegistry::Assets` (r:1 w:1) /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::AssetIds` (r:1 w:1) @@ -60,12 +67,12 @@ impl WeightInfo for HydraWeight { /// Proof: `AssetRegistry::AssetLocations` (`max_values`: None, `max_size`: Some(622), added: 3097, mode: `MaxEncodedLen`) fn register() -> Weight { // Proof Size summary in bytes: - // Measured: `322` + // Measured: `388` // Estimated: `4087` - // Minimum execution time: 40_579_000 picoseconds. - Weight::from_parts(41_148_000, 4087) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(4)) + // Minimum execution time: 33_258_000 picoseconds. + Weight::from_parts(33_840_000, 4087) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) } /// Storage: `AssetRegistry::Assets` (r:1 w:1) /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) @@ -77,15 +84,13 @@ impl WeightInfo for HydraWeight { /// Proof: `AssetRegistry::LocationAssets` (`max_values`: None, `max_size`: Some(622), added: 3097, mode: `MaxEncodedLen`) fn update() -> Weight { // Proof Size summary in bytes: - // Measured: `551` + // Measured: `617` // Estimated: `4087` - // Minimum execution time: 48_132_000 picoseconds. - Weight::from_parts(48_483_000, 4087) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(5)) + // Minimum execution time: 40_246_000 picoseconds. + Weight::from_parts(40_839_000, 4087) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) } - /// Storage: `System::Account` (r:2 w:2) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::NextAssetId` (r:1 w:1) /// Proof: `AssetRegistry::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::LocationAssets` (r:1 w:1) @@ -96,12 +101,12 @@ impl WeightInfo for HydraWeight { /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) fn register_external() -> Weight { // Proof Size summary in bytes: - // Measured: `477` - // Estimated: `6196` - // Minimum execution time: 80_033_000 picoseconds. - Weight::from_parts(80_684_000, 6196) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(6)) + // Measured: `301` + // Estimated: `4087` + // Minimum execution time: 23_496_000 picoseconds. + Weight::from_parts(23_982_000, 4087) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) } /// Storage: `AssetRegistry::Assets` (r:1 w:0) /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) @@ -109,22 +114,22 @@ impl WeightInfo for HydraWeight { /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) fn ban_asset() -> Weight { // Proof Size summary in bytes: - // Measured: `361` + // Measured: `427` // Estimated: `3590` - // Minimum execution time: 21_799_000 picoseconds. - Weight::from_parts(22_232_000, 3590) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 17_542_000 picoseconds. + Weight::from_parts(17_999_000, 3590) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `AssetRegistry::BannedAssets` (r:1 w:1) /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) fn unban_asset() -> Weight { // Proof Size summary in bytes: - // Measured: `254` + // Measured: `320` // Estimated: `3485` - // Minimum execution time: 18_853_000 picoseconds. - Weight::from_parts(19_166_000, 3485) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 14_891_000 picoseconds. + Weight::from_parts(15_319_000, 3485) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } -} +} \ No newline at end of file diff --git a/runtime/hydradx/src/weights/pallet_balances.rs b/runtime/hydradx/src/weights/pallet_balances.rs index e726ae4ea..87535feb6 100644 --- a/runtime/hydradx/src/weights/pallet_balances.rs +++ b/runtime/hydradx/src/weights/pallet_balances.rs @@ -15,37 +15,46 @@ // See the License for the specific language governing permissions and // limitations under the License. + //! Autogenerated weights for `pallet_balances` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-02-15, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-05-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=10 -// --repeat=30 // --wasm-execution=compiled -// --heap-pages=4096 -// --template=.maintain/pallet-weight-template-no-back.hbs -// --pallet=pallet_balances -// --output=./weights/balances.rs -// --extrinsic=* +// --pallet +// * +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 +// --template=scripts/pallet-weight-template.hbs +// --output +// weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] #![allow(missing_docs)] -use frame_support::{traits::Get, weights::Weight}; +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; use core::marker::PhantomData; -/// Weight functions for `pallet_balances`. +/// Weights for `pallet_balances`. +pub struct WeightInfo(PhantomData); + +/// Weights for `pallet_balances` using the HydraDX node and recommended hardware. pub struct HydraWeight(PhantomData); impl pallet_balances::WeightInfo for HydraWeight { /// Storage: `System::Account` (r:2 w:2) @@ -54,10 +63,10 @@ impl pallet_balances::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `103` // Estimated: `6196` - // Minimum execution time: 95_388_000 picoseconds. - Weight::from_parts(96_245_000, 6196) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 71_487_000 picoseconds. + Weight::from_parts(71_988_000, 6196) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) @@ -65,10 +74,10 @@ impl pallet_balances::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `3593` - // Minimum execution time: 56_336_000 picoseconds. - Weight::from_parts(56_960_000, 3593) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 44_826_000 picoseconds. + Weight::from_parts(45_268_000, 3593) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) @@ -76,10 +85,10 @@ impl pallet_balances::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `174` // Estimated: `3593` - // Minimum execution time: 23_156_000 picoseconds. - Weight::from_parts(23_520_000, 3593) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 18_696_000 picoseconds. + Weight::from_parts(19_084_000, 3593) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) @@ -87,10 +96,10 @@ impl pallet_balances::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `174` // Estimated: `3593` - // Minimum execution time: 32_737_000 picoseconds. - Weight::from_parts(33_142_000, 3593) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 24_875_000 picoseconds. + Weight::from_parts(25_461_000, 3593) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `System::Account` (r:3 w:3) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) @@ -98,10 +107,10 @@ impl pallet_balances::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `206` // Estimated: `8799` - // Minimum execution time: 97_418_000 picoseconds. - Weight::from_parts(98_398_000, 8799) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(3)) + // Minimum execution time: 73_484_000 picoseconds. + Weight::from_parts(74_356_000, 8799) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) @@ -109,10 +118,10 @@ impl pallet_balances::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `3593` - // Minimum execution time: 70_382_000 picoseconds. - Weight::from_parts(71_293_000, 3593) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 55_533_000 picoseconds. + Weight::from_parts(56_121_000, 3593) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) @@ -120,28 +129,34 @@ impl pallet_balances::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `174` // Estimated: `3593` - // Minimum execution time: 26_552_000 picoseconds. - Weight::from_parts(26_832_000, 3593) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 21_695_000 picoseconds. + Weight::from_parts(22_271_000, 3593) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: `System::Account` (r:1000 w:1000) + /// Storage: `System::Account` (r:999 w:999) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `u` is `[1, 1000]`. fn upgrade_accounts(u: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + u * (136 ±0)` // Estimated: `990 + u * (2603 ±0)` - // Minimum execution time: 24_327_000 picoseconds. - Weight::from_parts(24_625_000, 990) - // Standard Error: 18_294 - .saturating_add(Weight::from_parts(18_506_542, 0).saturating_mul(u.into())) + // Minimum execution time: 20_314_000 picoseconds. + Weight::from_parts(20_426_000, 990) + // Standard Error: 10_360 + .saturating_add(Weight::from_parts(15_044_736, 0).saturating_mul(u.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(u.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(u.into()))) .saturating_add(Weight::from_parts(0, 2603).saturating_mul(u.into())) } - + /// Storage: `Balances::InactiveIssuance` (r:1 w:0) + /// Proof: `Balances::InactiveIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) fn force_adjust_total_issuance() -> Weight { - todo!() + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `1501` + // Minimum execution time: 8_117_000 picoseconds. + Weight::from_parts(8_302_000, 1501) + .saturating_add(T::DbWeight::get().reads(1_u64)) } } \ No newline at end of file diff --git a/runtime/hydradx/src/weights/pallet_bonds.rs b/runtime/hydradx/src/weights/pallet_bonds.rs index 73b8867e0..6ea57d61f 100644 --- a/runtime/hydradx/src/weights/pallet_bonds.rs +++ b/runtime/hydradx/src/weights/pallet_bonds.rs @@ -15,37 +15,46 @@ // See the License for the specific language governing permissions and // limitations under the License. + //! Autogenerated weights for `pallet_bonds` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-02-15, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-05-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=10 -// --repeat=30 // --wasm-execution=compiled -// --heap-pages=4096 -// --template=.maintain/pallet-weight-template-no-back.hbs -// --pallet=pallet_bonds -// --output=./weights/bonds.rs -// --extrinsic=* +// --pallet +// * +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 +// --template=scripts/pallet-weight-template.hbs +// --output +// weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] #![allow(missing_docs)] -use frame_support::{traits::Get, weights::Weight}; +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; use core::marker::PhantomData; -/// Weight functions for `pallet_bonds`. +/// Weights for `pallet_bonds`. +pub struct WeightInfo(PhantomData); + +/// Weights for `pallet_bonds` using the HydraDX node and recommended hardware. pub struct HydraWeight(PhantomData); impl pallet_bonds::WeightInfo for HydraWeight { /// Storage: `AssetRegistry::Assets` (r:1 w:1) @@ -80,12 +89,12 @@ impl pallet_bonds::WeightInfo for HydraWeight { /// Proof: `Bonds::Bonds` (`max_values`: None, `max_size`: Some(32), added: 2507, mode: `MaxEncodedLen`) fn issue() -> Weight { // Proof Size summary in bytes: - // Measured: `1327` + // Measured: `1393` // Estimated: `8799` - // Minimum execution time: 295_545_000 picoseconds. - Weight::from_parts(297_850_000, 8799) - .saturating_add(T::DbWeight::get().reads(16)) - .saturating_add(T::DbWeight::get().writes(12)) + // Minimum execution time: 233_669_000 picoseconds. + Weight::from_parts(235_504_000, 8799) + .saturating_add(T::DbWeight::get().reads(16_u64)) + .saturating_add(T::DbWeight::get().writes(12_u64)) } /// Storage: `Bonds::Bonds` (r:1 w:0) /// Proof: `Bonds::Bonds` (`max_values`: None, `max_size`: Some(32), added: 2507, mode: `MaxEncodedLen`) @@ -109,11 +118,11 @@ impl pallet_bonds::WeightInfo for HydraWeight { /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) fn redeem() -> Weight { // Proof Size summary in bytes: - // Measured: `1744` + // Measured: `1810` // Estimated: `8799` - // Minimum execution time: 215_448_000 picoseconds. - Weight::from_parts(216_795_000, 8799) - .saturating_add(T::DbWeight::get().reads(12)) - .saturating_add(T::DbWeight::get().writes(7)) + // Minimum execution time: 175_138_000 picoseconds. + Weight::from_parts(176_054_000, 8799) + .saturating_add(T::DbWeight::get().reads(12_u64)) + .saturating_add(T::DbWeight::get().writes(7_u64)) } } \ No newline at end of file diff --git a/runtime/hydradx/src/weights/pallet_circuit_breaker.rs b/runtime/hydradx/src/weights/pallet_circuit_breaker.rs index bb2901ac9..d2e8c563f 100644 --- a/runtime/hydradx/src/weights/pallet_circuit_breaker.rs +++ b/runtime/hydradx/src/weights/pallet_circuit_breaker.rs @@ -15,72 +15,81 @@ // See the License for the specific language governing permissions and // limitations under the License. + //! Autogenerated weights for `pallet_circuit_breaker` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-02-15, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-05-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=10 -// --repeat=30 // --wasm-execution=compiled -// --heap-pages=4096 -// --template=.maintain/pallet-weight-template-no-back.hbs -// --pallet=pallet_circuit_breaker -// --output=./weights/circuit_breaker.rs -// --extrinsic=* +// --pallet +// * +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 +// --template=scripts/pallet-weight-template.hbs +// --output +// weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] #![allow(missing_docs)] -use frame_support::{traits::Get, weights::Weight}; +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; use core::marker::PhantomData; -/// Weight functions for `pallet_circuit_breaker`. +/// Weights for `pallet_circuit_breaker`. +pub struct WeightInfo(PhantomData); + +/// Weights for `pallet_circuit_breaker` using the HydraDX node and recommended hardware. pub struct HydraWeight(PhantomData); impl pallet_circuit_breaker::WeightInfo for HydraWeight { /// The range of component `n` is `[0, 400]`. /// The range of component `m` is `[0, 400]`. fn on_finalize(n: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `81 + m * (113 ±0) + n * (56 ±0)` + // Measured: `64 + m * (113 ±0) + n * (56 ±0)` // Estimated: `0` - // Minimum execution time: 337_114_000 picoseconds. - Weight::from_parts(338_524_000, 0) - // Standard Error: 18_748 - .saturating_add(Weight::from_parts(304_800, 0).saturating_mul(n.into())) - // Standard Error: 18_748 - .saturating_add(Weight::from_parts(1_167_299, 0).saturating_mul(m.into())) + // Minimum execution time: 306_621_000 picoseconds. + Weight::from_parts(308_251_000, 0) + // Standard Error: 8_989 + .saturating_add(Weight::from_parts(270_702, 0).saturating_mul(n.into())) + // Standard Error: 8_989 + .saturating_add(Weight::from_parts(1_049_170, 0).saturating_mul(m.into())) } fn on_finalize_single_liquidity_limit_entry() -> Weight { // Proof Size summary in bytes: // Measured: `208` // Estimated: `0` - // Minimum execution time: 9_057_000 picoseconds. - Weight::from_parts(9_236_000, 0) + // Minimum execution time: 8_112_000 picoseconds. + Weight::from_parts(8_381_000, 0) } fn on_finalize_single_trade_limit_entry() -> Weight { // Proof Size summary in bytes: // Measured: `208` // Estimated: `0` - // Minimum execution time: 9_038_000 picoseconds. - Weight::from_parts(9_276_000, 0) + // Minimum execution time: 8_194_000 picoseconds. + Weight::from_parts(8_399_000, 0) } fn on_finalize_empty() -> Weight { // Proof Size summary in bytes: // Measured: `208` // Estimated: `0` - // Minimum execution time: 8_991_000 picoseconds. - Weight::from_parts(9_236_000, 0) + // Minimum execution time: 8_191_000 picoseconds. + Weight::from_parts(8_373_000, 0) } /// Storage: `CircuitBreaker::TradeVolumeLimitPerAsset` (r:0 w:1) /// Proof: `CircuitBreaker::TradeVolumeLimitPerAsset` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) @@ -88,9 +97,9 @@ impl pallet_circuit_breaker::WeightInfo for HydraWeight // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_675_000 picoseconds. - Weight::from_parts(12_914_000, 0) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 8_818_000 picoseconds. + Weight::from_parts(9_140_000, 0) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `CircuitBreaker::LiquidityAddLimitPerAsset` (r:0 w:1) /// Proof: `CircuitBreaker::LiquidityAddLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) @@ -98,9 +107,9 @@ impl pallet_circuit_breaker::WeightInfo for HydraWeight // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_902_000 picoseconds. - Weight::from_parts(13_224_000, 0) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 8_841_000 picoseconds. + Weight::from_parts(9_081_000, 0) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (r:0 w:1) /// Proof: `CircuitBreaker::LiquidityRemoveLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) @@ -108,9 +117,9 @@ impl pallet_circuit_breaker::WeightInfo for HydraWeight // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_583_000 picoseconds. - Weight::from_parts(12_901_000, 0) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 9_089_000 picoseconds. + Weight::from_parts(9_231_000, 0) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `CircuitBreaker::LiquidityAddLimitPerAsset` (r:1 w:0) /// Proof: `CircuitBreaker::LiquidityAddLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) @@ -124,10 +133,10 @@ impl pallet_circuit_breaker::WeightInfo for HydraWeight // Proof Size summary in bytes: // Measured: `262` // Estimated: `3517` - // Minimum execution time: 20_836_000 picoseconds. - Weight::from_parts(21_079_000, 3517) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 20_016_000 picoseconds. + Weight::from_parts(20_252_000, 3517) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `CircuitBreaker::LiquidityAddLimitPerAsset` (r:1 w:0) /// Proof: `CircuitBreaker::LiquidityAddLimitPerAsset` (`max_values`: None, `max_size`: Some(29), added: 2504, mode: `MaxEncodedLen`) @@ -141,10 +150,10 @@ impl pallet_circuit_breaker::WeightInfo for HydraWeight // Proof Size summary in bytes: // Measured: `208` // Estimated: `3517` - // Minimum execution time: 17_939_000 picoseconds. - Weight::from_parts(18_095_000, 3517) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 17_308_000 picoseconds. + Weight::from_parts(17_647_000, 3517) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `CircuitBreaker::AllowedTradeVolumeLimitPerAsset` (r:2 w:2) /// Proof: `CircuitBreaker::AllowedTradeVolumeLimitPerAsset` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`) @@ -154,9 +163,9 @@ impl pallet_circuit_breaker::WeightInfo for HydraWeight // Proof Size summary in bytes: // Measured: `208` // Estimated: `6076` - // Minimum execution time: 18_569_000 picoseconds. - Weight::from_parts(18_816_000, 6076) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 17_387_000 picoseconds. + Weight::from_parts(17_667_000, 6076) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } } \ No newline at end of file diff --git a/runtime/hydradx/src/weights/pallet_claims.rs b/runtime/hydradx/src/weights/pallet_claims.rs index e32c1935b..6f9128b56 100644 --- a/runtime/hydradx/src/weights/pallet_claims.rs +++ b/runtime/hydradx/src/weights/pallet_claims.rs @@ -15,41 +15,48 @@ // See the License for the specific language governing permissions and // limitations under the License. + //! Autogenerated weights for `pallet_claims` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-02-15, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-05-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=10 -// --repeat=30 // --wasm-execution=compiled -// --heap-pages=4096 -// --template=.maintain/pallet-weight-template-no-back.hbs -// --pallet=pallet_claims -// --output=./weights/claims.rs -// --extrinsic=* +// --pallet +// * +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 +// --template=scripts/pallet-weight-template.hbs +// --output +// weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] #![allow(missing_docs)] -use frame_support::{traits::Get, weights::Weight}; +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; use core::marker::PhantomData; -use pallet_claims::weights::WeightInfo; +/// Weights for `pallet_claims`. +pub struct WeightInfo(PhantomData); -/// Weight functions for `pallet_claims`. +/// Weights for `pallet_claims` using the HydraDX node and recommended hardware. pub struct HydraWeight(PhantomData); -impl WeightInfo for HydraWeight { +impl pallet_claims::WeightInfo for HydraWeight { /// Storage: `Claims::Claims` (r:1 w:1) /// Proof: `Claims::Claims` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) @@ -58,9 +65,9 @@ impl WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `382` // Estimated: `3593` - // Minimum execution time: 82_475_000 picoseconds. - Weight::from_parts(82_992_000, 3593) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 69_254_000 picoseconds. + Weight::from_parts(69_849_000, 3593) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } -} +} \ No newline at end of file diff --git a/runtime/hydradx/src/weights/pallet_collator_selection.rs b/runtime/hydradx/src/weights/pallet_collator_selection.rs index 629b515b0..78b8bc8b9 100644 --- a/runtime/hydradx/src/weights/pallet_collator_selection.rs +++ b/runtime/hydradx/src/weights/pallet_collator_selection.rs @@ -15,37 +15,46 @@ // See the License for the specific language governing permissions and // limitations under the License. + //! Autogenerated weights for `pallet_collator_selection` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-02-15, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-05-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=10 -// --repeat=30 // --wasm-execution=compiled -// --heap-pages=4096 -// --template=.maintain/pallet-weight-template-no-back.hbs -// --pallet=pallet_collator_selection -// --output=./weights/collator_selection.rs -// --extrinsic=* +// --pallet +// * +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 +// --template=scripts/pallet-weight-template.hbs +// --output +// weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] #![allow(missing_docs)] -use frame_support::{traits::Get, weights::Weight}; +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; use core::marker::PhantomData; -/// Weight functions for `pallet_collator_selection`. +/// Weights for `pallet_collator_selection`. +pub struct WeightInfo(PhantomData); + +/// Weights for `pallet_collator_selection` using the HydraDX node and recommended hardware. pub struct HydraWeight(PhantomData); impl pallet_collator_selection::WeightInfo for HydraWeight { /// Storage: `Session::NextKeys` (r:50 w:0) @@ -57,10 +66,10 @@ impl pallet_collator_selection::WeightInfo for HydraWei // Proof Size summary in bytes: // Measured: `208 + b * (79 ±0)` // Estimated: `1196 + b * (2554 ±0)` - // Minimum execution time: 12_240_000 picoseconds. - Weight::from_parts(11_347_235, 1196) - // Standard Error: 6_043 - .saturating_add(Weight::from_parts(2_931_655, 0).saturating_mul(b.into())) + // Minimum execution time: 15_743_000 picoseconds. + Weight::from_parts(15_167_427, 1196) + // Standard Error: 4_300 + .saturating_add(Weight::from_parts(3_162_423, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b.into()))) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 2554).saturating_mul(b.into())) @@ -77,18 +86,18 @@ impl pallet_collator_selection::WeightInfo for HydraWei /// The range of component `c` is `[1, 19]`. fn add_invulnerable(b: u32, c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `870 + b * (40 ±0) + c * (48 ±0)` - // Estimated: `4383 + b * (42 ±0) + c * (44 ±0)` - // Minimum execution time: 38_110_000 picoseconds. - Weight::from_parts(38_314_047, 4383) - // Standard Error: 2_548 - .saturating_add(Weight::from_parts(140_704, 0).saturating_mul(b.into())) - // Standard Error: 6_713 - .saturating_add(Weight::from_parts(26_773, 0).saturating_mul(c.into())) + // Measured: `960 + b * (40 ±0) + c * (48 ±0)` + // Estimated: `4440 + b * (42 ±0) + c * (47 ±0)` + // Minimum execution time: 45_723_000 picoseconds. + Weight::from_parts(45_113_873, 4440) + // Standard Error: 948 + .saturating_add(Weight::from_parts(88_517, 0).saturating_mul(b.into())) + // Standard Error: 2_497 + .saturating_add(Weight::from_parts(34_319, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 42).saturating_mul(b.into())) - .saturating_add(Weight::from_parts(0, 44).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(0, 47).saturating_mul(c.into())) } /// Storage: `CollatorSelection::CandidateList` (r:1 w:0) /// Proof: `CollatorSelection::CandidateList` (`max_values`: Some(1), `max_size`: Some(961), added: 1456, mode: `MaxEncodedLen`) @@ -97,12 +106,12 @@ impl pallet_collator_selection::WeightInfo for HydraWei /// The range of component `b` is `[5, 50]`. fn remove_invulnerable(b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `186 + b * (32 ±0)` + // Measured: `285 + b * (32 ±0)` // Estimated: `3086` - // Minimum execution time: 11_550_000 picoseconds. - Weight::from_parts(12_594_896, 3086) - // Standard Error: 1_627 - .saturating_add(Weight::from_parts(67_798, 0).saturating_mul(b.into())) + // Minimum execution time: 15_522_000 picoseconds. + Weight::from_parts(16_201_540, 3086) + // Standard Error: 553 + .saturating_add(Weight::from_parts(40_189, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -112,8 +121,8 @@ impl pallet_collator_selection::WeightInfo for HydraWei // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_050_000 picoseconds. - Weight::from_parts(5_220_000, 0) + // Minimum execution time: 6_784_000 picoseconds. + Weight::from_parts(7_000_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `CollatorSelection::CandidacyBond` (r:1 w:1) @@ -128,14 +137,14 @@ impl pallet_collator_selection::WeightInfo for HydraWei /// The range of component `k` is `[0, 20]`. fn set_candidacy_bond(c: u32, k: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `0 + c * (168 ±0) + k * (119 ±0)` + // Measured: `0 + c * (179 ±0) + k * (128 ±0)` // Estimated: `3593 + c * (848 ±30) + k * (848 ±30)` - // Minimum execution time: 9_450_000 picoseconds. - Weight::from_parts(9_770_000, 3593) - // Standard Error: 161_573 - .saturating_add(Weight::from_parts(5_432_825, 0).saturating_mul(c.into())) - // Standard Error: 161_573 - .saturating_add(Weight::from_parts(5_209_781, 0).saturating_mul(k.into())) + // Minimum execution time: 12_499_000 picoseconds. + Weight::from_parts(12_731_000, 3593) + // Standard Error: 175_471 + .saturating_add(Weight::from_parts(6_014_330, 0).saturating_mul(c.into())) + // Standard Error: 175_471 + .saturating_add(Weight::from_parts(5_851_056, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) @@ -150,12 +159,12 @@ impl pallet_collator_selection::WeightInfo for HydraWei /// The range of component `c` is `[3, 20]`. fn update_bond(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `396 + c * (47 ±0)` + // Measured: `495 + c * (48 ±0)` // Estimated: `2446` - // Minimum execution time: 23_970_000 picoseconds. - Weight::from_parts(25_146_327, 2446) - // Standard Error: 4_873 - .saturating_add(Weight::from_parts(154_276, 0).saturating_mul(c.into())) + // Minimum execution time: 30_841_000 picoseconds. + Weight::from_parts(31_422_744, 2446) + // Standard Error: 3_508 + .saturating_add(Weight::from_parts(84_246, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -172,12 +181,12 @@ impl pallet_collator_selection::WeightInfo for HydraWei /// The range of component `c` is `[1, 19]`. fn register_as_candidate(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `617 + c * (61 ±0)` - // Estimated: `4082 + c * (61 ±0)` - // Minimum execution time: 32_280_000 picoseconds. - Weight::from_parts(33_192_934, 4082) - // Standard Error: 7_668 - .saturating_add(Weight::from_parts(400_903, 0).saturating_mul(c.into())) + // Measured: `716 + c * (61 ±0)` + // Estimated: `4181 + c * (61 ±0)` + // Minimum execution time: 41_443_000 picoseconds. + Weight::from_parts(42_435_773, 4181) + // Standard Error: 2_363 + .saturating_add(Weight::from_parts(155_478, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 61).saturating_mul(c.into())) @@ -197,12 +206,12 @@ impl pallet_collator_selection::WeightInfo for HydraWei /// The range of component `c` is `[3, 20]`. fn take_candidate_slot(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `717 + c * (61 ±0)` - // Estimated: `4182 + c * (61 ±0)` - // Minimum execution time: 50_530_000 picoseconds. - Weight::from_parts(52_887_528, 4182) - // Standard Error: 7_318 - .saturating_add(Weight::from_parts(198_882, 0).saturating_mul(c.into())) + // Measured: `816 + c * (61 ±0)` + // Estimated: `4281 + c * (61 ±0)` + // Minimum execution time: 62_318_000 picoseconds. + Weight::from_parts(63_110_494, 4281) + // Standard Error: 2_620 + .saturating_add(Weight::from_parts(126_958, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) .saturating_add(Weight::from_parts(0, 61).saturating_mul(c.into())) @@ -216,12 +225,12 @@ impl pallet_collator_selection::WeightInfo for HydraWei /// The range of component `c` is `[3, 20]`. fn leave_intent(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `408 + c * (48 ±0)` + // Measured: `507 + c * (48 ±0)` // Estimated: `3086` - // Minimum execution time: 28_231_000 picoseconds. - Weight::from_parts(29_751_583, 3086) - // Standard Error: 5_387 - .saturating_add(Weight::from_parts(184_583, 0).saturating_mul(c.into())) + // Minimum execution time: 35_326_000 picoseconds. + Weight::from_parts(36_271_261, 3086) + // Standard Error: 1_988 + .saturating_add(Weight::from_parts(114_463, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -233,10 +242,10 @@ impl pallet_collator_selection::WeightInfo for HydraWei /// Proof: `CollatorSelection::LastAuthoredBlock` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) fn note_author() -> Weight { // Proof Size summary in bytes: - // Measured: `102` + // Measured: `195` // Estimated: `6196` - // Minimum execution time: 44_410_000 picoseconds. - Weight::from_parts(45_270_000, 6196) + // Minimum execution time: 51_400_000 picoseconds. + Weight::from_parts(51_952_000, 6196) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -256,12 +265,12 @@ impl pallet_collator_selection::WeightInfo for HydraWei /// The range of component `c` is `[1, 20]`. fn new_session(r: u32, c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `391 + c * (98 ±0) + r * (118 ±0)` - // Estimated: `2188621418662104 + c * (2519 ±0) + r * (2571 ±5)` - // Minimum execution time: 19_150_000 picoseconds. - Weight::from_parts(19_770_000, 2188621418662104) - // Standard Error: 271_834 - .saturating_add(Weight::from_parts(12_365_193, 0).saturating_mul(c.into())) + // Measured: `469 + c * (98 ±0) + r * (134 ±0)` + // Estimated: `3086 + c * (2519 ±2) + r * (2571 ±3)` + // Minimum execution time: 24_841_000 picoseconds. + Weight::from_parts(25_165_000, 3086) + // Standard Error: 302_481 + .saturating_add(Weight::from_parts(13_592_124, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1_u64)) diff --git a/runtime/hydradx/src/weights/pallet_collective_council.rs b/runtime/hydradx/src/weights/pallet_collective_council.rs index caa01468f..ff44cde9c 100644 --- a/runtime/hydradx/src/weights/pallet_collective_council.rs +++ b/runtime/hydradx/src/weights/pallet_collective_council.rs @@ -15,41 +15,48 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for `council` + +//! Autogenerated weights for `pallet_collective_council` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-02-15, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-05-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=10 -// --repeat=30 // --wasm-execution=compiled -// --heap-pages=4096 -// --template=.maintain/pallet-weight-template-no-back.hbs -// --pallet=council -// --output=./weights/council.rs -// --extrinsic=* +// --pallet +// * +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 +// --template=scripts/pallet-weight-template.hbs +// --output +// weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] #![allow(missing_docs)] -use frame_support::{traits::Get, weights::Weight}; +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; use core::marker::PhantomData; -use pallet_collective::WeightInfo; +/// Weights for `pallet_collective_council`. +pub struct WeightInfo(PhantomData); -/// Weight functions for `council`. +/// Weights for `pallet_collective_council` using the HydraDX node and recommended hardware. pub struct HydraWeight(PhantomData); -impl WeightInfo for HydraWeight { +impl pallet_collective::WeightInfo for HydraWeight { /// Storage: `Council::Members` (r:1 w:1) /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Council::Proposals` (r:1 w:0) @@ -64,19 +71,19 @@ impl WeightInfo for HydraWeight { fn set_members(m: u32, _n: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + m * (992 ±0) + p * (405 ±0)` - // Estimated: `10288 + m * (587 ±12) + p * (2585 ±5)` - // Minimum execution time: 13_811_000 picoseconds. - Weight::from_parts(13_892_000, 10288) - // Standard Error: 175_369 - .saturating_add(Weight::from_parts(2_946_800, 0).saturating_mul(m.into())) - // Standard Error: 76_976 - .saturating_add(Weight::from_parts(4_083_732, 0).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(2)) + // Estimated: `4558 + m * (591 ±6) + p * (2676 ±2)` + // Minimum execution time: 11_286_000 picoseconds. + Weight::from_parts(11_629_000, 4558) + // Standard Error: 85_794 + .saturating_add(Weight::from_parts(2_799_641, 0).saturating_mul(m.into())) + // Standard Error: 37_600 + .saturating_add(Weight::from_parts(3_968_568, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) - .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) - .saturating_add(Weight::from_parts(0, 587).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 2585).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 591).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 2676).saturating_mul(p.into())) } /// Storage: `Council::Members` (r:1 w:0) /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -84,15 +91,15 @@ impl WeightInfo for HydraWeight { /// The range of component `m` is `[1, 13]`. fn execute(b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `104 + m * (32 ±0)` - // Estimated: `1589 + m * (32 ±0)` - // Minimum execution time: 21_838_000 picoseconds. - Weight::from_parts(21_813_079, 1589) - // Standard Error: 23 - .saturating_add(Weight::from_parts(1_429, 0).saturating_mul(b.into())) - // Standard Error: 1_981 - .saturating_add(Weight::from_parts(26_339, 0).saturating_mul(m.into())) - .saturating_add(T::DbWeight::get().reads(1)) + // Measured: `142 + m * (32 ±0)` + // Estimated: `1627 + m * (32 ±0)` + // Minimum execution time: 16_578_000 picoseconds. + Weight::from_parts(16_660_936, 1627) + // Standard Error: 18 + .saturating_add(Weight::from_parts(1_387, 0).saturating_mul(b.into())) + // Standard Error: 1_464 + .saturating_add(Weight::from_parts(30_655, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } /// Storage: `Council::Members` (r:1 w:0) @@ -103,15 +110,15 @@ impl WeightInfo for HydraWeight { /// The range of component `m` is `[1, 13]`. fn propose_execute(b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `104 + m * (32 ±0)` - // Estimated: `3569 + m * (32 ±0)` - // Minimum execution time: 25_493_000 picoseconds. - Weight::from_parts(25_297_365, 3569) - // Standard Error: 28 - .saturating_add(Weight::from_parts(1_433, 0).saturating_mul(b.into())) - // Standard Error: 2_368 - .saturating_add(Weight::from_parts(52_183, 0).saturating_mul(m.into())) - .saturating_add(T::DbWeight::get().reads(2)) + // Measured: `142 + m * (32 ±0)` + // Estimated: `3607 + m * (32 ±0)` + // Minimum execution time: 20_205_000 picoseconds. + Weight::from_parts(20_185_000, 3607) + // Standard Error: 22 + .saturating_add(Weight::from_parts(1_317, 0).saturating_mul(b.into())) + // Standard Error: 1_838 + .saturating_add(Weight::from_parts(41_944, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } /// Storage: `Council::Members` (r:1 w:0) @@ -129,18 +136,18 @@ impl WeightInfo for HydraWeight { /// The range of component `p` is `[1, 30]`. fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `269 + m * (32 ±0) + p * (46 ±0)` - // Estimated: `3676 + m * (33 ±0) + p * (48 ±0)` - // Minimum execution time: 32_929_000 picoseconds. - Weight::from_parts(33_435_771, 3676) - // Standard Error: 121 - .saturating_add(Weight::from_parts(2_403, 0).saturating_mul(b.into())) - // Standard Error: 4_207 - .saturating_add(Weight::from_parts(303_367, 0).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(4)) + // Measured: `240 + m * (32 ±0) + p * (47 ±0)` + // Estimated: `3698 + m * (33 ±0) + p * (47 ±0)` + // Minimum execution time: 25_452_000 picoseconds. + Weight::from_parts(26_669_888, 3698) + // Standard Error: 55 + .saturating_add(Weight::from_parts(2_010, 0).saturating_mul(b.into())) + // Standard Error: 1_915 + .saturating_add(Weight::from_parts(265_793, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) .saturating_add(Weight::from_parts(0, 33).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 48).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 47).saturating_mul(p.into())) } /// Storage: `Council::Members` (r:1 w:0) /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -149,14 +156,14 @@ impl WeightInfo for HydraWeight { /// The range of component `m` is `[5, 13]`. fn vote(m: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `638 + m * (64 ±0)` - // Estimated: `4103 + m * (64 ±0)` - // Minimum execution time: 26_460_000 picoseconds. - Weight::from_parts(26_812_332, 4103) - // Standard Error: 3_093 - .saturating_add(Weight::from_parts(29_350, 0).saturating_mul(m.into())) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + // Measured: `676 + m * (64 ±0)` + // Estimated: `4141 + m * (64 ±0)` + // Minimum execution time: 22_344_000 picoseconds. + Weight::from_parts(22_666_034, 4141) + // Standard Error: 2_409 + .saturating_add(Weight::from_parts(43_981, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } /// Storage: `Council::Voting` (r:1 w:1) @@ -171,17 +178,17 @@ impl WeightInfo for HydraWeight { /// The range of component `p` is `[1, 30]`. fn close_early_disapproved(m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `298 + m * (64 ±0) + p * (43 ±0)` - // Estimated: `3710 + m * (70 ±0) + p * (44 ±0)` - // Minimum execution time: 34_584_000 picoseconds. - Weight::from_parts(34_586_760, 3710) - // Standard Error: 9_925 - .saturating_add(Weight::from_parts(93_668, 0).saturating_mul(m.into())) - // Standard Error: 3_040 - .saturating_add(Weight::from_parts(263_683, 0).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 70).saturating_mul(m.into())) + // Measured: `230 + m * (64 ±0) + p * (46 ±0)` + // Estimated: `3706 + m * (73 ±0) + p * (44 ±0)` + // Minimum execution time: 26_533_000 picoseconds. + Weight::from_parts(27_124_630, 3706) + // Standard Error: 4_230 + .saturating_add(Weight::from_parts(68_876, 0).saturating_mul(m.into())) + // Standard Error: 1_367 + .saturating_add(Weight::from_parts(235_789, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_parts(0, 73).saturating_mul(m.into())) .saturating_add(Weight::from_parts(0, 44).saturating_mul(p.into())) } /// Storage: `Council::Voting` (r:1 w:1) @@ -197,21 +204,21 @@ impl WeightInfo for HydraWeight { /// The range of component `p` is `[1, 30]`. fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `543 + m * (64 ±0) + p * (56 ±0)` - // Estimated: `3803 + b * (1 ±0) + m * (73 ±1) + p * (58 ±0)` - // Minimum execution time: 49_680_000 picoseconds. - Weight::from_parts(50_379_903, 3803) - // Standard Error: 120 - .saturating_add(Weight::from_parts(589, 0).saturating_mul(b.into())) - // Standard Error: 13_657 - .saturating_add(Weight::from_parts(65_319, 0).saturating_mul(m.into())) - // Standard Error: 4_179 - .saturating_add(Weight::from_parts(296_427, 0).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(3)) + // Measured: `287 + b * (1 ±0) + m * (64 ±0) + p * (63 ±0)` + // Estimated: `3673 + b * (1 ±0) + m * (79 ±0) + p * (60 ±0)` + // Minimum execution time: 38_440_000 picoseconds. + Weight::from_parts(39_162_301, 3673) + // Standard Error: 86 + .saturating_add(Weight::from_parts(712, 0).saturating_mul(b.into())) + // Standard Error: 9_216 + .saturating_add(Weight::from_parts(58_487, 0).saturating_mul(m.into())) + // Standard Error: 2_985 + .saturating_add(Weight::from_parts(256_797, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) - .saturating_add(Weight::from_parts(0, 73).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 58).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 79).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 60).saturating_mul(p.into())) } /// Storage: `Council::Voting` (r:1 w:1) /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -227,17 +234,17 @@ impl WeightInfo for HydraWeight { /// The range of component `p` is `[1, 30]`. fn close_disapproved(m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `318 + m * (64 ±0) + p * (43 ±0)` - // Estimated: `3730 + m * (70 ±0) + p * (44 ±0)` - // Minimum execution time: 37_700_000 picoseconds. - Weight::from_parts(38_156_308, 3730) - // Standard Error: 10_153 - .saturating_add(Weight::from_parts(60_234, 0).saturating_mul(m.into())) - // Standard Error: 3_109 - .saturating_add(Weight::from_parts(263_287, 0).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 70).saturating_mul(m.into())) + // Measured: `250 + m * (64 ±0) + p * (46 ±0)` + // Estimated: `3726 + m * (73 ±0) + p * (44 ±0)` + // Minimum execution time: 28_400_000 picoseconds. + Weight::from_parts(29_248_623, 3726) + // Standard Error: 4_444 + .saturating_add(Weight::from_parts(61_742, 0).saturating_mul(m.into())) + // Standard Error: 1_436 + .saturating_add(Weight::from_parts(232_658, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_parts(0, 73).saturating_mul(m.into())) .saturating_add(Weight::from_parts(0, 44).saturating_mul(p.into())) } /// Storage: `Council::Voting` (r:1 w:1) @@ -255,21 +262,21 @@ impl WeightInfo for HydraWeight { /// The range of component `p` is `[1, 30]`. fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `563 + m * (64 ±0) + p * (56 ±0)` - // Estimated: `3823 + b * (1 ±0) + m * (73 ±1) + p * (58 ±0)` - // Minimum execution time: 52_927_000 picoseconds. - Weight::from_parts(54_289_519, 3823) - // Standard Error: 189 - .saturating_add(Weight::from_parts(215, 0).saturating_mul(b.into())) - // Standard Error: 21_474 - .saturating_add(Weight::from_parts(60_622, 0).saturating_mul(m.into())) - // Standard Error: 6_571 - .saturating_add(Weight::from_parts(292_243, 0).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(3)) + // Measured: `307 + b * (1 ±0) + m * (64 ±0) + p * (63 ±0)` + // Estimated: `3693 + b * (1 ±0) + m * (79 ±0) + p * (60 ±0)` + // Minimum execution time: 40_214_000 picoseconds. + Weight::from_parts(41_333_979, 3693) + // Standard Error: 96 + .saturating_add(Weight::from_parts(683, 0).saturating_mul(b.into())) + // Standard Error: 10_270 + .saturating_add(Weight::from_parts(65_332, 0).saturating_mul(m.into())) + // Standard Error: 3_326 + .saturating_add(Weight::from_parts(262_392, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) - .saturating_add(Weight::from_parts(0, 73).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 58).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 79).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 60).saturating_mul(p.into())) } /// Storage: `Council::Proposals` (r:1 w:1) /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -280,14 +287,14 @@ impl WeightInfo for HydraWeight { /// The range of component `p` is `[1, 30]`. fn disapprove_proposal(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `260 + p * (32 ±0)` - // Estimated: `1745 + p * (32 ±0)` - // Minimum execution time: 22_476_000 picoseconds. - Weight::from_parts(23_113_774, 1745) - // Standard Error: 2_083 - .saturating_add(Weight::from_parts(201_829, 0).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(3)) + // Measured: `298 + p * (32 ±0)` + // Estimated: `1783 + p * (32 ±0)` + // Minimum execution time: 16_958_000 picoseconds. + Weight::from_parts(18_103_927, 1783) + // Standard Error: 1_669 + .saturating_add(Weight::from_parts(186_175, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(p.into())) } -} +} \ No newline at end of file diff --git a/runtime/hydradx/src/weights/pallet_collective_technical_committee.rs b/runtime/hydradx/src/weights/pallet_collective_technical_committee.rs index f8e7d2eb2..aba61868a 100644 --- a/runtime/hydradx/src/weights/pallet_collective_technical_committee.rs +++ b/runtime/hydradx/src/weights/pallet_collective_technical_committee.rs @@ -15,41 +15,48 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Autogenerated weights for `tech` + +//! Autogenerated weights for `pallet_collective_technical_committee` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-02-15, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-05-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=10 -// --repeat=30 // --wasm-execution=compiled -// --heap-pages=4096 -// --template=.maintain/pallet-weight-template-no-back.hbs -// --pallet=tech -// --output=./weights/technical_committee.rs -// --extrinsic=* +// --pallet +// * +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 +// --template=scripts/pallet-weight-template.hbs +// --output +// weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] #![allow(missing_docs)] -use frame_support::{traits::Get, weights::Weight}; +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; use core::marker::PhantomData; -use pallet_collective::WeightInfo; +/// Weights for `pallet_collective_technical_committee`. +pub struct WeightInfo(PhantomData); -/// Weight functions for `tech`. +/// Weights for `pallet_collective_technical_committee` using the HydraDX node and recommended hardware. pub struct HydraWeight(PhantomData); -impl WeightInfo for HydraWeight { +impl pallet_collective::WeightInfo for HydraWeight { /// Storage: `TechnicalCommittee::Members` (r:1 w:1) /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `TechnicalCommittee::Proposals` (r:1 w:0) @@ -64,19 +71,19 @@ impl WeightInfo for HydraWeight { fn set_members(m: u32, _n: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + m * (672 ±0) + p * (310 ±0)` - // Estimated: `7085 + m * (396 ±7) + p * (2539 ±3)` - // Minimum execution time: 13_876_000 picoseconds. - Weight::from_parts(14_129_000, 7085) - // Standard Error: 155_547 - .saturating_add(Weight::from_parts(2_657_114, 0).saturating_mul(m.into())) - // Standard Error: 78_133 - .saturating_add(Weight::from_parts(4_151_945, 0).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(2)) + // Estimated: `4294 + m * (398 ±6) + p * (2601 ±3)` + // Minimum execution time: 9_616_000 picoseconds. + Weight::from_parts(9_877_000, 4294) + // Standard Error: 79_646 + .saturating_add(Weight::from_parts(2_589_295, 0).saturating_mul(m.into())) + // Standard Error: 40_276 + .saturating_add(Weight::from_parts(3_788_958, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) - .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) - .saturating_add(Weight::from_parts(0, 396).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 2539).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 398).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 2601).saturating_mul(p.into())) } /// Storage: `TechnicalCommittee::Members` (r:1 w:0) /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -85,14 +92,14 @@ impl WeightInfo for HydraWeight { fn execute(b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `70 + m * (32 ±0)` - // Estimated: `1555 + m * (32 ±0)` - // Minimum execution time: 22_086_000 picoseconds. - Weight::from_parts(22_142_927, 1555) - // Standard Error: 27 - .saturating_add(Weight::from_parts(1_188, 0).saturating_mul(b.into())) - // Standard Error: 3_174 - .saturating_add(Weight::from_parts(24_985, 0).saturating_mul(m.into())) - .saturating_add(T::DbWeight::get().reads(1)) + // Estimated: `1554 + m * (32 ±0)` + // Minimum execution time: 16_076_000 picoseconds. + Weight::from_parts(16_132_471, 1554) + // Standard Error: 18 + .saturating_add(Weight::from_parts(1_291, 0).saturating_mul(b.into())) + // Standard Error: 1_971 + .saturating_add(Weight::from_parts(33_929, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } /// Storage: `TechnicalCommittee::Members` (r:1 w:0) @@ -104,14 +111,14 @@ impl WeightInfo for HydraWeight { fn propose_execute(b: u32, m: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `70 + m * (32 ±0)` - // Estimated: `3535 + m * (32 ±0)` - // Minimum execution time: 25_870_000 picoseconds. - Weight::from_parts(25_809_413, 3535) - // Standard Error: 26 - .saturating_add(Weight::from_parts(1_349, 0).saturating_mul(b.into())) - // Standard Error: 3_065 - .saturating_add(Weight::from_parts(39_651, 0).saturating_mul(m.into())) - .saturating_add(T::DbWeight::get().reads(2)) + // Estimated: `3534 + m * (32 ±0)` + // Minimum execution time: 19_545_000 picoseconds. + Weight::from_parts(19_640_829, 3534) + // Standard Error: 20 + .saturating_add(Weight::from_parts(1_179, 0).saturating_mul(b.into())) + // Standard Error: 2_162 + .saturating_add(Weight::from_parts(53_156, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) } /// Storage: `TechnicalCommittee::Members` (r:1 w:0) @@ -129,20 +136,20 @@ impl WeightInfo for HydraWeight { /// The range of component `p` is `[1, 20]`. fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `156 + m * (32 ±0) + p * (50 ±0)` - // Estimated: `3574 + m * (32 ±0) + p * (53 ±0)` - // Minimum execution time: 33_389_000 picoseconds. - Weight::from_parts(33_070_270, 3574) - // Standard Error: 101 - .saturating_add(Weight::from_parts(2_087, 0).saturating_mul(b.into())) - // Standard Error: 12_061 - .saturating_add(Weight::from_parts(57_103, 0).saturating_mul(m.into())) - // Standard Error: 5_380 - .saturating_add(Weight::from_parts(365_489, 0).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(4)) + // Measured: `177 + m * (32 ±0) + p * (50 ±0)` + // Estimated: `3603 + m * (32 ±0) + p * (51 ±0)` + // Minimum execution time: 24_738_000 picoseconds. + Weight::from_parts(24_878_771, 3603) + // Standard Error: 57 + .saturating_add(Weight::from_parts(2_030, 0).saturating_mul(b.into())) + // Standard Error: 6_810 + .saturating_add(Weight::from_parts(25_109, 0).saturating_mul(m.into())) + // Standard Error: 3_000 + .saturating_add(Weight::from_parts(316_328, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 53).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 51).saturating_mul(p.into())) } /// Storage: `TechnicalCommittee::Members` (r:1 w:0) /// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -153,12 +160,12 @@ impl WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `538 + m * (64 ±0)` // Estimated: `4003 + m * (64 ±0)` - // Minimum execution time: 26_815_000 picoseconds. - Weight::from_parts(27_021_617, 4003) - // Standard Error: 4_949 - .saturating_add(Weight::from_parts(61_849, 0).saturating_mul(m.into())) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 20_889_000 picoseconds. + Weight::from_parts(21_391_520, 4003) + // Standard Error: 2_823 + .saturating_add(Weight::from_parts(52_007, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) } /// Storage: `TechnicalCommittee::Voting` (r:1 w:1) @@ -173,18 +180,18 @@ impl WeightInfo for HydraWeight { /// The range of component `p` is `[1, 20]`. fn close_early_disapproved(m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `208 + m * (64 ±0) + p * (49 ±0)` - // Estimated: `3640 + m * (69 ±0) + p * (50 ±0)` - // Minimum execution time: 35_042_000 picoseconds. - Weight::from_parts(36_087_417, 3640) - // Standard Error: 12_149 - .saturating_add(Weight::from_parts(3_876, 0).saturating_mul(m.into())) - // Standard Error: 3_989 - .saturating_add(Weight::from_parts(297_818, 0).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 69).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 50).saturating_mul(p.into())) + // Measured: `138 + m * (64 ±0) + p * (53 ±0)` + // Estimated: `3607 + m * (72 ±0) + p * (51 ±0)` + // Minimum execution time: 25_576_000 picoseconds. + Weight::from_parts(26_386_679, 3607) + // Standard Error: 5_989 + .saturating_add(Weight::from_parts(49_264, 0).saturating_mul(m.into())) + // Standard Error: 2_018 + .saturating_add(Weight::from_parts(272_822, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_parts(0, 72).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 51).saturating_mul(p.into())) } /// Storage: `TechnicalCommittee::Voting` (r:1 w:1) /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -199,21 +206,21 @@ impl WeightInfo for HydraWeight { /// The range of component `p` is `[1, 20]`. fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `290 + b * (1 ±0) + m * (64 ±0) + p * (65 ±0)` - // Estimated: `3656 + b * (1 ±0) + m * (69 ±1) + p * (66 ±0)` - // Minimum execution time: 50_836_000 picoseconds. - Weight::from_parts(50_461_445, 3656) - // Standard Error: 117 - .saturating_add(Weight::from_parts(1_279, 0).saturating_mul(b.into())) - // Standard Error: 18_953 - .saturating_add(Weight::from_parts(100_270, 0).saturating_mul(m.into())) - // Standard Error: 6_210 - .saturating_add(Weight::from_parts(330_642, 0).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(3)) + // Measured: `354 + b * (1 ±0) + m * (64 ±0) + p * (65 ±0)` + // Estimated: `3720 + b * (1 ±0) + m * (69 ±1) + p * (67 ±0)` + // Minimum execution time: 37_239_000 picoseconds. + Weight::from_parts(38_650_447, 3720) + // Standard Error: 60 + .saturating_add(Weight::from_parts(775, 0).saturating_mul(b.into())) + // Standard Error: 9_335 + .saturating_add(Weight::from_parts(1_446, 0).saturating_mul(m.into())) + // Standard Error: 3_152 + .saturating_add(Weight::from_parts(297_389, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) .saturating_add(Weight::from_parts(0, 69).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 66).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 67).saturating_mul(p.into())) } /// Storage: `TechnicalCommittee::Voting` (r:1 w:1) /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -229,18 +236,18 @@ impl WeightInfo for HydraWeight { /// The range of component `p` is `[1, 20]`. fn close_disapproved(m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `228 + m * (64 ±0) + p * (49 ±0)` - // Estimated: `3660 + m * (69 ±0) + p * (50 ±0)` - // Minimum execution time: 38_419_000 picoseconds. - Weight::from_parts(39_480_671, 3660) - // Standard Error: 14_633 - .saturating_add(Weight::from_parts(23_963, 0).saturating_mul(m.into())) - // Standard Error: 4_805 - .saturating_add(Weight::from_parts(275_614, 0).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(3)) - .saturating_add(Weight::from_parts(0, 69).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 50).saturating_mul(p.into())) + // Measured: `158 + m * (64 ±0) + p * (53 ±0)` + // Estimated: `3627 + m * (72 ±0) + p * (51 ±0)` + // Minimum execution time: 27_216_000 picoseconds. + Weight::from_parts(27_995_790, 3627) + // Standard Error: 6_780 + .saturating_add(Weight::from_parts(65_739, 0).saturating_mul(m.into())) + // Standard Error: 2_284 + .saturating_add(Weight::from_parts(275_133, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_parts(0, 72).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 51).saturating_mul(p.into())) } /// Storage: `TechnicalCommittee::Voting` (r:1 w:1) /// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -257,21 +264,21 @@ impl WeightInfo for HydraWeight { /// The range of component `p` is `[1, 20]`. fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `310 + b * (1 ±0) + m * (64 ±0) + p * (65 ±0)` - // Estimated: `3676 + b * (1 ±0) + m * (69 ±1) + p * (66 ±0)` - // Minimum execution time: 53_648_000 picoseconds. - Weight::from_parts(54_698_175, 3676) - // Standard Error: 135 - .saturating_add(Weight::from_parts(1_012, 0).saturating_mul(b.into())) - // Standard Error: 21_972 - .saturating_add(Weight::from_parts(50_246, 0).saturating_mul(m.into())) - // Standard Error: 7_199 - .saturating_add(Weight::from_parts(311_701, 0).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(3)) + // Measured: `374 + b * (1 ±0) + m * (64 ±0) + p * (65 ±0)` + // Estimated: `3740 + b * (1 ±0) + m * (69 ±1) + p * (67 ±0)` + // Minimum execution time: 39_231_000 picoseconds. + Weight::from_parts(40_142_591, 3740) + // Standard Error: 61 + .saturating_add(Weight::from_parts(918, 0).saturating_mul(b.into())) + // Standard Error: 9_490 + .saturating_add(Weight::from_parts(57_925, 0).saturating_mul(m.into())) + // Standard Error: 3_205 + .saturating_add(Weight::from_parts(295_348, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) .saturating_add(Weight::from_parts(0, 69).saturating_mul(m.into())) - .saturating_add(Weight::from_parts(0, 66).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(0, 67).saturating_mul(p.into())) } /// Storage: `TechnicalCommittee::Proposals` (r:1 w:1) /// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -284,12 +291,12 @@ impl WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `226 + p * (32 ±0)` // Estimated: `1711 + p * (32 ±0)` - // Minimum execution time: 22_647_000 picoseconds. - Weight::from_parts(23_173_979, 1711) - // Standard Error: 3_421 - .saturating_add(Weight::from_parts(222_829, 0).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(3)) + // Minimum execution time: 16_476_000 picoseconds. + Weight::from_parts(17_143_541, 1711) + // Standard Error: 1_630 + .saturating_add(Weight::from_parts(228_198, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(p.into())) } -} +} \ No newline at end of file diff --git a/runtime/hydradx/src/weights/pallet_currencies.rs b/runtime/hydradx/src/weights/pallet_currencies.rs index 429c4d4cd..2b2a6579b 100644 --- a/runtime/hydradx/src/weights/pallet_currencies.rs +++ b/runtime/hydradx/src/weights/pallet_currencies.rs @@ -15,37 +15,46 @@ // See the License for the specific language governing permissions and // limitations under the License. + //! Autogenerated weights for `pallet_currencies` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-02-15, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-05-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=10 -// --repeat=30 // --wasm-execution=compiled -// --heap-pages=4096 -// --template=.maintain/pallet-weight-template-no-back.hbs -// --pallet=pallet-currencies -// --output=./weights/currencies.rs -// --extrinsic=* +// --pallet +// * +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 +// --template=scripts/pallet-weight-template.hbs +// --output +// weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] #![allow(missing_docs)] -use frame_support::{traits::Get, weights::Weight}; +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; use core::marker::PhantomData; -/// Weight functions for `pallet_currencies`. +/// Weights for `pallet_currencies`. +pub struct WeightInfo(PhantomData); + +/// Weights for `pallet_currencies` using the HydraDX node and recommended hardware. pub struct HydraWeight(PhantomData); impl pallet_currencies::WeightInfo for HydraWeight { /// Storage: `Duster::AccountBlacklist` (r:1 w:0) @@ -64,23 +73,23 @@ impl pallet_currencies::WeightInfo for HydraWeight { /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) fn transfer_non_native_currency() -> Weight { // Proof Size summary in bytes: - // Measured: `2513` + // Measured: `2649` // Estimated: `6156` - // Minimum execution time: 108_145_000 picoseconds. - Weight::from_parts(109_086_000, 6156) - .saturating_add(T::DbWeight::get().reads(8)) - .saturating_add(T::DbWeight::get().writes(4)) + // Minimum execution time: 89_816_000 picoseconds. + Weight::from_parts(90_275_000, 6156) + .saturating_add(T::DbWeight::get().reads(8_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) } /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_native_currency() -> Weight { // Proof Size summary in bytes: - // Measured: `1672` + // Measured: `1642` // Estimated: `3593` - // Minimum execution time: 89_180_000 picoseconds. - Weight::from_parts(89_986_000, 3593) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 70_873_000 picoseconds. + Weight::from_parts(71_750_000, 3593) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `AssetRegistry::BannedAssets` (r:1 w:0) /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) @@ -98,33 +107,33 @@ impl pallet_currencies::WeightInfo for HydraWeight { /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) fn update_balance_non_native_currency() -> Weight { // Proof Size summary in bytes: - // Measured: `2143` + // Measured: `2213` // Estimated: `3593` - // Minimum execution time: 78_116_000 picoseconds. - Weight::from_parts(78_984_000, 3593) - .saturating_add(T::DbWeight::get().reads(7)) - .saturating_add(T::DbWeight::get().writes(3)) + // Minimum execution time: 62_719_000 picoseconds. + Weight::from_parts(63_335_000, 3593) + .saturating_add(T::DbWeight::get().reads(7_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn update_balance_native_currency_creating() -> Weight { // Proof Size summary in bytes: - // Measured: `1532` + // Measured: `1502` // Estimated: `3593` - // Minimum execution time: 52_733_000 picoseconds. - Weight::from_parts(53_610_000, 3593) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 38_419_000 picoseconds. + Weight::from_parts(39_090_000, 3593) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn update_balance_native_currency_killing() -> Weight { // Proof Size summary in bytes: - // Measured: `1620` + // Measured: `1590` // Estimated: `3593` - // Minimum execution time: 52_641_000 picoseconds. - Weight::from_parts(53_186_000, 3593) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 40_366_000 picoseconds. + Weight::from_parts(41_238_000, 3593) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } } \ No newline at end of file diff --git a/runtime/hydradx/src/weights/pallet_dca.rs b/runtime/hydradx/src/weights/pallet_dca.rs index 143e19da8..81e9e9283 100644 --- a/runtime/hydradx/src/weights/pallet_dca.rs +++ b/runtime/hydradx/src/weights/pallet_dca.rs @@ -15,41 +15,48 @@ // See the License for the specific language governing permissions and // limitations under the License. + //! Autogenerated weights for `pallet_dca` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-02-15, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-05-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=10 -// --repeat=30 // --wasm-execution=compiled -// --heap-pages=4096 -// --template=.maintain/pallet-weight-template-no-back.hbs -// --pallet=pallet_dca -// --output=./weights/dca.rs -// --extrinsic=* +// --pallet +// * +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 +// --template=scripts/pallet-weight-template.hbs +// --output +// weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] #![allow(missing_docs)] -use frame_support::{traits::Get, weights::Weight}; +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; use core::marker::PhantomData; -use pallet_dca::weights::WeightInfo; +/// Weights for `pallet_dca`. +pub struct WeightInfo(PhantomData); -/// Weight functions for `pallet_dca`. +/// Weights for `pallet_dca` using the HydraDX node and recommended hardware. pub struct HydraWeight(PhantomData); -impl WeightInfo for HydraWeight { +impl pallet_dca::WeightInfo for HydraWeight { /// Storage: `DCA::ScheduleIdsPerBlock` (r:12 w:2) /// Proof: `DCA::ScheduleIdsPerBlock` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`) /// Storage: `DCA::Schedules` (r:1 w:0) @@ -64,12 +71,12 @@ impl WeightInfo for HydraWeight { /// Proof: `DCA::RetriesOnError` (`max_values`: None, `max_size`: Some(21), added: 2496, mode: `MaxEncodedLen`) fn on_initialize_with_buy_trade() -> Weight { // Proof Size summary in bytes: - // Measured: `54411` + // Measured: `54489` // Estimated: `31902` - // Minimum execution time: 237_105_000 picoseconds. - Weight::from_parts(240_959_000, 31902) - .saturating_add(T::DbWeight::get().reads(17)) - .saturating_add(T::DbWeight::get().writes(7)) + // Minimum execution time: 202_799_000 picoseconds. + Weight::from_parts(206_738_000, 31902) + .saturating_add(T::DbWeight::get().reads(17_u64)) + .saturating_add(T::DbWeight::get().writes(7_u64)) } /// Storage: `DCA::ScheduleIdsPerBlock` (r:12 w:2) /// Proof: `DCA::ScheduleIdsPerBlock` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`) @@ -85,22 +92,22 @@ impl WeightInfo for HydraWeight { /// Proof: `DCA::RetriesOnError` (`max_values`: None, `max_size`: Some(21), added: 2496, mode: `MaxEncodedLen`) fn on_initialize_with_sell_trade() -> Weight { // Proof Size summary in bytes: - // Measured: `54411` + // Measured: `54597` // Estimated: `31902` - // Minimum execution time: 238_379_000 picoseconds. - Weight::from_parts(241_004_000, 31902) - .saturating_add(T::DbWeight::get().reads(17)) - .saturating_add(T::DbWeight::get().writes(7)) + // Minimum execution time: 204_918_000 picoseconds. + Weight::from_parts(208_782_000, 31902) + .saturating_add(T::DbWeight::get().reads(17_u64)) + .saturating_add(T::DbWeight::get().writes(7_u64)) } /// Storage: `DCA::ScheduleIdsPerBlock` (r:1 w:0) /// Proof: `DCA::ScheduleIdsPerBlock` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`) fn on_initialize_with_empty_block() -> Weight { // Proof Size summary in bytes: - // Measured: `1075` + // Measured: `1079` // Estimated: `3566` - // Minimum execution time: 17_306_000 picoseconds. - Weight::from_parts(17_642_000, 3566) - .saturating_add(T::DbWeight::get().reads(1)) + // Minimum execution time: 14_238_000 picoseconds. + Weight::from_parts(14_673_000, 3566) + .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) @@ -126,12 +133,12 @@ impl WeightInfo for HydraWeight { /// Proof: `DCA::RemainingAmounts` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) fn schedule() -> Weight { // Proof Size summary in bytes: - // Measured: `52552` + // Measured: `52622` // Estimated: `29326` - // Minimum execution time: 174_494_000 picoseconds. - Weight::from_parts(176_197_000, 29326) - .saturating_add(T::DbWeight::get().reads(17)) - .saturating_add(T::DbWeight::get().writes(8)) + // Minimum execution time: 152_498_000 picoseconds. + Weight::from_parts(153_894_000, 29326) + .saturating_add(T::DbWeight::get().reads(17_u64)) + .saturating_add(T::DbWeight::get().writes(8_u64)) } /// Storage: `DCA::Schedules` (r:1 w:1) /// Proof: `DCA::Schedules` (`max_values`: None, `max_size`: Some(191), added: 2666, mode: `MaxEncodedLen`) @@ -149,11 +156,11 @@ impl WeightInfo for HydraWeight { /// Proof: `DCA::ScheduleOwnership` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) fn terminate() -> Weight { // Proof Size summary in bytes: - // Measured: `2526` + // Measured: `2496` // Estimated: `4714` - // Minimum execution time: 80_303_000 picoseconds. - Weight::from_parts(81_183_000, 4714) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(7)) + // Minimum execution time: 69_671_000 picoseconds. + Weight::from_parts(70_408_000, 4714) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().writes(7_u64)) } -} +} \ No newline at end of file diff --git a/runtime/hydradx/src/weights/pallet_democracy.rs b/runtime/hydradx/src/weights/pallet_democracy.rs index da99aec3c..f198e931d 100644 --- a/runtime/hydradx/src/weights/pallet_democracy.rs +++ b/runtime/hydradx/src/weights/pallet_democracy.rs @@ -15,37 +15,46 @@ // See the License for the specific language governing permissions and // limitations under the License. + //! Autogenerated weights for `pallet_democracy` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-02-15, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-05-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=10 -// --repeat=30 // --wasm-execution=compiled -// --heap-pages=4096 -// --template=.maintain/pallet-weight-template-no-back.hbs -// --pallet=pallet_democracy -// --output=./weights/democracy.rs -// --extrinsic=* +// --pallet +// * +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 +// --template=scripts/pallet-weight-template.hbs +// --output +// weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] #![allow(missing_docs)] -use frame_support::{traits::Get, weights::Weight}; +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; use core::marker::PhantomData; -/// Weight functions for `pallet_democracy`. +/// Weights for `pallet_democracy`. +pub struct WeightInfo(PhantomData); + +/// Weights for `pallet_democracy` using the HydraDX node and recommended hardware. pub struct HydraWeight(PhantomData); impl pallet_democracy::WeightInfo for HydraWeight { /// Storage: `Democracy::PublicPropCount` (r:1 w:1) @@ -60,10 +69,10 @@ impl pallet_democracy::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `4688` // Estimated: `18187` - // Minimum execution time: 52_817_000 picoseconds. - Weight::from_parts(53_361_000, 18187) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(3)) + // Minimum execution time: 41_583_000 picoseconds. + Weight::from_parts(42_288_000, 18187) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } /// Storage: `Democracy::DepositOf` (r:1 w:1) /// Proof: `Democracy::DepositOf` (`max_values`: None, `max_size`: Some(3230), added: 5705, mode: `MaxEncodedLen`) @@ -71,10 +80,10 @@ impl pallet_democracy::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `3443` // Estimated: `6695` - // Minimum execution time: 47_312_000 picoseconds. - Weight::from_parts(48_028_000, 6695) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 39_101_000 picoseconds. + Weight::from_parts(39_726_000, 6695) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Democracy::ReferendumInfoOf` (r:100 w:1) /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) @@ -94,10 +103,10 @@ impl pallet_democracy::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `15343` // Estimated: `268590` - // Minimum execution time: 457_000_000 picoseconds. - Weight::from_parts(463_662_000, 268590) - .saturating_add(T::DbWeight::get().reads(107)) - .saturating_add(T::DbWeight::get().writes(5)) + // Minimum execution time: 410_085_000 picoseconds. + Weight::from_parts(416_106_000, 268590) + .saturating_add(T::DbWeight::get().reads(107_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) } /// Storage: `Democracy::ReferendumInfoOf` (r:100 w:1) /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) @@ -117,10 +126,10 @@ impl pallet_democracy::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `15365` // Estimated: `268590` - // Minimum execution time: 458_732_000 picoseconds. - Weight::from_parts(462_786_000, 268590) - .saturating_add(T::DbWeight::get().reads(107)) - .saturating_add(T::DbWeight::get().writes(5)) + // Minimum execution time: 415_909_000 picoseconds. + Weight::from_parts(419_308_000, 268590) + .saturating_add(T::DbWeight::get().reads(107_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) } /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) @@ -132,10 +141,10 @@ impl pallet_democracy::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `249` // Estimated: `3666` - // Minimum execution time: 35_202_000 picoseconds. - Weight::from_parts(35_727_000, 3666) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(3)) + // Minimum execution time: 27_314_000 picoseconds. + Weight::from_parts(27_738_000, 3666) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } /// Storage: `Democracy::PublicProps` (r:1 w:1) /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) @@ -155,10 +164,10 @@ impl pallet_democracy::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `6191` // Estimated: `18187` - // Minimum execution time: 133_106_000 picoseconds. - Weight::from_parts(134_384_000, 18187) - .saturating_add(T::DbWeight::get().reads(9)) - .saturating_add(T::DbWeight::get().writes(8)) + // Minimum execution time: 106_015_000 picoseconds. + Weight::from_parts(107_156_000, 18187) + .saturating_add(T::DbWeight::get().reads(9_u64)) + .saturating_add(T::DbWeight::get().writes(8_u64)) } /// Storage: `Democracy::NextExternal` (r:1 w:1) /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) @@ -168,10 +177,10 @@ impl pallet_democracy::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `3276` // Estimated: `6703` - // Minimum execution time: 16_191_000 picoseconds. - Weight::from_parts(16_552_000, 6703) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 13_109_000 picoseconds. + Weight::from_parts(13_498_000, 6703) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Democracy::NextExternal` (r:0 w:1) /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) @@ -179,9 +188,9 @@ impl pallet_democracy::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_348_000 picoseconds. - Weight::from_parts(5_614_000, 0) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 3_867_000 picoseconds. + Weight::from_parts(4_031_000, 0) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Democracy::NextExternal` (r:0 w:1) /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) @@ -189,9 +198,9 @@ impl pallet_democracy::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_475_000 picoseconds. - Weight::from_parts(5_653_000, 0) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 3_863_000 picoseconds. + Weight::from_parts(4_063_000, 0) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Democracy::NextExternal` (r:1 w:1) /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) @@ -205,10 +214,10 @@ impl pallet_democracy::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `147` // Estimated: `3518` - // Minimum execution time: 35_067_000 picoseconds. - Weight::from_parts(35_615_000, 3518) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(5)) + // Minimum execution time: 25_327_000 picoseconds. + Weight::from_parts(25_746_000, 3518) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) } /// Storage: `Democracy::NextExternal` (r:1 w:1) /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) @@ -220,10 +229,10 @@ impl pallet_democracy::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `3377` // Estimated: `6703` - // Minimum execution time: 37_167_000 picoseconds. - Weight::from_parts(37_496_000, 6703) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(3)) + // Minimum execution time: 28_513_000 picoseconds. + Weight::from_parts(29_004_000, 6703) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } /// Storage: `Democracy::PublicProps` (r:1 w:1) /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) @@ -237,10 +246,10 @@ impl pallet_democracy::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `6076` // Estimated: `18187` - // Minimum execution time: 106_446_000 picoseconds. - Weight::from_parts(107_332_000, 18187) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(5)) + // Minimum execution time: 85_579_000 picoseconds. + Weight::from_parts(86_462_000, 18187) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) } /// Storage: `Democracy::MetadataOf` (r:1 w:1) /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) @@ -250,10 +259,10 @@ impl pallet_democracy::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `181` // Estimated: `3518` - // Minimum execution time: 27_026_000 picoseconds. - Weight::from_parts(27_252_000, 3518) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 20_065_000 picoseconds. + Weight::from_parts(20_350_000, 3518) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `Democracy::LowestUnbaked` (r:1 w:1) /// Proof: `Democracy::LowestUnbaked` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) @@ -264,15 +273,15 @@ impl pallet_democracy::WeightInfo for HydraWeight { /// The range of component `r` is `[0, 99]`. fn on_initialize_base(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `125 + r * (86 ±0)` + // Measured: `127 + r * (86 ±0)` // Estimated: `1489 + r * (2676 ±0)` - // Minimum execution time: 6_449_000 picoseconds. - Weight::from_parts(10_202_160, 1489) - // Standard Error: 9_155 - .saturating_add(Weight::from_parts(3_512_494, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(2)) + // Minimum execution time: 4_074_000 picoseconds. + Weight::from_parts(8_776_460, 1489) + // Standard Error: 4_628 + .saturating_add(Weight::from_parts(3_201_403, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) - .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) } /// Storage: `Democracy::LowestUnbaked` (r:1 w:1) @@ -290,15 +299,15 @@ impl pallet_democracy::WeightInfo for HydraWeight { /// The range of component `r` is `[0, 99]`. fn on_initialize_base_with_launch_period(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `125 + r * (86 ±0)` + // Measured: `127 + r * (86 ±0)` // Estimated: `18187 + r * (2676 ±0)` - // Minimum execution time: 10_851_000 picoseconds. - Weight::from_parts(14_487_601, 18187) - // Standard Error: 11_289 - .saturating_add(Weight::from_parts(3_526_832, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(5)) + // Minimum execution time: 6_644_000 picoseconds. + Weight::from_parts(11_778_472, 18187) + // Standard Error: 5_684 + .saturating_add(Weight::from_parts(3_210_685, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) - .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) } /// Storage: `Democracy::VotingOf` (r:3 w:3) @@ -314,13 +323,13 @@ impl pallet_democracy::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `677 + r * (108 ±0)` // Estimated: `19800 + r * (2676 ±0)` - // Minimum execution time: 51_565_000 picoseconds. - Weight::from_parts(54_150_506, 19800) - // Standard Error: 11_442 - .saturating_add(Weight::from_parts(4_583_970, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(5)) + // Minimum execution time: 43_611_000 picoseconds. + Weight::from_parts(49_441_401, 19800) + // Standard Error: 6_010 + .saturating_add(Weight::from_parts(4_110_653, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) - .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().writes(4_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) } @@ -331,15 +340,15 @@ impl pallet_democracy::WeightInfo for HydraWeight { /// The range of component `r` is `[0, 99]`. fn undelegate(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `373 + r * (108 ±0)` + // Measured: `374 + r * (108 ±0)` // Estimated: `13530 + r * (2676 ±0)` - // Minimum execution time: 25_418_000 picoseconds. - Weight::from_parts(25_764_904, 13530) - // Standard Error: 11_050 - .saturating_add(Weight::from_parts(4_467_732, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(2)) + // Minimum execution time: 20_638_000 picoseconds. + Weight::from_parts(22_569_518, 13530) + // Standard Error: 5_015 + .saturating_add(Weight::from_parts(4_078_739, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) - .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) } @@ -349,9 +358,9 @@ impl pallet_democracy::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_514_000 picoseconds. - Weight::from_parts(5_649_000, 0) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 4_025_000 picoseconds. + Weight::from_parts(4_259_000, 0) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Democracy::VotingOf` (r:1 w:1) /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) @@ -366,12 +375,12 @@ impl pallet_democracy::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `432` // Estimated: `7260` - // Minimum execution time: 31_065_000 picoseconds. - Weight::from_parts(43_368_306, 7260) - // Standard Error: 11_713 - .saturating_add(Weight::from_parts(105_510, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(3)) + // Minimum execution time: 26_212_000 picoseconds. + Weight::from_parts(37_912_071, 7260) + // Standard Error: 2_649 + .saturating_add(Weight::from_parts(38_915, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } /// Storage: `Democracy::VotingOf` (r:1 w:1) /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) @@ -384,14 +393,14 @@ impl pallet_democracy::WeightInfo for HydraWeight { /// The range of component `r` is `[0, 99]`. fn unlock_set(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `432 + r * (22 ±0)` + // Measured: `433 + r * (22 ±0)` // Estimated: `7260` - // Minimum execution time: 45_967_000 picoseconds. - Weight::from_parts(46_641_334, 7260) - // Standard Error: 1_430 - .saturating_add(Weight::from_parts(52_962, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(3)) + // Minimum execution time: 36_330_000 picoseconds. + Weight::from_parts(37_941_730, 7260) + // Standard Error: 717 + .saturating_add(Weight::from_parts(59_784, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } /// Storage: `Democracy::ReferendumInfoOf` (r:100 w:1) /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) @@ -406,15 +415,15 @@ impl pallet_democracy::WeightInfo for HydraWeight { /// The range of component `r` is `[1, 100]`. fn remove_vote(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1078 + r * (129 ±0)` + // Measured: `1077 + r * (129 ±0)` // Estimated: `7260 + r * (2676 ±0)` - // Minimum execution time: 49_607_000 picoseconds. - Weight::from_parts(47_295_651, 7260) - // Standard Error: 9_326 - .saturating_add(Weight::from_parts(3_651_350, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(5)) + // Minimum execution time: 46_481_000 picoseconds. + Weight::from_parts(46_605_938, 7260) + // Standard Error: 4_894 + .saturating_add(Weight::from_parts(3_310_988, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) - .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().writes(4_u64)) .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) } /// Storage: `Democracy::ReferendumInfoOf` (r:100 w:1) @@ -430,31 +439,33 @@ impl pallet_democracy::WeightInfo for HydraWeight { /// The range of component `r` is `[1, 100]`. fn remove_other_vote(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1078 + r * (129 ±0)` + // Measured: `1077 + r * (129 ±0)` // Estimated: `7260 + r * (2676 ±0)` - // Minimum execution time: 49_376_000 picoseconds. - Weight::from_parts(47_208_359, 7260) - // Standard Error: 7_655 - .saturating_add(Weight::from_parts(3_658_412, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(5)) + // Minimum execution time: 45_868_000 picoseconds. + Weight::from_parts(46_237_093, 7260) + // Standard Error: 5_206 + .saturating_add(Weight::from_parts(3_320_564, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) - .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().writes(4_u64)) .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) } /// Storage: `Democracy::NextExternal` (r:1 w:0) /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) /// Storage: `Preimage::StatusFor` (r:1 w:0) /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:0) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(75), added: 2550, mode: `MaxEncodedLen`) /// Storage: `Democracy::MetadataOf` (r:0 w:1) /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn set_external_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `287` // Estimated: `3556` - // Minimum execution time: 23_578_000 picoseconds. - Weight::from_parts(24_114_000, 3556) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 20_451_000 picoseconds. + Weight::from_parts(20_700_000, 3556) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Democracy::NextExternal` (r:1 w:0) /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) @@ -464,25 +475,27 @@ impl pallet_democracy::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `147` // Estimated: `3518` - // Minimum execution time: 21_024_000 picoseconds. - Weight::from_parts(21_324_000, 3518) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 16_417_000 picoseconds. + Weight::from_parts(16_604_000, 3518) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Democracy::PublicProps` (r:1 w:0) /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) /// Storage: `Preimage::StatusFor` (r:1 w:0) /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:0) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(75), added: 2550, mode: `MaxEncodedLen`) /// Storage: `Democracy::MetadataOf` (r:0 w:1) /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn set_proposal_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `4842` // Estimated: `18187` - // Minimum execution time: 47_604_000 picoseconds. - Weight::from_parts(47_974_000, 18187) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 42_228_000 picoseconds. + Weight::from_parts(42_643_000, 18187) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Democracy::PublicProps` (r:1 w:0) /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) @@ -492,23 +505,25 @@ impl pallet_democracy::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `4706` // Estimated: `18187` - // Minimum execution time: 44_046_000 picoseconds. - Weight::from_parts(44_746_000, 18187) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 36_760_000 picoseconds. + Weight::from_parts(37_250_000, 18187) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Preimage::StatusFor` (r:1 w:0) /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:0) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(75), added: 2550, mode: `MaxEncodedLen`) /// Storage: `Democracy::MetadataOf` (r:0 w:1) /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) fn set_referendum_metadata() -> Weight { // Proof Size summary in bytes: // Measured: `211` // Estimated: `3556` - // Minimum execution time: 20_917_000 picoseconds. - Weight::from_parts(21_223_000, 3556) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 18_163_000 picoseconds. + Weight::from_parts(18_437_000, 3556) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:0) /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) @@ -518,9 +533,9 @@ impl pallet_democracy::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `159` // Estimated: `3666` - // Minimum execution time: 23_184_000 picoseconds. - Weight::from_parts(23_505_000, 3666) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 19_028_000 picoseconds. + Weight::from_parts(19_242_000, 3666) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } } \ No newline at end of file diff --git a/runtime/hydradx/src/weights/pallet_duster.rs b/runtime/hydradx/src/weights/pallet_duster.rs index d57ad0429..67e855672 100644 --- a/runtime/hydradx/src/weights/pallet_duster.rs +++ b/runtime/hydradx/src/weights/pallet_duster.rs @@ -15,41 +15,48 @@ // See the License for the specific language governing permissions and // limitations under the License. + //! Autogenerated weights for `pallet_duster` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-02-15, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-05-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=10 -// --repeat=30 // --wasm-execution=compiled -// --heap-pages=4096 -// --template=.maintain/pallet-weight-template-no-back.hbs -// --pallet=pallet_duster -// --output=./weights/duster.rs -// --extrinsic=* +// --pallet +// * +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 +// --template=scripts/pallet-weight-template.hbs +// --output +// weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] #![allow(missing_docs)] -use frame_support::{traits::Get, weights::Weight}; +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; use core::marker::PhantomData; -use pallet_duster::weights::WeightInfo; +/// Weights for `pallet_duster`. +pub struct WeightInfo(PhantomData); -/// Weight functions for `pallet_duster`. +/// Weights for `pallet_duster` using the HydraDX node and recommended hardware. pub struct HydraWeight(PhantomData); -impl WeightInfo for HydraWeight { +impl pallet_duster::WeightInfo for HydraWeight { /// Storage: `Duster::AccountBlacklist` (r:1 w:0) /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::Assets` (r:1 w:0) @@ -68,32 +75,32 @@ impl WeightInfo for HydraWeight { /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) fn dust_account() -> Weight { // Proof Size summary in bytes: - // Measured: `2554` + // Measured: `2690` // Estimated: `6156` - // Minimum execution time: 99_580_000 picoseconds. - Weight::from_parts(100_367_000, 6156) - .saturating_add(T::DbWeight::get().reads(8)) - .saturating_add(T::DbWeight::get().writes(4)) + // Minimum execution time: 84_500_000 picoseconds. + Weight::from_parts(85_254_000, 6156) + .saturating_add(T::DbWeight::get().reads(8_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) } /// Storage: `Duster::AccountBlacklist` (r:0 w:1) /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) fn add_nondustable_account() -> Weight { // Proof Size summary in bytes: - // Measured: `1012` + // Measured: `1016` // Estimated: `0` - // Minimum execution time: 20_681_000 picoseconds. - Weight::from_parts(21_171_000, 0) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 16_109_000 picoseconds. + Weight::from_parts(16_551_000, 0) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Duster::AccountBlacklist` (r:1 w:1) /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) fn remove_nondustable_account() -> Weight { // Proof Size summary in bytes: - // Measured: `1300` + // Measured: `1370` // Estimated: `3513` - // Minimum execution time: 26_184_000 picoseconds. - Weight::from_parts(26_513_000, 3513) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 20_814_000 picoseconds. + Weight::from_parts(21_277_000, 3513) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } -} +} \ No newline at end of file diff --git a/runtime/hydradx/src/weights/pallet_dynamic_evm_fee.rs b/runtime/hydradx/src/weights/pallet_dynamic_evm_fee.rs index dad1ab154..7eebdff7c 100644 --- a/runtime/hydradx/src/weights/pallet_dynamic_evm_fee.rs +++ b/runtime/hydradx/src/weights/pallet_dynamic_evm_fee.rs @@ -15,60 +15,69 @@ // See the License for the specific language governing permissions and // limitations under the License. + //! Autogenerated weights for `pallet_dynamic_evm_fee` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-02-23, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-05-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=10 -// --repeat=30 // --wasm-execution=compiled -// --heap-pages=4096 -// --template=.maintain/pallet-weight-template-no-back.hbs -// --pallet=pallet-dynamic-evm-fee -// --output=dyn.rs -// --extrinsic=* +// --pallet +// * +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 +// --template=scripts/pallet-weight-template.hbs +// --output +// weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] #![allow(missing_docs)] -use frame_support::{traits::Get, weights::Weight}; +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; use core::marker::PhantomData; -/// Weight functions for `pallet_dynamic_evm_fee`. +/// Weights for `pallet_dynamic_evm_fee`. +pub struct WeightInfo(PhantomData); + +/// Weights for `pallet_dynamic_evm_fee` using the HydraDX node and recommended hardware. pub struct HydraWeight(PhantomData); impl pallet_dynamic_evm_fee::WeightInfo for HydraWeight { - /// Storage: `DynamicEvmFee::BaseFeePerGas` (r:1 w:1) - /// Proof: `DynamicEvmFee::BaseFeePerGas` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) - /// Storage: `TransactionPayment::NextFeeMultiplier` (r:1 w:0) - /// Proof: `TransactionPayment::NextFeeMultiplier` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::NextAssetId` (r:1 w:0) - /// Proof: `AssetRegistry::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::LocationAssets` (r:1 w:0) - /// Proof: `AssetRegistry::LocationAssets` (`max_values`: None, `max_size`: Some(622), added: 3097, mode: `MaxEncodedLen`) - /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) - /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) - /// Storage: `Router::Routes` (r:1 w:0) - /// Proof: `Router::Routes` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) - /// Storage: `EmaOracle::Oracles` (r:4 w:0) - /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) - fn on_initialize() -> Weight { - // Proof Size summary in bytes: - // Measured: `2709` - // Estimated: `11598` - // Minimum execution time: 73_589_000 picoseconds. - Weight::from_parts(74_453_000, 11598) - .saturating_add(T::DbWeight::get().reads(10)) - .saturating_add(T::DbWeight::get().writes(1)) - } + /// Storage: `DynamicEvmFee::BaseFeePerGas` (r:1 w:1) + /// Proof: `DynamicEvmFee::BaseFeePerGas` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`) + /// Storage: `TransactionPayment::NextFeeMultiplier` (r:1 w:0) + /// Proof: `TransactionPayment::NextFeeMultiplier` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::NextAssetId` (r:1 w:0) + /// Proof: `AssetRegistry::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::LocationAssets` (r:1 w:0) + /// Proof: `AssetRegistry::LocationAssets` (`max_values`: None, `max_size`: Some(622), added: 3097, mode: `MaxEncodedLen`) + /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) + /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `Router::Routes` (r:1 w:0) + /// Proof: `Router::Routes` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Oracles` (r:4 w:0) + /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) + fn on_initialize() -> Weight { + // Proof Size summary in bytes: + // Measured: `2746` + // Estimated: `11598` + // Minimum execution time: 66_128_000 picoseconds. + Weight::from_parts(66_561_000, 11598) + .saturating_add(T::DbWeight::get().reads(10_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } } \ No newline at end of file diff --git a/runtime/hydradx/src/weights/pallet_elections_phragmen.rs b/runtime/hydradx/src/weights/pallet_elections_phragmen.rs index f6e5501fc..8d64e0ca1 100644 --- a/runtime/hydradx/src/weights/pallet_elections_phragmen.rs +++ b/runtime/hydradx/src/weights/pallet_elections_phragmen.rs @@ -15,37 +15,46 @@ // See the License for the specific language governing permissions and // limitations under the License. + //! Autogenerated weights for `pallet_elections_phragmen` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-02-23, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-05-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=10 -// --repeat=30 // --wasm-execution=compiled -// --heap-pages=4096 -// --template=.maintain/pallet-weight-template-no-back.hbs -// --pallet=pallet-elections-phragmen -// --output=weights-1.1.0/elections.rs -// --extrinsic=* +// --pallet +// * +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 +// --template=scripts/pallet-weight-template.hbs +// --output +// weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] #![allow(missing_docs)] -use frame_support::{traits::Get, weights::Weight}; +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; use core::marker::PhantomData; -/// Weight functions for `pallet_elections_phragmen`. +/// Weights for `pallet_elections_phragmen`. +pub struct WeightInfo(PhantomData); + +/// Weights for `pallet_elections_phragmen` using the HydraDX node and recommended hardware. pub struct HydraWeight(PhantomData); impl pallet_elections_phragmen::WeightInfo for HydraWeight { /// Storage: `Elections::Candidates` (r:1 w:0) @@ -63,14 +72,14 @@ impl pallet_elections_phragmen::WeightInfo for HydraWei /// The range of component `v` is `[1, 10]`. fn vote_equal(v: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `430 + v * (80 ±0)` + // Measured: `429 + v * (80 ±0)` // Estimated: `4764 + v * (80 ±0)` - // Minimum execution time: 42_972_000 picoseconds. - Weight::from_parts(43_345_925, 4764) - // Standard Error: 4_070 - .saturating_add(Weight::from_parts(114_697, 0).saturating_mul(v.into())) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 36_244_000 picoseconds. + Weight::from_parts(36_933_151, 4764) + // Standard Error: 3_050 + .saturating_add(Weight::from_parts(159_413, 0).saturating_mul(v.into())) + .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 80).saturating_mul(v.into())) } /// Storage: `Elections::Candidates` (r:1 w:0) @@ -90,12 +99,12 @@ impl pallet_elections_phragmen::WeightInfo for HydraWei // Proof Size summary in bytes: // Measured: `399 + v * (80 ±0)` // Estimated: `4764 + v * (80 ±0)` - // Minimum execution time: 59_265_000 picoseconds. - Weight::from_parts(59_871_116, 4764) - // Standard Error: 4_590 - .saturating_add(Weight::from_parts(86_886, 0).saturating_mul(v.into())) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 49_114_000 picoseconds. + Weight::from_parts(49_630_628, 4764) + // Standard Error: 4_204 + .saturating_add(Weight::from_parts(143_952, 0).saturating_mul(v.into())) + .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 80).saturating_mul(v.into())) } /// Storage: `Elections::Candidates` (r:1 w:0) @@ -115,12 +124,12 @@ impl pallet_elections_phragmen::WeightInfo for HydraWei // Proof Size summary in bytes: // Measured: `431 + v * (80 ±0)` // Estimated: `4764 + v * (80 ±0)` - // Minimum execution time: 59_321_000 picoseconds. - Weight::from_parts(59_769_987, 4764) - // Standard Error: 5_117 - .saturating_add(Weight::from_parts(87_357, 0).saturating_mul(v.into())) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 49_152_000 picoseconds. + Weight::from_parts(49_743_138, 4764) + // Standard Error: 2_931 + .saturating_add(Weight::from_parts(108_094, 0).saturating_mul(v.into())) + .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 80).saturating_mul(v.into())) } /// Storage: `Elections::Voting` (r:1 w:1) @@ -133,10 +142,10 @@ impl pallet_elections_phragmen::WeightInfo for HydraWei // Proof Size summary in bytes: // Measured: `761` // Estimated: `4764` - // Minimum execution time: 61_217_000 picoseconds. - Weight::from_parts(61_805_000, 4764) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 49_563_000 picoseconds. + Weight::from_parts(49_816_000, 4764) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `Elections::Candidates` (r:1 w:1) /// Proof: `Elections::Candidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -147,14 +156,14 @@ impl pallet_elections_phragmen::WeightInfo for HydraWei /// The range of component `c` is `[1, 100]`. fn submit_candidacy(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `2147 + c * (48 ±0)` - // Estimated: `3632 + c * (48 ±0)` - // Minimum execution time: 44_619_000 picoseconds. - Weight::from_parts(45_215_178, 3632) - // Standard Error: 1_011 - .saturating_add(Weight::from_parts(56_084, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(1)) + // Measured: `2148 + c * (48 ±0)` + // Estimated: `3633 + c * (48 ±0)` + // Minimum execution time: 36_312_000 picoseconds. + Weight::from_parts(36_895_151, 3633) + // Standard Error: 383 + .saturating_add(Weight::from_parts(55_138, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 48).saturating_mul(c.into())) } /// Storage: `Elections::Candidates` (r:1 w:1) @@ -162,14 +171,14 @@ impl pallet_elections_phragmen::WeightInfo for HydraWei /// The range of component `c` is `[1, 100]`. fn renounce_candidacy_candidate(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `350 + c * (48 ±0)` - // Estimated: `1835 + c * (48 ±0)` - // Minimum execution time: 40_339_000 picoseconds. - Weight::from_parts(40_813_195, 1835) - // Standard Error: 712 - .saturating_add(Weight::from_parts(35_439, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Measured: `351 + c * (48 ±0)` + // Estimated: `1836 + c * (48 ±0)` + // Minimum execution time: 31_400_000 picoseconds. + Weight::from_parts(32_059_256, 1836) + // Standard Error: 303 + .saturating_add(Weight::from_parts(37_579, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 48).saturating_mul(c.into())) } /// Storage: `Elections::Members` (r:1 w:1) @@ -184,12 +193,12 @@ impl pallet_elections_phragmen::WeightInfo for HydraWei /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn renounce_candidacy_members() -> Weight { // Proof Size summary in bytes: - // Measured: `2379` - // Estimated: `3864` - // Minimum execution time: 55_730_000 picoseconds. - Weight::from_parts(56_491_000, 3864) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(4)) + // Measured: `2417` + // Estimated: `3902` + // Minimum execution time: 43_953_000 picoseconds. + Weight::from_parts(44_501_000, 3902) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) } /// Storage: `Elections::RunnersUp` (r:1 w:1) /// Proof: `Elections::RunnersUp` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -197,10 +206,10 @@ impl pallet_elections_phragmen::WeightInfo for HydraWei // Proof Size summary in bytes: // Measured: `1491` // Estimated: `2976` - // Minimum execution time: 40_384_000 picoseconds. - Weight::from_parts(40_834_000, 2976) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 31_618_000 picoseconds. + Weight::from_parts(32_155_000, 2976) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Benchmark::Override` (r:0 w:0) /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -225,14 +234,14 @@ impl pallet_elections_phragmen::WeightInfo for HydraWei /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn remove_member_with_replacement() -> Weight { // Proof Size summary in bytes: - // Measured: `2519` + // Measured: `2557` // Estimated: `6196` - // Minimum execution time: 85_896_000 picoseconds. - Weight::from_parts(87_103_000, 6196) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(6)) + // Minimum execution time: 63_946_000 picoseconds. + Weight::from_parts(64_791_000, 6196) + .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(T::DbWeight::get().writes(6_u64)) } - /// Storage: `Elections::Voting` (r:769 w:768) + /// Storage: `Elections::Voting` (r:385 w:384) /// Proof: `Elections::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Elections::Members` (r:1 w:0) /// Proof: `Elections::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -240,26 +249,29 @@ impl pallet_elections_phragmen::WeightInfo for HydraWei /// Proof: `Elections::RunnersUp` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Elections::Candidates` (r:1 w:0) /// Proof: `Elections::Candidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `Balances::Locks` (r:768 w:768) + /// Storage: `Balances::Locks` (r:384 w:384) /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) - /// Storage: `Balances::Freezes` (r:768 w:0) + /// Storage: `Balances::Freezes` (r:384 w:0) /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:768 w:768) + /// Storage: `System::Account` (r:384 w:384) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `v` is `[384, 768]`. /// The range of component `d` is `[0, 384]`. - fn clean_defunct_voters(v: u32, _d: u32, ) -> Weight { + fn clean_defunct_voters(v: u32, d: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `3296 + v * (618 ±0)` - // Estimated: `6665 + v * (3774 ±0)` - // Minimum execution time: 30_522_311_000 picoseconds. - Weight::from_parts(30_569_802_000, 6665) - // Standard Error: 620_586 - .saturating_add(Weight::from_parts(48_149_815, 0).saturating_mul(v.into())) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(v.into()))) - .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(v.into()))) - .saturating_add(Weight::from_parts(0, 3774).saturating_mul(v.into())) + // Measured: `0 + d * (631 ±0) + v * (56 ±0)` + // Estimated: `32254 + d * (3774 ±1) + v * (24 ±0)` + // Minimum execution time: 8_457_000 picoseconds. + Weight::from_parts(8_788_000, 32254) + // Standard Error: 7_917 + .saturating_add(Weight::from_parts(95_538, 0).saturating_mul(v.into())) + // Standard Error: 17_240 + .saturating_add(Weight::from_parts(53_550_731, 0).saturating_mul(d.into())) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(d.into()))) + .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(d.into()))) + .saturating_add(Weight::from_parts(0, 3774).saturating_mul(d.into())) + .saturating_add(Weight::from_parts(0, 24).saturating_mul(v.into())) } /// Storage: `Elections::Candidates` (r:1 w:1) /// Proof: `Elections::Candidates` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -284,21 +296,21 @@ impl pallet_elections_phragmen::WeightInfo for HydraWei /// The range of component `e` is `[768, 7680]`. fn election_phragmen(c: u32, v: u32, e: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `0 + e * (27 ±0) + v * (411 ±0)` - // Estimated: `278080 + c * (2122 ±13) + e * (11 ±0) + v * (2542 ±7)` - // Minimum execution time: 3_573_523_000 picoseconds. - Weight::from_parts(3_583_430_000, 278080) - // Standard Error: 910_658 - .saturating_add(Weight::from_parts(17_639_114, 0).saturating_mul(v.into())) - // Standard Error: 95_028 - .saturating_add(Weight::from_parts(953_135, 0).saturating_mul(e.into())) - .saturating_add(T::DbWeight::get().reads(47)) + // Measured: `0 + c * (29 ±0) + e * (27 ±0) + v * (414 ±0)` + // Estimated: `278118 + c * (2215 ±6) + e * (13 ±0) + v * (2571 ±3)` + // Minimum execution time: 2_799_548_000 picoseconds. + Weight::from_parts(2_809_003_000, 278118) + // Standard Error: 651_515 + .saturating_add(Weight::from_parts(22_380_902, 0).saturating_mul(v.into())) + // Standard Error: 67_968 + .saturating_add(Weight::from_parts(1_617_533, 0).saturating_mul(e.into())) + .saturating_add(T::DbWeight::get().reads(31_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(v.into()))) - .saturating_add(T::DbWeight::get().writes(6)) + .saturating_add(T::DbWeight::get().writes(6_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) - .saturating_add(Weight::from_parts(0, 2122).saturating_mul(c.into())) - .saturating_add(Weight::from_parts(0, 11).saturating_mul(e.into())) - .saturating_add(Weight::from_parts(0, 2542).saturating_mul(v.into())) + .saturating_add(Weight::from_parts(0, 2215).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(0, 13).saturating_mul(e.into())) + .saturating_add(Weight::from_parts(0, 2571).saturating_mul(v.into())) } } \ No newline at end of file diff --git a/runtime/hydradx/src/weights/pallet_ema_oracle.rs b/runtime/hydradx/src/weights/pallet_ema_oracle.rs index 521b361eb..78967acd2 100644 --- a/runtime/hydradx/src/weights/pallet_ema_oracle.rs +++ b/runtime/hydradx/src/weights/pallet_ema_oracle.rs @@ -15,62 +15,73 @@ // See the License for the specific language governing permissions and // limitations under the License. + //! Autogenerated weights for `pallet_ema_oracle` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-05, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-05-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=10 -// --repeat=30 // --wasm-execution=compiled -// --heap-pages=4096 -// --template=.maintain/pallet-weight-template-no-back.hbs -// --pallet=pallet-ema-oracle -// --output=weights-1.1.0/oracle.rs -// --extrinsic=* +// --pallet +// * +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 +// --template=scripts/pallet-weight-template.hbs +// --output +// weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] #![allow(missing_docs)] -use frame_support::{traits::Get, weights::Weight}; +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; use core::marker::PhantomData; -use pallet_ema_oracle::weights::WeightInfo; +/// Weights for `pallet_ema_oracle`. +pub struct WeightInfo(PhantomData); -/// Weight functions for `pallet_ema_oracle`. +/// Weights for `pallet_ema_oracle` using the HydraDX node and recommended hardware. pub struct HydraWeight(PhantomData); -impl WeightInfo for HydraWeight { +impl pallet_ema_oracle::WeightInfo for HydraWeight { /// Storage: `EmaOracle::WhitelistedAssets` (r:1 w:1) /// Proof: `EmaOracle::WhitelistedAssets` (`max_values`: Some(1), `max_size`: Some(641), added: 1136, mode: `MaxEncodedLen`) fn add_oracle() -> Weight { // Proof Size summary in bytes: // Measured: `860` // Estimated: `2126` - // Minimum execution time: 21_341_000 picoseconds. - Weight::from_parts(21_667_000, 2126) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 15_633_000 picoseconds. + Weight::from_parts(15_827_000, 2126) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `EmaOracle::WhitelistedAssets` (r:1 w:1) /// Proof: `EmaOracle::WhitelistedAssets` (`max_values`: Some(1), `max_size`: Some(641), added: 1136, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Accumulator` (r:1 w:1) + /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::Oracles` (r:0 w:3) + /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) fn remove_oracle() -> Weight { // Proof Size summary in bytes: // Measured: `876` - // Estimated: `2126` - // Minimum execution time: 21_553_000 picoseconds. - Weight::from_parts(21_866_000, 2126) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Estimated: `7406` + // Minimum execution time: 31_307_000 picoseconds. + Weight::from_parts(31_799_000, 7406) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) } /// Storage: `EmaOracle::Accumulator` (r:1 w:0) /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) @@ -78,9 +89,9 @@ impl WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `208` // Estimated: `7406` - // Minimum execution time: 3_165_000 picoseconds. - Weight::from_parts(3_271_000, 7406) - .saturating_add(T::DbWeight::get().reads(1)) + // Minimum execution time: 2_253_000 picoseconds. + Weight::from_parts(2_365_000, 7406) + .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `EmaOracle::Accumulator` (r:1 w:1) /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) @@ -89,15 +100,15 @@ impl WeightInfo for HydraWeight { /// The range of component `b` is `[1, 39]`. fn on_finalize_multiple_tokens(b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `304 + b * (626 ±0)` + // Measured: `305 + b * (626 ±0)` // Estimated: `7406 + b * (7956 ±0)` - // Minimum execution time: 48_505_000 picoseconds. - Weight::from_parts(12_673_348, 7406) - // Standard Error: 31_644 - .saturating_add(Weight::from_parts(36_427_193, 0).saturating_mul(b.into())) - .saturating_add(T::DbWeight::get().reads(1)) + // Minimum execution time: 44_581_000 picoseconds. + Weight::from_parts(9_813_697, 7406) + // Standard Error: 19_578 + .saturating_add(Weight::from_parts(33_915_148, 0).saturating_mul(b.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(b.into()))) - .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(b.into()))) .saturating_add(Weight::from_parts(0, 7956).saturating_mul(b.into())) } @@ -108,14 +119,14 @@ impl WeightInfo for HydraWeight { /// The range of component `b` is `[1, 39]`. fn on_trade_multiple_tokens(b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `751 + b * (163 ±0)` + // Measured: `821 + b * (164 ±0)` // Estimated: `7406` - // Minimum execution time: 18_943_000 picoseconds. - Weight::from_parts(19_294_596, 7406) - // Standard Error: 3_556 - .saturating_add(Weight::from_parts(423_769, 0).saturating_mul(b.into())) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 16_199_000 picoseconds. + Weight::from_parts(17_137_924, 7406) + // Standard Error: 2_536 + .saturating_add(Weight::from_parts(402_614, 0).saturating_mul(b.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `AssetRegistry::Assets` (r:2 w:0) /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) @@ -124,14 +135,14 @@ impl WeightInfo for HydraWeight { /// The range of component `b` is `[1, 39]`. fn on_liquidity_changed_multiple_tokens(b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `751 + b * (163 ±0)` + // Measured: `821 + b * (164 ±0)` // Estimated: `7406` - // Minimum execution time: 19_079_000 picoseconds. - Weight::from_parts(19_403_394, 7406) - // Standard Error: 3_730 - .saturating_add(Weight::from_parts(422_560, 0).saturating_mul(b.into())) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 16_217_000 picoseconds. + Weight::from_parts(17_087_683, 7406) + // Standard Error: 2_611 + .saturating_add(Weight::from_parts(406_220, 0).saturating_mul(b.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `EmaOracle::Oracles` (r:2 w:0) /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) @@ -139,8 +150,8 @@ impl WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `638` // Estimated: `6294` - // Minimum execution time: 18_991_000 picoseconds. - Weight::from_parts(19_258_000, 6294) - .saturating_add(T::DbWeight::get().reads(2)) + // Minimum execution time: 17_768_000 picoseconds. + Weight::from_parts(18_090_000, 6294) + .saturating_add(T::DbWeight::get().reads(2_u64)) } -} +} \ No newline at end of file diff --git a/runtime/hydradx/src/weights/pallet_evm_accounts.rs b/runtime/hydradx/src/weights/pallet_evm_accounts.rs index c33686093..e378bb693 100644 --- a/runtime/hydradx/src/weights/pallet_evm_accounts.rs +++ b/runtime/hydradx/src/weights/pallet_evm_accounts.rs @@ -1,6 +1,6 @@ // This file is part of HydraDX. -// Copyright (C) 2020-2024 Intergalactic, Limited (GIB). +// Copyright (C) 2020-2023 Intergalactic, Limited (GIB). // SPDX-License-Identifier: Apache-2.0 // Licensed under the Apache License, Version 2.0 (the "License"); @@ -15,45 +15,48 @@ // See the License for the specific language governing permissions and // limitations under the License. + //! Autogenerated weights for `pallet_evm_accounts` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-02-21, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-05-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=10 -// --repeat=30 // --wasm-execution=compiled -// --heap-pages=4096 -// --template=.maintain/pallet-weight-template-no-back.hbs -// --pallet=pallet-evm-accounts -// --output=weights-1.1.0/evm-accounts.rs -// --extrinsic=* +// --pallet +// * +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 +// --template=scripts/pallet-weight-template.hbs +// --output +// weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] #![allow(missing_docs)] -use frame_support::{ - traits::Get, - weights::{constants::RocksDbWeight, Weight}, -}; -use sp_std::marker::PhantomData; +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; +use core::marker::PhantomData; -use pallet_evm_accounts::weights::WeightInfo; +/// Weights for `pallet_evm_accounts`. +pub struct WeightInfo(PhantomData); -/// Weights for pallet_evm_accounts using the hydraDX node and recommended hardware. +/// Weights for `pallet_evm_accounts` using the HydraDX node and recommended hardware. pub struct HydraWeight(PhantomData); - -impl WeightInfo for HydraWeight { +impl pallet_evm_accounts::WeightInfo for HydraWeight { /// Storage: `EVMAccounts::AccountExtension` (r:1 w:1) /// Proof: `EVMAccounts::AccountExtension` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:0) @@ -64,14 +67,16 @@ impl WeightInfo for HydraWeight { /// Proof: `AssetRegistry::LocationAssets` (`max_values`: None, `max_size`: Some(622), added: 3097, mode: `MaxEncodedLen`) /// Storage: `Tokens::Accounts` (r:1 w:0) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:1 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) fn bind_evm_address() -> Weight { // Proof Size summary in bytes: - // Measured: `479` + // Measured: `545` // Estimated: `4087` - // Minimum execution time: 36_357_000 picoseconds. - Weight::from_parts(36_601_000, 4087) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 32_109_000 picoseconds. + Weight::from_parts(32_705_000, 4087) + .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `EVMAccounts::ContractDeployer` (r:0 w:1) /// Proof: `EVMAccounts::ContractDeployer` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) @@ -79,9 +84,9 @@ impl WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 13_157_000 picoseconds. - Weight::from_parts(13_481_000, 0) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 9_574_000 picoseconds. + Weight::from_parts(9_760_000, 0) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `EVMAccounts::ContractDeployer` (r:0 w:1) /// Proof: `EVMAccounts::ContractDeployer` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) @@ -89,9 +94,9 @@ impl WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 13_196_000 picoseconds. - Weight::from_parts(13_517_000, 0) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 9_344_000 picoseconds. + Weight::from_parts(9_633_000, 0) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `EVMAccounts::ContractDeployer` (r:0 w:1) /// Proof: `EVMAccounts::ContractDeployer` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) @@ -99,8 +104,8 @@ impl WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 13_153_000 picoseconds. - Weight::from_parts(13_380_000, 0) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 9_421_000 picoseconds. + Weight::from_parts(9_685_000, 0) + .saturating_add(T::DbWeight::get().writes(1_u64)) } -} +} \ No newline at end of file diff --git a/runtime/hydradx/src/weights/pallet_identity.rs b/runtime/hydradx/src/weights/pallet_identity.rs index 9bc8ad8db..ff1b56687 100644 --- a/runtime/hydradx/src/weights/pallet_identity.rs +++ b/runtime/hydradx/src/weights/pallet_identity.rs @@ -15,37 +15,46 @@ // See the License for the specific language governing permissions and // limitations under the License. + //! Autogenerated weights for `pallet_identity` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-02-15, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-05-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=10 -// --repeat=30 // --wasm-execution=compiled -// --heap-pages=4096 -// --template=.maintain/pallet-weight-template-no-back.hbs -// --pallet=pallet-identity -// --output=./weights/identity.rs -// --extrinsic=* +// --pallet +// * +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 +// --template=scripts/pallet-weight-template.hbs +// --output +// weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] #![allow(missing_docs)] -use frame_support::{traits::Get, weights::Weight}; +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; use core::marker::PhantomData; -/// Weight functions for `pallet_identity`. +/// Weights for `pallet_identity`. +pub struct WeightInfo(PhantomData); + +/// Weights for `pallet_identity` using the HydraDX node and recommended hardware. pub struct HydraWeight(PhantomData); impl pallet_identity::WeightInfo for HydraWeight { /// Storage: `Identity::Registrars` (r:1 w:1) @@ -53,12 +62,12 @@ impl pallet_identity::WeightInfo for HydraWeight { /// The range of component `r` is `[1, 19]`. fn add_registrar(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `31 + r * (57 ±0)` + // Measured: `32 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 8_710_000 picoseconds. - Weight::from_parts(9_443_931, 2626) - // Standard Error: 2_499 - .saturating_add(Weight::from_parts(80_557, 0).saturating_mul(r.into())) + // Minimum execution time: 11_399_000 picoseconds. + Weight::from_parts(12_166_388, 2626) + // Standard Error: 1_302 + .saturating_add(Weight::from_parts(96_642, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -67,12 +76,12 @@ impl pallet_identity::WeightInfo for HydraWeight { /// The range of component `r` is `[1, 20]`. fn set_identity(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `6977 + r * (5 ±0)` + // Measured: `6978 + r * (5 ±0)` // Estimated: `11037` - // Minimum execution time: 134_221_000 picoseconds. - Weight::from_parts(139_988_186, 11037) - // Standard Error: 12_767 - .saturating_add(Weight::from_parts(136_396, 0).saturating_mul(r.into())) + // Minimum execution time: 148_518_000 picoseconds. + Weight::from_parts(150_083_538, 11037) + // Standard Error: 4_409 + .saturating_add(Weight::from_parts(129_118, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -85,12 +94,12 @@ impl pallet_identity::WeightInfo for HydraWeight { /// The range of component `s` is `[0, 100]`. fn set_subs_new(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `100` + // Measured: `101` // Estimated: `11037 + s * (2589 ±0)` - // Minimum execution time: 9_520_000 picoseconds. - Weight::from_parts(22_514_789, 11037) - // Standard Error: 6_645 - .saturating_add(Weight::from_parts(3_791_272, 0).saturating_mul(s.into())) + // Minimum execution time: 13_292_000 picoseconds. + Weight::from_parts(30_159_846, 11037) + // Standard Error: 4_226 + .saturating_add(Weight::from_parts(3_730_074, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(s.into()))) .saturating_add(T::DbWeight::get().writes(1_u64)) @@ -106,12 +115,12 @@ impl pallet_identity::WeightInfo for HydraWeight { /// The range of component `p` is `[0, 100]`. fn set_subs_old(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `193 + p * (32 ±0)` + // Measured: `194 + p * (32 ±0)` // Estimated: `11037` - // Minimum execution time: 9_440_000 picoseconds. - Weight::from_parts(21_879_116, 11037) - // Standard Error: 4_715 - .saturating_add(Weight::from_parts(1_534_721, 0).saturating_mul(p.into())) + // Minimum execution time: 13_191_000 picoseconds. + Weight::from_parts(28_624_050, 11037) + // Standard Error: 3_555 + .saturating_add(Weight::from_parts(1_507_049, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) @@ -126,14 +135,14 @@ impl pallet_identity::WeightInfo for HydraWeight { /// The range of component `s` is `[0, 100]`. fn clear_identity(r: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `7069 + r * (5 ±0) + s * (32 ±0)` + // Measured: `7070 + r * (5 ±0) + s * (32 ±0)` // Estimated: `11037` - // Minimum execution time: 58_951_000 picoseconds. - Weight::from_parts(62_283_319, 11037) - // Standard Error: 17_567 - .saturating_add(Weight::from_parts(22_897, 0).saturating_mul(r.into())) - // Standard Error: 3_427 - .saturating_add(Weight::from_parts(1_477_105, 0).saturating_mul(s.into())) + // Minimum execution time: 70_387_000 picoseconds. + Weight::from_parts(72_882_357, 11037) + // Standard Error: 4_326 + .saturating_add(Weight::from_parts(58_615, 0).saturating_mul(r.into())) + // Standard Error: 844 + .saturating_add(Weight::from_parts(1_488_740, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) @@ -145,12 +154,12 @@ impl pallet_identity::WeightInfo for HydraWeight { /// The range of component `r` is `[1, 20]`. fn request_judgement(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `6967 + r * (57 ±0)` + // Measured: `6968 + r * (57 ±0)` // Estimated: `11037` - // Minimum execution time: 86_331_000 picoseconds. - Weight::from_parts(89_757_905, 11037) - // Standard Error: 10_571 - .saturating_add(Weight::from_parts(128_154, 0).saturating_mul(r.into())) + // Minimum execution time: 100_892_000 picoseconds. + Weight::from_parts(101_830_018, 11037) + // Standard Error: 2_693 + .saturating_add(Weight::from_parts(90_776, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -159,12 +168,12 @@ impl pallet_identity::WeightInfo for HydraWeight { /// The range of component `r` is `[1, 20]`. fn cancel_request(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `6998` + // Measured: `6999` // Estimated: `11037` - // Minimum execution time: 83_111_000 picoseconds. - Weight::from_parts(86_968_199, 11037) - // Standard Error: 7_753 - .saturating_add(Weight::from_parts(59_608, 0).saturating_mul(r.into())) + // Minimum execution time: 99_703_000 picoseconds. + Weight::from_parts(100_598_712, 11037) + // Standard Error: 3_753 + .saturating_add(Weight::from_parts(70_359, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -173,12 +182,12 @@ impl pallet_identity::WeightInfo for HydraWeight { /// The range of component `r` is `[1, 19]`. fn set_fee(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `88 + r * (57 ±0)` + // Measured: `89 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 6_530_000 picoseconds. - Weight::from_parts(6_970_369, 2626) - // Standard Error: 1_385 - .saturating_add(Weight::from_parts(65_495, 0).saturating_mul(r.into())) + // Minimum execution time: 8_651_000 picoseconds. + Weight::from_parts(9_046_946, 2626) + // Standard Error: 1_126 + .saturating_add(Weight::from_parts(70_865, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -187,12 +196,12 @@ impl pallet_identity::WeightInfo for HydraWeight { /// The range of component `r` is `[1, 19]`. fn set_account_id(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `88 + r * (57 ±0)` + // Measured: `89 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 5_860_000 picoseconds. - Weight::from_parts(6_339_078, 2626) - // Standard Error: 1_427 - .saturating_add(Weight::from_parts(62_408, 0).saturating_mul(r.into())) + // Minimum execution time: 8_849_000 picoseconds. + Weight::from_parts(9_173_114, 2626) + // Standard Error: 917 + .saturating_add(Weight::from_parts(64_377, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -201,12 +210,12 @@ impl pallet_identity::WeightInfo for HydraWeight { /// The range of component `r` is `[1, 19]`. fn set_fields(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `88 + r * (57 ±0)` + // Measured: `89 + r * (57 ±0)` // Estimated: `2626` - // Minimum execution time: 5_730_000 picoseconds. - Weight::from_parts(6_453_402, 2626) - // Standard Error: 1_293 - .saturating_add(Weight::from_parts(50_492, 0).saturating_mul(r.into())) + // Minimum execution time: 8_609_000 picoseconds. + Weight::from_parts(9_018_408, 2626) + // Standard Error: 970 + .saturating_add(Weight::from_parts(68_040, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -217,12 +226,12 @@ impl pallet_identity::WeightInfo for HydraWeight { /// The range of component `r` is `[1, 19]`. fn provide_judgement(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `7045 + r * (57 ±0)` + // Measured: `7046 + r * (57 ±0)` // Estimated: `11037` - // Minimum execution time: 114_311_000 picoseconds. - Weight::from_parts(118_989_129, 11037) - // Standard Error: 9_371 - .saturating_add(Weight::from_parts(55_305, 0).saturating_mul(r.into())) + // Minimum execution time: 128_104_000 picoseconds. + Weight::from_parts(129_536_412, 11037) + // Standard Error: 2_778 + .saturating_add(Weight::from_parts(75_146, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -230,7 +239,7 @@ impl pallet_identity::WeightInfo for HydraWeight { /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`) /// Storage: `Identity::IdentityOf` (r:1 w:1) /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) + /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `Identity::SuperOf` (r:0 w:100) /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`) @@ -238,16 +247,16 @@ impl pallet_identity::WeightInfo for HydraWeight { /// The range of component `s` is `[0, 100]`. fn kill_identity(r: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `7209 + r * (5 ±0) + s * (32 ±0)` + // Measured: `7364 + r * (15 ±0) + s * (32 ±0)` // Estimated: `11037` - // Minimum execution time: 76_341_000 picoseconds. - Weight::from_parts(82_411_000, 11037) - // Standard Error: 117_451 - .saturating_add(Weight::from_parts(408_319, 0).saturating_mul(r.into())) - // Standard Error: 23_476 - .saturating_add(Weight::from_parts(1_630_731, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(3_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Minimum execution time: 87_418_000 picoseconds. + Weight::from_parts(89_157_672, 11037) + // Standard Error: 6_894 + .saturating_add(Weight::from_parts(93_123, 0).saturating_mul(r.into())) + // Standard Error: 1_345 + .saturating_add(Weight::from_parts(1_498_176, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) } /// Storage: `Identity::IdentityOf` (r:1 w:0) @@ -259,12 +268,12 @@ impl pallet_identity::WeightInfo for HydraWeight { /// The range of component `s` is `[0, 99]`. fn add_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `474 + s * (36 ±0)` + // Measured: `475 + s * (36 ±0)` // Estimated: `11037` - // Minimum execution time: 27_000_000 picoseconds. - Weight::from_parts(28_612_918, 11037) - // Standard Error: 12_122 - .saturating_add(Weight::from_parts(174_462, 0).saturating_mul(s.into())) + // Minimum execution time: 33_079_000 picoseconds. + Weight::from_parts(37_832_839, 11037) + // Standard Error: 1_074 + .saturating_add(Weight::from_parts(54_799, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -275,12 +284,12 @@ impl pallet_identity::WeightInfo for HydraWeight { /// The range of component `s` is `[1, 100]`. fn rename_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `590 + s * (3 ±0)` + // Measured: `591 + s * (3 ±0)` // Estimated: `11037` - // Minimum execution time: 13_210_000 picoseconds. - Weight::from_parts(14_750_424, 11037) - // Standard Error: 737 - .saturating_add(Weight::from_parts(26_727, 0).saturating_mul(s.into())) + // Minimum execution time: 17_296_000 picoseconds. + Weight::from_parts(19_263_422, 11037) + // Standard Error: 565 + .saturating_add(Weight::from_parts(19_326, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -293,12 +302,12 @@ impl pallet_identity::WeightInfo for HydraWeight { /// The range of component `s` is `[1, 100]`. fn remove_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `637 + s * (35 ±0)` + // Measured: `638 + s * (35 ±0)` // Estimated: `11037` - // Minimum execution time: 29_141_000 picoseconds. - Weight::from_parts(28_766_415, 11037) - // Standard Error: 10_961 - .saturating_add(Weight::from_parts(197_341, 0).saturating_mul(s.into())) + // Minimum execution time: 36_750_000 picoseconds. + Weight::from_parts(39_404_724, 11037) + // Standard Error: 734 + .saturating_add(Weight::from_parts(41_165, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -311,12 +320,12 @@ impl pallet_identity::WeightInfo for HydraWeight { /// The range of component `s` is `[0, 99]`. fn quit_sub(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `666 + s * (37 ±0)` + // Measured: `704 + s * (37 ±0)` // Estimated: `6723` - // Minimum execution time: 24_190_000 picoseconds. - Weight::from_parts(37_585_619, 6723) - // Standard Error: 11_928 - .saturating_add(Weight::from_parts(76_202, 0).saturating_mul(s.into())) + // Minimum execution time: 28_363_000 picoseconds. + Weight::from_parts(30_544_314, 6723) + // Standard Error: 781 + .saturating_add(Weight::from_parts(47_628, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -326,18 +335,18 @@ impl pallet_identity::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 14_930_000 picoseconds. - Weight::from_parts(16_500_000, 0) + // Minimum execution time: 9_266_000 picoseconds. + Weight::from_parts(9_524_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Identity::UsernameAuthorities` (r:1 w:1) /// Proof: `Identity::UsernameAuthorities` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) fn remove_username_authority() -> Weight { // Proof Size summary in bytes: - // Measured: `79` + // Measured: `80` // Estimated: `3517` - // Minimum execution time: 20_570_000 picoseconds. - Weight::from_parts(22_690_000, 3517) + // Minimum execution time: 11_923_000 picoseconds. + Weight::from_parts(12_167_000, 3517) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -351,10 +360,10 @@ impl pallet_identity::WeightInfo for HydraWeight { /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) fn set_username_for() -> Weight { // Proof Size summary in bytes: - // Measured: `79` + // Measured: `80` // Estimated: `11037` - // Minimum execution time: 68_201_000 picoseconds. - Weight::from_parts(98_761_000, 11037) + // Minimum execution time: 66_614_000 picoseconds. + Weight::from_parts(67_277_000, 11037) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -366,10 +375,10 @@ impl pallet_identity::WeightInfo for HydraWeight { /// Proof: `Identity::AccountOfUsername` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `MaxEncodedLen`) fn accept_username() -> Weight { // Proof Size summary in bytes: - // Measured: `114` + // Measured: `115` // Estimated: `11037` - // Minimum execution time: 23_331_000 picoseconds. - Weight::from_parts(38_561_000, 11037) + // Minimum execution time: 26_815_000 picoseconds. + Weight::from_parts(27_250_000, 11037) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -377,10 +386,10 @@ impl pallet_identity::WeightInfo for HydraWeight { /// Proof: `Identity::PendingUsernames` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) fn remove_expired_approval() -> Weight { // Proof Size summary in bytes: - // Measured: `114` + // Measured: `115` // Estimated: `3550` - // Minimum execution time: 38_071_000 picoseconds. - Weight::from_parts(42_001_000, 3550) + // Minimum execution time: 16_590_000 picoseconds. + Weight::from_parts(16_962_000, 3550) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -390,10 +399,10 @@ impl pallet_identity::WeightInfo for HydraWeight { /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) fn set_primary_username() -> Weight { // Proof Size summary in bytes: - // Measured: `256` + // Measured: `257` // Estimated: `11037` - // Minimum execution time: 18_220_000 picoseconds. - Weight::from_parts(18_940_000, 11037) + // Minimum execution time: 22_033_000 picoseconds. + Weight::from_parts(22_650_000, 11037) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -403,10 +412,10 @@ impl pallet_identity::WeightInfo for HydraWeight { /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) fn remove_dangling_username() -> Weight { // Proof Size summary in bytes: - // Measured: `97` + // Measured: `98` // Estimated: `11037` - // Minimum execution time: 12_560_000 picoseconds. - Weight::from_parts(13_070_000, 11037) + // Minimum execution time: 14_896_000 picoseconds. + Weight::from_parts(15_302_000, 11037) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } diff --git a/runtime/hydradx/src/weights/pallet_lbp.rs b/runtime/hydradx/src/weights/pallet_lbp.rs index 2a4238477..926bc9431 100644 --- a/runtime/hydradx/src/weights/pallet_lbp.rs +++ b/runtime/hydradx/src/weights/pallet_lbp.rs @@ -15,41 +15,48 @@ // See the License for the specific language governing permissions and // limitations under the License. + //! Autogenerated weights for `pallet_lbp` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-02-15, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-05-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=10 -// --repeat=30 // --wasm-execution=compiled -// --heap-pages=4096 -// --template=.maintain/pallet-weight-template-no-back.hbs -// --pallet=pallet_lbp -// --output=./weights/lbp.rs -// --extrinsic=* +// --pallet +// * +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 +// --template=scripts/pallet-weight-template.hbs +// --output +// weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] #![allow(missing_docs)] -use frame_support::{traits::Get, weights::Weight}; +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; use core::marker::PhantomData; -use pallet_lbp::weights::WeightInfo; +/// Weights for `pallet_lbp`. +pub struct WeightInfo(PhantomData); -/// Weight functions for `pallet_lbp`. +/// Weights for `pallet_lbp` using the HydraDX node and recommended hardware. pub struct HydraWeight(PhantomData); -impl WeightInfo for HydraWeight { +impl pallet_lbp::WeightInfo for HydraWeight { /// Storage: `LBP::PoolData` (r:1 w:1) /// Proof: `LBP::PoolData` (`max_values`: None, `max_size`: Some(163), added: 2638, mode: `MaxEncodedLen`) /// Storage: `LBP::FeeCollectorWithAsset` (r:1 w:1) @@ -70,12 +77,12 @@ impl WeightInfo for HydraWeight { /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) fn create_pool() -> Weight { // Proof Size summary in bytes: - // Measured: `1178` + // Measured: `1311` // Estimated: `11322` - // Minimum execution time: 162_938_000 picoseconds. - Weight::from_parts(164_251_000, 11322) - .saturating_add(T::DbWeight::get().reads(15)) - .saturating_add(T::DbWeight::get().writes(8)) + // Minimum execution time: 131_482_000 picoseconds. + Weight::from_parts(132_832_000, 11322) + .saturating_add(T::DbWeight::get().reads(15_u64)) + .saturating_add(T::DbWeight::get().writes(8_u64)) } /// Storage: `LBP::PoolData` (r:1 w:1) /// Proof: `LBP::PoolData` (`max_values`: None, `max_size`: Some(163), added: 2638, mode: `MaxEncodedLen`) @@ -83,12 +90,12 @@ impl WeightInfo for HydraWeight { /// Proof: `LBP::FeeCollectorWithAsset` (`max_values`: None, `max_size`: Some(69), added: 2544, mode: `MaxEncodedLen`) fn update_pool_data() -> Weight { // Proof Size summary in bytes: - // Measured: `351` + // Measured: `417` // Estimated: `3628` - // Minimum execution time: 30_041_000 picoseconds. - Weight::from_parts(30_468_000, 3628) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(3)) + // Minimum execution time: 24_822_000 picoseconds. + Weight::from_parts(25_218_000, 3628) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } /// Storage: `LBP::PoolData` (r:1 w:0) /// Proof: `LBP::PoolData` (`max_values`: None, `max_size`: Some(163), added: 2638, mode: `MaxEncodedLen`) @@ -104,12 +111,12 @@ impl WeightInfo for HydraWeight { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn add_liquidity() -> Weight { // Proof Size summary in bytes: - // Measured: `1439` + // Measured: `1572` // Estimated: `11322` - // Minimum execution time: 118_411_000 picoseconds. - Weight::from_parts(119_467_000, 11322) - .saturating_add(T::DbWeight::get().reads(11)) - .saturating_add(T::DbWeight::get().writes(4)) + // Minimum execution time: 99_136_000 picoseconds. + Weight::from_parts(99_953_000, 11322) + .saturating_add(T::DbWeight::get().reads(11_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) } /// Storage: `LBP::PoolData` (r:1 w:1) /// Proof: `LBP::PoolData` (`max_values`: None, `max_size`: Some(163), added: 2638, mode: `MaxEncodedLen`) @@ -131,12 +138,12 @@ impl WeightInfo for HydraWeight { /// Proof: `LBP::FeeCollectorWithAsset` (`max_values`: None, `max_size`: Some(69), added: 2544, mode: `MaxEncodedLen`) fn remove_liquidity() -> Weight { // Proof Size summary in bytes: - // Measured: `1554` + // Measured: `1687` // Estimated: `11322` - // Minimum execution time: 153_550_000 picoseconds. - Weight::from_parts(154_890_000, 11322) - .saturating_add(T::DbWeight::get().reads(13)) - .saturating_add(T::DbWeight::get().writes(8)) + // Minimum execution time: 129_681_000 picoseconds. + Weight::from_parts(131_072_000, 11322) + .saturating_add(T::DbWeight::get().reads(13_u64)) + .saturating_add(T::DbWeight::get().writes(8_u64)) } /// Storage: `Tokens::Accounts` (r:5 w:5) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) @@ -154,12 +161,12 @@ impl WeightInfo for HydraWeight { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn sell() -> Weight { // Proof Size summary in bytes: - // Measured: `1844` + // Measured: `1977` // Estimated: `13905` - // Minimum execution time: 243_058_000 picoseconds. - Weight::from_parts(244_292_000, 13905) - .saturating_add(T::DbWeight::get().reads(16)) - .saturating_add(T::DbWeight::get().writes(7)) + // Minimum execution time: 229_471_000 picoseconds. + Weight::from_parts(231_032_000, 13905) + .saturating_add(T::DbWeight::get().reads(16_u64)) + .saturating_add(T::DbWeight::get().writes(7_u64)) } /// Storage: `LBP::PoolData` (r:1 w:0) /// Proof: `LBP::PoolData` (`max_values`: None, `max_size`: Some(163), added: 2638, mode: `MaxEncodedLen`) @@ -177,12 +184,12 @@ impl WeightInfo for HydraWeight { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn buy() -> Weight { // Proof Size summary in bytes: - // Measured: `1844` + // Measured: `1977` // Estimated: `13905` - // Minimum execution time: 242_758_000 picoseconds. - Weight::from_parts(244_140_000, 13905) - .saturating_add(T::DbWeight::get().reads(16)) - .saturating_add(T::DbWeight::get().writes(7)) + // Minimum execution time: 230_204_000 picoseconds. + Weight::from_parts(231_446_000, 13905) + .saturating_add(T::DbWeight::get().reads(16_u64)) + .saturating_add(T::DbWeight::get().writes(7_u64)) } /// Storage: `LBP::PoolData` (r:1 w:0) /// Proof: `LBP::PoolData` (`max_values`: None, `max_size`: Some(163), added: 2638, mode: `MaxEncodedLen`) @@ -202,15 +209,15 @@ impl WeightInfo for HydraWeight { /// The range of component `e` is `[0, 1]`. fn router_execution_sell(c: u32, e: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `756 + e * (1088 ±0)` - // Estimated: `6156 + e * (7749 ±251_795_645_551_580_832)` - // Minimum execution time: 66_583_000 picoseconds. - Weight::from_parts(67_060_000, 6156) - // Standard Error: 587_908 - .saturating_add(Weight::from_parts(2_276_829, 0).saturating_mul(c.into())) - // Standard Error: 1_290_627 - .saturating_add(Weight::from_parts(183_046_701, 0).saturating_mul(e.into())) - .saturating_add(T::DbWeight::get().reads(3)) + // Measured: `822 + e * (1155 ±0)` + // Estimated: `8799 + e * (7749 ±0)` + // Minimum execution time: 86_477_000 picoseconds. + Weight::from_parts(87_284_000, 8799) + // Standard Error: 227_219 + .saturating_add(Weight::from_parts(978_707, 0).saturating_mul(c.into())) + // Standard Error: 506_080 + .saturating_add(Weight::from_parts(145_385_809, 0).saturating_mul(e.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().reads((13_u64).saturating_mul(e.into()))) .saturating_add(T::DbWeight::get().writes((7_u64).saturating_mul(e.into()))) .saturating_add(Weight::from_parts(0, 7749).saturating_mul(e.into())) @@ -233,18 +240,18 @@ impl WeightInfo for HydraWeight { /// The range of component `e` is `[0, 1]`. fn router_execution_buy(c: u32, e: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `756 + e * (1088 ±0)` - // Estimated: `6156 + e * (7749 ±0)` - // Minimum execution time: 117_561_000 picoseconds. - Weight::from_parts(118_264_000, 6156) - // Standard Error: 751_682 - .saturating_add(Weight::from_parts(3_708_043, 0).saturating_mul(c.into())) - // Standard Error: 2_482_101 - .saturating_add(Weight::from_parts(155_294_743, 0).saturating_mul(e.into())) - .saturating_add(T::DbWeight::get().reads(3)) + // Measured: `822 + e * (1155 ±0)` + // Estimated: `6156 + e * (8544 ±4_363_391_150_632_390)` + // Minimum execution time: 157_384_000 picoseconds. + Weight::from_parts(158_861_000, 6156) + // Standard Error: 426_842 + .saturating_add(Weight::from_parts(2_861_447, 0).saturating_mul(c.into())) + // Standard Error: 1_439_449 + .saturating_add(Weight::from_parts(107_641_350, 0).saturating_mul(e.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().reads((13_u64).saturating_mul(e.into()))) .saturating_add(T::DbWeight::get().writes((7_u64).saturating_mul(e.into()))) - .saturating_add(Weight::from_parts(0, 7749).saturating_mul(e.into())) + .saturating_add(Weight::from_parts(0, 8544).saturating_mul(e.into())) } /// Storage: `LBP::PoolData` (r:1 w:0) /// Proof: `LBP::PoolData` (`max_values`: None, `max_size`: Some(163), added: 2638, mode: `MaxEncodedLen`) @@ -252,10 +259,10 @@ impl WeightInfo for HydraWeight { /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) fn calculate_buy() -> Weight { // Proof Size summary in bytes: - // Measured: `756` + // Measured: `822` // Estimated: `6156` - // Minimum execution time: 66_616_000 picoseconds. - Weight::from_parts(67_128_000, 6156) - .saturating_add(T::DbWeight::get().reads(3)) + // Minimum execution time: 88_840_000 picoseconds. + Weight::from_parts(89_569_000, 6156) + .saturating_add(T::DbWeight::get().reads(3_u64)) } -} +} \ No newline at end of file diff --git a/runtime/hydradx/src/weights/pallet_message_queue.rs b/runtime/hydradx/src/weights/pallet_message_queue.rs index 95121a15b..4b61714b9 100644 --- a/runtime/hydradx/src/weights/pallet_message_queue.rs +++ b/runtime/hydradx/src/weights/pallet_message_queue.rs @@ -19,9 +19,9 @@ //! Autogenerated weights for `pallet_message_queue` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-04-25, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-05-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `ubuntu`, CPU: `AMD Ryzen 9 5900X 12-Core Processor` +//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: @@ -39,9 +39,7 @@ // 50 // --repeat // 20 -// --template=.maintain/pallet-weight-template-no-back.hbs -// --json-file -// raw.json +// --template=scripts/pallet-weight-template.hbs // --output // weights/ @@ -65,10 +63,10 @@ impl pallet_message_queue::WeightInfo for HydraWeight Weight { // Proof Size summary in bytes: - // Measured: `298` + // Measured: `294` // Estimated: `6044` - // Minimum execution time: 13_220_000 picoseconds. - Weight::from_parts(13_570_000, 6044) + // Minimum execution time: 15_012_000 picoseconds. + Weight::from_parts(15_338_000, 6044) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -78,10 +76,10 @@ impl pallet_message_queue::WeightInfo for HydraWeight Weight { // Proof Size summary in bytes: - // Measured: `293` + // Measured: `289` // Estimated: `6044` - // Minimum execution time: 11_450_000 picoseconds. - Weight::from_parts(11_810_000, 6044) + // Minimum execution time: 13_429_000 picoseconds. + Weight::from_parts(13_758_000, 6044) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -89,10 +87,10 @@ impl pallet_message_queue::WeightInfo for HydraWeight Weight { // Proof Size summary in bytes: - // Measured: `80` + // Measured: `76` // Estimated: `3517` - // Minimum execution time: 5_710_000 picoseconds. - Weight::from_parts(5_970_000, 3517) + // Minimum execution time: 5_484_000 picoseconds. + Weight::from_parts(5_641_000, 3517) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -100,10 +98,10 @@ impl pallet_message_queue::WeightInfo for HydraWeight Weight { // Proof Size summary in bytes: - // Measured: `147` + // Measured: `143` // Estimated: `137658` - // Minimum execution time: 7_200_000 picoseconds. - Weight::from_parts(7_550_000, 137658) + // Minimum execution time: 8_251_000 picoseconds. + Weight::from_parts(8_563_000, 137658) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -111,10 +109,10 @@ impl pallet_message_queue::WeightInfo for HydraWeight Weight { // Proof Size summary in bytes: - // Measured: `147` + // Measured: `143` // Estimated: `137658` - // Minimum execution time: 7_510_000 picoseconds. - Weight::from_parts(7_721_000, 137658) + // Minimum execution time: 8_267_000 picoseconds. + Weight::from_parts(8_556_000, 137658) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -126,8 +124,8 @@ impl pallet_message_queue::WeightInfo for HydraWeight pallet_message_queue::WeightInfo for HydraWeight Weight { // Proof Size summary in bytes: - // Measured: `246` + // Measured: `242` // Estimated: `3517` - // Minimum execution time: 7_370_000 picoseconds. - Weight::from_parts(7_630_000, 3517) + // Minimum execution time: 8_602_000 picoseconds. + Weight::from_parts(8_764_000, 3517) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -149,10 +147,10 @@ impl pallet_message_queue::WeightInfo for HydraWeight Weight { // Proof Size summary in bytes: - // Measured: `134349` + // Measured: `134345` // Estimated: `137658` - // Minimum execution time: 69_251_000 picoseconds. - Weight::from_parts(70_801_000, 137658) + // Minimum execution time: 101_898_000 picoseconds. + Weight::from_parts(102_451_000, 137658) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -162,10 +160,10 @@ impl pallet_message_queue::WeightInfo for HydraWeight Weight { // Proof Size summary in bytes: - // Measured: `134349` + // Measured: `134345` // Estimated: `137658` - // Minimum execution time: 103_801_000 picoseconds. - Weight::from_parts(106_321_000, 137658) + // Minimum execution time: 139_941_000 picoseconds. + Weight::from_parts(140_920_000, 137658) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -175,10 +173,10 @@ impl pallet_message_queue::WeightInfo for HydraWeight Weight { // Proof Size summary in bytes: - // Measured: `134349` + // Measured: `134345` // Estimated: `137658` - // Minimum execution time: 163_081_000 picoseconds. - Weight::from_parts(168_422_000, 137658) + // Minimum execution time: 201_758_000 picoseconds. + Weight::from_parts(202_959_000, 137658) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } diff --git a/runtime/hydradx/src/weights/pallet_multisig.rs b/runtime/hydradx/src/weights/pallet_multisig.rs new file mode 100644 index 000000000..b0a86acd6 --- /dev/null +++ b/runtime/hydradx/src/weights/pallet_multisig.rs @@ -0,0 +1,165 @@ +// This file is part of HydraDX. + +// Copyright (C) 2020-2023 Intergalactic, Limited (GIB). +// SPDX-License-Identifier: Apache-2.0 + +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + + +//! Autogenerated weights for `pallet_multisig` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-05-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` + +// Executed Command: +// ./target/release/hydradx +// benchmark +// pallet +// --wasm-execution=compiled +// --pallet +// * +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 +// --template=scripts/pallet-weight-template.hbs +// --output +// weights/ + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] +#![allow(missing_docs)] + +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; +use core::marker::PhantomData; + +/// Weights for `pallet_multisig`. +pub struct WeightInfo(PhantomData); + +/// Weights for `pallet_multisig` using the HydraDX node and recommended hardware. +pub struct HydraWeight(PhantomData); +impl pallet_multisig::WeightInfo for HydraWeight { + /// The range of component `z` is `[0, 10000]`. + fn as_multi_threshold_1(z: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 13_646_000 picoseconds. + Weight::from_parts(14_094_950, 0) + // Standard Error: 1 + .saturating_add(Weight::from_parts(536, 0).saturating_mul(z.into())) + } + /// Storage: `Multisig::Multisigs` (r:1 w:1) + /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(3346), added: 5821, mode: `MaxEncodedLen`) + /// The range of component `s` is `[2, 100]`. + /// The range of component `z` is `[0, 10000]`. + fn as_multi_create(s: u32, z: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `329 + s * (2 ±0)` + // Estimated: `6811` + // Minimum execution time: 44_497_000 picoseconds. + Weight::from_parts(38_694_710, 6811) + // Standard Error: 355 + .saturating_add(Weight::from_parts(62_482, 0).saturating_mul(s.into())) + // Standard Error: 3 + .saturating_add(Weight::from_parts(1_243, 0).saturating_mul(z.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Multisig::Multisigs` (r:1 w:1) + /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(3346), added: 5821, mode: `MaxEncodedLen`) + /// The range of component `s` is `[3, 100]`. + /// The range of component `z` is `[0, 10000]`. + fn as_multi_approve(s: u32, z: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `348` + // Estimated: `6811` + // Minimum execution time: 29_818_000 picoseconds. + Weight::from_parts(23_896_991, 6811) + // Standard Error: 308 + .saturating_add(Weight::from_parts(67_118, 0).saturating_mul(s.into())) + // Standard Error: 3 + .saturating_add(Weight::from_parts(1_214, 0).saturating_mul(z.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Multisig::Multisigs` (r:1 w:1) + /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(3346), added: 5821, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// The range of component `s` is `[2, 100]`. + /// The range of component `z` is `[0, 10000]`. + fn as_multi_complete(s: u32, z: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `454 + s * (33 ±0)` + // Estimated: `6811` + // Minimum execution time: 50_415_000 picoseconds. + Weight::from_parts(42_334_029, 6811) + // Standard Error: 411 + .saturating_add(Weight::from_parts(87_049, 0).saturating_mul(s.into())) + // Standard Error: 4 + .saturating_add(Weight::from_parts(1_296, 0).saturating_mul(z.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + /// Storage: `Multisig::Multisigs` (r:1 w:1) + /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(3346), added: 5821, mode: `MaxEncodedLen`) + /// The range of component `s` is `[2, 100]`. + fn approve_as_multi_create(s: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `329 + s * (2 ±0)` + // Estimated: `6811` + // Minimum execution time: 35_414_000 picoseconds. + Weight::from_parts(36_557_160, 6811) + // Standard Error: 468 + .saturating_add(Weight::from_parts(67_651, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Multisig::Multisigs` (r:1 w:1) + /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(3346), added: 5821, mode: `MaxEncodedLen`) + /// The range of component `s` is `[2, 100]`. + fn approve_as_multi_approve(s: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `348` + // Estimated: `6811` + // Minimum execution time: 20_806_000 picoseconds. + Weight::from_parts(21_885_106, 6811) + // Standard Error: 419 + .saturating_add(Weight::from_parts(64_268, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Multisig::Multisigs` (r:1 w:1) + /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(3346), added: 5821, mode: `MaxEncodedLen`) + /// The range of component `s` is `[2, 100]`. + fn cancel_as_multi(s: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `520 + s * (1 ±0)` + // Estimated: `6811` + // Minimum execution time: 36_191_000 picoseconds. + Weight::from_parts(37_320_032, 6811) + // Standard Error: 492 + .saturating_add(Weight::from_parts(69_067, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } +} \ No newline at end of file diff --git a/runtime/hydradx/src/weights/pallet_omnipool.rs b/runtime/hydradx/src/weights/pallet_omnipool.rs index 8cd6318d1..984d637c1 100644 --- a/runtime/hydradx/src/weights/pallet_omnipool.rs +++ b/runtime/hydradx/src/weights/pallet_omnipool.rs @@ -15,37 +15,46 @@ // See the License for the specific language governing permissions and // limitations under the License. + //! Autogenerated weights for `pallet_omnipool` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-02-15, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-05-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=10 -// --repeat=30 // --wasm-execution=compiled -// --heap-pages=4096 -// --template=.maintain/pallet-weight-template-no-back.hbs -// --pallet=pallet_omnipool -// --output=./weights/omnipool.rs -// --extrinsic=* +// --pallet +// * +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 +// --template=scripts/pallet-weight-template.hbs +// --output +// weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] #![allow(missing_docs)] -use frame_support::{traits::Get, weights::Weight}; +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; use core::marker::PhantomData; -/// Weight functions for `pallet_omnipool`. +/// Weights for `pallet_omnipool`. +pub struct WeightInfo(PhantomData); + +/// Weights for `pallet_omnipool` using the HydraDX node and recommended hardware. pub struct HydraWeight(PhantomData); impl pallet_omnipool::WeightInfo for HydraWeight { /// Storage: `Omnipool::Assets` (r:1 w:1) @@ -76,12 +85,12 @@ impl pallet_omnipool::WeightInfo for HydraWeight { /// Proof: `Omnipool::Positions` (`max_values`: None, `max_size`: Some(100), added: 2575, mode: `MaxEncodedLen`) fn add_token() -> Weight { // Proof Size summary in bytes: - // Measured: `3028` + // Measured: `3132` // Estimated: `7406` - // Minimum execution time: 146_309_000 picoseconds. - Weight::from_parts(147_552_000, 7406) - .saturating_add(T::DbWeight::get().reads(13)) - .saturating_add(T::DbWeight::get().writes(10)) + // Minimum execution time: 129_176_000 picoseconds. + Weight::from_parts(130_298_000, 7406) + .saturating_add(T::DbWeight::get().reads(13_u64)) + .saturating_add(T::DbWeight::get().writes(10_u64)) } /// Storage: `Tokens::Accounts` (r:3 w:3) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) @@ -125,12 +134,12 @@ impl pallet_omnipool::WeightInfo for HydraWeight { /// Proof: `Omnipool::Positions` (`max_values`: None, `max_size`: Some(100), added: 2575, mode: `MaxEncodedLen`) fn add_liquidity() -> Weight { // Proof Size summary in bytes: - // Measured: `4178` + // Measured: `4348` // Estimated: `8739` - // Minimum execution time: 236_030_000 picoseconds. - Weight::from_parts(237_610_000, 8739) - .saturating_add(T::DbWeight::get().reads(23)) - .saturating_add(T::DbWeight::get().writes(14)) + // Minimum execution time: 204_599_000 picoseconds. + Weight::from_parts(205_728_000, 8739) + .saturating_add(T::DbWeight::get().reads(23_u64)) + .saturating_add(T::DbWeight::get().writes(14_u64)) } /// Storage: `Uniques::Asset` (r:1 w:1) /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) @@ -176,12 +185,12 @@ impl pallet_omnipool::WeightInfo for HydraWeight { /// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(113), added: 2588, mode: `MaxEncodedLen`) fn remove_liquidity() -> Weight { // Proof Size summary in bytes: - // Measured: `7089` + // Measured: `7259` // Estimated: `11322` - // Minimum execution time: 316_738_000 picoseconds. - Weight::from_parts(319_501_000, 11322) - .saturating_add(T::DbWeight::get().reads(26)) - .saturating_add(T::DbWeight::get().writes(16)) + // Minimum execution time: 275_044_000 picoseconds. + Weight::from_parts(276_562_000, 11322) + .saturating_add(T::DbWeight::get().reads(26_u64)) + .saturating_add(T::DbWeight::get().writes(16_u64)) } /// Storage: `Tokens::Accounts` (r:5 w:5) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) @@ -195,7 +204,7 @@ impl pallet_omnipool::WeightInfo for HydraWeight { /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::BannedAssets` (r:2 w:0) /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Storage: `AssetRegistry::Assets` (r:4 w:0) /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:3 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) @@ -233,12 +242,12 @@ impl pallet_omnipool::WeightInfo for HydraWeight { /// Proof: `Referrals::CounterForPendingConversions` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) fn sell() -> Weight { // Proof Size summary in bytes: - // Measured: `7327` + // Measured: `7619` // Estimated: `13905` - // Minimum execution time: 360_954_000 picoseconds. - Weight::from_parts(362_880_000, 13905) - .saturating_add(T::DbWeight::get().reads(39)) - .saturating_add(T::DbWeight::get().writes(23)) + // Minimum execution time: 327_772_000 picoseconds. + Weight::from_parts(329_562_000, 13905) + .saturating_add(T::DbWeight::get().reads(41_u64)) + .saturating_add(T::DbWeight::get().writes(23_u64)) } /// Storage: `Omnipool::Assets` (r:3 w:3) /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) @@ -252,7 +261,7 @@ impl pallet_omnipool::WeightInfo for HydraWeight { /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::BannedAssets` (r:2 w:0) /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Storage: `AssetRegistry::Assets` (r:4 w:0) /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:3 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) @@ -290,23 +299,23 @@ impl pallet_omnipool::WeightInfo for HydraWeight { /// Proof: `Referrals::CounterForPendingConversions` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) fn buy() -> Weight { // Proof Size summary in bytes: - // Measured: `7327` + // Measured: `7619` // Estimated: `13905` - // Minimum execution time: 364_573_000 picoseconds. - Weight::from_parts(365_989_000, 13905) - .saturating_add(T::DbWeight::get().reads(39)) - .saturating_add(T::DbWeight::get().writes(23)) + // Minimum execution time: 327_371_000 picoseconds. + Weight::from_parts(328_952_000, 13905) + .saturating_add(T::DbWeight::get().reads(41_u64)) + .saturating_add(T::DbWeight::get().writes(23_u64)) } /// Storage: `Omnipool::Assets` (r:1 w:1) /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) fn set_asset_tradable_state() -> Weight { // Proof Size summary in bytes: - // Measured: `1305` + // Measured: `1309` // Estimated: `3550` - // Minimum execution time: 32_736_000 picoseconds. - Weight::from_parts(33_138_000, 3550) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 27_719_000 picoseconds. + Weight::from_parts(28_329_000, 3550) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Omnipool::Assets` (r:1 w:0) /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) @@ -326,12 +335,12 @@ impl pallet_omnipool::WeightInfo for HydraWeight { /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) fn refund_refused_asset() -> Weight { // Proof Size summary in bytes: - // Measured: `2510` + // Measured: `2646` // Estimated: `6196` - // Minimum execution time: 122_163_000 picoseconds. - Weight::from_parts(123_392_000, 6196) - .saturating_add(T::DbWeight::get().reads(10)) - .saturating_add(T::DbWeight::get().writes(5)) + // Minimum execution time: 99_820_000 picoseconds. + Weight::from_parts(100_687_000, 6196) + .saturating_add(T::DbWeight::get().reads(10_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) } /// Storage: `Omnipool::Positions` (r:1 w:1) /// Proof: `Omnipool::Positions` (`max_values`: None, `max_size`: Some(100), added: 2575, mode: `MaxEncodedLen`) @@ -347,23 +356,23 @@ impl pallet_omnipool::WeightInfo for HydraWeight { /// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(113), added: 2588, mode: `MaxEncodedLen`) fn sacrifice_position() -> Weight { // Proof Size summary in bytes: - // Measured: `2876` + // Measured: `2914` // Estimated: `3655` - // Minimum execution time: 75_629_000 picoseconds. - Weight::from_parts(76_582_000, 3655) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(6)) + // Minimum execution time: 66_207_000 picoseconds. + Weight::from_parts(66_955_000, 3655) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(6_u64)) } /// Storage: `Omnipool::Assets` (r:1 w:1) /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) fn set_asset_weight_cap() -> Weight { // Proof Size summary in bytes: - // Measured: `1305` + // Measured: `1309` // Estimated: `3550` - // Minimum execution time: 32_944_000 picoseconds. - Weight::from_parts(33_586_000, 3550) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 28_043_000 picoseconds. + Weight::from_parts(28_560_000, 3550) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Omnipool::Assets` (r:1 w:1) /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) @@ -389,12 +398,12 @@ impl pallet_omnipool::WeightInfo for HydraWeight { /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) fn withdraw_protocol_liquidity() -> Weight { // Proof Size summary in bytes: - // Measured: `4205` + // Measured: `4341` // Estimated: `8739` - // Minimum execution time: 174_415_000 picoseconds. - Weight::from_parts(174_998_000, 8739) - .saturating_add(T::DbWeight::get().reads(15)) - .saturating_add(T::DbWeight::get().writes(8)) + // Minimum execution time: 146_266_000 picoseconds. + Weight::from_parts(147_681_000, 8739) + .saturating_add(T::DbWeight::get().reads(15_u64)) + .saturating_add(T::DbWeight::get().writes(8_u64)) } /// Storage: `Omnipool::Assets` (r:1 w:1) /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) @@ -418,12 +427,12 @@ impl pallet_omnipool::WeightInfo for HydraWeight { /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) fn remove_token() -> Weight { // Proof Size summary in bytes: - // Measured: `3296` + // Measured: `3432` // Estimated: `11322` - // Minimum execution time: 175_638_000 picoseconds. - Weight::from_parts(176_841_000, 11322) - .saturating_add(T::DbWeight::get().reads(16)) - .saturating_add(T::DbWeight::get().writes(8)) + // Minimum execution time: 145_092_000 picoseconds. + Weight::from_parts(146_152_000, 11322) + .saturating_add(T::DbWeight::get().reads(16_u64)) + .saturating_add(T::DbWeight::get().writes(8_u64)) } /// Storage: `Omnipool::Assets` (r:3 w:3) /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) @@ -437,7 +446,7 @@ impl pallet_omnipool::WeightInfo for HydraWeight { /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::BannedAssets` (r:2 w:0) /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Storage: `AssetRegistry::Assets` (r:4 w:0) /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:3 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) @@ -473,14 +482,14 @@ impl pallet_omnipool::WeightInfo for HydraWeight { /// The range of component `e` is `[0, 1]`. fn router_execution_sell(_c: u32, e: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1974 + e * (4936 ±0)` - // Estimated: `6156 + e * (7749 ±201_913_854_157_949_888)` - // Minimum execution time: 48_921_000 picoseconds. - Weight::from_parts(51_507_911, 6156) - // Standard Error: 122_017 - .saturating_add(Weight::from_parts(316_472_235, 0).saturating_mul(e.into())) - .saturating_add(T::DbWeight::get().reads(7)) - .saturating_add(T::DbWeight::get().reads((29_u64).saturating_mul(e.into()))) + // Measured: `1978 + e * (5140 ±0)` + // Estimated: `11390 + e * (7749 ±0)` + // Minimum execution time: 44_566_000 picoseconds. + Weight::from_parts(46_051_604, 11390) + // Standard Error: 113_379 + .saturating_add(Weight::from_parts(283_478_583, 0).saturating_mul(e.into())) + .saturating_add(T::DbWeight::get().reads(7_u64)) + .saturating_add(T::DbWeight::get().reads((31_u64).saturating_mul(e.into()))) .saturating_add(T::DbWeight::get().writes((21_u64).saturating_mul(e.into()))) .saturating_add(Weight::from_parts(0, 7749).saturating_mul(e.into())) } @@ -496,7 +505,7 @@ impl pallet_omnipool::WeightInfo for HydraWeight { /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::BannedAssets` (r:2 w:0) /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Storage: `AssetRegistry::Assets` (r:4 w:0) /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:3 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) @@ -532,13 +541,13 @@ impl pallet_omnipool::WeightInfo for HydraWeight { /// The range of component `e` is `[0, 1]`. fn router_execution_buy(c: u32, _e: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `6910` + // Measured: `7118` // Estimated: `13905` - // Minimum execution time: 350_132_000 picoseconds. - Weight::from_parts(340_475_478, 13905) - // Standard Error: 178_513 - .saturating_add(Weight::from_parts(13_719_977, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(36)) - .saturating_add(T::DbWeight::get().writes(21)) + // Minimum execution time: 312_903_000 picoseconds. + Weight::from_parts(305_669_455, 13905) + // Standard Error: 152_808 + .saturating_add(Weight::from_parts(12_462_813, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(38_u64)) + .saturating_add(T::DbWeight::get().writes(21_u64)) } } \ No newline at end of file diff --git a/runtime/hydradx/src/weights/pallet_omnipool_liquidity_mining.rs b/runtime/hydradx/src/weights/pallet_omnipool_liquidity_mining.rs index 85f3c7f77..0ce1a51ed 100644 --- a/runtime/hydradx/src/weights/pallet_omnipool_liquidity_mining.rs +++ b/runtime/hydradx/src/weights/pallet_omnipool_liquidity_mining.rs @@ -15,37 +15,46 @@ // See the License for the specific language governing permissions and // limitations under the License. + //! Autogenerated weights for `pallet_omnipool_liquidity_mining` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-05-20, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-05-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=10 -// --repeat=30 // --wasm-execution=compiled -// --heap-pages=4096 -// --template=.maintain/pallet-weight-template-no-back.hbs -// --pallet=pallet_omnipool_liquidity_mining -// --output=./omnipool_lm.rs -// --extrinsic=* +// --pallet +// * +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 +// --template=scripts/pallet-weight-template.hbs +// --output +// weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] #![allow(missing_docs)] -use frame_support::{traits::Get, weights::Weight}; +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; use core::marker::PhantomData; -/// Weight functions for `pallet_omnipool_liquidity_mining`. +/// Weights for `pallet_omnipool_liquidity_mining`. +pub struct WeightInfo(PhantomData); + +/// Weights for `pallet_omnipool_liquidity_mining` using the HydraDX node and recommended hardware. pub struct HydraWeight(PhantomData); impl pallet_omnipool_liquidity_mining::WeightInfo for HydraWeight { /// Storage: `AssetRegistry::Assets` (r:2 w:0) @@ -62,10 +71,10 @@ impl pallet_omnipool_liquidity_mining::WeightInfo for H // Proof Size summary in bytes: // Measured: `557` // Estimated: `6196` - // Minimum execution time: 100_684_000 picoseconds. - Weight::from_parts(101_977_000, 6196) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(5)) + // Minimum execution time: 80_933_000 picoseconds. + Weight::from_parts(81_673_000, 6196) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) } /// Storage: `OmnipoolWarehouseLM::GlobalFarm` (r:1 w:1) /// Proof: `OmnipoolWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) @@ -77,10 +86,10 @@ impl pallet_omnipool_liquidity_mining::WeightInfo for H // Proof Size summary in bytes: // Measured: `964` // Estimated: `6196` - // Minimum execution time: 97_032_000 picoseconds. - Weight::from_parts(97_943_000, 6196) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(4)) + // Minimum execution time: 79_070_000 picoseconds. + Weight::from_parts(79_648_000, 6196) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) } /// Storage: `Omnipool::Assets` (r:1 w:0) /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) @@ -102,10 +111,10 @@ impl pallet_omnipool_liquidity_mining::WeightInfo for H // Proof Size summary in bytes: // Measured: `2337` // Estimated: `6294` - // Minimum execution time: 135_573_000 picoseconds. - Weight::from_parts(136_872_000, 6294) - .saturating_add(T::DbWeight::get().reads(9)) - .saturating_add(T::DbWeight::get().writes(6)) + // Minimum execution time: 123_093_000 picoseconds. + Weight::from_parts(124_230_000, 6294) + .saturating_add(T::DbWeight::get().reads(9_u64)) + .saturating_add(T::DbWeight::get().writes(6_u64)) } /// Storage: `Omnipool::Assets` (r:1 w:0) /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) @@ -125,10 +134,10 @@ impl pallet_omnipool_liquidity_mining::WeightInfo for H // Proof Size summary in bytes: // Measured: `2507` // Estimated: `6294` - // Minimum execution time: 141_083_000 picoseconds. - Weight::from_parts(141_874_000, 6294) - .saturating_add(T::DbWeight::get().reads(9)) - .saturating_add(T::DbWeight::get().writes(4)) + // Minimum execution time: 126_053_000 picoseconds. + Weight::from_parts(127_134_000, 6294) + .saturating_add(T::DbWeight::get().reads(9_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) } /// Storage: `OmnipoolWarehouseLM::ActiveYieldFarm` (r:1 w:1) /// Proof: `OmnipoolWarehouseLM::ActiveYieldFarm` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) @@ -146,10 +155,10 @@ impl pallet_omnipool_liquidity_mining::WeightInfo for H // Proof Size summary in bytes: // Measured: `2146` // Estimated: `6294` - // Minimum execution time: 133_964_000 picoseconds. - Weight::from_parts(135_366_000, 6294) - .saturating_add(T::DbWeight::get().reads(8)) - .saturating_add(T::DbWeight::get().writes(5)) + // Minimum execution time: 120_037_000 picoseconds. + Weight::from_parts(120_995_000, 6294) + .saturating_add(T::DbWeight::get().reads(8_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) } /// Storage: `Omnipool::Assets` (r:1 w:0) /// Proof: `Omnipool::Assets` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) @@ -169,10 +178,10 @@ impl pallet_omnipool_liquidity_mining::WeightInfo for H // Proof Size summary in bytes: // Measured: `2543` // Estimated: `6294` - // Minimum execution time: 135_773_000 picoseconds. - Weight::from_parts(137_186_000, 6294) - .saturating_add(T::DbWeight::get().reads(9)) - .saturating_add(T::DbWeight::get().writes(5)) + // Minimum execution time: 124_191_000 picoseconds. + Weight::from_parts(124_920_000, 6294) + .saturating_add(T::DbWeight::get().reads(9_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) } /// Storage: `OmnipoolWarehouseLM::ActiveYieldFarm` (r:1 w:0) /// Proof: `OmnipoolWarehouseLM::ActiveYieldFarm` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) @@ -186,10 +195,10 @@ impl pallet_omnipool_liquidity_mining::WeightInfo for H // Proof Size summary in bytes: // Measured: `924` // Estimated: `6196` - // Minimum execution time: 85_400_000 picoseconds. - Weight::from_parts(86_202_000, 6196) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(4)) + // Minimum execution time: 75_542_000 picoseconds. + Weight::from_parts(75_959_000, 6196) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) } /// Storage: `Uniques::Asset` (r:2 w:2) /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) @@ -225,10 +234,10 @@ impl pallet_omnipool_liquidity_mining::WeightInfo for H // Proof Size summary in bytes: // Measured: `4072` // Estimated: `11598` - // Minimum execution time: 229_442_000 picoseconds. - Weight::from_parts(231_314_000, 11598) - .saturating_add(T::DbWeight::get().reads(17)) - .saturating_add(T::DbWeight::get().writes(14)) + // Minimum execution time: 207_096_000 picoseconds. + Weight::from_parts(208_255_000, 11598) + .saturating_add(T::DbWeight::get().reads(17_u64)) + .saturating_add(T::DbWeight::get().writes(14_u64)) } /// Storage: `Uniques::Asset` (r:2 w:0) /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) @@ -254,10 +263,10 @@ impl pallet_omnipool_liquidity_mining::WeightInfo for H // Proof Size summary in bytes: // Measured: `4381` // Estimated: `11598` - // Minimum execution time: 187_814_000 picoseconds. - Weight::from_parts(188_943_000, 11598) - .saturating_add(T::DbWeight::get().reads(15)) - .saturating_add(T::DbWeight::get().writes(5)) + // Minimum execution time: 171_971_000 picoseconds. + Weight::from_parts(173_516_000, 11598) + .saturating_add(T::DbWeight::get().reads(15_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) } /// Storage: `Uniques::Asset` (r:1 w:0) /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) @@ -277,10 +286,10 @@ impl pallet_omnipool_liquidity_mining::WeightInfo for H // Proof Size summary in bytes: // Measured: `2946` // Estimated: `8799` - // Minimum execution time: 187_946_000 picoseconds. - Weight::from_parts(189_503_000, 8799) - .saturating_add(T::DbWeight::get().reads(10)) - .saturating_add(T::DbWeight::get().writes(6)) + // Minimum execution time: 165_734_000 picoseconds. + Weight::from_parts(167_004_000, 8799) + .saturating_add(T::DbWeight::get().reads(10_u64)) + .saturating_add(T::DbWeight::get().writes(6_u64)) } /// Storage: `Uniques::Asset` (r:2 w:2) /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) @@ -310,9 +319,9 @@ impl pallet_omnipool_liquidity_mining::WeightInfo for H // Proof Size summary in bytes: // Measured: `3940` // Estimated: `8799` - // Minimum execution time: 284_785_000 picoseconds. - Weight::from_parts(286_696_000, 8799) - .saturating_add(T::DbWeight::get().reads(15)) - .saturating_add(T::DbWeight::get().writes(15)) + // Minimum execution time: 250_173_000 picoseconds. + Weight::from_parts(251_222_000, 8799) + .saturating_add(T::DbWeight::get().reads(15_u64)) + .saturating_add(T::DbWeight::get().writes(15_u64)) } } \ No newline at end of file diff --git a/runtime/hydradx/src/weights/pallet_otc.rs b/runtime/hydradx/src/weights/pallet_otc.rs index 9911cb4cd..90abcc0ff 100644 --- a/runtime/hydradx/src/weights/pallet_otc.rs +++ b/runtime/hydradx/src/weights/pallet_otc.rs @@ -15,41 +15,48 @@ // See the License for the specific language governing permissions and // limitations under the License. + //! Autogenerated weights for `pallet_otc` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-02-15, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-05-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=10 -// --repeat=30 // --wasm-execution=compiled -// --heap-pages=4096 -// --template=.maintain/pallet-weight-template-no-back.hbs -// --pallet=pallet_otc -// --output=./weights/otc.rs -// --extrinsic=* +// --pallet +// * +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 +// --template=scripts/pallet-weight-template.hbs +// --output +// weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] #![allow(missing_docs)] -use frame_support::{traits::Get, weights::Weight}; +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; use core::marker::PhantomData; -use pallet_otc::weights::WeightInfo; +/// Weights for `pallet_otc`. +pub struct WeightInfo(PhantomData); -/// Weight functions for `pallet_otc`. +/// Weights for `pallet_otc` using the HydraDX node and recommended hardware. pub struct HydraWeight(PhantomData); -impl WeightInfo for HydraWeight { +impl pallet_otc::WeightInfo for HydraWeight { /// Storage: `AssetRegistry::Assets` (r:2 w:0) /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `OTC::NextOrderId` (r:1 w:1) @@ -62,12 +69,12 @@ impl WeightInfo for HydraWeight { /// Proof: `OTC::Orders` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `MaxEncodedLen`) fn place_order() -> Weight { // Proof Size summary in bytes: - // Measured: `897` + // Measured: `963` // Estimated: `6190` - // Minimum execution time: 55_411_000 picoseconds. - Weight::from_parts(56_027_000, 6190) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(4)) + // Minimum execution time: 46_410_000 picoseconds. + Weight::from_parts(46_985_000, 6190) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) } /// Storage: `OTC::Orders` (r:1 w:1) /// Proof: `OTC::Orders` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `MaxEncodedLen`) @@ -85,12 +92,12 @@ impl WeightInfo for HydraWeight { /// Proof: `Tokens::Reserves` (`max_values`: None, `max_size`: Some(1261), added: 3736, mode: `MaxEncodedLen`) fn partial_fill_order() -> Weight { // Proof Size summary in bytes: - // Measured: `1882` + // Measured: `2034` // Estimated: `11322` - // Minimum execution time: 138_653_000 picoseconds. - Weight::from_parts(139_630_000, 11322) - .saturating_add(T::DbWeight::get().reads(14)) - .saturating_add(T::DbWeight::get().writes(6)) + // Minimum execution time: 116_670_000 picoseconds. + Weight::from_parts(117_660_000, 11322) + .saturating_add(T::DbWeight::get().reads(14_u64)) + .saturating_add(T::DbWeight::get().writes(6_u64)) } /// Storage: `OTC::Orders` (r:1 w:1) /// Proof: `OTC::Orders` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `MaxEncodedLen`) @@ -108,12 +115,12 @@ impl WeightInfo for HydraWeight { /// Proof: `Tokens::Reserves` (`max_values`: None, `max_size`: Some(1261), added: 3736, mode: `MaxEncodedLen`) fn fill_order() -> Weight { // Proof Size summary in bytes: - // Measured: `1882` + // Measured: `2034` // Estimated: `11322` - // Minimum execution time: 135_774_000 picoseconds. - Weight::from_parts(137_332_000, 11322) - .saturating_add(T::DbWeight::get().reads(14)) - .saturating_add(T::DbWeight::get().writes(6)) + // Minimum execution time: 114_236_000 picoseconds. + Weight::from_parts(114_837_000, 11322) + .saturating_add(T::DbWeight::get().reads(14_u64)) + .saturating_add(T::DbWeight::get().writes(6_u64)) } /// Storage: `OTC::Orders` (r:1 w:1) /// Proof: `OTC::Orders` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `MaxEncodedLen`) @@ -125,11 +132,11 @@ impl WeightInfo for HydraWeight { /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) fn cancel_order() -> Weight { // Proof Size summary in bytes: - // Measured: `1131` + // Measured: `1197` // Estimated: `4726` - // Minimum execution time: 50_061_000 picoseconds. - Weight::from_parts(50_721_000, 4726) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(3)) + // Minimum execution time: 41_852_000 picoseconds. + Weight::from_parts(42_296_000, 4726) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } -} +} \ No newline at end of file diff --git a/runtime/hydradx/src/weights/pallet_preimage.rs b/runtime/hydradx/src/weights/pallet_preimage.rs index e195372cd..cc8aee33e 100644 --- a/runtime/hydradx/src/weights/pallet_preimage.rs +++ b/runtime/hydradx/src/weights/pallet_preimage.rs @@ -15,57 +15,70 @@ // See the License for the specific language governing permissions and // limitations under the License. + //! Autogenerated weights for `pallet_preimage` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-02-15, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-05-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=10 -// --repeat=30 // --wasm-execution=compiled -// --heap-pages=4096 -// --template=.maintain/pallet-weight-template-no-back.hbs -// --pallet=pallet-preimage -// --output=./weights/preimage.rs -// --extrinsic=* +// --pallet +// * +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 +// --template=scripts/pallet-weight-template.hbs +// --output +// weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] #![allow(missing_docs)] -use frame_support::{traits::Get, weights::Weight}; +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; use core::marker::PhantomData; -/// Weight functions for `pallet_preimage`. +/// Weights for `pallet_preimage`. +pub struct WeightInfo(PhantomData); + +/// Weights for `pallet_preimage` using the HydraDX node and recommended hardware. pub struct HydraWeight(PhantomData); impl pallet_preimage::WeightInfo for HydraWeight { - /// Storage: `Preimage::StatusFor` (r:1 w:1) + /// Storage: `Preimage::StatusFor` (r:1 w:0) /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(75), added: 2550, mode: `MaxEncodedLen`) /// Storage: `Preimage::PreimageFor` (r:0 w:1) /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 4194304]`. fn note_preimage(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `210` + // Measured: `109` // Estimated: `3556` - // Minimum execution time: 41_276_000 picoseconds. - Weight::from_parts(41_498_000, 3556) + // Minimum execution time: 18_738_000 picoseconds. + Weight::from_parts(18_982_000, 3556) // Standard Error: 1 - .saturating_add(Weight::from_parts(1_985, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(Weight::from_parts(1_986, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: `Preimage::StatusFor` (r:1 w:1) + /// Storage: `Preimage::StatusFor` (r:1 w:0) /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(75), added: 2550, mode: `MaxEncodedLen`) /// Storage: `Preimage::PreimageFor` (r:0 w:1) /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 4194304]`. @@ -73,15 +86,17 @@ impl pallet_preimage::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `173` // Estimated: `3556` - // Minimum execution time: 23_090_000 picoseconds. - Weight::from_parts(23_405_000, 3556) - // Standard Error: 9 - .saturating_add(Weight::from_parts(2_041, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 20_168_000 picoseconds. + Weight::from_parts(20_415_000, 3556) + // Standard Error: 1 + .saturating_add(Weight::from_parts(1_985, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: `Preimage::StatusFor` (r:1 w:1) + /// Storage: `Preimage::StatusFor` (r:1 w:0) /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(75), added: 2550, mode: `MaxEncodedLen`) /// Storage: `Preimage::PreimageFor` (r:0 w:1) /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) /// The range of component `s` is `[0, 4194304]`. @@ -89,120 +104,153 @@ impl pallet_preimage::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `173` // Estimated: `3556` - // Minimum execution time: 22_229_000 picoseconds. - Weight::from_parts(8_603_845, 3556) - // Standard Error: 8 - .saturating_add(Weight::from_parts(1_999, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 19_009_000 picoseconds. + Weight::from_parts(19_256_000, 3556) + // Standard Error: 1 + .saturating_add(Weight::from_parts(1_994, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: `Preimage::StatusFor` (r:1 w:1) + /// Storage: `Preimage::StatusFor` (r:1 w:0) /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(75), added: 2550, mode: `MaxEncodedLen`) /// Storage: `Preimage::PreimageFor` (r:0 w:1) /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) fn unnote_preimage() -> Weight { // Proof Size summary in bytes: - // Measured: `356` + // Measured: `239` // Estimated: `3556` - // Minimum execution time: 53_648_000 picoseconds. - Weight::from_parts(55_277_000, 3556) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 27_592_000 picoseconds. + Weight::from_parts(28_396_000, 3556) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: `Preimage::StatusFor` (r:1 w:1) + /// Storage: `Preimage::StatusFor` (r:1 w:0) /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(75), added: 2550, mode: `MaxEncodedLen`) /// Storage: `Preimage::PreimageFor` (r:0 w:1) /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) fn unnote_no_deposit_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `211` // Estimated: `3556` - // Minimum execution time: 31_781_000 picoseconds. - Weight::from_parts(32_720_000, 3556) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 28_722_000 picoseconds. + Weight::from_parts(29_613_000, 3556) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: `Preimage::StatusFor` (r:1 w:1) + /// Storage: `Preimage::StatusFor` (r:1 w:0) /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(75), added: 2550, mode: `MaxEncodedLen`) fn request_preimage() -> Weight { // Proof Size summary in bytes: - // Measured: `255` + // Measured: `239` // Estimated: `3556` - // Minimum execution time: 28_938_000 picoseconds. - Weight::from_parts(29_985_000, 3556) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 24_756_000 picoseconds. + Weight::from_parts(25_638_000, 3556) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: `Preimage::StatusFor` (r:1 w:1) + /// Storage: `Preimage::StatusFor` (r:1 w:0) /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(75), added: 2550, mode: `MaxEncodedLen`) fn request_no_deposit_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `211` // Estimated: `3556` - // Minimum execution time: 17_683_000 picoseconds. - Weight::from_parts(18_217_000, 3556) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 16_915_000 picoseconds. + Weight::from_parts(17_589_000, 3556) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: `Preimage::StatusFor` (r:1 w:1) + /// Storage: `Preimage::StatusFor` (r:1 w:0) /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(75), added: 2550, mode: `MaxEncodedLen`) fn request_unnoted_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `109` // Estimated: `3556` - // Minimum execution time: 18_566_000 picoseconds. - Weight::from_parts(19_082_000, 3556) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 15_906_000 picoseconds. + Weight::from_parts(16_554_000, 3556) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: `Preimage::StatusFor` (r:1 w:1) + /// Storage: `Preimage::StatusFor` (r:1 w:0) /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(75), added: 2550, mode: `MaxEncodedLen`) fn request_requested_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `173` // Estimated: `3556` - // Minimum execution time: 12_526_000 picoseconds. - Weight::from_parts(12_808_000, 3556) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 12_522_000 picoseconds. + Weight::from_parts(12_867_000, 3556) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: `Preimage::StatusFor` (r:1 w:1) + /// Storage: `Preimage::StatusFor` (r:1 w:0) /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(75), added: 2550, mode: `MaxEncodedLen`) /// Storage: `Preimage::PreimageFor` (r:0 w:1) /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) fn unrequest_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `211` // Estimated: `3556` - // Minimum execution time: 29_887_000 picoseconds. - Weight::from_parts(30_842_000, 3556) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 26_228_000 picoseconds. + Weight::from_parts(26_977_000, 3556) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: `Preimage::StatusFor` (r:1 w:1) + /// Storage: `Preimage::StatusFor` (r:1 w:0) /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(75), added: 2550, mode: `MaxEncodedLen`) fn unrequest_unnoted_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `173` // Estimated: `3556` // Minimum execution time: 12_510_000 picoseconds. - Weight::from_parts(12_886_000, 3556) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + Weight::from_parts(12_831_000, 3556) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: `Preimage::StatusFor` (r:1 w:1) + /// Storage: `Preimage::StatusFor` (r:1 w:0) /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(75), added: 2550, mode: `MaxEncodedLen`) fn unrequest_multi_referenced_preimage() -> Weight { // Proof Size summary in bytes: // Measured: `173` // Estimated: `3556` - // Minimum execution time: 12_820_000 picoseconds. - Weight::from_parts(13_056_000, 3556) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 12_446_000 picoseconds. + Weight::from_parts(12_729_000, 3556) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - - fn ensure_updated(_n: u32) -> Weight { - todo!() + /// Storage: `Preimage::StatusFor` (r:1023 w:1023) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1023 w:1023) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:0 w:1023) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(75), added: 2550, mode: `MaxEncodedLen`) + /// The range of component `n` is `[1, 1024]`. + fn ensure_updated(n: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `0 + n * (227 ±0)` + // Estimated: `990 + n * (2603 ±0)` + // Minimum execution time: 26_986_000 picoseconds. + Weight::from_parts(27_317_000, 990) + // Standard Error: 20_274 + .saturating_add(Weight::from_parts(20_561_895, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(n.into()))) + .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(n.into()))) + .saturating_add(Weight::from_parts(0, 2603).saturating_mul(n.into())) } } \ No newline at end of file diff --git a/runtime/hydradx/src/weights/pallet_proxy.rs b/runtime/hydradx/src/weights/pallet_proxy.rs index efa83756f..cce1c1d76 100644 --- a/runtime/hydradx/src/weights/pallet_proxy.rs +++ b/runtime/hydradx/src/weights/pallet_proxy.rs @@ -15,37 +15,46 @@ // See the License for the specific language governing permissions and // limitations under the License. + //! Autogenerated weights for `pallet_proxy` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-02-15, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-05-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=10 -// --repeat=30 // --wasm-execution=compiled -// --heap-pages=4096 -// --template=.maintain/pallet-weight-template-no-back.hbs -// --pallet=pallet-proxy -// --output=./weights/proxy.rs -// --extrinsic=* +// --pallet +// * +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 +// --template=scripts/pallet-weight-template.hbs +// --output +// weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] #![allow(missing_docs)] -use frame_support::{traits::Get, weights::Weight}; +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; use core::marker::PhantomData; -/// Weight functions for `pallet_proxy`. +/// Weights for `pallet_proxy`. +pub struct WeightInfo(PhantomData); + +/// Weights for `pallet_proxy` using the HydraDX node and recommended hardware. pub struct HydraWeight(PhantomData); impl pallet_proxy::WeightInfo for HydraWeight { /// Storage: `Proxy::Proxies` (r:1 w:0) @@ -55,11 +64,11 @@ impl pallet_proxy::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `293 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 23_362_000 picoseconds. - Weight::from_parts(23_716_894, 4706) - // Standard Error: 1_411 - .saturating_add(Weight::from_parts(31_936, 0).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(1)) + // Minimum execution time: 17_741_000 picoseconds. + Weight::from_parts(18_338_487, 4706) + // Standard Error: 949 + .saturating_add(Weight::from_parts(38_218, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `Proxy::Proxies` (r:1 w:0) /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`) @@ -73,14 +82,14 @@ impl pallet_proxy::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `620 + a * (68 ±0) + p * (37 ±0)` // Estimated: `5698` - // Minimum execution time: 51_500_000 picoseconds. - Weight::from_parts(51_077_709, 5698) - // Standard Error: 2_902 - .saturating_add(Weight::from_parts(168_254, 0).saturating_mul(a.into())) - // Standard Error: 3_017 - .saturating_add(Weight::from_parts(29_333, 0).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 40_952_000 picoseconds. + Weight::from_parts(41_130_569, 5698) + // Standard Error: 1_451 + .saturating_add(Weight::from_parts(156_513, 0).saturating_mul(a.into())) + // Standard Error: 1_499 + .saturating_add(Weight::from_parts(23_247, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `Proxy::Announcements` (r:1 w:1) /// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(2233), added: 4708, mode: `MaxEncodedLen`) @@ -92,12 +101,12 @@ impl pallet_proxy::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `535 + a * (68 ±0)` // Estimated: `5698` - // Minimum execution time: 34_322_000 picoseconds. - Weight::from_parts(34_848_430, 5698) - // Standard Error: 2_484 - .saturating_add(Weight::from_parts(157_646, 0).saturating_mul(a.into())) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 27_851_000 picoseconds. + Weight::from_parts(28_784_492, 5698) + // Standard Error: 1_292 + .saturating_add(Weight::from_parts(157_827, 0).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `Proxy::Announcements` (r:1 w:1) /// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(2233), added: 4708, mode: `MaxEncodedLen`) @@ -109,12 +118,12 @@ impl pallet_proxy::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `535 + a * (68 ±0)` // Estimated: `5698` - // Minimum execution time: 34_010_000 picoseconds. - Weight::from_parts(34_723_018, 5698) - // Standard Error: 2_442 - .saturating_add(Weight::from_parts(164_732, 0).saturating_mul(a.into())) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 27_876_000 picoseconds. + Weight::from_parts(28_484_364, 5698) + // Standard Error: 1_233 + .saturating_add(Weight::from_parts(164_720, 0).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `Proxy::Proxies` (r:1 w:0) /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`) @@ -128,14 +137,14 @@ impl pallet_proxy::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `552 + a * (68 ±0) + p * (37 ±0)` // Estimated: `5698` - // Minimum execution time: 46_184_000 picoseconds. - Weight::from_parts(45_983_861, 5698) - // Standard Error: 2_006 - .saturating_add(Weight::from_parts(172_287, 0).saturating_mul(a.into())) - // Standard Error: 2_086 - .saturating_add(Weight::from_parts(26_773, 0).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 36_786_000 picoseconds. + Weight::from_parts(36_167_647, 5698) + // Standard Error: 1_151 + .saturating_add(Weight::from_parts(161_136, 0).saturating_mul(a.into())) + // Standard Error: 1_190 + .saturating_add(Weight::from_parts(28_671, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `Proxy::Proxies` (r:1 w:1) /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`) @@ -144,12 +153,12 @@ impl pallet_proxy::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `293 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 35_158_000 picoseconds. - Weight::from_parts(35_671_577, 4706) - // Standard Error: 1_904 - .saturating_add(Weight::from_parts(43_085, 0).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 27_070_000 picoseconds. + Weight::from_parts(27_656_061, 4706) + // Standard Error: 1_038 + .saturating_add(Weight::from_parts(39_781, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Proxy::Proxies` (r:1 w:1) /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`) @@ -158,12 +167,12 @@ impl pallet_proxy::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `293 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 35_277_000 picoseconds. - Weight::from_parts(36_469_179, 4706) - // Standard Error: 4_286 - .saturating_add(Weight::from_parts(13_586, 0).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 26_944_000 picoseconds. + Weight::from_parts(27_943_805, 4706) + // Standard Error: 1_860 + .saturating_add(Weight::from_parts(41_168, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Proxy::Proxies` (r:1 w:1) /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`) @@ -172,12 +181,12 @@ impl pallet_proxy::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `293 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 31_983_000 picoseconds. - Weight::from_parts(32_492_459, 4706) - // Standard Error: 1_600 - .saturating_add(Weight::from_parts(30_213, 0).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 26_237_000 picoseconds. + Weight::from_parts(26_768_642, 4706) + // Standard Error: 947 + .saturating_add(Weight::from_parts(38_137, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Proxy::Proxies` (r:1 w:1) /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`) @@ -186,12 +195,12 @@ impl pallet_proxy::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `305` // Estimated: `4706` - // Minimum execution time: 37_955_000 picoseconds. - Weight::from_parts(38_652_892, 4706) - // Standard Error: 2_122 - .saturating_add(Weight::from_parts(14_074, 0).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 29_406_000 picoseconds. + Weight::from_parts(30_103_342, 4706) + // Standard Error: 883 + .saturating_add(Weight::from_parts(11_166, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Proxy::Proxies` (r:1 w:1) /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`) @@ -200,11 +209,11 @@ impl pallet_proxy::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `330 + p * (37 ±0)` // Estimated: `4706` - // Minimum execution time: 32_767_000 picoseconds. - Weight::from_parts(33_326_886, 4706) - // Standard Error: 1_559 - .saturating_add(Weight::from_parts(38_563, 0).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 26_909_000 picoseconds. + Weight::from_parts(27_669_215, 4706) + // Standard Error: 944 + .saturating_add(Weight::from_parts(31_859, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } } \ No newline at end of file diff --git a/runtime/hydradx/src/weights/pallet_referrals.rs b/runtime/hydradx/src/weights/pallet_referrals.rs index 43620ecf6..703c9c2fb 100644 --- a/runtime/hydradx/src/weights/pallet_referrals.rs +++ b/runtime/hydradx/src/weights/pallet_referrals.rs @@ -15,41 +15,48 @@ // See the License for the specific language governing permissions and // limitations under the License. + //! Autogenerated weights for `pallet_referrals` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-02-15, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-05-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=10 -// --repeat=30 // --wasm-execution=compiled -// --heap-pages=4096 -// --template=.maintain/pallet-weight-template-no-back.hbs -// --pallet=pallet_referrals -// --output=./weights/referrlas.rs -// --extrinsic=* +// --pallet +// * +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 +// --template=scripts/pallet-weight-template.hbs +// --output +// weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] #![allow(missing_docs)] -use frame_support::{traits::Get, weights::Weight}; +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; use core::marker::PhantomData; -use pallet_referrals::weights::WeightInfo; +/// Weights for `pallet_referrals`. +pub struct WeightInfo(PhantomData); -/// Weight functions for `pallet_referrals`. +/// Weights for `pallet_referrals` using the HydraDX node and recommended hardware. pub struct HydraWeight(PhantomData); -impl WeightInfo for HydraWeight { +impl pallet_referrals::WeightInfo for HydraWeight { /// Storage: `Referrals::ReferralAccounts` (r:1 w:1) /// Proof: `Referrals::ReferralAccounts` (`max_values`: None, `max_size`: Some(59), added: 2534, mode: `MaxEncodedLen`) /// Storage: `Referrals::ReferralCodes` (r:1 w:1) @@ -60,12 +67,12 @@ impl WeightInfo for HydraWeight { /// Proof: `Referrals::Referrer` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`) fn register_code() -> Weight { // Proof Size summary in bytes: - // Measured: `284` + // Measured: `318` // Estimated: `6196` - // Minimum execution time: 63_867_000 picoseconds. - Weight::from_parts(64_488_000, 6196) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(5)) + // Minimum execution time: 58_712_000 picoseconds. + Weight::from_parts(59_464_000, 6196) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) } /// Storage: `Referrals::ReferralCodes` (r:1 w:0) /// Proof: `Referrals::ReferralCodes` (`max_values`: None, `max_size`: Some(59), added: 2534, mode: `MaxEncodedLen`) @@ -73,12 +80,12 @@ impl WeightInfo for HydraWeight { /// Proof: `Referrals::LinkedAccounts` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) fn link_code() -> Weight { // Proof Size summary in bytes: - // Measured: `194` + // Measured: `228` // Estimated: `3545` - // Minimum execution time: 21_841_000 picoseconds. - Weight::from_parts(22_151_000, 3545) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 17_123_000 picoseconds. + Weight::from_parts(17_546_000, 3545) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Tokens::Accounts` (r:2 w:2) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) @@ -94,7 +101,7 @@ impl WeightInfo for HydraWeight { /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::BannedAssets` (r:1 w:0) /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:1 w:0) + /// Storage: `AssetRegistry::Assets` (r:3 w:0) /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `EmaOracle::Accumulator` (r:1 w:1) /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) @@ -120,12 +127,12 @@ impl WeightInfo for HydraWeight { /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) fn convert() -> Weight { // Proof Size summary in bytes: - // Measured: `2088` - // Estimated: `7406` - // Minimum execution time: 295_663_000 picoseconds. - Weight::from_parts(297_036_000, 7406) - .saturating_add(T::DbWeight::get().reads(25)) - .saturating_add(T::DbWeight::get().writes(15)) + // Measured: `2226` + // Estimated: `8790` + // Minimum execution time: 263_297_000 picoseconds. + Weight::from_parts(264_892_000, 8790) + .saturating_add(T::DbWeight::get().reads(27_u64)) + .saturating_add(T::DbWeight::get().writes(15_u64)) } /// Storage: `Referrals::PendingConversions` (r:1 w:0) /// Proof: `Referrals::PendingConversions` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) @@ -141,22 +148,22 @@ impl WeightInfo for HydraWeight { /// Proof: `Referrals::Referrer` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`) fn claim_rewards() -> Weight { // Proof Size summary in bytes: - // Measured: `655` + // Measured: `689` // Estimated: `6196` - // Minimum execution time: 88_579_000 picoseconds. - Weight::from_parts(89_353_000, 6196) - .saturating_add(T::DbWeight::get().reads(7)) - .saturating_add(T::DbWeight::get().writes(6)) + // Minimum execution time: 77_361_000 picoseconds. + Weight::from_parts(78_136_000, 6196) + .saturating_add(T::DbWeight::get().reads(7_u64)) + .saturating_add(T::DbWeight::get().writes(6_u64)) } /// Storage: `Referrals::AssetRewards` (r:1 w:1) /// Proof: `Referrals::AssetRewards` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) fn set_reward_percentage() -> Weight { // Proof Size summary in bytes: - // Measured: `42` + // Measured: `76` // Estimated: `3514` - // Minimum execution time: 15_398_000 picoseconds. - Weight::from_parts(15_676_000, 3514) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 11_771_000 picoseconds. + Weight::from_parts(11_990_000, 3514) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } -} +} \ No newline at end of file diff --git a/runtime/hydradx/src/weights/pallet_route_executor.rs b/runtime/hydradx/src/weights/pallet_route_executor.rs index 10f017e21..716066fe5 100644 --- a/runtime/hydradx/src/weights/pallet_route_executor.rs +++ b/runtime/hydradx/src/weights/pallet_route_executor.rs @@ -15,64 +15,73 @@ // See the License for the specific language governing permissions and // limitations under the License. + //! Autogenerated weights for `pallet_route_executor` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-18, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-05-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=10 -// --repeat=30 // --wasm-execution=compiled -// --heap-pages=4096 -// --template=.maintain/pallet-weight-template-no-back.hbs -// --pallet=pallet_route-executor -// --output=re2.rs -// --extrinsic=* +// --pallet +// * +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 +// --template=scripts/pallet-weight-template.hbs +// --output +// weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] #![allow(missing_docs)] -use frame_support::{traits::Get, weights::Weight}; +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; use core::marker::PhantomData; -/// Weight functions for `pallet_route_executor`. +/// Weights for `pallet_route_executor`. +pub struct WeightInfo(PhantomData); + +/// Weights for `pallet_route_executor` using the HydraDX node and recommended hardware. pub struct HydraWeight(PhantomData); -impl pallet_route_executor::weights::WeightInfo for HydraWeight { +impl pallet_route_executor::WeightInfo for HydraWeight { /// Storage: `LBP::PoolData` (r:1 w:0) /// Proof: `LBP::PoolData` (`max_values`: None, `max_size`: Some(163), added: 2638, mode: `MaxEncodedLen`) /// Storage: `Tokens::Accounts` (r:5 w:5) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:3 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `Tokens::Locks` (r:1 w:1) /// Proof: `Tokens::Locks` (`max_values`: None, `max_size`: Some(1261), added: 3736, mode: `MaxEncodedLen`) /// Storage: `Duster::AccountBlacklist` (r:2 w:0) /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::BannedAssets` (r:2 w:0) /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// The range of component `c` is `[0, 1]`. fn calculate_and_execute_sell_in_lbp(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `3436` + // Measured: `3539` // Estimated: `13905` - // Minimum execution time: 344_173_000 picoseconds. - Weight::from_parts(347_378_169, 13905) - // Standard Error: 131_839 - .saturating_add(Weight::from_parts(49_213_080, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(16)) - .saturating_add(T::DbWeight::get().writes(7)) + // Minimum execution time: 348_394_000 picoseconds. + Weight::from_parts(353_414_322, 13905) + // Standard Error: 310_815 + .saturating_add(Weight::from_parts(75_998_077, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(16_u64)) + .saturating_add(T::DbWeight::get().writes(7_u64)) } /// Storage: `LBP::PoolData` (r:1 w:0) /// Proof: `LBP::PoolData` (`max_values`: None, `max_size`: Some(163), added: 2638, mode: `MaxEncodedLen`) @@ -80,27 +89,27 @@ impl pallet_route_executor::weights::WeightInfo for Hyd /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:3 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::Assets` (r:2 w:0) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `Tokens::Locks` (r:1 w:1) /// Proof: `Tokens::Locks` (`max_values`: None, `max_size`: Some(1261), added: 3736, mode: `MaxEncodedLen`) /// Storage: `Duster::AccountBlacklist` (r:2 w:0) /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::BannedAssets` (r:2 w:0) /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:2 w:0) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 2]`. /// The range of component `b` is `[0, 1]`. fn calculate_and_execute_buy_in_lbp(c: u32, b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1604 + b * (1837 ±0)` - // Estimated: `6156 + b * (7749 ±251_795_645_551_580_832)` - // Minimum execution time: 75_692_000 picoseconds. - Weight::from_parts(76_409_000, 6156) - // Standard Error: 611_234 - .saturating_add(Weight::from_parts(2_382_471, 0).saturating_mul(c.into())) - // Standard Error: 1_341_833 - .saturating_add(Weight::from_parts(272_805_599, 0).saturating_mul(b.into())) - .saturating_add(T::DbWeight::get().reads(3)) + // Measured: `1641 + b * (1923 ±0)` + // Estimated: `8799 + b * (7749 ±0)` + // Minimum execution time: 94_857_000 picoseconds. + Weight::from_parts(95_996_000, 8799) + // Standard Error: 221_018 + .saturating_add(Weight::from_parts(884_672, 0).saturating_mul(c.into())) + // Standard Error: 492_269 + .saturating_add(Weight::from_parts(260_708_136, 0).saturating_mul(b.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().reads((13_u64).saturating_mul(b.into()))) .saturating_add(T::DbWeight::get().writes((7_u64).saturating_mul(b.into()))) .saturating_add(Weight::from_parts(0, 7749).saturating_mul(b.into())) @@ -129,21 +138,21 @@ impl pallet_route_executor::weights::WeightInfo for Hyd /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) fn set_route_for_xyk() -> Weight { // Proof Size summary in bytes: - // Measured: `6326` + // Measured: `6430` // Estimated: `39735` - // Minimum execution time: 2_263_303_000 picoseconds. - Weight::from_parts(2_275_623_000, 39735) - .saturating_add(T::DbWeight::get().reads(55)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 1_844_939_000 picoseconds. + Weight::from_parts(1_854_473_000, 39735) + .saturating_add(T::DbWeight::get().reads(55_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Router::Routes` (r:0 w:1) /// Proof: `Router::Routes` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) fn force_insert_route() -> Weight { // Proof Size summary in bytes: - // Measured: `1012` + // Measured: `1016` // Estimated: `0` - // Minimum execution time: 29_861_000 picoseconds. - Weight::from_parts(30_303_000, 0) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 25_416_000 picoseconds. + Weight::from_parts(25_741_000, 0) + .saturating_add(T::DbWeight::get().writes(1_u64)) } } \ No newline at end of file diff --git a/runtime/hydradx/src/weights/pallet_scheduler.rs b/runtime/hydradx/src/weights/pallet_scheduler.rs index d39faa62a..ba8d895fc 100644 --- a/runtime/hydradx/src/weights/pallet_scheduler.rs +++ b/runtime/hydradx/src/weights/pallet_scheduler.rs @@ -15,37 +15,46 @@ // See the License for the specific language governing permissions and // limitations under the License. + //! Autogenerated weights for `pallet_scheduler` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-02-15, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-05-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=10 -// --repeat=30 // --wasm-execution=compiled -// --heap-pages=4096 -// --template=.maintain/pallet-weight-template-no-back.hbs -// --pallet=pallet_scheduler -// --output=./weights/scheduler.rs -// --extrinsic=* +// --pallet +// * +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 +// --template=scripts/pallet-weight-template.hbs +// --output +// weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] #![allow(missing_docs)] -use frame_support::{traits::Get, weights::Weight}; +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; use core::marker::PhantomData; -/// Weight functions for `pallet_scheduler`. +/// Weights for `pallet_scheduler`. +pub struct WeightInfo(PhantomData); + +/// Weights for `pallet_scheduler` using the HydraDX node and recommended hardware. pub struct HydraWeight(PhantomData); impl pallet_scheduler::WeightInfo for HydraWeight { /// Storage: `Scheduler::IncompleteSince` (r:1 w:1) @@ -54,10 +63,10 @@ impl pallet_scheduler::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `31` // Estimated: `1489` - // Minimum execution time: 4_766_000 picoseconds. - Weight::from_parts(4_908_000, 1489) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 3_113_000 picoseconds. + Weight::from_parts(3_195_000, 1489) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Scheduler::Agenda` (r:1 w:1) /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) @@ -66,35 +75,37 @@ impl pallet_scheduler::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `78 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 4_580_000 picoseconds. - Weight::from_parts(7_795_367, 42428) - // Standard Error: 6_252 - .saturating_add(Weight::from_parts(905_945, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 4_409_000 picoseconds. + Weight::from_parts(8_541_812, 42428) + // Standard Error: 1_956 + .saturating_add(Weight::from_parts(464_495, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } fn service_task_base() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_057_000 picoseconds. - Weight::from_parts(8_214_000, 0) + // Minimum execution time: 4_444_000 picoseconds. + Weight::from_parts(4_628_000, 0) } /// Storage: `Preimage::PreimageFor` (r:1 w:1) /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `Measured`) - /// Storage: `Preimage::StatusFor` (r:1 w:1) + /// Storage: `Preimage::StatusFor` (r:1 w:0) /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(75), added: 2550, mode: `MaxEncodedLen`) /// The range of component `s` is `[128, 4194304]`. fn service_task_fetched(s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `246 + s * (1 ±0)` - // Estimated: `3709 + s * (1 ±0)` - // Minimum execution time: 27_147_000 picoseconds. - Weight::from_parts(27_475_000, 3709) - // Standard Error: 19 - .saturating_add(Weight::from_parts(1_397, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Estimated: `3711 + s * (1 ±0)` + // Minimum execution time: 22_139_000 picoseconds. + Weight::from_parts(22_415_000, 3711) + // Standard Error: 1 + .saturating_add(Weight::from_parts(1_251, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(s.into())) } /// Storage: `Scheduler::Lookup` (r:0 w:1) @@ -103,30 +114,30 @@ impl pallet_scheduler::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_368_000 picoseconds. - Weight::from_parts(10_520_000, 0) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 6_750_000 picoseconds. + Weight::from_parts(6_944_000, 0) + .saturating_add(T::DbWeight::get().writes(1_u64)) } fn service_task_periodic() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_981_000 picoseconds. - Weight::from_parts(8_201_000, 0) + // Minimum execution time: 4_487_000 picoseconds. + Weight::from_parts(4_588_000, 0) } fn execute_dispatch_signed() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_335_000 picoseconds. - Weight::from_parts(4_499_000, 0) + // Minimum execution time: 3_474_000 picoseconds. + Weight::from_parts(3_624_000, 0) } fn execute_dispatch_unsigned() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_214_000 picoseconds. - Weight::from_parts(4_391_000, 0) + // Minimum execution time: 3_330_000 picoseconds. + Weight::from_parts(3_439_000, 0) } /// Storage: `Scheduler::Agenda` (r:1 w:1) /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) @@ -135,12 +146,12 @@ impl pallet_scheduler::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `78 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 17_694_000 picoseconds. - Weight::from_parts(21_031_139, 42428) - // Standard Error: 6_108 - .saturating_add(Weight::from_parts(896_821, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 13_523_000 picoseconds. + Weight::from_parts(17_859_084, 42428) + // Standard Error: 1_925 + .saturating_add(Weight::from_parts(473_779, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Scheduler::Agenda` (r:1 w:1) /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) @@ -151,12 +162,12 @@ impl pallet_scheduler::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `78 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 24_274_000 picoseconds. - Weight::from_parts(23_345_538, 42428) - // Standard Error: 1_887 - .saturating_add(Weight::from_parts(1_577_518, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 19_275_000 picoseconds. + Weight::from_parts(18_685_362, 42428) + // Standard Error: 996 + .saturating_add(Weight::from_parts(725_805, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `Scheduler::Lookup` (r:1 w:1) /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) @@ -165,14 +176,14 @@ impl pallet_scheduler::WeightInfo for HydraWeight { /// The range of component `s` is `[0, 49]`. fn schedule_named(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `192 + s * (187 ±0)` + // Measured: `255 + s * (185 ±0)` // Estimated: `42428` - // Minimum execution time: 22_839_000 picoseconds. - Weight::from_parts(26_341_432, 42428) - // Standard Error: 6_685 - .saturating_add(Weight::from_parts(941_746, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 17_927_000 picoseconds. + Weight::from_parts(23_005_508, 42428) + // Standard Error: 2_702 + .saturating_add(Weight::from_parts(507_478, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `Scheduler::Lookup` (r:1 w:1) /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) @@ -181,13 +192,13 @@ impl pallet_scheduler::WeightInfo for HydraWeight { /// The range of component `s` is `[1, 50]`. fn cancel_named(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `263 + s * (186 ±0)` + // Measured: `281 + s * (185 ±0)` // Estimated: `42428` - // Minimum execution time: 26_360_000 picoseconds. - Weight::from_parts(25_724_190, 42428) - // Standard Error: 3_550 - .saturating_add(Weight::from_parts(1_590_016, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 21_054_000 picoseconds. + Weight::from_parts(21_319_060, 42428) + // Standard Error: 1_118 + .saturating_add(Weight::from_parts(746_371, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } } \ No newline at end of file diff --git a/runtime/hydradx/src/weights/pallet_stableswap.rs b/runtime/hydradx/src/weights/pallet_stableswap.rs index d507ae37e..7e1ed6650 100644 --- a/runtime/hydradx/src/weights/pallet_stableswap.rs +++ b/runtime/hydradx/src/weights/pallet_stableswap.rs @@ -15,41 +15,48 @@ // See the License for the specific language governing permissions and // limitations under the License. + //! Autogenerated weights for `pallet_stableswap` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-02-15, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-05-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=10 -// --repeat=30 // --wasm-execution=compiled -// --heap-pages=4096 -// --template=.maintain/pallet-weight-template-no-back.hbs -// --pallet=pallet_stableswap -// --output=./weights/stableswap.rs -// --extrinsic=* +// --pallet +// * +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 +// --template=scripts/pallet-weight-template.hbs +// --output +// weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] #![allow(missing_docs)] -use frame_support::{traits::Get, weights::Weight}; +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; use core::marker::PhantomData; -use pallet_stableswap::weights::WeightInfo; +/// Weights for `pallet_stableswap`. +pub struct WeightInfo(PhantomData); -/// Weight functions for `pallet_stableswap`. +/// Weights for `pallet_stableswap` using the HydraDX node and recommended hardware. pub struct HydraWeight(PhantomData); -impl WeightInfo for HydraWeight { +impl pallet_stableswap::WeightInfo for HydraWeight { /// Storage: `Stableswap::Pools` (r:1 w:1) /// Proof: `Stableswap::Pools` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::Assets` (r:6 w:0) @@ -58,12 +65,12 @@ impl WeightInfo for HydraWeight { /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) fn create_pool() -> Weight { // Proof Size summary in bytes: - // Measured: `789` + // Measured: `855` // Estimated: `16590` - // Minimum execution time: 53_155_000 picoseconds. - Weight::from_parts(53_722_000, 16590) - .saturating_add(T::DbWeight::get().reads(7)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 42_284_000 picoseconds. + Weight::from_parts(42_906_000, 16590) + .saturating_add(T::DbWeight::get().reads(7_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `Stableswap::Pools` (r:1 w:0) /// Proof: `Stableswap::Pools` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) @@ -89,12 +96,12 @@ impl WeightInfo for HydraWeight { /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) fn add_liquidity() -> Weight { // Proof Size summary in bytes: - // Measured: `3339` + // Measured: `3471` // Estimated: `29403` - // Minimum execution time: 1_155_933_000 picoseconds. - Weight::from_parts(1_159_202_000, 29403) - .saturating_add(T::DbWeight::get().reads(35)) - .saturating_add(T::DbWeight::get().writes(14)) + // Minimum execution time: 1_342_534_000 picoseconds. + Weight::from_parts(1_346_186_000, 29403) + .saturating_add(T::DbWeight::get().reads(35_u64)) + .saturating_add(T::DbWeight::get().writes(14_u64)) } /// Storage: `Stableswap::AssetTradability` (r:1 w:0) /// Proof: `Stableswap::AssetTradability` (`max_values`: None, `max_size`: Some(41), added: 2516, mode: `MaxEncodedLen`) @@ -120,12 +127,12 @@ impl WeightInfo for HydraWeight { /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) fn add_liquidity_shares() -> Weight { // Proof Size summary in bytes: - // Measured: `3207` + // Measured: `3339` // Estimated: `19071` - // Minimum execution time: 775_198_000 picoseconds. - Weight::from_parts(779_737_000, 19071) - .saturating_add(T::DbWeight::get().reads(23)) - .saturating_add(T::DbWeight::get().writes(6)) + // Minimum execution time: 896_494_000 picoseconds. + Weight::from_parts(900_100_000, 19071) + .saturating_add(T::DbWeight::get().reads(23_u64)) + .saturating_add(T::DbWeight::get().writes(6_u64)) } /// Storage: `Stableswap::AssetTradability` (r:1 w:0) /// Proof: `Stableswap::AssetTradability` (`max_values`: None, `max_size`: Some(41), added: 2516, mode: `MaxEncodedLen`) @@ -151,12 +158,12 @@ impl WeightInfo for HydraWeight { /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) fn remove_liquidity_one_asset() -> Weight { // Proof Size summary in bytes: - // Measured: `3231` + // Measured: `3363` // Estimated: `19071` - // Minimum execution time: 807_519_000 picoseconds. - Weight::from_parts(811_614_000, 19071) - .saturating_add(T::DbWeight::get().reads(22)) - .saturating_add(T::DbWeight::get().writes(7)) + // Minimum execution time: 921_757_000 picoseconds. + Weight::from_parts(924_632_000, 19071) + .saturating_add(T::DbWeight::get().reads(22_u64)) + .saturating_add(T::DbWeight::get().writes(7_u64)) } /// Storage: `Stableswap::AssetTradability` (r:1 w:0) /// Proof: `Stableswap::AssetTradability` (`max_values`: None, `max_size`: Some(41), added: 2516, mode: `MaxEncodedLen`) @@ -182,12 +189,12 @@ impl WeightInfo for HydraWeight { /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) fn withdraw_asset_amount() -> Weight { // Proof Size summary in bytes: - // Measured: `3231` + // Measured: `3363` // Estimated: `19071` - // Minimum execution time: 1_061_520_000 picoseconds. - Weight::from_parts(1_068_689_000, 19071) - .saturating_add(T::DbWeight::get().reads(23)) - .saturating_add(T::DbWeight::get().writes(6)) + // Minimum execution time: 1_266_805_000 picoseconds. + Weight::from_parts(1_272_407_000, 19071) + .saturating_add(T::DbWeight::get().reads(23_u64)) + .saturating_add(T::DbWeight::get().writes(6_u64)) } /// Storage: `Stableswap::AssetTradability` (r:2 w:0) /// Proof: `Stableswap::AssetTradability` (`max_values`: None, `max_size`: Some(41), added: 2516, mode: `MaxEncodedLen`) @@ -195,7 +202,7 @@ impl WeightInfo for HydraWeight { /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) /// Storage: `Stableswap::Pools` (r:1 w:0) /// Proof: `Stableswap::Pools` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:5 w:0) + /// Storage: `AssetRegistry::Assets` (r:6 w:0) /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `Duster::AccountBlacklist` (r:2 w:0) /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) @@ -213,12 +220,12 @@ impl WeightInfo for HydraWeight { /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) fn sell() -> Weight { // Proof Size summary in bytes: - // Measured: `3269` + // Measured: `3426` // Estimated: `19071` - // Minimum execution time: 767_301_000 picoseconds. - Weight::from_parts(771_963_000, 19071) - .saturating_add(T::DbWeight::get().reads(24)) - .saturating_add(T::DbWeight::get().writes(7)) + // Minimum execution time: 863_718_000 picoseconds. + Weight::from_parts(866_668_000, 19071) + .saturating_add(T::DbWeight::get().reads(25_u64)) + .saturating_add(T::DbWeight::get().writes(7_u64)) } /// Storage: `Stableswap::AssetTradability` (r:2 w:0) /// Proof: `Stableswap::AssetTradability` (`max_values`: None, `max_size`: Some(41), added: 2516, mode: `MaxEncodedLen`) @@ -226,7 +233,7 @@ impl WeightInfo for HydraWeight { /// Proof: `Stableswap::Pools` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) /// Storage: `Tokens::Accounts` (r:7 w:4) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:5 w:0) + /// Storage: `AssetRegistry::Assets` (r:6 w:0) /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `Duster::AccountBlacklist` (r:2 w:0) /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) @@ -244,12 +251,12 @@ impl WeightInfo for HydraWeight { /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) fn buy() -> Weight { // Proof Size summary in bytes: - // Measured: `3239` + // Measured: `3396` // Estimated: `19071` - // Minimum execution time: 745_716_000 picoseconds. - Weight::from_parts(748_811_000, 19071) - .saturating_add(T::DbWeight::get().reads(25)) - .saturating_add(T::DbWeight::get().writes(6)) + // Minimum execution time: 846_241_000 picoseconds. + Weight::from_parts(850_907_000, 19071) + .saturating_add(T::DbWeight::get().reads(26_u64)) + .saturating_add(T::DbWeight::get().writes(6_u64)) } /// Storage: `Stableswap::Pools` (r:1 w:0) /// Proof: `Stableswap::Pools` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) @@ -259,10 +266,10 @@ impl WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `291` // Estimated: `3522` - // Minimum execution time: 25_044_000 picoseconds. - Weight::from_parts(25_584_000, 3522) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 20_725_000 picoseconds. + Weight::from_parts(21_012_000, 3522) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Stableswap::Pools` (r:1 w:1) /// Proof: `Stableswap::Pools` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) @@ -270,10 +277,10 @@ impl WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `291` // Estimated: `3522` - // Minimum execution time: 22_703_000 picoseconds. - Weight::from_parts(23_093_000, 3522) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 18_190_000 picoseconds. + Weight::from_parts(18_524_000, 3522) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Stableswap::Pools` (r:1 w:1) /// Proof: `Stableswap::Pools` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) @@ -281,16 +288,16 @@ impl WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `291` // Estimated: `3522` - // Minimum execution time: 24_632_000 picoseconds. - Weight::from_parts(24_919_000, 3522) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 19_133_000 picoseconds. + Weight::from_parts(19_315_000, 3522) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Stableswap::Pools` (r:1 w:0) /// Proof: `Stableswap::Pools` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) /// Storage: `Tokens::Accounts` (r:7 w:4) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:5 w:0) + /// Storage: `AssetRegistry::Assets` (r:6 w:0) /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `Stableswap::AssetTradability` (r:2 w:0) /// Proof: `Stableswap::AssetTradability` (`max_values`: None, `max_size`: Some(41), added: 2516, mode: `MaxEncodedLen`) @@ -310,24 +317,26 @@ impl WeightInfo for HydraWeight { /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 2]`. /// The range of component `e` is `[0, 1]`. - fn router_execution_sell(_c: u32, e: u32, ) -> Weight { + fn router_execution_sell(c: u32, e: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1555 + e * (1714 ±0)` - // Estimated: `13990 + e * (5797 ±245_709_589_663_843_264)` - // Minimum execution time: 314_654_000 picoseconds. - Weight::from_parts(321_208_138, 13990) - // Standard Error: 305_814 - .saturating_add(Weight::from_parts(731_985_555, 0).saturating_mul(e.into())) - .saturating_add(T::DbWeight::get().reads(11)) - .saturating_add(T::DbWeight::get().reads((13_u64).saturating_mul(e.into()))) + // Measured: `1621 + e * (1805 ±0)` + // Estimated: `13990 + e * (5166 ±0)` + // Minimum execution time: 376_396_000 picoseconds. + Weight::from_parts(353_453_826, 13990) + // Standard Error: 838_992 + .saturating_add(Weight::from_parts(12_974_831, 0).saturating_mul(c.into())) + // Standard Error: 838_992 + .saturating_add(Weight::from_parts(852_434_060, 0).saturating_mul(e.into())) + .saturating_add(T::DbWeight::get().reads(11_u64)) + .saturating_add(T::DbWeight::get().reads((14_u64).saturating_mul(e.into()))) .saturating_add(T::DbWeight::get().writes((7_u64).saturating_mul(e.into()))) - .saturating_add(Weight::from_parts(0, 5797).saturating_mul(e.into())) + .saturating_add(Weight::from_parts(0, 5166).saturating_mul(e.into())) } /// Storage: `Stableswap::Pools` (r:1 w:0) /// Proof: `Stableswap::Pools` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`) /// Storage: `Tokens::Accounts` (r:7 w:4) /// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:5 w:0) + /// Storage: `AssetRegistry::Assets` (r:6 w:0) /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `Stableswap::AssetTradability` (r:2 w:0) /// Proof: `Stableswap::AssetTradability` (`max_values`: None, `max_size`: Some(41), added: 2516, mode: `MaxEncodedLen`) @@ -349,17 +358,17 @@ impl WeightInfo for HydraWeight { /// The range of component `e` is `[0, 1]`. fn router_execution_buy(c: u32, e: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1554 + e * (1685 ±0)` - // Estimated: `13990 + e * (5797 ±201_913_854_157_949_888)` - // Minimum execution time: 312_997_000 picoseconds. - Weight::from_parts(314_359_000, 13990) - // Standard Error: 3_248_945 - .saturating_add(Weight::from_parts(12_345_948, 0).saturating_mul(c.into())) - // Standard Error: 7_132_362 - .saturating_add(Weight::from_parts(468_057_036, 0).saturating_mul(e.into())) - .saturating_add(T::DbWeight::get().reads(11)) - .saturating_add(T::DbWeight::get().reads((14_u64).saturating_mul(e.into()))) + // Measured: `1620 + e * (1776 ±0)` + // Estimated: `13990 + e * (5166 ±0)` + // Minimum execution time: 375_050_000 picoseconds. + Weight::from_parts(376_366_000, 13990) + // Standard Error: 1_073_561 + .saturating_add(Weight::from_parts(3_994_783, 0).saturating_mul(c.into())) + // Standard Error: 2_391_123 + .saturating_add(Weight::from_parts(488_537_240, 0).saturating_mul(e.into())) + .saturating_add(T::DbWeight::get().reads(11_u64)) + .saturating_add(T::DbWeight::get().reads((15_u64).saturating_mul(e.into()))) .saturating_add(T::DbWeight::get().writes((6_u64).saturating_mul(e.into()))) - .saturating_add(Weight::from_parts(0, 5797).saturating_mul(e.into())) + .saturating_add(Weight::from_parts(0, 5166).saturating_mul(e.into())) } -} +} \ No newline at end of file diff --git a/runtime/hydradx/src/weights/pallet_staking.rs b/runtime/hydradx/src/weights/pallet_staking.rs index 818119012..e5346e7b1 100644 --- a/runtime/hydradx/src/weights/pallet_staking.rs +++ b/runtime/hydradx/src/weights/pallet_staking.rs @@ -15,37 +15,46 @@ // See the License for the specific language governing permissions and // limitations under the License. + //! Autogenerated weights for `pallet_staking` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-02-15, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-05-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=10 -// --repeat=30 // --wasm-execution=compiled -// --heap-pages=4096 -// --template=.maintain/pallet-weight-template-no-back.hbs -// --pallet=pallet_staking -// --output=./weights/staking.rs -// --extrinsic=* +// --pallet +// * +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 +// --template=scripts/pallet-weight-template.hbs +// --output +// weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] #![allow(missing_docs)] -use frame_support::{traits::Get, weights::Weight}; +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; use core::marker::PhantomData; -/// Weight functions for `pallet_staking`. +/// Weights for `pallet_staking`. +pub struct WeightInfo(PhantomData); + +/// Weights for `pallet_staking` using the HydraDX node and recommended hardware. pub struct HydraWeight(PhantomData); impl pallet_staking::WeightInfo for HydraWeight { /// Storage: `Staking::Staking` (r:1 w:1) @@ -58,12 +67,12 @@ impl pallet_staking::WeightInfo for HydraWeight { /// Proof: `Uniques::ClassAccount` (`max_values`: None, `max_size`: Some(80), added: 2555, mode: `MaxEncodedLen`) fn initialize_staking() -> Weight { // Proof Size summary in bytes: - // Measured: `513` + // Measured: `516` // Estimated: `3655` - // Minimum execution time: 45_589_000 picoseconds. - Weight::from_parts(46_388_000, 3655) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(3)) + // Minimum execution time: 35_209_000 picoseconds. + Weight::from_parts(35_707_000, 3655) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } /// Storage: `Staking::Staking` (r:1 w:1) /// Proof: `Staking::Staking` (`max_values`: Some(1), `max_size`: Some(48), added: 543, mode: `MaxEncodedLen`) @@ -87,12 +96,12 @@ impl pallet_staking::WeightInfo for HydraWeight { /// Proof: `Staking::Positions` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) fn stake() -> Weight { // Proof Size summary in bytes: - // Measured: `1240` + // Measured: `1274` // Estimated: `6196` - // Minimum execution time: 112_917_000 picoseconds. - Weight::from_parts(113_568_000, 6196) - .saturating_add(T::DbWeight::get().reads(10)) - .saturating_add(T::DbWeight::get().writes(8)) + // Minimum execution time: 89_042_000 picoseconds. + Weight::from_parts(90_537_000, 6196) + .saturating_add(T::DbWeight::get().reads(10_u64)) + .saturating_add(T::DbWeight::get().writes(8_u64)) } /// Storage: `Staking::Staking` (r:1 w:1) /// Proof: `Staking::Staking` (`max_values`: Some(1), `max_size`: Some(48), added: 543, mode: `MaxEncodedLen`) @@ -114,10 +123,10 @@ impl pallet_staking::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `3379` // Estimated: `268590` - // Minimum execution time: 293_910_000 picoseconds. - Weight::from_parts(296_894_000, 268590) - .saturating_add(T::DbWeight::get().reads(108)) - .saturating_add(T::DbWeight::get().writes(6)) + // Minimum execution time: 254_275_000 picoseconds. + Weight::from_parts(258_360_000, 268590) + .saturating_add(T::DbWeight::get().reads(108_u64)) + .saturating_add(T::DbWeight::get().writes(6_u64)) } /// Storage: `Staking::Staking` (r:1 w:1) /// Proof: `Staking::Staking` (`max_values`: Some(1), `max_size`: Some(48), added: 543, mode: `MaxEncodedLen`) @@ -139,10 +148,10 @@ impl pallet_staking::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `3379` // Estimated: `268590` - // Minimum execution time: 286_701_000 picoseconds. - Weight::from_parts(288_861_000, 268590) - .saturating_add(T::DbWeight::get().reads(108)) - .saturating_add(T::DbWeight::get().writes(6)) + // Minimum execution time: 249_197_000 picoseconds. + Weight::from_parts(252_012_000, 268590) + .saturating_add(T::DbWeight::get().reads(108_u64)) + .saturating_add(T::DbWeight::get().writes(6_u64)) } /// Storage: `Staking::Staking` (r:1 w:1) /// Proof: `Staking::Staking` (`max_values`: Some(1), `max_size`: Some(48), added: 543, mode: `MaxEncodedLen`) @@ -168,11 +177,11 @@ impl pallet_staking::WeightInfo for HydraWeight { /// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(113), added: 2588, mode: `MaxEncodedLen`) fn unstake() -> Weight { // Proof Size summary in bytes: - // Measured: `3598` + // Measured: `3632` // Estimated: `268590` - // Minimum execution time: 321_948_000 picoseconds. - Weight::from_parts(324_370_000, 268590) - .saturating_add(T::DbWeight::get().reads(109)) - .saturating_add(T::DbWeight::get().writes(10)) + // Minimum execution time: 276_577_000 picoseconds. + Weight::from_parts(280_091_000, 268590) + .saturating_add(T::DbWeight::get().reads(109_u64)) + .saturating_add(T::DbWeight::get().writes(10_u64)) } } \ No newline at end of file diff --git a/runtime/hydradx/src/weights/pallet_state_trie_migration.rs b/runtime/hydradx/src/weights/pallet_state_trie_migration.rs index 6320cb122..8e03f10af 100644 --- a/runtime/hydradx/src/weights/pallet_state_trie_migration.rs +++ b/runtime/hydradx/src/weights/pallet_state_trie_migration.rs @@ -15,111 +15,132 @@ // See the License for the specific language governing permissions and // limitations under the License. + //! Autogenerated weights for `pallet_state_trie_migration` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-01-26, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-05-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=10 -// --repeat=30 // --wasm-execution=compiled -// --heap-pages=4096 -// --template=.maintain/pallet-weight-template-no-back.hbs -// --pallet=pallet-state-trie-migration -// --output=weights-1.1.0/state_trie.rs -// --extrinsic=* +// --pallet +// * +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 +// --template=scripts/pallet-weight-template.hbs +// --output +// weights/ +#![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] -#![allow(clippy::unnecessary_cast)] +#![allow(missing_docs)] -use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; +use core::marker::PhantomData; -use pallet_state_trie_migration::weights::WeightInfo; +/// Weights for `pallet_state_trie_migration`. +pub struct WeightInfo(PhantomData); /// Weights for `pallet_state_trie_migration` using the HydraDX node and recommended hardware. pub struct HydraWeight(PhantomData); -impl WeightInfo for HydraWeight { +impl pallet_state_trie_migration::WeightInfo for HydraWeight { /// Storage: `StateTrieMigration::SignedMigrationMaxLimits` (r:1 w:0) /// Proof: `StateTrieMigration::SignedMigrationMaxLimits` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:0) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) /// Storage: `StateTrieMigration::MigrationProcess` (r:1 w:1) /// Proof: `StateTrieMigration::MigrationProcess` (`max_values`: Some(1), `max_size`: Some(1042), added: 1537, mode: `MaxEncodedLen`) fn continue_migrate() -> Weight { // Proof Size summary in bytes: - // Measured: `141` - // Estimated: `2527` - // Minimum execution time: 23_654_000 picoseconds. - Weight::from_parts(24_101_000, 2527) - .saturating_add(T::DbWeight::get().reads(2_u64)) + // Measured: `174` + // Estimated: `3550` + // Minimum execution time: 24_739_000 picoseconds. + Weight::from_parts(25_378_000, 3550) + .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `StateTrieMigration::SignedMigrationMaxLimits` (r:1 w:0) /// Proof: `StateTrieMigration::SignedMigrationMaxLimits` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) fn continue_migrate_wrong_witness() -> Weight { // Proof Size summary in bytes: - // Measured: `109` + // Measured: `142` // Estimated: `1493` - // Minimum execution time: 7_170_000 picoseconds. - Weight::from_parts(7_487_000, 1493).saturating_add(T::DbWeight::get().reads(1_u64)) + // Minimum execution time: 5_190_000 picoseconds. + Weight::from_parts(5_356_000, 1493) + .saturating_add(T::DbWeight::get().reads(1_u64)) } + /// Storage: `Balances::Holds` (r:1 w:0) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) fn migrate_custom_top_success() -> Weight { // Proof Size summary in bytes: // Measured: `0` - // Estimated: `0` - // Minimum execution time: 13_335_000 picoseconds. - Weight::from_parts(13_596_000, 0) + // Estimated: `3550` + // Minimum execution time: 14_750_000 picoseconds. + Weight::from_parts(14_989_000, 3550) + .saturating_add(T::DbWeight::get().reads(1_u64)) } + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) /// Storage: UNKNOWN KEY `0x666f6f` (r:1 w:1) /// Proof: UNKNOWN KEY `0x666f6f` (r:1 w:1) fn migrate_custom_top_fail() -> Weight { // Proof Size summary in bytes: - // Measured: `146` - // Estimated: `3611` - // Minimum execution time: 40_202_000 picoseconds. - Weight::from_parts(40_793_000, 3611) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `179` + // Estimated: `3644` + // Minimum execution time: 76_510_000 picoseconds. + Weight::from_parts(77_694_000, 3644) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } + /// Storage: `Balances::Holds` (r:1 w:0) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) fn migrate_custom_child_success() -> Weight { // Proof Size summary in bytes: // Measured: `0` - // Estimated: `0` - // Minimum execution time: 13_441_000 picoseconds. - Weight::from_parts(13_910_000, 0) + // Estimated: `3550` + // Minimum execution time: 15_002_000 picoseconds. + Weight::from_parts(15_332_000, 3550) + .saturating_add(T::DbWeight::get().reads(1_u64)) } + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) /// Storage: UNKNOWN KEY `0x666f6f` (r:1 w:1) /// Proof: UNKNOWN KEY `0x666f6f` (r:1 w:1) fn migrate_custom_child_fail() -> Weight { // Proof Size summary in bytes: // Measured: `106` // Estimated: `3571` - // Minimum execution time: 39_284_000 picoseconds. - Weight::from_parts(39_823_000, 3571) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 78_788_000 picoseconds. + Weight::from_parts(79_332_000, 3571) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: UNKNOWN KEY `0x6b6579` (r:1 w:1) /// Proof: UNKNOWN KEY `0x6b6579` (r:1 w:1) /// The range of component `v` is `[1, 4194304]`. - fn process_top_key(v: u32) -> Weight { + fn process_top_key(v: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `262 + v * (1 ±0)` - // Estimated: `3725 + v * (1 ±0)` - // Minimum execution time: 6_940_000 picoseconds. - Weight::from_parts(7_084_000, 3725) - // Standard Error: 2 - .saturating_add(Weight::from_parts(1_372, 0).saturating_mul(v.into())) + // Measured: `295 + v * (1 ±0)` + // Estimated: `3760 + v * (1 ±0)` + // Minimum execution time: 6_272_000 picoseconds. + Weight::from_parts(6_354_000, 3760) + // Standard Error: 5 + .saturating_add(Weight::from_parts(1_777, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(v.into())) } -} +} \ No newline at end of file diff --git a/runtime/hydradx/src/weights/pallet_timestamp.rs b/runtime/hydradx/src/weights/pallet_timestamp.rs index 07f6fac65..d53aace17 100644 --- a/runtime/hydradx/src/weights/pallet_timestamp.rs +++ b/runtime/hydradx/src/weights/pallet_timestamp.rs @@ -15,37 +15,46 @@ // See the License for the specific language governing permissions and // limitations under the License. + //! Autogenerated weights for `pallet_timestamp` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-02-15, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-05-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=10 -// --repeat=30 // --wasm-execution=compiled -// --heap-pages=4096 -// --template=.maintain/pallet-weight-template-no-back.hbs -// --pallet=pallet_timestamp -// --output=./weights/timestamp.rs -// --extrinsic=* +// --pallet +// * +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 +// --template=scripts/pallet-weight-template.hbs +// --output +// weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] #![allow(missing_docs)] -use frame_support::{traits::Get, weights::Weight}; +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; use core::marker::PhantomData; -/// Weight functions for `pallet_timestamp`. +/// Weights for `pallet_timestamp`. +pub struct WeightInfo(PhantomData); + +/// Weights for `pallet_timestamp` using the HydraDX node and recommended hardware. pub struct HydraWeight(PhantomData); impl pallet_timestamp::WeightInfo for HydraWeight { /// Storage: `Timestamp::Now` (r:1 w:1) @@ -54,16 +63,16 @@ impl pallet_timestamp::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `42` // Estimated: `1493` - // Minimum execution time: 9_400_000 picoseconds. - Weight::from_parts(9_641_000, 1493) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 6_253_000 picoseconds. + Weight::from_parts(6_598_000, 1493) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } fn on_finalize() -> Weight { // Proof Size summary in bytes: // Measured: `94` // Estimated: `0` - // Minimum execution time: 4_863_000 picoseconds. - Weight::from_parts(5_000_000, 0) + // Minimum execution time: 3_659_000 picoseconds. + Weight::from_parts(3_726_000, 0) } } \ No newline at end of file diff --git a/runtime/hydradx/src/weights/pallet_tips.rs b/runtime/hydradx/src/weights/pallet_tips.rs index 0fb0fe607..0a255e8e1 100644 --- a/runtime/hydradx/src/weights/pallet_tips.rs +++ b/runtime/hydradx/src/weights/pallet_tips.rs @@ -15,37 +15,46 @@ // See the License for the specific language governing permissions and // limitations under the License. + //! Autogenerated weights for `pallet_tips` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-02-23, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-05-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=10 -// --repeat=30 // --wasm-execution=compiled -// --heap-pages=4096 -// --template=.maintain/pallet-weight-template-no-back.hbs -// --pallet=pallet-tips -// --output=weights-1.1.0/tips.rs -// --extrinsic=* +// --pallet +// * +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 +// --template=scripts/pallet-weight-template.hbs +// --output +// weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] #![allow(missing_docs)] -use frame_support::{traits::Get, weights::Weight}; +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; use core::marker::PhantomData; -/// Weight functions for `pallet_tips`. +/// Weights for `pallet_tips`. +pub struct WeightInfo(PhantomData); + +/// Weights for `pallet_tips` using the HydraDX node and recommended hardware. pub struct HydraWeight(PhantomData); impl pallet_tips::WeightInfo for HydraWeight { /// Storage: `Tips::Reasons` (r:1 w:1) @@ -57,12 +66,12 @@ impl pallet_tips::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `42` // Estimated: `3507` - // Minimum execution time: 42_222_000 picoseconds. - Weight::from_parts(43_017_038, 3507) - // Standard Error: 67 - .saturating_add(Weight::from_parts(1_804, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 34_160_000 picoseconds. + Weight::from_parts(34_779_615, 3507) + // Standard Error: 31 + .saturating_add(Weight::from_parts(1_854, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `Tips::Tips` (r:1 w:1) /// Proof: `Tips::Tips` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -72,10 +81,10 @@ impl pallet_tips::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `259` // Estimated: `3724` - // Minimum execution time: 39_351_000 picoseconds. - Weight::from_parts(39_842_000, 3724) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 32_135_000 picoseconds. + Weight::from_parts(32_556_000, 3724) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `Elections::Members` (r:1 w:0) /// Proof: `Elections::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -89,14 +98,14 @@ impl pallet_tips::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `438 + t * (64 ±0)` // Estimated: `3903 + t * (64 ±0)` - // Minimum execution time: 27_937_000 picoseconds. - Weight::from_parts(28_197_538, 3903) - // Standard Error: 46 - .saturating_add(Weight::from_parts(1_523, 0).saturating_mul(r.into())) - // Standard Error: 3_893 - .saturating_add(Weight::from_parts(35_746, 0).saturating_mul(t.into())) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 22_419_000 picoseconds. + Weight::from_parts(22_904_326, 3903) + // Standard Error: 21 + .saturating_add(Weight::from_parts(1_466, 0).saturating_mul(r.into())) + // Standard Error: 1_777 + .saturating_add(Weight::from_parts(23_466, 0).saturating_mul(t.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 64).saturating_mul(t.into())) } /// Storage: `Elections::Members` (r:1 w:0) @@ -108,12 +117,12 @@ impl pallet_tips::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `659 + t * (112 ±0)` // Estimated: `4124 + t * (112 ±0)` - // Minimum execution time: 21_986_000 picoseconds. - Weight::from_parts(22_229_525, 4124) - // Standard Error: 2_907 - .saturating_add(Weight::from_parts(175_185, 0).saturating_mul(t.into())) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 18_422_000 picoseconds. + Weight::from_parts(18_783_121, 4124) + // Standard Error: 2_372 + .saturating_add(Weight::from_parts(185_984, 0).saturating_mul(t.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 112).saturating_mul(t.into())) } /// Storage: `Tips::Tips` (r:1 w:1) @@ -128,14 +137,14 @@ impl pallet_tips::WeightInfo for HydraWeight { fn close_tip(t: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `801 + t * (112 ±0)` - // Estimated: `6196 + t * (110 ±0)` - // Minimum execution time: 84_369_000 picoseconds. - Weight::from_parts(85_179_519, 6196) - // Standard Error: 11_612 - .saturating_add(Weight::from_parts(168_131, 0).saturating_mul(t.into())) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(4)) - .saturating_add(Weight::from_parts(0, 110).saturating_mul(t.into())) + // Estimated: `6196 + t * (112 ±0)` + // Minimum execution time: 66_434_000 picoseconds. + Weight::from_parts(67_523_302, 6196) + // Standard Error: 5_956 + .saturating_add(Weight::from_parts(170_435, 0).saturating_mul(t.into())) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) + .saturating_add(Weight::from_parts(0, 112).saturating_mul(t.into())) } /// Storage: `Tips::Tips` (r:1 w:1) /// Proof: `Tips::Tips` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -146,11 +155,11 @@ impl pallet_tips::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `307` // Estimated: `3772` - // Minimum execution time: 20_933_000 picoseconds. - Weight::from_parts(21_193_736, 3772) - // Standard Error: 1_766 - .saturating_add(Weight::from_parts(18_154, 0).saturating_mul(t.into())) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 16_734_000 picoseconds. + Weight::from_parts(17_127_713, 3772) + // Standard Error: 1_067 + .saturating_add(Weight::from_parts(5_614, 0).saturating_mul(t.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } } \ No newline at end of file diff --git a/runtime/hydradx/src/weights/pallet_transaction_multi_payment.rs b/runtime/hydradx/src/weights/pallet_transaction_multi_payment.rs index ea5ffdff8..65f273132 100644 --- a/runtime/hydradx/src/weights/pallet_transaction_multi_payment.rs +++ b/runtime/hydradx/src/weights/pallet_transaction_multi_payment.rs @@ -1,6 +1,6 @@ // This file is part of HydraDX. -// Copyright (C) 2020-2024 Intergalactic, Limited (GIB). +// Copyright (C) 2020-2023 Intergalactic, Limited (GIB). // SPDX-License-Identifier: Apache-2.0 // Licensed under the Apache License, Version 2.0 (the "License"); @@ -15,62 +15,69 @@ // See the License for the specific language governing permissions and // limitations under the License. + //! Autogenerated weights for `pallet_transaction_multi_payment` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-03-17, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-05-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=10 -// --repeat=30 // --wasm-execution=compiled -// --heap-pages=4096 -// --template=.maintain/pallet-weight-template-no-back.hbs -// --pallet=pallet-transaction-multi-payment -// --output=weights-1.1.0/payment.rs -// --extrinsic=* +// --pallet +// * +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 +// --template=scripts/pallet-weight-template.hbs +// --output +// weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] #![allow(missing_docs)] -use frame_support::{traits::Get, weights::Weight}; +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; use core::marker::PhantomData; -use pallet_transaction_multi_payment::weights::WeightInfo; +/// Weights for `pallet_transaction_multi_payment`. +pub struct WeightInfo(PhantomData); -/// Weight functions for `pallet_transaction_multi_payment`. +/// Weights for `pallet_transaction_multi_payment` using the HydraDX node and recommended hardware. pub struct HydraWeight(PhantomData); -impl WeightInfo for HydraWeight { +impl pallet_transaction_multi_payment::WeightInfo for HydraWeight { /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:1) /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) fn add_currency() -> Weight { // Proof Size summary in bytes: - // Measured: `1176` + // Measured: `1180` // Estimated: `3493` - // Minimum execution time: 24_211_000 picoseconds. - Weight::from_parts(24_571_000, 3493) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 19_243_000 picoseconds. + Weight::from_parts(19_945_000, 3493) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:1) /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) fn remove_currency() -> Weight { // Proof Size summary in bytes: - // Measured: `1207` + // Measured: `1211` // Estimated: `3493` - // Minimum execution time: 24_768_000 picoseconds. - Weight::from_parts(24_992_000, 3493) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 20_151_000 picoseconds. + Weight::from_parts(20_486_000, 3493) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) @@ -78,12 +85,12 @@ impl WeightInfo for HydraWeight { /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) fn set_currency() -> Weight { // Proof Size summary in bytes: - // Measured: `1241` + // Measured: `1245` // Estimated: `3493` - // Minimum execution time: 31_064_000 picoseconds. - Weight::from_parts(31_466_000, 3493) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 24_924_000 picoseconds. + Weight::from_parts(25_169_000, 3493) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Router::Routes` (r:1 w:0) /// Proof: `Router::Routes` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) @@ -91,11 +98,11 @@ impl WeightInfo for HydraWeight { /// Proof: `EmaOracle::Oracles` (`max_values`: None, `max_size`: Some(177), added: 2652, mode: `MaxEncodedLen`) fn get_oracle_price() -> Weight { // Proof Size summary in bytes: - // Measured: `3221` + // Measured: `3225` // Estimated: `27510` - // Minimum execution time: 94_272_000 picoseconds. - Weight::from_parts(95_196_000, 27510) - .saturating_add(T::DbWeight::get().reads(11)) + // Minimum execution time: 89_268_000 picoseconds. + Weight::from_parts(90_513_000, 27510) + .saturating_add(T::DbWeight::get().reads(11_u64)) } /// Storage: `AssetRegistry::NextAssetId` (r:1 w:0) /// Proof: `AssetRegistry::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) @@ -105,11 +112,11 @@ impl WeightInfo for HydraWeight { /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) fn reset_payment_currency() -> Weight { // Proof Size summary in bytes: - // Measured: `1280` + // Measured: `1317` // Estimated: `4087` - // Minimum execution time: 28_830_000 picoseconds. - Weight::from_parts(29_378_000, 4087) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 22_192_000 picoseconds. + Weight::from_parts(22_762_000, 4087) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } -} +} \ No newline at end of file diff --git a/runtime/hydradx/src/weights/pallet_transaction_pause.rs b/runtime/hydradx/src/weights/pallet_transaction_pause.rs index 37995911f..178691fd4 100644 --- a/runtime/hydradx/src/weights/pallet_transaction_pause.rs +++ b/runtime/hydradx/src/weights/pallet_transaction_pause.rs @@ -15,59 +15,68 @@ // See the License for the specific language governing permissions and // limitations under the License. + //! Autogenerated weights for `pallet_transaction_pause` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-02-15, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-05-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=10 -// --repeat=30 // --wasm-execution=compiled -// --heap-pages=4096 -// --template=.maintain/pallet-weight-template-no-back.hbs -// --pallet=pallet_transaction_pause -// --output=./weights/transaction_pause.rs -// --extrinsic=* +// --pallet +// * +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 +// --template=scripts/pallet-weight-template.hbs +// --output +// weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] #![allow(missing_docs)] -use frame_support::{traits::Get, weights::Weight}; +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; use core::marker::PhantomData; -/// Weight functions for `pallet_transaction_pause`. +/// Weights for `pallet_transaction_pause`. +pub struct WeightInfo(PhantomData); + +/// Weights for `pallet_transaction_pause` using the HydraDX node and recommended hardware. pub struct HydraWeight(PhantomData); impl pallet_transaction_pause::WeightInfo for HydraWeight { /// Storage: `TransactionPause::PausedTransactions` (r:1 w:1) /// Proof: `TransactionPause::PausedTransactions` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) fn pause_transaction() -> Weight { // Proof Size summary in bytes: - // Measured: `147` + // Measured: `109` // Estimated: `3555` - // Minimum execution time: 16_343_000 picoseconds. - Weight::from_parts(16_726_000, 3555) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 10_806_000 picoseconds. + Weight::from_parts(10_995_000, 3555) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `TransactionPause::PausedTransactions` (r:1 w:1) /// Proof: `TransactionPause::PausedTransactions` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) fn unpause_transaction() -> Weight { // Proof Size summary in bytes: - // Measured: `198` + // Measured: `160` // Estimated: `3555` - // Minimum execution time: 17_899_000 picoseconds. - Weight::from_parts(18_371_000, 3555) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 12_641_000 picoseconds. + Weight::from_parts(13_122_000, 3555) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } } \ No newline at end of file diff --git a/runtime/hydradx/src/weights/pallet_treasury.rs b/runtime/hydradx/src/weights/pallet_treasury.rs index 0cfc273e5..24d51e0a5 100644 --- a/runtime/hydradx/src/weights/pallet_treasury.rs +++ b/runtime/hydradx/src/weights/pallet_treasury.rs @@ -15,45 +15,62 @@ // See the License for the specific language governing permissions and // limitations under the License. + //! Autogenerated weights for `pallet_treasury` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-02-15, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-05-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=10 -// --repeat=30 // --wasm-execution=compiled -// --heap-pages=4096 -// --template=.maintain/pallet-weight-template-no-back.hbs -// --pallet=pallet_treasury -// --output=./weights/treasury.rs -// --extrinsic=* +// --pallet +// * +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 +// --template=scripts/pallet-weight-template.hbs +// --output +// weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] #![allow(missing_docs)] -use frame_support::{traits::Get, weights::Weight}; +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; use core::marker::PhantomData; -/// Weight functions for `pallet_treasury`. +/// Weights for `pallet_treasury`. +pub struct WeightInfo(PhantomData); + +/// Weights for `pallet_treasury` using the HydraDX node and recommended hardware. pub struct HydraWeight(PhantomData); impl pallet_treasury::WeightInfo for HydraWeight { - fn spend() -> Weight { + /// Storage: `Treasury::ProposalCount` (r:1 w:1) + /// Proof: `Treasury::ProposalCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Treasury::Approvals` (r:1 w:1) + /// Proof: `Treasury::Approvals` (`max_values`: Some(1), `max_size`: Some(402), added: 897, mode: `MaxEncodedLen`) + /// Storage: `Treasury::Proposals` (r:0 w:1) + /// Proof: `Treasury::Proposals` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + fn spend_local() -> Weight { // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 377_000 picoseconds. - Weight::from_parts(415_000, 0) + // Measured: `109` + // Estimated: `1887` + // Minimum execution time: 14_347_000 picoseconds. + Weight::from_parts(14_682_000, 1887) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } /// Storage: `Treasury::ProposalCount` (r:1 w:1) /// Proof: `Treasury::ProposalCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) @@ -63,10 +80,10 @@ impl pallet_treasury::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `210` // Estimated: `1489` - // Minimum execution time: 37_853_000 picoseconds. - Weight::from_parts(38_512_000, 1489) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 29_707_000 picoseconds. + Weight::from_parts(30_262_000, 1489) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `Treasury::Proposals` (r:1 w:1) /// Proof: `Treasury::Proposals` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) @@ -76,10 +93,10 @@ impl pallet_treasury::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `471` // Estimated: `6196` - // Minimum execution time: 56_828_000 picoseconds. - Weight::from_parts(57_266_000, 6196) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(3)) + // Minimum execution time: 43_672_000 picoseconds. + Weight::from_parts(44_114_000, 6196) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } /// Storage: `Treasury::Proposals` (r:1 w:0) /// Proof: `Treasury::Proposals` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) @@ -88,14 +105,14 @@ impl pallet_treasury::WeightInfo for HydraWeight { /// The range of component `p` is `[0, 99]`. fn approve_proposal(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `571 + p * (7 ±0)` + // Measured: `537 + p * (8 ±0)` // Estimated: `3573` - // Minimum execution time: 14_617_000 picoseconds. - Weight::from_parts(17_552_607, 3573) - // Standard Error: 2_701 - .saturating_add(Weight::from_parts(41_981, 0).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 11_873_000 picoseconds. + Weight::from_parts(15_247_026, 3573) + // Standard Error: 986 + .saturating_add(Weight::from_parts(35_716, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Treasury::Approvals` (r:1 w:1) /// Proof: `Treasury::Approvals` (`max_values`: Some(1), `max_size`: Some(402), added: 897, mode: `MaxEncodedLen`) @@ -103,12 +120,12 @@ impl pallet_treasury::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `194` // Estimated: `1887` - // Minimum execution time: 9_955_000 picoseconds. - Weight::from_parts(10_322_000, 1887) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 7_594_000 picoseconds. + Weight::from_parts(7_876_000, 1887) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: `System::Account` (r:201 w:201) + /// Storage: `System::Account` (r:199 w:199) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `Treasury::Deactivated` (r:1 w:1) /// Proof: `Treasury::Deactivated` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) @@ -116,37 +133,69 @@ impl pallet_treasury::WeightInfo for HydraWeight { /// Proof: `Balances::InactiveIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) /// Storage: `Treasury::Approvals` (r:1 w:1) /// Proof: `Treasury::Approvals` (`max_values`: Some(1), `max_size`: Some(402), added: 897, mode: `MaxEncodedLen`) - /// Storage: `Treasury::Proposals` (r:100 w:100) + /// Storage: `Treasury::Proposals` (r:99 w:99) /// Proof: `Treasury::Proposals` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) - /// The range of component `p` is `[0, 100]`. + /// The range of component `p` is `[0, 99]`. fn on_initialize_proposals(p: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `316 + p * (253 ±0)` + // Measured: `375 + p * (253 ±0)` // Estimated: `3593 + p * (5206 ±0)` - // Minimum execution time: 38_716_000 picoseconds. - Weight::from_parts(47_514_413, 3593) - // Standard Error: 29_010 - .saturating_add(Weight::from_parts(50_516_662, 0).saturating_mul(p.into())) - .saturating_add(T::DbWeight::get().reads(4)) + // Minimum execution time: 22_846_000 picoseconds. + Weight::from_parts(30_925_894, 3593) + // Standard Error: 17_594 + .saturating_add(Weight::from_parts(36_106_995, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(p.into()))) - .saturating_add(T::DbWeight::get().writes(4)) + .saturating_add(T::DbWeight::get().writes(4_u64)) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(p.into()))) .saturating_add(Weight::from_parts(0, 5206).saturating_mul(p.into())) } - - fn spend_local() -> Weight { - todo!() + /// Storage: `Treasury::SpendCount` (r:1 w:1) + /// Proof: `Treasury::SpendCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Treasury::Spends` (r:0 w:1) + /// Proof: `Treasury::Spends` (`max_values`: None, `max_size`: Some(69), added: 2544, mode: `MaxEncodedLen`) + fn spend() -> Weight { + // Proof Size summary in bytes: + // Measured: `109` + // Estimated: `1489` + // Minimum execution time: 12_454_000 picoseconds. + Weight::from_parts(12_784_000, 1489) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } - + /// Storage: `Treasury::Spends` (r:1 w:1) + /// Proof: `Treasury::Spends` (`max_values`: None, `max_size`: Some(69), added: 2544, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn payout() -> Weight { - todo!() + // Proof Size summary in bytes: + // Measured: `382` + // Estimated: `6196` + // Minimum execution time: 59_855_000 picoseconds. + Weight::from_parts(60_501_000, 6196) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } - + /// Storage: `Treasury::Spends` (r:1 w:1) + /// Proof: `Treasury::Spends` (`max_values`: None, `max_size`: Some(69), added: 2544, mode: `MaxEncodedLen`) fn check_status() -> Weight { - todo!() + // Proof Size summary in bytes: + // Measured: `227` + // Estimated: `3534` + // Minimum execution time: 15_984_000 picoseconds. + Weight::from_parts(16_232_000, 3534) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - + /// Storage: `Treasury::Spends` (r:1 w:1) + /// Proof: `Treasury::Spends` (`max_values`: None, `max_size`: Some(69), added: 2544, mode: `MaxEncodedLen`) fn void_spend() -> Weight { - todo!() + // Proof Size summary in bytes: + // Measured: `227` + // Estimated: `3534` + // Minimum execution time: 14_109_000 picoseconds. + Weight::from_parts(14_541_000, 3534) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } } \ No newline at end of file diff --git a/runtime/hydradx/src/weights/pallet_utility.rs b/runtime/hydradx/src/weights/pallet_utility.rs index b986763e2..4f0a0fc0c 100644 --- a/runtime/hydradx/src/weights/pallet_utility.rs +++ b/runtime/hydradx/src/weights/pallet_utility.rs @@ -15,37 +15,46 @@ // See the License for the specific language governing permissions and // limitations under the License. + //! Autogenerated weights for `pallet_utility` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-02-15, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-05-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=10 -// --repeat=30 // --wasm-execution=compiled -// --heap-pages=4096 -// --template=.maintain/pallet-weight-template-no-back.hbs -// --pallet=pallet_utility -// --output=./weights/utility.rs -// --extrinsic=* +// --pallet +// * +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 +// --template=scripts/pallet-weight-template.hbs +// --output +// weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] #![allow(missing_docs)] -use frame_support::{traits::Get, weights::Weight}; +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; use core::marker::PhantomData; -/// Weight functions for `pallet_utility`. +/// Weights for `pallet_utility`. +pub struct WeightInfo(PhantomData); + +/// Weights for `pallet_utility` using the HydraDX node and recommended hardware. pub struct HydraWeight(PhantomData); impl pallet_utility::WeightInfo for HydraWeight { /// The range of component `c` is `[0, 1000]`. @@ -53,43 +62,43 @@ impl pallet_utility::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_239_000 picoseconds. - Weight::from_parts(9_506_750, 0) - // Standard Error: 4_964 - .saturating_add(Weight::from_parts(6_554_896, 0).saturating_mul(c.into())) + // Minimum execution time: 6_513_000 picoseconds. + Weight::from_parts(2_561_294, 0) + // Standard Error: 2_717 + .saturating_add(Weight::from_parts(3_594_647, 0).saturating_mul(c.into())) } fn as_derivative() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_602_000 picoseconds. - Weight::from_parts(7_828_000, 0) + // Minimum execution time: 6_469_000 picoseconds. + Weight::from_parts(6_636_000, 0) } /// The range of component `c` is `[0, 1000]`. fn batch_all(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_351_000 picoseconds. - Weight::from_parts(19_343_913, 0) - // Standard Error: 5_903 - .saturating_add(Weight::from_parts(6_958_305, 0).saturating_mul(c.into())) + // Minimum execution time: 6_539_000 picoseconds. + Weight::from_parts(7_618_449, 0) + // Standard Error: 2_626 + .saturating_add(Weight::from_parts(3_897_612, 0).saturating_mul(c.into())) } fn dispatch_as() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 13_448_000 picoseconds. - Weight::from_parts(13_627_000, 0) + // Minimum execution time: 8_898_000 picoseconds. + Weight::from_parts(9_127_000, 0) } /// The range of component `c` is `[0, 1000]`. fn force_batch(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_282_000 picoseconds. - Weight::from_parts(21_770_041, 0) - // Standard Error: 6_324 - .saturating_add(Weight::from_parts(6_570_955, 0).saturating_mul(c.into())) + // Minimum execution time: 6_313_000 picoseconds. + Weight::from_parts(5_143_287, 0) + // Standard Error: 2_490 + .saturating_add(Weight::from_parts(3_599_498, 0).saturating_mul(c.into())) } } \ No newline at end of file diff --git a/runtime/hydradx/src/weights/pallet_xcm.rs b/runtime/hydradx/src/weights/pallet_xcm.rs index c2ffb5f9c..c9c9fd7ac 100644 --- a/runtime/hydradx/src/weights/pallet_xcm.rs +++ b/runtime/hydradx/src/weights/pallet_xcm.rs @@ -15,37 +15,46 @@ // See the License for the specific language governing permissions and // limitations under the License. + //! Autogenerated weights for `pallet_xcm` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-02-15, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-05-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=10 -// --repeat=30 // --wasm-execution=compiled -// --heap-pages=4096 -// --template=.maintain/pallet-weight-template-no-back.hbs -// --pallet=pallet-xcm -// --output=./weights/xcm.rs -// --extrinsic=* +// --pallet +// * +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 +// --template=scripts/pallet-weight-template.hbs +// --output +// weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] #![allow(missing_docs)] -use frame_support::{traits::Get, weights::Weight}; +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; use core::marker::PhantomData; -/// Weight functions for `pallet_xcm`. +/// Weights for `pallet_xcm`. +pub struct WeightInfo(PhantomData); + +/// Weights for `pallet_xcm` using the HydraDX node and recommended hardware. pub struct HydraWeight(PhantomData); impl pallet_xcm::WeightInfo for HydraWeight { /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) @@ -62,8 +71,8 @@ impl pallet_xcm::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `145` // Estimated: `3610` - // Minimum execution time: 39_075_000 picoseconds. - Weight::from_parts(39_562_000, 3610) + // Minimum execution time: 25_608_000 picoseconds. + Weight::from_parts(26_239_000, 3610) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -76,16 +85,17 @@ impl pallet_xcm::WeightInfo for HydraWeight { // Minimum execution time: 18_446_744_073_709_551_000 picoseconds. Weight::from_parts(18_446_744_073_709_551_000, 0) } - /// Storage: `ParachainInfo::ParachainId` (r:1 w:0) - /// Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Benchmark::Override` (r:0 w:0) + /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) fn reserve_transfer_assets() -> Weight { // Proof Size summary in bytes: - // Measured: `69` - // Estimated: `1489` - // Minimum execution time: 32_094_000 picoseconds. - Weight::from_parts(32_796_000, 1489).saturating_add(T::DbWeight::get().reads(1_u64)) + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 18_446_744_073_709_551_000 picoseconds. + Weight::from_parts(18_446_744_073_709_551_000, 0) } - + /// Storage: `Benchmark::Override` (r:0 w:0) + /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) fn transfer_assets() -> Weight { // Proof Size summary in bytes: // Measured: `0` @@ -93,13 +103,12 @@ impl pallet_xcm::WeightInfo for HydraWeight { // Minimum execution time: 18_446_744_073_709_551_000 picoseconds. Weight::from_parts(18_446_744_073_709_551_000, 0) } - fn execute() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 13_914_000 picoseconds. - Weight::from_parts(14_172_000, 0) + // Minimum execution time: 10_507_000 picoseconds. + Weight::from_parts(10_801_000, 0) } /// Storage: `PolkadotXcm::SupportedVersion` (r:0 w:1) /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -107,8 +116,9 @@ impl pallet_xcm::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 14_572_000 picoseconds. - Weight::from_parts(14_969_000, 0).saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 10_030_000 picoseconds. + Weight::from_parts(10_369_000, 0) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `PolkadotXcm::SafeXcmVersion` (r:0 w:1) /// Proof: `PolkadotXcm::SafeXcmVersion` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -116,8 +126,9 @@ impl pallet_xcm::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_151_000 picoseconds. - Weight::from_parts(5_322_000, 0).saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 3_622_000 picoseconds. + Weight::from_parts(3_786_000, 0) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `PolkadotXcm::VersionNotifiers` (r:1 w:1) /// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -139,8 +150,8 @@ impl pallet_xcm::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `145` // Estimated: `3610` - // Minimum execution time: 45_415_000 picoseconds. - Weight::from_parts(45_936_000, 3610) + // Minimum execution time: 32_757_000 picoseconds. + Weight::from_parts(33_308_000, 3610) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -162,8 +173,8 @@ impl pallet_xcm::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `328` // Estimated: `3793` - // Minimum execution time: 46_012_000 picoseconds. - Weight::from_parts(46_403_000, 3793) + // Minimum execution time: 33_735_000 picoseconds. + Weight::from_parts(34_032_000, 3793) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -173,39 +184,41 @@ impl pallet_xcm::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_159_000 picoseconds. - Weight::from_parts(5_314_000, 0).saturating_add(T::DbWeight::get().writes(1_u64)) + // Minimum execution time: 3_635_000 picoseconds. + Weight::from_parts(3_791_000, 0) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: `PolkadotXcm::SupportedVersion` (r:4 w:2) + /// Storage: `PolkadotXcm::SupportedVersion` (r:5 w:2) /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) fn migrate_supported_version() -> Weight { // Proof Size summary in bytes: - // Measured: `167` - // Estimated: `11057` - // Minimum execution time: 24_185_000 picoseconds. - Weight::from_parts(24_797_000, 11057) - .saturating_add(T::DbWeight::get().reads(4_u64)) + // Measured: `125` + // Estimated: `13490` + // Minimum execution time: 23_554_000 picoseconds. + Weight::from_parts(23_975_000, 13490) + .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: `PolkadotXcm::VersionNotifiers` (r:4 w:2) + /// Storage: `PolkadotXcm::VersionNotifiers` (r:5 w:2) /// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`) fn migrate_version_notifiers() -> Weight { // Proof Size summary in bytes: - // Measured: `171` - // Estimated: `11061` - // Minimum execution time: 24_210_000 picoseconds. - Weight::from_parts(24_818_000, 11061) - .saturating_add(T::DbWeight::get().reads(4_u64)) + // Measured: `129` + // Estimated: `13494` + // Minimum execution time: 23_816_000 picoseconds. + Weight::from_parts(24_477_000, 13494) + .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:5 w:0) + /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:6 w:0) /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) fn already_notified_target() -> Weight { // Proof Size summary in bytes: // Measured: `178` - // Estimated: `13543` - // Minimum execution time: 25_280_000 picoseconds. - Weight::from_parts(25_704_000, 13543).saturating_add(T::DbWeight::get().reads(5_u64)) + // Estimated: `16018` + // Minimum execution time: 26_544_000 picoseconds. + Weight::from_parts(27_025_000, 16018) + .saturating_add(T::DbWeight::get().reads(6_u64)) } /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:2 w:1) /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -223,32 +236,33 @@ impl pallet_xcm::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `212` // Estimated: `6152` - // Minimum execution time: 41_585_000 picoseconds. - Weight::from_parts(42_032_000, 6152) + // Minimum execution time: 31_656_000 picoseconds. + Weight::from_parts(32_180_000, 6152) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } - /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:3 w:0) + /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:4 w:0) /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) fn notify_target_migration_fail() -> Weight { // Proof Size summary in bytes: // Measured: `172` - // Estimated: `8587` - // Minimum execution time: 13_594_000 picoseconds. - Weight::from_parts(13_919_000, 8587).saturating_add(T::DbWeight::get().reads(3_u64)) + // Estimated: `11062` + // Minimum execution time: 15_817_000 picoseconds. + Weight::from_parts(15_997_000, 11062) + .saturating_add(T::DbWeight::get().reads(4_u64)) } - /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:4 w:2) + /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:5 w:2) /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) fn migrate_version_notify_targets() -> Weight { // Proof Size summary in bytes: - // Measured: `178` - // Estimated: `11068` - // Minimum execution time: 25_110_000 picoseconds. - Weight::from_parts(25_562_000, 11068) - .saturating_add(T::DbWeight::get().reads(4_u64)) + // Measured: `136` + // Estimated: `13501` + // Minimum execution time: 24_645_000 picoseconds. + Weight::from_parts(25_287_000, 13501) + .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:4 w:2) + /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:5 w:2) /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -262,30 +276,34 @@ impl pallet_xcm::WeightInfo for HydraWeight { /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn migrate_and_notify_old_targets() -> Weight { // Proof Size summary in bytes: - // Measured: `254` - // Estimated: `11144` - // Minimum execution time: 51_873_000 picoseconds. - Weight::from_parts(52_527_000, 11144) - .saturating_add(T::DbWeight::get().reads(9_u64)) + // Measured: `212` + // Estimated: `13577` + // Minimum execution time: 42_396_000 picoseconds. + Weight::from_parts(42_908_000, 13577) + .saturating_add(T::DbWeight::get().reads(10_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } - + /// Storage: `PolkadotXcm::QueryCounter` (r:1 w:1) + /// Proof: `PolkadotXcm::QueryCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::Queries` (r:0 w:1) + /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) fn new_query() -> Weight { // Proof Size summary in bytes: // Measured: `69` // Estimated: `1554` - // Minimum execution time: 4_930_000 picoseconds. - Weight::from_parts(5_220_000, 1554) + // Minimum execution time: 5_356_000 picoseconds. + Weight::from_parts(5_526_000, 1554) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - + /// Storage: `PolkadotXcm::Queries` (r:1 w:1) + /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) fn take_response() -> Weight { // Proof Size summary in bytes: // Measured: `7706` // Estimated: `11171` - // Minimum execution time: 32_740_000 picoseconds. - Weight::from_parts(33_280_000, 11171) + // Minimum execution time: 34_538_000 picoseconds. + Weight::from_parts(35_078_000, 11171) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } diff --git a/runtime/hydradx/src/weights/pallet_xyk.rs b/runtime/hydradx/src/weights/pallet_xyk.rs index 7a8c24f45..29a74b934 100644 --- a/runtime/hydradx/src/weights/pallet_xyk.rs +++ b/runtime/hydradx/src/weights/pallet_xyk.rs @@ -15,41 +15,50 @@ // See the License for the specific language governing permissions and // limitations under the License. + //! Autogenerated weights for `pallet_xyk` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-02-15, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-05-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=10 -// --repeat=30 // --wasm-execution=compiled -// --heap-pages=4096 -// --template=.maintain/pallet-weight-template-no-back.hbs -// --pallet=pallet_xyk -// --output=./weights/xyk.rs -// --extrinsic=* +// --pallet +// * +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 +// --template=scripts/pallet-weight-template.hbs +// --output +// weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] #![allow(missing_docs)] -use frame_support::{traits::Get, weights::Weight}; +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; use core::marker::PhantomData; -use pallet_xyk::weights::WeightInfo; +/// Weights for `pallet_xyk`. +pub struct WeightInfo(PhantomData); -/// Weight functions for `pallet_xyk`. +/// Weights for `pallet_xyk` using the HydraDX node and recommended hardware. pub struct HydraWeight(PhantomData); -impl WeightInfo for HydraWeight { +impl pallet_xyk::WeightInfo for HydraWeight { + /// Storage: `AssetRegistry::Assets` (r:3 w:1) + /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `LBP::PoolData` (r:1 w:0) /// Proof: `LBP::PoolData` (`max_values`: None, `max_size`: Some(163), added: 2638, mode: `MaxEncodedLen`) /// Storage: `XYK::ShareToken` (r:1 w:1) @@ -64,8 +73,6 @@ impl WeightInfo for HydraWeight { /// Proof: `Duster::AccountBlacklist` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::BannedAssets` (r:4 w:0) /// Proof: `AssetRegistry::BannedAssets` (`max_values`: None, `max_size`: Some(20), added: 2495, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::Assets` (r:3 w:1) - /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `MultiTransactionPayment::AccountCurrencyMap` (r:3 w:0) /// Proof: `MultiTransactionPayment::AccountCurrencyMap` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) /// Storage: `MultiTransactionPayment::AcceptedCurrencyPrice` (r:1 w:0) @@ -88,12 +95,12 @@ impl WeightInfo for HydraWeight { /// Proof: `XYK::PoolAssets` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) fn create_pool() -> Weight { // Proof Size summary in bytes: - // Measured: `3522` + // Measured: `3659` // Estimated: `19071` - // Minimum execution time: 588_643_000 picoseconds. - Weight::from_parts(592_313_000, 19071) - .saturating_add(T::DbWeight::get().reads(33)) - .saturating_add(T::DbWeight::get().writes(20)) + // Minimum execution time: 479_166_000 picoseconds. + Weight::from_parts(482_391_000, 19071) + .saturating_add(T::DbWeight::get().reads(33_u64)) + .saturating_add(T::DbWeight::get().writes(20_u64)) } /// Storage: `XYK::ShareToken` (r:1 w:0) /// Proof: `XYK::ShareToken` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) @@ -121,16 +128,16 @@ impl WeightInfo for HydraWeight { /// Proof: `MultiTransactionPayment::AcceptedCurrencyPrice` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) /// Storage: `Tokens::TotalIssuance` (r:1 w:1) /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) - /// Storage: `EmaOracle::Accumulator` (r:1 w:1) - /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::WhitelistedAssets` (r:1 w:0) + /// Proof: `EmaOracle::WhitelistedAssets` (`max_values`: Some(1), `max_size`: Some(641), added: 1136, mode: `MaxEncodedLen`) fn add_liquidity() -> Weight { // Proof Size summary in bytes: - // Measured: `4159` + // Measured: `4295` // Estimated: `19071` - // Minimum execution time: 353_004_000 picoseconds. - Weight::from_parts(354_898_000, 19071) - .saturating_add(T::DbWeight::get().reads(27)) - .saturating_add(T::DbWeight::get().writes(14)) + // Minimum execution time: 295_185_000 picoseconds. + Weight::from_parts(297_223_000, 19071) + .saturating_add(T::DbWeight::get().reads(27_u64)) + .saturating_add(T::DbWeight::get().writes(13_u64)) } /// Storage: `XYK::ShareToken` (r:1 w:1) /// Proof: `XYK::ShareToken` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) @@ -158,18 +165,18 @@ impl WeightInfo for HydraWeight { /// Proof: `AssetRegistry::ExistentialDepositCounter` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) /// Storage: `Tokens::TotalIssuance` (r:1 w:1) /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) - /// Storage: `EmaOracle::Accumulator` (r:1 w:1) - /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::WhitelistedAssets` (r:1 w:0) + /// Proof: `EmaOracle::WhitelistedAssets` (`max_values`: Some(1), `max_size`: Some(641), added: 1136, mode: `MaxEncodedLen`) /// Storage: `XYK::PoolAssets` (r:0 w:1) /// Proof: `XYK::PoolAssets` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`) fn remove_liquidity() -> Weight { // Proof Size summary in bytes: - // Measured: `4208` + // Measured: `4345` // Estimated: `19071` - // Minimum execution time: 523_229_000 picoseconds. - Weight::from_parts(525_459_000, 19071) - .saturating_add(T::DbWeight::get().reads(29)) - .saturating_add(T::DbWeight::get().writes(18)) + // Minimum execution time: 431_770_000 picoseconds. + Weight::from_parts(434_368_000, 19071) + .saturating_add(T::DbWeight::get().reads(29_u64)) + .saturating_add(T::DbWeight::get().writes(17_u64)) } /// Storage: `XYK::ShareToken` (r:1 w:0) /// Proof: `XYK::ShareToken` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) @@ -193,16 +200,16 @@ impl WeightInfo for HydraWeight { /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) /// Storage: `MultiTransactionPayment::AcceptedCurrencyPrice` (r:1 w:0) /// Proof: `MultiTransactionPayment::AcceptedCurrencyPrice` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) - /// Storage: `EmaOracle::Accumulator` (r:1 w:1) - /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::WhitelistedAssets` (r:1 w:0) + /// Proof: `EmaOracle::WhitelistedAssets` (`max_values`: Some(1), `max_size`: Some(641), added: 1136, mode: `MaxEncodedLen`) fn sell() -> Weight { // Proof Size summary in bytes: - // Measured: `4057` + // Measured: `4194` // Estimated: `16488` - // Minimum execution time: 306_824_000 picoseconds. - Weight::from_parts(308_832_000, 16488) - .saturating_add(T::DbWeight::get().reads(24)) - .saturating_add(T::DbWeight::get().writes(11)) + // Minimum execution time: 257_210_000 picoseconds. + Weight::from_parts(259_165_000, 16488) + .saturating_add(T::DbWeight::get().reads(24_u64)) + .saturating_add(T::DbWeight::get().writes(10_u64)) } /// Storage: `XYK::ShareToken` (r:1 w:0) /// Proof: `XYK::ShareToken` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) @@ -226,16 +233,16 @@ impl WeightInfo for HydraWeight { /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::ExistentialDepositCounter` (r:1 w:1) /// Proof: `AssetRegistry::ExistentialDepositCounter` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) - /// Storage: `EmaOracle::Accumulator` (r:1 w:1) - /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::WhitelistedAssets` (r:1 w:0) + /// Proof: `EmaOracle::WhitelistedAssets` (`max_values`: Some(1), `max_size`: Some(641), added: 1136, mode: `MaxEncodedLen`) fn buy() -> Weight { // Proof Size summary in bytes: - // Measured: `4057` + // Measured: `4194` // Estimated: `16488` - // Minimum execution time: 305_679_000 picoseconds. - Weight::from_parts(306_896_000, 16488) - .saturating_add(T::DbWeight::get().reads(24)) - .saturating_add(T::DbWeight::get().writes(11)) + // Minimum execution time: 256_649_000 picoseconds. + Weight::from_parts(257_410_000, 16488) + .saturating_add(T::DbWeight::get().reads(24_u64)) + .saturating_add(T::DbWeight::get().writes(10_u64)) } /// Storage: `XYK::ShareToken` (r:1 w:0) /// Proof: `XYK::ShareToken` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) @@ -259,23 +266,23 @@ impl WeightInfo for HydraWeight { /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) /// Storage: `MultiTransactionPayment::AcceptedCurrencyPrice` (r:1 w:0) /// Proof: `MultiTransactionPayment::AcceptedCurrencyPrice` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) - /// Storage: `EmaOracle::Accumulator` (r:1 w:1) - /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::WhitelistedAssets` (r:1 w:0) + /// Proof: `EmaOracle::WhitelistedAssets` (`max_values`: Some(1), `max_size`: Some(641), added: 1136, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 2]`. /// The range of component `e` is `[0, 1]`. fn router_execution_sell(c: u32, e: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1187 + e * (2870 ±0)` - // Estimated: `6156 + e * (10332 ±52_268_479_977_062_104)` - // Minimum execution time: 25_878_000 picoseconds. - Weight::from_parts(9_649_436, 6156) - // Standard Error: 80_766 - .saturating_add(Weight::from_parts(8_443_704, 0).saturating_mul(c.into())) - // Standard Error: 80_766 - .saturating_add(Weight::from_parts(289_624_454, 0).saturating_mul(e.into())) - .saturating_add(T::DbWeight::get().reads(3)) + // Measured: `1221 + e * (2973 ±0)` + // Estimated: `8799 + e * (10332 ±0)` + // Minimum execution time: 24_501_000 picoseconds. + Weight::from_parts(10_206_077, 8799) + // Standard Error: 76_653 + .saturating_add(Weight::from_parts(7_446_454, 0).saturating_mul(c.into())) + // Standard Error: 76_653 + .saturating_add(Weight::from_parts(241_285_864, 0).saturating_mul(e.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().reads((21_u64).saturating_mul(e.into()))) - .saturating_add(T::DbWeight::get().writes((11_u64).saturating_mul(e.into()))) + .saturating_add(T::DbWeight::get().writes((10_u64).saturating_mul(e.into()))) .saturating_add(Weight::from_parts(0, 10332).saturating_mul(e.into())) } /// Storage: `XYK::ShareToken` (r:1 w:0) @@ -300,23 +307,23 @@ impl WeightInfo for HydraWeight { /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) /// Storage: `AssetRegistry::ExistentialDepositCounter` (r:1 w:1) /// Proof: `AssetRegistry::ExistentialDepositCounter` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) - /// Storage: `EmaOracle::Accumulator` (r:1 w:1) - /// Proof: `EmaOracle::Accumulator` (`max_values`: Some(1), `max_size`: Some(5921), added: 6416, mode: `MaxEncodedLen`) + /// Storage: `EmaOracle::WhitelistedAssets` (r:1 w:0) + /// Proof: `EmaOracle::WhitelistedAssets` (`max_values`: Some(1), `max_size`: Some(641), added: 1136, mode: `MaxEncodedLen`) /// The range of component `c` is `[1, 3]`. /// The range of component `e` is `[0, 1]`. fn router_execution_buy(c: u32, e: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1187 + e * (2870 ±0)` - // Estimated: `6156 + e * (10332 ±0)` - // Minimum execution time: 33_714_000 picoseconds. - Weight::from_parts(11_014_445, 6156) - // Standard Error: 41_799 - .saturating_add(Weight::from_parts(7_776_697, 0).saturating_mul(c.into())) - // Standard Error: 70_916 - .saturating_add(Weight::from_parts(287_790_853, 0).saturating_mul(e.into())) - .saturating_add(T::DbWeight::get().reads(3)) + // Measured: `1221 + e * (2973 ±0)` + // Estimated: `6156 + e * (10332 ±94_653_459_118_620)` + // Minimum execution time: 31_769_000 picoseconds. + Weight::from_parts(9_820_195, 6156) + // Standard Error: 25_963 + .saturating_add(Weight::from_parts(7_544_497, 0).saturating_mul(c.into())) + // Standard Error: 43_217 + .saturating_add(Weight::from_parts(239_839_406, 0).saturating_mul(e.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().reads((21_u64).saturating_mul(e.into()))) - .saturating_add(T::DbWeight::get().writes((11_u64).saturating_mul(e.into()))) + .saturating_add(T::DbWeight::get().writes((10_u64).saturating_mul(e.into()))) .saturating_add(Weight::from_parts(0, 10332).saturating_mul(e.into())) } -} +} \ No newline at end of file diff --git a/runtime/hydradx/src/weights/pallet_xyk_liquidity_mining.rs b/runtime/hydradx/src/weights/pallet_xyk_liquidity_mining.rs index 542e63def..75005c448 100644 --- a/runtime/hydradx/src/weights/pallet_xyk_liquidity_mining.rs +++ b/runtime/hydradx/src/weights/pallet_xyk_liquidity_mining.rs @@ -15,39 +15,48 @@ // See the License for the specific language governing permissions and // limitations under the License. + //! Autogenerated weights for `pallet_xyk_liquidity_mining` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-05-20, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-05-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/release/hydradx +// ./target/release/hydradx // benchmark // pallet -// --chain=dev -// --steps=10 -// --repeat=30 // --wasm-execution=compiled -// --heap-pages=4096 -// --template=.maintain/pallet-weight-template-no-back.hbs -// --pallet=pallet-xyk-liquidity-mining -// --output=xyk_lm.rs -// --extrinsic=* +// --pallet +// * +// --extrinsic +// * +// --heap-pages +// 4096 +// --steps +// 50 +// --repeat +// 20 +// --template=scripts/pallet-weight-template.hbs +// --output +// weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] #![allow(missing_docs)] -use frame_support::{traits::Get, weights::Weight}; +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; use core::marker::PhantomData; -/// Weight functions for `pallet_xyk_liquidity_mining`. +/// Weights for `pallet_xyk_liquidity_mining`. +pub struct WeightInfo(PhantomData); + +/// Weights for `pallet_xyk_liquidity_mining` using the HydraDX node and recommended hardware. pub struct HydraWeight(PhantomData); -impl pallet_xyk_liquidity_mining::weights::WeightInfo for HydraWeight { +impl pallet_xyk_liquidity_mining::WeightInfo for HydraWeight { /// Storage: `AssetRegistry::Assets` (r:2 w:0) /// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`) /// Storage: `Duster::AccountBlacklist` (r:1 w:1) @@ -74,12 +83,12 @@ impl pallet_xyk_liquidity_mining::weights::WeightInfo f /// Proof: `XYKWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) fn create_global_farm() -> Weight { // Proof Size summary in bytes: - // Measured: `3132` + // Measured: `3102` // Estimated: `11402` - // Minimum execution time: 327_053_000 picoseconds. - Weight::from_parts(328_522_000, 11402) - .saturating_add(T::DbWeight::get().reads(19)) - .saturating_add(T::DbWeight::get().writes(12)) + // Minimum execution time: 277_908_000 picoseconds. + Weight::from_parts(279_339_000, 11402) + .saturating_add(T::DbWeight::get().reads(19_u64)) + .saturating_add(T::DbWeight::get().writes(12_u64)) } /// Storage: `XYKWarehouseLM::GlobalFarm` (r:1 w:1) /// Proof: `XYKWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) @@ -97,12 +106,12 @@ impl pallet_xyk_liquidity_mining::weights::WeightInfo f /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn update_global_farm() -> Weight { // Proof Size summary in bytes: - // Measured: `4347` + // Measured: `4351` // Estimated: `6156` - // Minimum execution time: 114_712_000 picoseconds. - Weight::from_parts(115_729_000, 6156) - .saturating_add(T::DbWeight::get().reads(8)) - .saturating_add(T::DbWeight::get().writes(3)) + // Minimum execution time: 103_336_000 picoseconds. + Weight::from_parts(104_299_000, 6156) + .saturating_add(T::DbWeight::get().reads(8_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } /// Storage: `XYKWarehouseLM::GlobalFarm` (r:1 w:1) /// Proof: `XYKWarehouseLM::GlobalFarm` (`max_values`: None, `max_size`: Some(205), added: 2680, mode: `MaxEncodedLen`) @@ -126,12 +135,12 @@ impl pallet_xyk_liquidity_mining::weights::WeightInfo f /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) fn terminate_global_farm() -> Weight { // Proof Size summary in bytes: - // Measured: `3844` + // Measured: `3814` // Estimated: `6196` - // Minimum execution time: 193_389_000 picoseconds. - Weight::from_parts(194_871_000, 6196) - .saturating_add(T::DbWeight::get().reads(12)) - .saturating_add(T::DbWeight::get().writes(8)) + // Minimum execution time: 172_009_000 picoseconds. + Weight::from_parts(173_139_000, 6196) + .saturating_add(T::DbWeight::get().reads(12_u64)) + .saturating_add(T::DbWeight::get().writes(8_u64)) } /// Storage: `XYK::ShareToken` (r:1 w:0) /// Proof: `XYK::ShareToken` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) @@ -145,12 +154,12 @@ impl pallet_xyk_liquidity_mining::weights::WeightInfo f /// Proof: `XYKWarehouseLM::YieldFarm` (`max_values`: None, `max_size`: Some(226), added: 2701, mode: `MaxEncodedLen`) fn create_yield_farm() -> Weight { // Proof Size summary in bytes: - // Measured: `1548` + // Measured: `1586` // Estimated: `3670` - // Minimum execution time: 52_039_000 picoseconds. - Weight::from_parts(52_555_000, 3670) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(4)) + // Minimum execution time: 47_538_000 picoseconds. + Weight::from_parts(48_206_000, 3670) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) } /// Storage: `XYK::ShareToken` (r:1 w:0) /// Proof: `XYK::ShareToken` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) @@ -174,12 +183,12 @@ impl pallet_xyk_liquidity_mining::weights::WeightInfo f /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn update_yield_farm() -> Weight { // Proof Size summary in bytes: - // Measured: `4829` + // Measured: `4867` // Estimated: `6156` - // Minimum execution time: 141_226_000 picoseconds. - Weight::from_parts(142_343_000, 6156) - .saturating_add(T::DbWeight::get().reads(11)) - .saturating_add(T::DbWeight::get().writes(4)) + // Minimum execution time: 127_361_000 picoseconds. + Weight::from_parts(128_178_000, 6156) + .saturating_add(T::DbWeight::get().reads(11_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) } /// Storage: `XYKWarehouseLM::ActiveYieldFarm` (r:1 w:1) /// Proof: `XYKWarehouseLM::ActiveYieldFarm` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) @@ -201,12 +210,12 @@ impl pallet_xyk_liquidity_mining::weights::WeightInfo f /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn stop_yield_farm() -> Weight { // Proof Size summary in bytes: - // Measured: `4663` + // Measured: `4667` // Estimated: `6156` - // Minimum execution time: 136_519_000 picoseconds. - Weight::from_parts(137_186_000, 6156) - .saturating_add(T::DbWeight::get().reads(10)) - .saturating_add(T::DbWeight::get().writes(5)) + // Minimum execution time: 122_100_000 picoseconds. + Weight::from_parts(123_315_000, 6156) + .saturating_add(T::DbWeight::get().reads(10_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) } /// Storage: `XYKWarehouseLM::ActiveYieldFarm` (r:1 w:0) /// Proof: `XYKWarehouseLM::ActiveYieldFarm` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) @@ -226,12 +235,12 @@ impl pallet_xyk_liquidity_mining::weights::WeightInfo f /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn terminate_yield_farm() -> Weight { // Proof Size summary in bytes: - // Measured: `4710` + // Measured: `4714` // Estimated: `6156` - // Minimum execution time: 107_427_000 picoseconds. - Weight::from_parts(108_289_000, 6156) - .saturating_add(T::DbWeight::get().reads(9)) - .saturating_add(T::DbWeight::get().writes(4)) + // Minimum execution time: 99_990_000 picoseconds. + Weight::from_parts(100_957_000, 6156) + .saturating_add(T::DbWeight::get().reads(9_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) } /// Storage: `XYK::ShareToken` (r:1 w:0) /// Proof: `XYK::ShareToken` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) @@ -269,12 +278,12 @@ impl pallet_xyk_liquidity_mining::weights::WeightInfo f /// Proof: `XYKWarehouseLM::Deposit` (`max_values`: None, `max_size`: Some(413), added: 2888, mode: `MaxEncodedLen`) fn deposit_shares() -> Weight { // Proof Size summary in bytes: - // Measured: `5998` + // Measured: `6036` // Estimated: `16488` - // Minimum execution time: 241_173_000 picoseconds. - Weight::from_parts(243_115_000, 16488) - .saturating_add(T::DbWeight::get().reads(24)) - .saturating_add(T::DbWeight::get().writes(11)) + // Minimum execution time: 218_921_000 picoseconds. + Weight::from_parts(220_788_000, 16488) + .saturating_add(T::DbWeight::get().reads(24_u64)) + .saturating_add(T::DbWeight::get().writes(11_u64)) } /// Storage: `Uniques::Asset` (r:1 w:0) /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) @@ -304,12 +313,12 @@ impl pallet_xyk_liquidity_mining::weights::WeightInfo f /// Proof: `XYK::TotalLiquidity` (`max_values`: None, `max_size`: Some(64), added: 2539, mode: `MaxEncodedLen`) fn redeposit_shares() -> Weight { // Proof Size summary in bytes: - // Measured: `6927` + // Measured: `6965` // Estimated: `11322` - // Minimum execution time: 182_433_000 picoseconds. - Weight::from_parts(184_726_000, 11322) - .saturating_add(T::DbWeight::get().reads(16)) - .saturating_add(T::DbWeight::get().writes(5)) + // Minimum execution time: 169_802_000 picoseconds. + Weight::from_parts(170_914_000, 11322) + .saturating_add(T::DbWeight::get().reads(16_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) } /// Storage: `Uniques::Asset` (r:1 w:0) /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) @@ -333,12 +342,12 @@ impl pallet_xyk_liquidity_mining::weights::WeightInfo f /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn claim_rewards() -> Weight { // Proof Size summary in bytes: - // Measured: `6802` + // Measured: `6806` // Estimated: `8739` - // Minimum execution time: 194_422_000 picoseconds. - Weight::from_parts(195_807_000, 8739) - .saturating_add(T::DbWeight::get().reads(14)) - .saturating_add(T::DbWeight::get().writes(6)) + // Minimum execution time: 174_694_000 picoseconds. + Weight::from_parts(176_187_000, 8739) + .saturating_add(T::DbWeight::get().reads(14_u64)) + .saturating_add(T::DbWeight::get().writes(6_u64)) } /// Storage: `Uniques::Asset` (r:1 w:1) /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) @@ -380,12 +389,12 @@ impl pallet_xyk_liquidity_mining::weights::WeightInfo f /// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(113), added: 2588, mode: `MaxEncodedLen`) fn withdraw_shares() -> Weight { // Proof Size summary in bytes: - // Measured: `6475` + // Measured: `6479` // Estimated: `13905` - // Minimum execution time: 417_341_000 picoseconds. - Weight::from_parts(420_709_000, 13905) - .saturating_add(T::DbWeight::get().reads(28)) - .saturating_add(T::DbWeight::get().writes(16)) + // Minimum execution time: 369_769_000 picoseconds. + Weight::from_parts(371_613_000, 13905) + .saturating_add(T::DbWeight::get().reads(28_u64)) + .saturating_add(T::DbWeight::get().writes(16_u64)) } /// Storage: `XYK::ShareToken` (r:1 w:0) /// Proof: `XYK::ShareToken` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) @@ -409,11 +418,11 @@ impl pallet_xyk_liquidity_mining::weights::WeightInfo f /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn resume_yield_farm() -> Weight { // Proof Size summary in bytes: - // Measured: `5121` + // Measured: `5159` // Estimated: `6156` - // Minimum execution time: 137_649_000 picoseconds. - Weight::from_parts(138_885_000, 6156) - .saturating_add(T::DbWeight::get().reads(11)) - .saturating_add(T::DbWeight::get().writes(5)) + // Minimum execution time: 127_095_000 picoseconds. + Weight::from_parts(128_067_000, 6156) + .saturating_add(T::DbWeight::get().reads(11_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) } } \ No newline at end of file diff --git a/runtime/hydradx/src/xcm.rs b/runtime/hydradx/src/xcm.rs index d30ca21f2..c19cd7036 100644 --- a/runtime/hydradx/src/xcm.rs +++ b/runtime/hydradx/src/xcm.rs @@ -310,7 +310,7 @@ parameter_types! { impl pallet_message_queue::Config for Runtime { type RuntimeEvent = RuntimeEvent; - type WeightInfo = (); + type WeightInfo = weights::pallet_message_queue::HydraWeight; #[cfg(feature = "runtime-benchmarks")] type MessageProcessor = pallet_message_queue::mock_helpers::NoopMessageProcessor; From 048b26c40694bbc7d902f2e13cc586cf4ecebe0f Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Fri, 24 May 2024 11:29:18 +0200 Subject: [PATCH 063/105] fix tests after rebenchmarking --- integration-tests/src/evm_permit.rs | 4 ++-- pallets/dca/src/tests/mock.rs | 8 ++++---- pallets/dca/src/tests/on_initialize.rs | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/integration-tests/src/evm_permit.rs b/integration-tests/src/evm_permit.rs index 06e87d45f..0ec3d0da1 100644 --- a/integration-tests/src/evm_permit.rs +++ b/integration-tests/src/evm_permit.rs @@ -746,7 +746,7 @@ fn evm_permit_set_currency_dispatch_should_pay_evm_fee_in_chosen_currency() { let user_dai_balance = user_acc.balance(DAI); assert!(user_dai_balance < initial_user_dai_balance); let dai_diff = initial_user_dai_balance - user_dai_balance; - assert_eq!(dai_diff, 1_651_665_230_644_991); + assert_eq!(dai_diff, 1_636_422_440_118_273); }) } @@ -1141,7 +1141,7 @@ fn dispatch_permit_should_increase_account_nonce_correctly() { let hdx_balance = user_acc.balance(HDX); let tx_fee = initial_user_hdx_balance - hdx_balance; - assert_eq!(tx_fee, 1_798_512_789_698); + assert_eq!(tx_fee, 1_797_526_858_553); }) } diff --git a/pallets/dca/src/tests/mock.rs b/pallets/dca/src/tests/mock.rs index 49e87ac9c..dfc279dba 100644 --- a/pallets/dca/src/tests/mock.rs +++ b/pallets/dca/src/tests/mock.rs @@ -54,10 +54,10 @@ pub type BlockNumber = u64; pub type AssetId = u32; type NamedReserveIdentifier = [u8; 8]; -pub const BUY_DCA_FEE_IN_NATIVE: Balance = 1374044000; -pub const BUY_DCA_FEE_IN_DAI: Balance = 1209158720; -pub const SELL_DCA_FEE_IN_NATIVE: Balance = 1374576000; -pub const SELL_DCA_FEE_IN_DAI: Balance = 1209626880; +pub const BUY_DCA_FEE_IN_NATIVE: Balance = 1331738000; +pub const BUY_DCA_FEE_IN_DAI: Balance = 1171929440; +pub const SELL_DCA_FEE_IN_NATIVE: Balance = 1333782000; +pub const SELL_DCA_FEE_IN_DAI: Balance = 1173728160; pub const HDX: AssetId = 0; pub const LRNA: AssetId = 1; diff --git a/pallets/dca/src/tests/on_initialize.rs b/pallets/dca/src/tests/on_initialize.rs index d1f793a33..bda60b94e 100644 --- a/pallets/dca/src/tests/on_initialize.rs +++ b/pallets/dca/src/tests/on_initialize.rs @@ -865,7 +865,7 @@ fn full_buy_dca_should_be_completed_when_some_execution_is_successful_but_not_en assert_number_of_executed_buy_trades!(4); assert_eq!(0, Currencies::reserved_balance(HDX, &ALICE)); - let left_over_which_is_not_enough_for_last_trade = 9994503824000; + let left_over_which_is_not_enough_for_last_trade = 9994673048000; assert_balance!( ALICE, From c6bc241a247bc8fd21526ffe47315b04b398c7c9 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Fri, 24 May 2024 12:17:38 +0200 Subject: [PATCH 064/105] rebenchmark router --- pallets/route-executor/src/weights.rs | 63 +++++++++---------- .../src/weights/pallet_route_executor.rs | 63 +++++++++---------- 2 files changed, 58 insertions(+), 68 deletions(-) diff --git a/pallets/route-executor/src/weights.rs b/pallets/route-executor/src/weights.rs index 03a63c830..e6c944d64 100644 --- a/pallets/route-executor/src/weights.rs +++ b/pallets/route-executor/src/weights.rs @@ -19,29 +19,24 @@ //! Autogenerated weights for `pallet_route_executor` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-05-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-05-24, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: -// ./target/release/hydradx +// target/release/hydradx // benchmark // pallet +// --chain=dev +// --steps=10 +// --repeat=30 // --wasm-execution=compiled -// --pallet -// * -// --extrinsic -// * -// --heap-pages -// 4096 -// --steps -// 50 -// --repeat -// 20 +// --heap-pages=4096 // --template=scripts/pallet-weight-template.hbs -// --output -// weights/ +// --pallet=pallet-route-executor +// --output=weights/route_executor.rs +// --extrinsic=* #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -78,12 +73,12 @@ impl WeightInfo for () { /// The range of component `c` is `[0, 1]`. fn calculate_and_execute_sell_in_lbp(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `3539` + // Measured: `3535` // Estimated: `13905` - // Minimum execution time: 348_394_000 picoseconds. - Weight::from_parts(353_414_322, 13905) - // Standard Error: 310_815 - .saturating_add(Weight::from_parts(75_998_077, 0).saturating_mul(c.into())) + // Minimum execution time: 353_367_000 picoseconds. + Weight::from_parts(356_268_786, 13905) + // Standard Error: 166_444 + .saturating_add(Weight::from_parts(71_565_213, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(16_u64)) .saturating_add(RocksDbWeight::get().writes(7_u64)) } @@ -105,14 +100,14 @@ impl WeightInfo for () { /// The range of component `b` is `[0, 1]`. fn calculate_and_execute_buy_in_lbp(c: u32, b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1641 + b * (1923 ±0)` - // Estimated: `8799 + b * (7749 ±0)` - // Minimum execution time: 94_857_000 picoseconds. - Weight::from_parts(95_996_000, 8799) - // Standard Error: 221_018 - .saturating_add(Weight::from_parts(884_672, 0).saturating_mul(c.into())) - // Standard Error: 492_269 - .saturating_add(Weight::from_parts(260_708_136, 0).saturating_mul(b.into())) + // Measured: `1637 + b * (1923 ±0)` + // Estimated: `6156 + b * (7749 ±245_709_589_663_843_264)` + // Minimum execution time: 94_954_000 picoseconds. + Weight::from_parts(95_935_000, 6156) + // Standard Error: 916_176 + .saturating_add(Weight::from_parts(3_538_176, 0).saturating_mul(c.into())) + // Standard Error: 2_011_269 + .saturating_add(Weight::from_parts(271_193_375, 0).saturating_mul(b.into())) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().reads((13_u64).saturating_mul(b.into()))) .saturating_add(RocksDbWeight::get().writes((7_u64).saturating_mul(b.into()))) @@ -142,10 +137,10 @@ impl WeightInfo for () { /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) fn set_route_for_xyk() -> Weight { // Proof Size summary in bytes: - // Measured: `6430` + // Measured: `6426` // Estimated: `39735` - // Minimum execution time: 1_844_939_000 picoseconds. - Weight::from_parts(1_854_473_000, 39735) + // Minimum execution time: 1_873_189_000 picoseconds. + Weight::from_parts(1_884_759_000, 39735) .saturating_add(RocksDbWeight::get().reads(55_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -153,10 +148,10 @@ impl WeightInfo for () { /// Proof: `Router::Routes` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) fn force_insert_route() -> Weight { // Proof Size summary in bytes: - // Measured: `1016` + // Measured: `1012` // Estimated: `0` - // Minimum execution time: 25_416_000 picoseconds. - Weight::from_parts(25_741_000, 0) + // Minimum execution time: 25_395_000 picoseconds. + Weight::from_parts(25_888_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } } diff --git a/runtime/hydradx/src/weights/pallet_route_executor.rs b/runtime/hydradx/src/weights/pallet_route_executor.rs index 716066fe5..5d80faffe 100644 --- a/runtime/hydradx/src/weights/pallet_route_executor.rs +++ b/runtime/hydradx/src/weights/pallet_route_executor.rs @@ -19,29 +19,24 @@ //! Autogenerated weights for `pallet_route_executor` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-05-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-05-24, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: -// ./target/release/hydradx +// target/release/hydradx // benchmark // pallet +// --chain=dev +// --steps=10 +// --repeat=30 // --wasm-execution=compiled -// --pallet -// * -// --extrinsic -// * -// --heap-pages -// 4096 -// --steps -// 50 -// --repeat -// 20 +// --heap-pages=4096 // --template=scripts/pallet-weight-template.hbs -// --output -// weights/ +// --pallet=pallet-route-executor +// --output=weights/route_executor.rs +// --extrinsic=* #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -74,12 +69,12 @@ impl pallet_route_executor::WeightInfo for HydraWeight< /// The range of component `c` is `[0, 1]`. fn calculate_and_execute_sell_in_lbp(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `3539` + // Measured: `3535` // Estimated: `13905` - // Minimum execution time: 348_394_000 picoseconds. - Weight::from_parts(353_414_322, 13905) - // Standard Error: 310_815 - .saturating_add(Weight::from_parts(75_998_077, 0).saturating_mul(c.into())) + // Minimum execution time: 353_367_000 picoseconds. + Weight::from_parts(356_268_786, 13905) + // Standard Error: 166_444 + .saturating_add(Weight::from_parts(71_565_213, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(16_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } @@ -101,14 +96,14 @@ impl pallet_route_executor::WeightInfo for HydraWeight< /// The range of component `b` is `[0, 1]`. fn calculate_and_execute_buy_in_lbp(c: u32, b: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1641 + b * (1923 ±0)` - // Estimated: `8799 + b * (7749 ±0)` - // Minimum execution time: 94_857_000 picoseconds. - Weight::from_parts(95_996_000, 8799) - // Standard Error: 221_018 - .saturating_add(Weight::from_parts(884_672, 0).saturating_mul(c.into())) - // Standard Error: 492_269 - .saturating_add(Weight::from_parts(260_708_136, 0).saturating_mul(b.into())) + // Measured: `1637 + b * (1923 ±0)` + // Estimated: `6156 + b * (7749 ±245_709_589_663_843_264)` + // Minimum execution time: 94_954_000 picoseconds. + Weight::from_parts(95_935_000, 6156) + // Standard Error: 916_176 + .saturating_add(Weight::from_parts(3_538_176, 0).saturating_mul(c.into())) + // Standard Error: 2_011_269 + .saturating_add(Weight::from_parts(271_193_375, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().reads((13_u64).saturating_mul(b.into()))) .saturating_add(T::DbWeight::get().writes((7_u64).saturating_mul(b.into()))) @@ -138,10 +133,10 @@ impl pallet_route_executor::WeightInfo for HydraWeight< /// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) fn set_route_for_xyk() -> Weight { // Proof Size summary in bytes: - // Measured: `6430` + // Measured: `6426` // Estimated: `39735` - // Minimum execution time: 1_844_939_000 picoseconds. - Weight::from_parts(1_854_473_000, 39735) + // Minimum execution time: 1_873_189_000 picoseconds. + Weight::from_parts(1_884_759_000, 39735) .saturating_add(T::DbWeight::get().reads(55_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -149,10 +144,10 @@ impl pallet_route_executor::WeightInfo for HydraWeight< /// Proof: `Router::Routes` (`max_values`: None, `max_size`: Some(90), added: 2565, mode: `MaxEncodedLen`) fn force_insert_route() -> Weight { // Proof Size summary in bytes: - // Measured: `1016` + // Measured: `1012` // Estimated: `0` - // Minimum execution time: 25_416_000 picoseconds. - Weight::from_parts(25_741_000, 0) + // Minimum execution time: 25_395_000 picoseconds. + Weight::from_parts(25_888_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } } \ No newline at end of file From 33d8f4f2cd256db3f683fa8b76cea105c614cada Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Fri, 24 May 2024 12:23:45 +0200 Subject: [PATCH 065/105] rebenchmark dca --- pallets/dca/src/weights.rs | 57 +++++++++++------------ runtime/hydradx/src/weights/pallet_dca.rs | 55 ++++++++++------------ 2 files changed, 52 insertions(+), 60 deletions(-) diff --git a/pallets/dca/src/weights.rs b/pallets/dca/src/weights.rs index aaa7d69cb..2f3bcc838 100644 --- a/pallets/dca/src/weights.rs +++ b/pallets/dca/src/weights.rs @@ -15,32 +15,28 @@ // See the License for the specific language governing permissions and // limitations under the License. + //! Autogenerated weights for `pallet_dca` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-05-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-05-24, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: -// ./target/release/hydradx +// target/release/hydradx // benchmark // pallet +// --chain=dev +// --steps=10 +// --repeat=30 // --wasm-execution=compiled -// --pallet -// * -// --extrinsic -// * -// --heap-pages -// 4096 -// --steps -// 50 -// --repeat -// 20 +// --heap-pages=4096 // --template=scripts/pallet-weight-template.hbs -// --output -// weights/ +// --pallet=pallet-dca +// --output=weights/dca.rs +// --extrinsic=* #![allow(unused_parens)] #![allow(unused_imports)] @@ -77,10 +73,10 @@ impl WeightInfo for () { /// Proof: `DCA::RetriesOnError` (`max_values`: None, `max_size`: Some(21), added: 2496, mode: `MaxEncodedLen`) fn on_initialize_with_buy_trade() -> Weight { // Proof Size summary in bytes: - // Measured: `54489` + // Measured: `54485` // Estimated: `31902` - // Minimum execution time: 202_799_000 picoseconds. - Weight::from_parts(206_738_000, 31902) + // Minimum execution time: 207_153_000 picoseconds. + Weight::from_parts(209_471_000, 31902) .saturating_add(RocksDbWeight::get().reads(17_u64)) .saturating_add(RocksDbWeight::get().writes(7_u64)) } @@ -98,10 +94,10 @@ impl WeightInfo for () { /// Proof: `DCA::RetriesOnError` (`max_values`: None, `max_size`: Some(21), added: 2496, mode: `MaxEncodedLen`) fn on_initialize_with_sell_trade() -> Weight { // Proof Size summary in bytes: - // Measured: `54597` + // Measured: `54593` // Estimated: `31902` - // Minimum execution time: 204_918_000 picoseconds. - Weight::from_parts(208_782_000, 31902) + // Minimum execution time: 206_729_000 picoseconds. + Weight::from_parts(210_115_000, 31902) .saturating_add(RocksDbWeight::get().reads(17_u64)) .saturating_add(RocksDbWeight::get().writes(7_u64)) } @@ -109,10 +105,11 @@ impl WeightInfo for () { /// Proof: `DCA::ScheduleIdsPerBlock` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`) fn on_initialize_with_empty_block() -> Weight { // Proof Size summary in bytes: - // Measured: `1079` + // Measured: `1075` // Estimated: `3566` - // Minimum execution time: 14_238_000 picoseconds. - Weight::from_parts(14_673_000, 3566).saturating_add(RocksDbWeight::get().reads(1_u64)) + // Minimum execution time: 14_273_000 picoseconds. + Weight::from_parts(14_864_000, 3566) + .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) @@ -138,10 +135,10 @@ impl WeightInfo for () { /// Proof: `DCA::RemainingAmounts` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) fn schedule() -> Weight { // Proof Size summary in bytes: - // Measured: `52622` + // Measured: `52618` // Estimated: `29326` - // Minimum execution time: 152_498_000 picoseconds. - Weight::from_parts(153_894_000, 29326) + // Minimum execution time: 153_135_000 picoseconds. + Weight::from_parts(155_526_000, 29326) .saturating_add(RocksDbWeight::get().reads(17_u64)) .saturating_add(RocksDbWeight::get().writes(8_u64)) } @@ -161,10 +158,10 @@ impl WeightInfo for () { /// Proof: `DCA::ScheduleOwnership` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) fn terminate() -> Weight { // Proof Size summary in bytes: - // Measured: `2496` + // Measured: `2492` // Estimated: `4714` - // Minimum execution time: 69_671_000 picoseconds. - Weight::from_parts(70_408_000, 4714) + // Minimum execution time: 70_794_000 picoseconds. + Weight::from_parts(71_685_000, 4714) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(7_u64)) } diff --git a/runtime/hydradx/src/weights/pallet_dca.rs b/runtime/hydradx/src/weights/pallet_dca.rs index 81e9e9283..c8886746b 100644 --- a/runtime/hydradx/src/weights/pallet_dca.rs +++ b/runtime/hydradx/src/weights/pallet_dca.rs @@ -19,29 +19,24 @@ //! Autogenerated weights for `pallet_dca` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-05-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-05-24, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: -// ./target/release/hydradx +// target/release/hydradx // benchmark // pallet +// --chain=dev +// --steps=10 +// --repeat=30 // --wasm-execution=compiled -// --pallet -// * -// --extrinsic -// * -// --heap-pages -// 4096 -// --steps -// 50 -// --repeat -// 20 +// --heap-pages=4096 // --template=scripts/pallet-weight-template.hbs -// --output -// weights/ +// --pallet=pallet-dca +// --output=weights/dca.rs +// --extrinsic=* #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -71,10 +66,10 @@ impl pallet_dca::WeightInfo for HydraWeight { /// Proof: `DCA::RetriesOnError` (`max_values`: None, `max_size`: Some(21), added: 2496, mode: `MaxEncodedLen`) fn on_initialize_with_buy_trade() -> Weight { // Proof Size summary in bytes: - // Measured: `54489` + // Measured: `54485` // Estimated: `31902` - // Minimum execution time: 202_799_000 picoseconds. - Weight::from_parts(206_738_000, 31902) + // Minimum execution time: 207_153_000 picoseconds. + Weight::from_parts(209_471_000, 31902) .saturating_add(T::DbWeight::get().reads(17_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } @@ -92,10 +87,10 @@ impl pallet_dca::WeightInfo for HydraWeight { /// Proof: `DCA::RetriesOnError` (`max_values`: None, `max_size`: Some(21), added: 2496, mode: `MaxEncodedLen`) fn on_initialize_with_sell_trade() -> Weight { // Proof Size summary in bytes: - // Measured: `54597` + // Measured: `54593` // Estimated: `31902` - // Minimum execution time: 204_918_000 picoseconds. - Weight::from_parts(208_782_000, 31902) + // Minimum execution time: 206_729_000 picoseconds. + Weight::from_parts(210_115_000, 31902) .saturating_add(T::DbWeight::get().reads(17_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } @@ -103,10 +98,10 @@ impl pallet_dca::WeightInfo for HydraWeight { /// Proof: `DCA::ScheduleIdsPerBlock` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`) fn on_initialize_with_empty_block() -> Weight { // Proof Size summary in bytes: - // Measured: `1079` + // Measured: `1075` // Estimated: `3566` - // Minimum execution time: 14_238_000 picoseconds. - Weight::from_parts(14_673_000, 3566) + // Minimum execution time: 14_273_000 picoseconds. + Weight::from_parts(14_864_000, 3566) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) @@ -133,10 +128,10 @@ impl pallet_dca::WeightInfo for HydraWeight { /// Proof: `DCA::RemainingAmounts` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`) fn schedule() -> Weight { // Proof Size summary in bytes: - // Measured: `52622` + // Measured: `52618` // Estimated: `29326` - // Minimum execution time: 152_498_000 picoseconds. - Weight::from_parts(153_894_000, 29326) + // Minimum execution time: 153_135_000 picoseconds. + Weight::from_parts(155_526_000, 29326) .saturating_add(T::DbWeight::get().reads(17_u64)) .saturating_add(T::DbWeight::get().writes(8_u64)) } @@ -156,10 +151,10 @@ impl pallet_dca::WeightInfo for HydraWeight { /// Proof: `DCA::ScheduleOwnership` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `MaxEncodedLen`) fn terminate() -> Weight { // Proof Size summary in bytes: - // Measured: `2496` + // Measured: `2492` // Estimated: `4714` - // Minimum execution time: 69_671_000 picoseconds. - Weight::from_parts(70_408_000, 4714) + // Minimum execution time: 70_794_000 picoseconds. + Weight::from_parts(71_685_000, 4714) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } From 6cde25a9f04dc0805aded107f463f42c00eeea52 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Fri, 24 May 2024 12:32:27 +0200 Subject: [PATCH 066/105] fix tests after rebenchmarking --- pallets/dca/src/tests/mock.rs | 8 ++++---- pallets/dca/src/tests/on_initialize.rs | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/pallets/dca/src/tests/mock.rs b/pallets/dca/src/tests/mock.rs index dfc279dba..cc46592bc 100644 --- a/pallets/dca/src/tests/mock.rs +++ b/pallets/dca/src/tests/mock.rs @@ -54,10 +54,10 @@ pub type BlockNumber = u64; pub type AssetId = u32; type NamedReserveIdentifier = [u8; 8]; -pub const BUY_DCA_FEE_IN_NATIVE: Balance = 1331738000; -pub const BUY_DCA_FEE_IN_DAI: Balance = 1171929440; -pub const SELL_DCA_FEE_IN_NATIVE: Balance = 1333782000; -pub const SELL_DCA_FEE_IN_DAI: Balance = 1173728160; +pub const BUY_DCA_FEE_IN_NATIVE: Balance = 1334471000; +pub const BUY_DCA_FEE_IN_DAI: Balance = 1174334480; +pub const SELL_DCA_FEE_IN_NATIVE: Balance = 1335115000; +pub const SELL_DCA_FEE_IN_DAI: Balance = 1174901200; pub const HDX: AssetId = 0; pub const LRNA: AssetId = 1; diff --git a/pallets/dca/src/tests/on_initialize.rs b/pallets/dca/src/tests/on_initialize.rs index bda60b94e..423aef6f8 100644 --- a/pallets/dca/src/tests/on_initialize.rs +++ b/pallets/dca/src/tests/on_initialize.rs @@ -865,7 +865,7 @@ fn full_buy_dca_should_be_completed_when_some_execution_is_successful_but_not_en assert_number_of_executed_buy_trades!(4); assert_eq!(0, Currencies::reserved_balance(HDX, &ALICE)); - let left_over_which_is_not_enough_for_last_trade = 9994673048000; + let left_over_which_is_not_enough_for_last_trade = 9994662116000; assert_balance!( ALICE, From fbdbde8e3bc3e055e89b6f90a8d8f5d37ccf7ade Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Fri, 24 May 2024 12:41:20 +0200 Subject: [PATCH 067/105] formatting --- pallets/dca/src/weights.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pallets/dca/src/weights.rs b/pallets/dca/src/weights.rs index 2f3bcc838..50d5a67b4 100644 --- a/pallets/dca/src/weights.rs +++ b/pallets/dca/src/weights.rs @@ -15,7 +15,6 @@ // See the License for the specific language governing permissions and // limitations under the License. - //! Autogenerated weights for `pallet_dca` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 @@ -108,8 +107,7 @@ impl WeightInfo for () { // Measured: `1075` // Estimated: `3566` // Minimum execution time: 14_273_000 picoseconds. - Weight::from_parts(14_864_000, 3566) - .saturating_add(RocksDbWeight::get().reads(1_u64)) + Weight::from_parts(14_864_000, 3566).saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `MultiTransactionPayment::AcceptedCurrencies` (r:1 w:0) /// Proof: `MultiTransactionPayment::AcceptedCurrencies` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) From 6d4249ae988d05a8f0567821459cf9e0531e7f52 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Fri, 24 May 2024 13:15:07 +0200 Subject: [PATCH 068/105] fix build --- runtime/hydradx/src/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/runtime/hydradx/src/lib.rs b/runtime/hydradx/src/lib.rs index 2c2e74502..11c77b4f6 100644 --- a/runtime/hydradx/src/lib.rs +++ b/runtime/hydradx/src/lib.rs @@ -60,7 +60,8 @@ use sp_runtime::{ use sp_std::{convert::From, prelude::*}; #[cfg(feature = "std")] -use sp_version::{NativeVersion, RuntimeVersion}; +use sp_version::NativeVersion; +use sp_version::RuntimeVersion; // A few exports that help ease life for downstream crates. use frame_support::{construct_runtime, pallet_prelude::Hooks, parameter_types, weights::Weight}; pub use hex_literal::hex; From 25042e33dbd74f2586828e1b543df9cff97116cc Mon Sep 17 00:00:00 2001 From: dmoka Date: Fri, 24 May 2024 13:44:06 +0200 Subject: [PATCH 069/105] add test for remote swap two native tokens --- integration-tests/src/exchange_asset.rs | 228 ++++++++++++++++++++- integration-tests/src/polkadot_test_net.rs | 20 ++ 2 files changed, 240 insertions(+), 8 deletions(-) diff --git a/integration-tests/src/exchange_asset.rs b/integration-tests/src/exchange_asset.rs index 6a9a14d05..bef46b39f 100644 --- a/integration-tests/src/exchange_asset.rs +++ b/integration-tests/src/exchange_asset.rs @@ -28,6 +28,9 @@ pub const BUY: bool = false; pub const ACA: u32 = 1234; pub const GLMR: u32 = 4567; pub const IBTC: u32 = 7890; +pub const ZTG: u32 = 5001; + +pub const HDX_ON_OTHER_PARACHAIN: u32 = 5002; #[test] fn hydra_should_swap_assets_when_receiving_from_acala_with_sell() { @@ -281,7 +284,6 @@ fn transfer_and_swap_should_work_with_4_hops() { }); }); - //We need these executions to trigger the processing of horizontal messages of each parachain Moonbeam::execute_with(|| {}); Hydra::execute_with(|| {}); @@ -300,6 +302,188 @@ fn transfer_and_swap_should_work_with_4_hops() { }); } +pub mod zeitgeist_use_cases { + use super::*; + + use primitives::constants::chain::CORE_ASSET_ID; + + #[test] + fn remote_swap_sell_ztg_for_hdx_on_hydra() { + //Register tokens and init omnipool on hydra + Hydra::execute_with(|| { + let _ = with_transaction(|| { + crate::exchange_asset::register_ztg(); + crate::exchange_asset::add_currency_price(crate::exchange_asset::ZTG, FixedU128::from(1)); + + init_omnipool(); + let omnipool_account = hydradx_runtime::Omnipool::protocol_account(); + + let token_price = FixedU128::from_float(1.0); + assert_ok!(hydradx_runtime::Tokens::deposit( + ZTG, + &omnipool_account, + 1000000 * UNITS + )); + + assert_ok!(hydradx_runtime::Omnipool::add_token( + hydradx_runtime::RuntimeOrigin::root(), + ZTG, + token_price, + Permill::from_percent(100), + AccountId::from(BOB), + )); + + TransactionOutcome::Commit(DispatchResult::Ok(())) + }); + }); + + //Construct and send XCM zeitgeist -> hydra + Zeitgeist::execute_with(|| { + let _ = with_transaction(|| { + crate::exchange_asset::register_hdx_in_sibling_chain(); + crate::exchange_asset::add_currency_price(HDX_ON_OTHER_PARACHAIN, FixedU128::from(1)); + + TransactionOutcome::Commit(DispatchResult::Ok(())) + }); + + let give_reserve_chain = Location::new( + 1, + cumulus_primitives_core::Junctions::X1(Arc::new( + vec![cumulus_primitives_core::Junction::Parachain(ZEITGEIST_PARA_ID)] + .try_into() + .unwrap(), + )), + ); + let swap_chain = Location::new( + 1, + cumulus_primitives_core::Junctions::X1(Arc::new( + vec![cumulus_primitives_core::Junction::Parachain(HYDRA_PARA_ID)] + .try_into() + .unwrap(), + )), + ); + let want_reserve_chain = swap_chain.clone(); + let dest = give_reserve_chain.clone(); + + let beneficiary = Location::new( + 0, + cumulus_primitives_core::Junctions::X1(Arc::new( + vec![cumulus_primitives_core::Junction::AccountId32 { id: BOB, network: None }] + .try_into() + .unwrap(), + )), + ); + let assets: Assets = Asset { + id: cumulus_primitives_core::AssetId(Location::new( + 0, + cumulus_primitives_core::Junctions::X1(Arc::new( + vec![cumulus_primitives_core::Junction::GeneralIndex(0)] + .try_into() + .unwrap(), + )), + )), + fun: Fungible(100 * UNITS), + } + .into(); + let max_assets = assets.len() as u32 + 1; + + let give_amount = 10 * UNITS; + let give_asset = Asset::from((hydradx_runtime::CurrencyIdConvert::convert(0).unwrap(), give_amount)); + let want_asset = Asset::from(( + Location::new( + 1, + cumulus_primitives_core::Junctions::X2(Arc::new( + vec![ + cumulus_primitives_core::Junction::Parachain(HYDRA_PARA_ID), + cumulus_primitives_core::Junction::GeneralIndex(0), + ] + .try_into() + .unwrap(), + )), + ), + 100 * UNITS, + )); + + let want: Assets = want_asset.clone().into(); + + let fees = give_asset + .clone() + .reanchored(&swap_chain, &give_reserve_chain.interior) + .expect("should reanchor"); + + let destination_fee = want_asset + .reanchored(&dest, &want_reserve_chain.interior) + .expect("should reanchor"); + + let weight_limit = Limited(Weight::from_parts(u64::MAX, u64::MAX)); + + // executed on local (zeitgeist) + let message = Xcm(vec![ + WithdrawAsset(give_asset.clone().into()), + DepositReserveAsset { + assets: AllCounted(max_assets).into(), + dest: swap_chain, + // executed on remote (on hydra) + xcm: Xcm(vec![ + BuyExecution { + fees: crate::exchange_asset::half(&fees), + weight_limit: weight_limit.clone(), + }, + ExchangeAsset { + give: give_asset.into(), + want: want.clone(), + maximal: true, + }, + DepositReserveAsset { + assets: Wild(AllCounted(max_assets)), + dest, + xcm: Xcm(vec![ + //Executed on Zeitgeist + BuyExecution { + fees: crate::exchange_asset::half(&destination_fee), + weight_limit: weight_limit.clone(), + }, + DepositAsset { + assets: Wild(AllCounted(max_assets)), + beneficiary, + }, + ]), + }, + ]), + }, + ]); + let xcm = VersionedXcm::from(message); + + assert_ok!(hydradx_runtime::PolkadotXcm::execute( + hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), + Box::new(xcm), + Weight::from_parts(899_600_000_000, 0), + )); + + //Assert + pretty_assertions::assert_eq!( + hydradx_runtime::Currencies::free_balance(CORE_ASSET_ID, &AccountId::from(ALICE)), + 1000 * UNITS - give_amount + ); + + assert!(matches!( + last_hydra_events(2).first(), + Some(hydradx_runtime::RuntimeEvent::XcmpQueue( + cumulus_pallet_xcmp_queue::Event::XcmpMessageSent { .. } + )) + )); + }); + + //Trigger the processing of horizontal xcm messages + Hydra::execute_with(|| {}); + + //Assert that swap amount out is sent back to Zeitgeist + Zeitgeist::execute_with(|| { + pretty_assertions::assert_eq!(hydradx_runtime::Tokens::free_balance(HDX_ON_OTHER_PARACHAIN, &AccountId::from(BOB)), 8142821444432895); + }); + } +} + fn register_glmr() { assert_ok!(AssetRegistry::register_sufficient_asset( Some(GLMR), @@ -348,6 +532,38 @@ fn register_ibtc() { )); } +fn register_ztg() { + assert_ok!(AssetRegistry::register_sufficient_asset( + Some(ZTG), + Some(b"ZTG".to_vec().try_into().unwrap()), + AssetKind::Token, + 1_000_000, + None, + None, + Some(hydradx_runtime::AssetLocation(MultiLocation::new( + 1, + X2(Junction::Parachain(ZEITGEIST_PARA_ID), Junction::GeneralIndex(0)) + ))), + None, + )); +} + +fn register_hdx_in_sibling_chain() { + assert_ok!(AssetRegistry::register_sufficient_asset( + Some(HDX_ON_OTHER_PARACHAIN), + Some(b"vHDX".to_vec().try_into().unwrap()), + AssetKind::Token, + 1_000_000, + None, + None, + Some(hydradx_runtime::AssetLocation(MultiLocation::new( + 1, + X2(Junction::Parachain(HYDRA_PARA_ID), Junction::GeneralIndex(0)) + ))), + None, + )); +} + fn add_currency_price(asset_id: u32, price: FixedU128) { assert_ok!(hydradx_runtime::MultiTransactionPayment::add_currency( hydradx_runtime::RuntimeOrigin::root(), @@ -377,15 +593,15 @@ fn half(asset: &Asset) -> Asset { id: asset.clone().id, } } +use rococo_runtime::xcm_config::BaseXcmWeight; +use xcm_builder::FixedWeightBounds; +use xcm_executor::traits::WeightBounds; fn craft_transfer_and_swap_xcm_with_4_hops( give_asset: Asset, want_asset: Asset, is_sell: bool, ) -> VersionedXcm { - use rococo_runtime::xcm_config::BaseXcmWeight; - use xcm_builder::FixedWeightBounds; - use xcm_executor::traits::WeightBounds; type Weigher = FixedWeightBounds>; @@ -587,10 +803,6 @@ fn craft_exchange_asset_xcm, RC: Decode + GetDispatchInfo>( want: M, is_sell: bool, ) -> VersionedXcm { - use rococo_runtime::xcm_config::BaseXcmWeight; - use xcm_builder::FixedWeightBounds; - use xcm_executor::traits::WeightBounds; - type Weigher = FixedWeightBounds>; let dest = Location::new( diff --git a/integration-tests/src/polkadot_test_net.rs b/integration-tests/src/polkadot_test_net.rs index c14f75609..327dd066a 100644 --- a/integration-tests/src/polkadot_test_net.rs +++ b/integration-tests/src/polkadot_test_net.rs @@ -66,6 +66,7 @@ pub const ACALA_PARA_ID: u32 = 2_000; pub const HYDRA_PARA_ID: u32 = 2_034; pub const MOONBEAM_PARA_ID: u32 = 2_004; pub const INTERLAY_PARA_ID: u32 = 2_032; +pub const ZEITGEIST_PARA_ID: u32 = 2_092; pub const ALICE_INITIAL_NATIVE_BALANCE: Balance = 1_000 * UNITS; pub const ALICE_INITIAL_DAI_BALANCE: Balance = 2_000 * UNITS; @@ -100,6 +101,7 @@ pub type Acala = AcalaParachain; pub type Moonbeam = MoonbeamParachain; pub type Interlay = InterlayParachain; pub type AssetHub = AssetHubParachain; +pub type Zeitgeist = ZeitgeistParachain; decl_test_networks! { pub struct TestNet { @@ -110,6 +112,7 @@ decl_test_networks! { MoonbeamParachain, InterlayParachain, AssetHubParachain, + ZeitgeistParachain, ], bridge = () }, @@ -224,6 +227,23 @@ decl_test_parachains! { Balances: hydradx_runtime::Balances, } }, + pub struct ZeitgeistParachain { + genesis = para::genesis(ZEITGEIST_PARA_ID), + on_init = { + hydradx_runtime::System::set_block_number(1); + }, + runtime = hydradx_runtime, + core = { + XcmpMessageHandler: hydradx_runtime::XcmpQueue, + LocationToAccountId: hydradx_runtime::xcm::LocationToAccountId, + ParachainInfo: hydradx_runtime::ParachainInfo, + MessageOrigin: cumulus_primitives_core::AggregateMessageOrigin, + }, + pallets = { + PolkadotXcm: hydradx_runtime::PolkadotXcm, + Balances: hydradx_runtime::Balances, + } + } } pub mod rococo { From 3d048a4b656c6b54fc9bd72521c548ff1ab13df8 Mon Sep 17 00:00:00 2001 From: dmoka Date: Mon, 27 May 2024 10:04:57 +0200 Subject: [PATCH 070/105] add test for remote swap ztg for ibtc --- integration-tests/src/exchange_asset.rs | 230 ++++++++++++++++++++++++ 1 file changed, 230 insertions(+) diff --git a/integration-tests/src/exchange_asset.rs b/integration-tests/src/exchange_asset.rs index bef46b39f..af22b5eb9 100644 --- a/integration-tests/src/exchange_asset.rs +++ b/integration-tests/src/exchange_asset.rs @@ -482,6 +482,236 @@ pub mod zeitgeist_use_cases { pretty_assertions::assert_eq!(hydradx_runtime::Tokens::free_balance(HDX_ON_OTHER_PARACHAIN, &AccountId::from(BOB)), 8142821444432895); }); } + + #[test] + fn remote_swap_sell_ztg_for_ibtc_on_hydra() { + //Register tokens and init omnipool on hydra + Hydra::execute_with(|| { + let _ = with_transaction(|| { + crate::exchange_asset::register_ztg(); + register_ibtc(); + crate::exchange_asset::add_currency_price(crate::exchange_asset::ZTG, FixedU128::from(1)); + + init_omnipool(); + let omnipool_account = hydradx_runtime::Omnipool::protocol_account(); + + let token_price = FixedU128::from_float(1.0); + assert_ok!(hydradx_runtime::Tokens::deposit( + ZTG, + &omnipool_account, + 100000 * UNITS + )); + assert_ok!(hydradx_runtime::Tokens::deposit(IBTC, &omnipool_account, 100000 * UNITS)); + assert_ok!(hydradx_runtime::Omnipool::add_token( + hydradx_runtime::RuntimeOrigin::root(), + IBTC, + token_price, + Permill::from_percent(100), + AccountId::from(BOB), + )); + + assert_ok!(hydradx_runtime::Omnipool::add_token( + hydradx_runtime::RuntimeOrigin::root(), + ZTG, + token_price, + Permill::from_percent(100), + AccountId::from(BOB), + )); + + TransactionOutcome::Commit(DispatchResult::Ok(())) + }); + }); + + + //Deposit IBTC reserve for hydra + Interlay::execute_with(|| { + //set_zero_reward_for_referrals(IBTC); + use xcm_executor::traits::ConvertLocation; + let para_account = + hydradx_runtime::LocationToAccountId::convert_location(&(Parent, Parachain(HYDRA_PARA_ID)).into()).unwrap(); + let _ = hydradx_runtime::Balances::deposit(¶_account, 1000 * UNITS, Precision::Exact) + .expect("Failed to deposit"); + }); + + //Construct and send XCM zeitgeist -> hydra + Zeitgeist::execute_with(|| { + let _ = with_transaction(|| { + crate::exchange_asset::register_hdx_in_sibling_chain(); + register_ibtc(); + TransactionOutcome::Commit(DispatchResult::Ok(())) + }); + + crate::exchange_asset::add_currency_price(HDX_ON_OTHER_PARACHAIN, FixedU128::from(1)); + crate::exchange_asset::add_currency_price(IBTC, FixedU128::from(1)); + let alice_init_ibtc_balance = 3000 * UNITS; + assert_ok!(hydradx_runtime::Tokens::deposit( + IBTC, + &ALICE.into(), + alice_init_ibtc_balance + )); + + let give_reserve_chain = Location::new( + 1, + cumulus_primitives_core::Junctions::X1(Arc::new( + vec![cumulus_primitives_core::Junction::Parachain(ZEITGEIST_PARA_ID)] + .try_into() + .unwrap(), + )), + ); + let swap_chain = Location::new( + 1, + cumulus_primitives_core::Junctions::X1(Arc::new( + vec![cumulus_primitives_core::Junction::Parachain(HYDRA_PARA_ID)] + .try_into() + .unwrap(), + )), + ); + let want_reserve_chain = Location::new( + 1, + cumulus_primitives_core::Junctions::X1(Arc::new( + vec![cumulus_primitives_core::Junction::Parachain(INTERLAY_PARA_ID)] + .try_into() + .unwrap(), + )), + ); + let dest = give_reserve_chain.clone(); + + let beneficiary = Location::new( + 0, + cumulus_primitives_core::Junctions::X1(Arc::new( + vec![cumulus_primitives_core::Junction::AccountId32 { id: BOB, network: None }] + .try_into() + .unwrap(), + )), + ); + let assets: Assets = Asset { + id: cumulus_primitives_core::AssetId(Location::new( + 0, + cumulus_primitives_core::Junctions::X1(Arc::new( + vec![cumulus_primitives_core::Junction::GeneralIndex(0)] + .try_into() + .unwrap(), + )), + )), + fun: Fungible(10 * UNITS), + } + .into(); + let max_assets = assets.len() as u32 + 1; + + let give_amount = 10 * UNITS; + let give_asset = Asset::from((hydradx_runtime::CurrencyIdConvert::convert(0).unwrap(), give_amount)); + let want_asset = Asset::from(( + Location::new( + 1, + cumulus_primitives_core::Junctions::X2(Arc::new( + vec![ + cumulus_primitives_core::Junction::Parachain(INTERLAY_PARA_ID), + cumulus_primitives_core::Junction::GeneralIndex(0), + ] + .try_into() + .unwrap(), + )), + ), + 1 * UNITS, + )); + + let want: Assets = want_asset.clone().into(); + + let fees = give_asset + .clone() + .reanchored(&swap_chain, &give_reserve_chain.interior) + .expect("should reanchor"); + + let destination_fee = want_asset.clone() + .reanchored(&dest, &want_reserve_chain.interior) + .expect("should reanchor"); + + let reserve_fees = want_asset + .clone() + .reanchored(&want_reserve_chain, &swap_chain.interior) + .expect("should reanchor"); + + + let weight_limit = Limited(Weight::from_parts(u64::MAX, u64::MAX)); + + // executed on local (zeitgeist) + let message = Xcm(vec![ + WithdrawAsset(give_asset.clone().into()), + DepositReserveAsset { + assets: AllCounted(max_assets).into(), + dest: swap_chain, + // executed on remote (on hydra) + xcm: Xcm(vec![ + BuyExecution { + fees: crate::exchange_asset::half(&fees), + weight_limit: weight_limit.clone(), + }, + ExchangeAsset { + give: give_asset.into(), + want: want.clone(), + maximal: true, + }, + InitiateReserveWithdraw { + assets: want.into(), + reserve: want_reserve_chain, + xcm: Xcm(vec![ + //Executed on interlay + BuyExecution { + fees: half(&reserve_fees), + weight_limit: weight_limit.clone(), + }, + DepositReserveAsset { + assets: Wild(AllCounted(max_assets)), + dest, + xcm: Xcm(vec![ + //Executed on acala + BuyExecution { + fees: half(&destination_fee), + weight_limit: weight_limit.clone(), + }, + DepositAsset { + assets: Wild(AllCounted(max_assets)), + beneficiary, + }, + ]), + }, + ]), + }, + ]), + }, + ]); + let xcm = VersionedXcm::from(message); + + assert_ok!(hydradx_runtime::PolkadotXcm::execute( + hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), + Box::new(xcm), + Weight::from_parts(899_600_000_000, 0), + )); + + //Assert + pretty_assertions::assert_eq!( + hydradx_runtime::Currencies::free_balance(CORE_ASSET_ID, &AccountId::from(ALICE)), + 1000 * UNITS - give_amount + ); + + assert!(matches!( + last_hydra_events(2).first(), + Some(hydradx_runtime::RuntimeEvent::XcmpQueue( + cumulus_pallet_xcmp_queue::Event::XcmpMessageSent { .. } + )) + )); + }); + + //Trigger the processing of horizontal xcm messages + Hydra::execute_with(|| {}); + Interlay::execute_with(|| {}); + + //Assert that swap amount out is sent back to Zeitgeist + Zeitgeist::execute_with(|| { + pretty_assertions::assert_eq!(hydradx_runtime::Tokens::free_balance(IBTC, &AccountId::from(BOB)), 0); + }); + } + } fn register_glmr() { From 15daeb5461081dec9b73d629f9b75b20a84a1aef Mon Sep 17 00:00:00 2001 From: dmoka Date: Mon, 27 May 2024 10:26:47 +0200 Subject: [PATCH 071/105] add test with 2 reserve withdraw --- integration-tests/src/exchange_asset.rs | 334 ++++++++++++++++++++++-- 1 file changed, 317 insertions(+), 17 deletions(-) diff --git a/integration-tests/src/exchange_asset.rs b/integration-tests/src/exchange_asset.rs index af22b5eb9..6393efe12 100644 --- a/integration-tests/src/exchange_asset.rs +++ b/integration-tests/src/exchange_asset.rs @@ -303,12 +303,16 @@ fn transfer_and_swap_should_work_with_4_hops() { } pub mod zeitgeist_use_cases { + use std::sync::Arc; use super::*; + use frame_support::traits::tokens::Precision; + use polkadot_xcm::latest::{NetworkId, Parent}; + use polkadot_xcm::prelude::Parachain; use primitives::constants::chain::CORE_ASSET_ID; #[test] - fn remote_swap_sell_ztg_for_hdx_on_hydra() { + fn remote_swap_sell_native_ztg_for_native_hdx_on_hydra() { //Register tokens and init omnipool on hydra Hydra::execute_with(|| { let _ = with_transaction(|| { @@ -479,12 +483,15 @@ pub mod zeitgeist_use_cases { //Assert that swap amount out is sent back to Zeitgeist Zeitgeist::execute_with(|| { - pretty_assertions::assert_eq!(hydradx_runtime::Tokens::free_balance(HDX_ON_OTHER_PARACHAIN, &AccountId::from(BOB)), 8142821444432895); + pretty_assertions::assert_eq!( + hydradx_runtime::Tokens::free_balance(HDX_ON_OTHER_PARACHAIN, &AccountId::from(BOB)), + 8142821444432895 + ); }); } #[test] - fn remote_swap_sell_ztg_for_ibtc_on_hydra() { + fn remote_swap_sell_native_ztg_for_nonnative_ibtc_on_hydra() { //Register tokens and init omnipool on hydra Hydra::execute_with(|| { let _ = with_transaction(|| { @@ -496,12 +503,12 @@ pub mod zeitgeist_use_cases { let omnipool_account = hydradx_runtime::Omnipool::protocol_account(); let token_price = FixedU128::from_float(1.0); + assert_ok!(hydradx_runtime::Tokens::deposit(ZTG, &omnipool_account, 100000 * UNITS)); assert_ok!(hydradx_runtime::Tokens::deposit( - ZTG, + IBTC, &omnipool_account, 100000 * UNITS )); - assert_ok!(hydradx_runtime::Tokens::deposit(IBTC, &omnipool_account, 100000 * UNITS)); assert_ok!(hydradx_runtime::Omnipool::add_token( hydradx_runtime::RuntimeOrigin::root(), IBTC, @@ -522,13 +529,13 @@ pub mod zeitgeist_use_cases { }); }); - //Deposit IBTC reserve for hydra Interlay::execute_with(|| { //set_zero_reward_for_referrals(IBTC); use xcm_executor::traits::ConvertLocation; let para_account = - hydradx_runtime::LocationToAccountId::convert_location(&(Parent, Parachain(HYDRA_PARA_ID)).into()).unwrap(); + hydradx_runtime::LocationToAccountId::convert_location(&(Parent, Parachain(HYDRA_PARA_ID)).into()) + .unwrap(); let _ = hydradx_runtime::Balances::deposit(¶_account, 1000 * UNITS, Precision::Exact) .expect("Failed to deposit"); }); @@ -595,10 +602,10 @@ pub mod zeitgeist_use_cases { )), fun: Fungible(10 * UNITS), } - .into(); + .into(); let max_assets = assets.len() as u32 + 1; - let give_amount = 10 * UNITS; + let give_amount = 100 * UNITS; let give_asset = Asset::from((hydradx_runtime::CurrencyIdConvert::convert(0).unwrap(), give_amount)); let want_asset = Asset::from(( Location::new( @@ -608,11 +615,11 @@ pub mod zeitgeist_use_cases { cumulus_primitives_core::Junction::Parachain(INTERLAY_PARA_ID), cumulus_primitives_core::Junction::GeneralIndex(0), ] - .try_into() - .unwrap(), + .try_into() + .unwrap(), )), ), - 1 * UNITS, + 10 * UNITS, )); let want: Assets = want_asset.clone().into(); @@ -622,7 +629,8 @@ pub mod zeitgeist_use_cases { .reanchored(&swap_chain, &give_reserve_chain.interior) .expect("should reanchor"); - let destination_fee = want_asset.clone() + let destination_fee = want_asset + .clone() .reanchored(&dest, &want_reserve_chain.interior) .expect("should reanchor"); @@ -631,7 +639,6 @@ pub mod zeitgeist_use_cases { .reanchored(&want_reserve_chain, &swap_chain.interior) .expect("should reanchor"); - let weight_limit = Limited(Weight::from_parts(u64::MAX, u64::MAX)); // executed on local (zeitgeist) @@ -706,12 +713,306 @@ pub mod zeitgeist_use_cases { Hydra::execute_with(|| {}); Interlay::execute_with(|| {}); - //Assert that swap amount out is sent back to Zeitgeist + //Assert that swap amount out of IBTC is sent back to Zeitgeist Zeitgeist::execute_with(|| { - pretty_assertions::assert_eq!(hydradx_runtime::Tokens::free_balance(IBTC, &AccountId::from(BOB)), 0); + pretty_assertions::assert_eq!( + hydradx_runtime::Tokens::free_balance(IBTC, &AccountId::from(BOB)), + 9839246387064 + ); }); } + #[test] + fn remote_swap_sell_nonnative_glmr_for_nonnative_ibtc_on_hydra() { + //Register tokens and init omnipool on hydra + Hydra::execute_with(|| { + let _ = with_transaction(|| { + crate::exchange_asset::register_ztg(); + + register_ibtc(); + crate::exchange_asset::add_currency_price(crate::exchange_asset::ZTG, FixedU128::from(1)); + + register_glmr(); + crate::exchange_asset::add_currency_price(crate::exchange_asset::GLMR, FixedU128::from(1)); + + init_omnipool(); + let omnipool_account = hydradx_runtime::Omnipool::protocol_account(); + + let token_price = FixedU128::from_float(1.0); + assert_ok!(hydradx_runtime::Tokens::deposit(GLMR, &omnipool_account, 100000 * UNITS)); + assert_ok!(hydradx_runtime::Tokens::deposit( + IBTC, + &omnipool_account, + 100000 * UNITS + )); + assert_ok!(hydradx_runtime::Omnipool::add_token( + hydradx_runtime::RuntimeOrigin::root(), + IBTC, + token_price, + Permill::from_percent(100), + AccountId::from(BOB), + )); + + assert_ok!(hydradx_runtime::Omnipool::add_token( + hydradx_runtime::RuntimeOrigin::root(), + GLMR, + token_price, + Permill::from_percent(100), + AccountId::from(BOB), + )); + + TransactionOutcome::Commit(DispatchResult::Ok(())) + }); + }); + + //Deposit IBTC reserve for hydra + Interlay::execute_with(|| { + //set_zero_reward_for_referrals(IBTC); + use xcm_executor::traits::ConvertLocation; + let para_account = + hydradx_runtime::LocationToAccountId::convert_location(&(Parent, Parachain(HYDRA_PARA_ID)).into()) + .unwrap(); + let _ = hydradx_runtime::Balances::deposit(¶_account, 1000 * UNITS, Precision::Exact) + .expect("Failed to deposit"); + }); + + //Deposit GLMR reserve for Zeitgeist + Moonbeam::execute_with(|| { + use xcm_executor::traits::ConvertLocation; + let para_account = + hydradx_runtime::LocationToAccountId::convert_location(&(Parent, Parachain(ZEITGEIST_PARA_ID)).into()) + .unwrap(); + let _ = hydradx_runtime::Balances::deposit(¶_account, 1000 * UNITS, Precision::Exact) + .expect("Failed to deposit"); + }); + + //Construct and send XCM zeitgeist -> hydra + Zeitgeist::execute_with(|| { + let _ = with_transaction(|| { + crate::exchange_asset::register_hdx_in_sibling_chain(); + register_ibtc(); + register_glmr(); + TransactionOutcome::Commit(DispatchResult::Ok(())) + }); + + crate::exchange_asset::add_currency_price(IBTC, FixedU128::from(1)); + crate::exchange_asset::add_currency_price(GLMR, FixedU128::from(1)); + let alice_init_glmr_balance = 3000 * UNITS; + assert_ok!(hydradx_runtime::Tokens::deposit( + GLMR, + &ALICE.into(), + alice_init_glmr_balance + )); + + let give_reserve_chain = Location::new( + 1, + cumulus_primitives_core::Junctions::X1(Arc::new( + vec![cumulus_primitives_core::Junction::Parachain(MOONBEAM_PARA_ID)] + .try_into() + .unwrap(), + )), + ); + let swap_chain = Location::new( + 1, + cumulus_primitives_core::Junctions::X1(Arc::new( + vec![cumulus_primitives_core::Junction::Parachain(HYDRA_PARA_ID)] + .try_into() + .unwrap(), + )), + ); + let want_reserve_chain = Location::new( + 1, + cumulus_primitives_core::Junctions::X1(Arc::new( + vec![cumulus_primitives_core::Junction::Parachain(INTERLAY_PARA_ID)] + .try_into() + .unwrap(), + )), + ); + let dest = Location::new( + 1, + cumulus_primitives_core::Junctions::X1(Arc::new( + vec![cumulus_primitives_core::Junction::Parachain(ZEITGEIST_PARA_ID)] + .try_into() + .unwrap(), + )), + ); + + let beneficiary = Location::new( + 0, + cumulus_primitives_core::Junctions::X1(Arc::new( + vec![cumulus_primitives_core::Junction::AccountId32 { id: BOB, network: None }] + .try_into() + .unwrap(), + )), + ); + let assets: Assets = Asset { + id: cumulus_primitives_core::AssetId(Location::new( + 0, + cumulus_primitives_core::Junctions::X1(Arc::new( + vec![cumulus_primitives_core::Junction::GeneralIndex(0)] + .try_into() + .unwrap(), + )), + )), + fun: Fungible(10 * UNITS), + } + .into(); + let max_assets = assets.len() as u32 + 1; + + let give_amount = 100 * UNITS; + let give_asset = Asset::from(( + Location::new( + 1, + cumulus_primitives_core::Junctions::X2(Arc::new( + vec![ + cumulus_primitives_core::Junction::Parachain(MOONBEAM_PARA_ID), + cumulus_primitives_core::Junction::GeneralIndex(0), + ] + .try_into() + .unwrap(), + )), + ), + give_amount, + )); + let want_asset = Asset::from(( + Location::new( + 1, + cumulus_primitives_core::Junctions::X2(Arc::new( + vec![ + cumulus_primitives_core::Junction::Parachain(INTERLAY_PARA_ID), + cumulus_primitives_core::Junction::GeneralIndex(0), + ] + .try_into() + .unwrap(), + )), + ), + 10 * UNITS, + )); + + let want: Assets = want_asset.clone().into(); + + let fees = give_asset + .clone() + .reanchored(&swap_chain, &give_reserve_chain.interior) + .expect("should reanchor"); + + let destination_fee = want_asset + .clone() + .reanchored(&dest, &want_reserve_chain.interior) + .expect("should reanchor"); + + let origin_context = cumulus_primitives_core::Junctions::X2(Arc::new( + vec![ + cumulus_primitives_core::Junction::GlobalConsensus(NetworkId::Polkadot), + cumulus_primitives_core::Junction::Parachain(ZEITGEIST_PARA_ID), + ] + .try_into() + .unwrap(), + )); + let give_reserve_fees = give_asset + .clone() + .reanchored(&give_reserve_chain, &origin_context) + .expect("should reanchor"); + + let reserve_fees = want_asset + .clone() + .reanchored(&want_reserve_chain, &swap_chain.interior) + .expect("should reanchor"); + + let weight_limit = Limited(Weight::from_parts(u64::MAX, u64::MAX)); + + // executed on local (zeitgeist) + let message = Xcm(vec![ + WithdrawAsset(give_asset.clone().into()), + InitiateReserveWithdraw { + assets: All.into(), + reserve: give_reserve_chain, + xcm: Xcm(vec![ + //Executed on moonbeam + BuyExecution { + fees: half(&give_reserve_fees), + weight_limit: weight_limit.clone(), + }, + DepositReserveAsset { + assets: AllCounted(max_assets).into(), + dest: swap_chain, + // executed on remote (on hydra) + xcm: Xcm(vec![ + BuyExecution { + fees: crate::exchange_asset::half(&fees), + weight_limit: weight_limit.clone(), + }, + ExchangeAsset { + give: give_asset.into(), + want: want.clone(), + maximal: true, + }, + InitiateReserveWithdraw { + assets: want.into(), + reserve: want_reserve_chain, + xcm: Xcm(vec![ + //Executed on interlay + BuyExecution { + fees: half(&reserve_fees), + weight_limit: weight_limit.clone(), + }, + DepositReserveAsset { + assets: Wild(AllCounted(max_assets)), + dest, + xcm: Xcm(vec![ + //Executed on zetigeist + BuyExecution { + fees: half(&destination_fee), + weight_limit: weight_limit.clone(), + }, + DepositAsset { + assets: Wild(AllCounted(max_assets)), + beneficiary, + }, + ]), + }, + ]), + }, + ]), + }, + ]), + }, + ]); + let xcm = VersionedXcm::from(message); + + assert_ok!(hydradx_runtime::PolkadotXcm::execute( + hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), + Box::new(xcm), + Weight::from_parts(899_600_000_000, 0), + )); + + //Assert + pretty_assertions::assert_eq!( + hydradx_runtime::Currencies::free_balance(GLMR, &AccountId::from(ALICE)), + alice_init_glmr_balance - give_amount + ); + + assert!(matches!( + last_hydra_events(2).first(), + Some(hydradx_runtime::RuntimeEvent::XcmpQueue( + cumulus_pallet_xcmp_queue::Event::XcmpMessageSent { .. } + )) + )); + }); + + //Trigger the processing of horizontal xcm messages + Moonbeam::execute_with(|| {}); + Hydra::execute_with(|| {}); + Interlay::execute_with(|| {}); + + //Assert that swap amount out of IBTC is sent back to Zeitgeist + Zeitgeist::execute_with(|| { + pretty_assertions::assert_eq!( + hydradx_runtime::Tokens::free_balance(IBTC, &AccountId::from(BOB)), + 9839246387064 + ); + }); + } } fn register_glmr() { @@ -832,7 +1133,6 @@ fn craft_transfer_and_swap_xcm_with_4_hops( want_asset: Asset, is_sell: bool, ) -> VersionedXcm { - type Weigher = FixedWeightBounds>; let give_reserve_chain = Location::new( From 94b206c6f3aafdf0dbd4c5ad4bc350d97f8aee11 Mon Sep 17 00:00:00 2001 From: dmoka Date: Mon, 27 May 2024 10:52:19 +0200 Subject: [PATCH 072/105] change tests to send funds back to origin sender alice --- integration-tests/src/exchange_asset.rs | 28 ++++++++++++++----------- 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/integration-tests/src/exchange_asset.rs b/integration-tests/src/exchange_asset.rs index 6393efe12..2b31de610 100644 --- a/integration-tests/src/exchange_asset.rs +++ b/integration-tests/src/exchange_asset.rs @@ -350,6 +350,11 @@ pub mod zeitgeist_use_cases { TransactionOutcome::Commit(DispatchResult::Ok(())) }); + pretty_assertions::assert_eq!( + hydradx_runtime::Tokens::free_balance(HDX_ON_OTHER_PARACHAIN, &AccountId::from(ALICE)), + 0 + ); + let give_reserve_chain = Location::new( 1, cumulus_primitives_core::Junctions::X1(Arc::new( @@ -372,7 +377,7 @@ pub mod zeitgeist_use_cases { let beneficiary = Location::new( 0, cumulus_primitives_core::Junctions::X1(Arc::new( - vec![cumulus_primitives_core::Junction::AccountId32 { id: BOB, network: None }] + vec![cumulus_primitives_core::Junction::AccountId32 { id: ALICE, network: None }] .try_into() .unwrap(), )), @@ -484,7 +489,7 @@ pub mod zeitgeist_use_cases { //Assert that swap amount out is sent back to Zeitgeist Zeitgeist::execute_with(|| { pretty_assertions::assert_eq!( - hydradx_runtime::Tokens::free_balance(HDX_ON_OTHER_PARACHAIN, &AccountId::from(BOB)), + hydradx_runtime::Tokens::free_balance(HDX_ON_OTHER_PARACHAIN, &AccountId::from(ALICE)), 8142821444432895 ); }); @@ -550,12 +555,11 @@ pub mod zeitgeist_use_cases { crate::exchange_asset::add_currency_price(HDX_ON_OTHER_PARACHAIN, FixedU128::from(1)); crate::exchange_asset::add_currency_price(IBTC, FixedU128::from(1)); - let alice_init_ibtc_balance = 3000 * UNITS; - assert_ok!(hydradx_runtime::Tokens::deposit( - IBTC, - &ALICE.into(), - alice_init_ibtc_balance - )); + + pretty_assertions::assert_eq!( + hydradx_runtime::Tokens::free_balance(IBTC, &AccountId::from(ALICE)), + 0 + ); let give_reserve_chain = Location::new( 1, @@ -586,7 +590,7 @@ pub mod zeitgeist_use_cases { let beneficiary = Location::new( 0, cumulus_primitives_core::Junctions::X1(Arc::new( - vec![cumulus_primitives_core::Junction::AccountId32 { id: BOB, network: None }] + vec![cumulus_primitives_core::Junction::AccountId32 { id: ALICE, network: None }] .try_into() .unwrap(), )), @@ -716,7 +720,7 @@ pub mod zeitgeist_use_cases { //Assert that swap amount out of IBTC is sent back to Zeitgeist Zeitgeist::execute_with(|| { pretty_assertions::assert_eq!( - hydradx_runtime::Tokens::free_balance(IBTC, &AccountId::from(BOB)), + hydradx_runtime::Tokens::free_balance(IBTC, &AccountId::from(ALICE)), 9839246387064 ); }); @@ -840,7 +844,7 @@ pub mod zeitgeist_use_cases { let beneficiary = Location::new( 0, cumulus_primitives_core::Junctions::X1(Arc::new( - vec![cumulus_primitives_core::Junction::AccountId32 { id: BOB, network: None }] + vec![cumulus_primitives_core::Junction::AccountId32 { id: ALICE, network: None }] .try_into() .unwrap(), )), @@ -1008,7 +1012,7 @@ pub mod zeitgeist_use_cases { //Assert that swap amount out of IBTC is sent back to Zeitgeist Zeitgeist::execute_with(|| { pretty_assertions::assert_eq!( - hydradx_runtime::Tokens::free_balance(IBTC, &AccountId::from(BOB)), + hydradx_runtime::Tokens::free_balance(IBTC, &AccountId::from(ALICE)), 9839246387064 ); }); From a6114dd8bb1510780f62061e454923369dbb0a92 Mon Sep 17 00:00:00 2001 From: dmoka Date: Mon, 27 May 2024 12:08:05 +0200 Subject: [PATCH 073/105] make assets more explicit --- integration-tests/src/exchange_asset.rs | 152 +++++++++++++++--------- 1 file changed, 94 insertions(+), 58 deletions(-) diff --git a/integration-tests/src/exchange_asset.rs b/integration-tests/src/exchange_asset.rs index 2b31de610..29f53ba24 100644 --- a/integration-tests/src/exchange_asset.rs +++ b/integration-tests/src/exchange_asset.rs @@ -65,11 +65,37 @@ fn hydra_should_swap_assets_when_receiving_from_acala_with_sell() { }); Acala::execute_with(|| { - let xcm = craft_exchange_asset_xcm::<_, hydradx_runtime::RuntimeCall>( - Asset::from((GeneralIndex(0), 50 * UNITS)), - Asset::from((GeneralIndex(CORE_ASSET_ID.into()), 300 * UNITS)), - SELL, - ); + let give = Asset::from(( + Location::new( + 1, + cumulus_primitives_core::Junctions::X2(Arc::new( + vec![ + cumulus_primitives_core::Junction::Parachain(ACALA_PARA_ID), + cumulus_primitives_core::Junction::GeneralIndex(0), + ] + .try_into() + .unwrap(), + )), + ), + 50 * UNITS, + )); + + let want = Asset::from(( + Location::new( + 1, + cumulus_primitives_core::Junctions::X2(Arc::new( + vec![ + cumulus_primitives_core::Junction::Parachain(HYDRA_PARA_ID), + cumulus_primitives_core::Junction::GeneralIndex(0), + ] + .try_into() + .unwrap(), + )), + ), + 300 * UNITS, + )); + + let xcm = craft_exchange_asset_xcm::(give, want, SELL); //Act let res = hydradx_runtime::PolkadotXcm::execute( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), @@ -136,11 +162,37 @@ fn hydra_should_swap_assets_when_receiving_from_acala_with_buy() { let amount_out = 300 * UNITS; Acala::execute_with(|| { - let xcm = craft_exchange_asset_xcm::<_, hydradx_runtime::RuntimeCall>( - Asset::from((GeneralIndex(0), 50 * UNITS)), - Asset::from((GeneralIndex(CORE_ASSET_ID.into()), amount_out)), - BUY, - ); + let give = Asset::from(( + Location::new( + 1, + cumulus_primitives_core::Junctions::X2(Arc::new( + vec![ + cumulus_primitives_core::Junction::Parachain(ACALA_PARA_ID), + cumulus_primitives_core::Junction::GeneralIndex(0), + ] + .try_into() + .unwrap(), + )), + ), + 50 * UNITS, + )); + + let want = Asset::from(( + Location::new( + 1, + cumulus_primitives_core::Junctions::X2(Arc::new( + vec![ + cumulus_primitives_core::Junction::Parachain(HYDRA_PARA_ID), + cumulus_primitives_core::Junction::GeneralIndex(0), + ] + .try_into() + .unwrap(), + )), + ), + amount_out, + )); + + let xcm = craft_exchange_asset_xcm::(give, want, BUY); //Act let res = hydradx_runtime::PolkadotXcm::execute( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), @@ -303,11 +355,11 @@ fn transfer_and_swap_should_work_with_4_hops() { } pub mod zeitgeist_use_cases { - use std::sync::Arc; use super::*; use frame_support::traits::tokens::Precision; use polkadot_xcm::latest::{NetworkId, Parent}; use polkadot_xcm::prelude::Parachain; + use std::sync::Arc; use primitives::constants::chain::CORE_ASSET_ID; @@ -377,9 +429,12 @@ pub mod zeitgeist_use_cases { let beneficiary = Location::new( 0, cumulus_primitives_core::Junctions::X1(Arc::new( - vec![cumulus_primitives_core::Junction::AccountId32 { id: ALICE, network: None }] - .try_into() - .unwrap(), + vec![cumulus_primitives_core::Junction::AccountId32 { + id: ALICE, + network: None, + }] + .try_into() + .unwrap(), )), ); let assets: Assets = Asset { @@ -556,10 +611,7 @@ pub mod zeitgeist_use_cases { crate::exchange_asset::add_currency_price(HDX_ON_OTHER_PARACHAIN, FixedU128::from(1)); crate::exchange_asset::add_currency_price(IBTC, FixedU128::from(1)); - pretty_assertions::assert_eq!( - hydradx_runtime::Tokens::free_balance(IBTC, &AccountId::from(ALICE)), - 0 - ); + pretty_assertions::assert_eq!(hydradx_runtime::Tokens::free_balance(IBTC, &AccountId::from(ALICE)), 0); let give_reserve_chain = Location::new( 1, @@ -590,9 +642,12 @@ pub mod zeitgeist_use_cases { let beneficiary = Location::new( 0, cumulus_primitives_core::Junctions::X1(Arc::new( - vec![cumulus_primitives_core::Junction::AccountId32 { id: ALICE, network: None }] - .try_into() - .unwrap(), + vec![cumulus_primitives_core::Junction::AccountId32 { + id: ALICE, + network: None, + }] + .try_into() + .unwrap(), )), ); let assets: Assets = Asset { @@ -743,7 +798,11 @@ pub mod zeitgeist_use_cases { let omnipool_account = hydradx_runtime::Omnipool::protocol_account(); let token_price = FixedU128::from_float(1.0); - assert_ok!(hydradx_runtime::Tokens::deposit(GLMR, &omnipool_account, 100000 * UNITS)); + assert_ok!(hydradx_runtime::Tokens::deposit( + GLMR, + &omnipool_account, + 100000 * UNITS + )); assert_ok!(hydradx_runtime::Tokens::deposit( IBTC, &omnipool_account, @@ -844,9 +903,12 @@ pub mod zeitgeist_use_cases { let beneficiary = Location::new( 0, cumulus_primitives_core::Junctions::X1(Arc::new( - vec![cumulus_primitives_core::Junction::AccountId32 { id: ALICE, network: None }] - .try_into() - .unwrap(), + vec![cumulus_primitives_core::Junction::AccountId32 { + id: ALICE, + network: None, + }] + .try_into() + .unwrap(), )), ); let assets: Assets = Asset { @@ -872,8 +934,8 @@ pub mod zeitgeist_use_cases { cumulus_primitives_core::Junction::Parachain(MOONBEAM_PARA_ID), cumulus_primitives_core::Junction::GeneralIndex(0), ] - .try_into() - .unwrap(), + .try_into() + .unwrap(), )), ), give_amount, @@ -910,8 +972,8 @@ pub mod zeitgeist_use_cases { cumulus_primitives_core::Junction::GlobalConsensus(NetworkId::Polkadot), cumulus_primitives_core::Junction::Parachain(ZEITGEIST_PARA_ID), ] - .try_into() - .unwrap(), + .try_into() + .unwrap(), )); let give_reserve_fees = give_asset .clone() @@ -1332,11 +1394,7 @@ fn craft_transfer_and_swap_xcm_with_4_hops( VersionedXcm::from(message) } -fn craft_exchange_asset_xcm, RC: Decode + GetDispatchInfo>( - give: Asset, - want: M, - is_sell: bool, -) -> VersionedXcm { +fn craft_exchange_asset_xcm(give: Asset, want: Asset, is_sell: bool) -> VersionedXcm { type Weigher = FixedWeightBounds>; let dest = Location::new( @@ -1382,32 +1440,10 @@ fn craft_exchange_asset_xcm, RC: Decode + GetDispatchInfo>( .clone() .reanchored(&dest, &context) .expect("should reanchor"); - let give = give.reanchored(&dest, &context).expect("should reanchor give"); let give: AssetFilter = Definite(give.into()); let want = want.into(); - let weight_limit = { - let fees = fees.clone(); - let mut remote_message = Xcm(vec![ - ReserveAssetDeposited::(assets.clone()), - ClearOrigin, - BuyExecution { - fees, - weight_limit: Limited(Weight::zero()), - }, - ExchangeAsset { - give: give.clone(), - want: want.clone(), - maximal: is_sell, - }, - DepositAsset { - assets: Wild(AllCounted(max_assets)), - beneficiary: beneficiary.clone(), - }, - ]); - // use local weight for remote message and hope for the best. - let remote_weight = Weigher::weight(&mut remote_message).expect("weighing should not fail"); - Limited(remote_weight) - }; + let weight_limit = Limited(Weight::from_parts(u64::MAX, u64::MAX)); + // executed on remote (on hydra) let xcm = Xcm(vec![ BuyExecution { fees, weight_limit }, From ac934718fad8cdfc79d3bc0193ee0d97da28e06b Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Mon, 27 May 2024 12:48:20 +0200 Subject: [PATCH 074/105] bump crate versions --- Cargo.lock | 16 ++++++++-------- pallets/circuit-breaker/Cargo.toml | 2 +- pallets/lbp/Cargo.toml | 2 +- pallets/liquidity-mining/Cargo.toml | 2 +- pallets/omnipool/Cargo.toml | 2 +- pallets/otc/Cargo.toml | 2 +- pallets/stableswap/Cargo.toml | 2 +- runtime/hydradx/Cargo.toml | 2 +- runtime/hydradx/src/lib.rs | 2 +- scraper/Cargo.toml | 2 +- 10 files changed, 17 insertions(+), 17 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c7e081894..2d99df8dc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4911,7 +4911,7 @@ dependencies = [ [[package]] name = "hydradx-runtime" -version = "237.0.0" +version = "238.0.0" dependencies = [ "cumulus-pallet-aura-ext", "cumulus-pallet-parachain-system", @@ -7775,7 +7775,7 @@ dependencies = [ [[package]] name = "pallet-circuit-breaker" -version = "1.1.24" +version = "1.1.25" dependencies = [ "frame-benchmarking", "frame-support", @@ -8424,7 +8424,7 @@ dependencies = [ [[package]] name = "pallet-lbp" -version = "4.8.2" +version = "4.8.3" dependencies = [ "frame-benchmarking", "frame-support", @@ -8449,7 +8449,7 @@ dependencies = [ [[package]] name = "pallet-liquidity-mining" -version = "4.3.3" +version = "4.3.4" dependencies = [ "fixed", "frame-support", @@ -8672,7 +8672,7 @@ dependencies = [ [[package]] name = "pallet-omnipool" -version = "4.2.2" +version = "4.2.3" dependencies = [ "bitflags 1.3.2", "frame-benchmarking", @@ -8726,7 +8726,7 @@ dependencies = [ [[package]] name = "pallet-otc" -version = "1.1.3" +version = "1.1.4" dependencies = [ "frame-benchmarking", "frame-support", @@ -8984,7 +8984,7 @@ dependencies = [ [[package]] name = "pallet-stableswap" -version = "3.6.2" +version = "3.6.3" dependencies = [ "bitflags 1.3.2", "frame-benchmarking", @@ -13496,7 +13496,7 @@ checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" [[package]] name = "scraper" -version = "1.2.3" +version = "1.2.4" dependencies = [ "clap 3.2.25", "frame-remote-externalities", diff --git a/pallets/circuit-breaker/Cargo.toml b/pallets/circuit-breaker/Cargo.toml index 5d7b0b2a1..5ea64546b 100644 --- a/pallets/circuit-breaker/Cargo.toml +++ b/pallets/circuit-breaker/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-circuit-breaker" -version = "1.1.24" +version = "1.1.25" authors = ["GalacticCouncil "] edition = "2021" license = "Apache-2.0" diff --git a/pallets/lbp/Cargo.toml b/pallets/lbp/Cargo.toml index 42c82080a..68726ad06 100644 --- a/pallets/lbp/Cargo.toml +++ b/pallets/lbp/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-lbp" -version = "4.8.2" +version = "4.8.3" description = "HydraDX Liquidity Bootstrapping Pool Pallet" authors = ["GalacticCouncil"] edition = "2021" diff --git a/pallets/liquidity-mining/Cargo.toml b/pallets/liquidity-mining/Cargo.toml index ee6a7961b..567b9ed39 100644 --- a/pallets/liquidity-mining/Cargo.toml +++ b/pallets/liquidity-mining/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-liquidity-mining" -version = "4.3.3" +version = "4.3.4" description = "Liquidity mining" authors = ["GalacticCouncil"] edition = "2021" diff --git a/pallets/omnipool/Cargo.toml b/pallets/omnipool/Cargo.toml index e108fd6aa..709bcc360 100644 --- a/pallets/omnipool/Cargo.toml +++ b/pallets/omnipool/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-omnipool" -version = "4.2.2" +version = "4.2.3" authors = ['GalacticCouncil'] edition = "2021" license = "Apache-2.0" diff --git a/pallets/otc/Cargo.toml b/pallets/otc/Cargo.toml index 3d84afc8b..68108477f 100644 --- a/pallets/otc/Cargo.toml +++ b/pallets/otc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = 'pallet-otc' -version = '1.1.3' +version = '1.1.4' description = 'A pallet for trustless over-the-counter trading' authors = ['GalacticCouncil'] edition = '2021' diff --git a/pallets/stableswap/Cargo.toml b/pallets/stableswap/Cargo.toml index e0f2e7d36..e16b4a778 100644 --- a/pallets/stableswap/Cargo.toml +++ b/pallets/stableswap/Cargo.toml @@ -1,6 +1,6 @@ [package] name = 'pallet-stableswap' -version = '3.6.2' +version = '3.6.3' description = 'AMM for correlated assets' authors = ['GalacticCouncil'] edition = '2021' diff --git a/runtime/hydradx/Cargo.toml b/runtime/hydradx/Cargo.toml index a9600d4a9..25a09a733 100644 --- a/runtime/hydradx/Cargo.toml +++ b/runtime/hydradx/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hydradx-runtime" -version = "237.0.0" +version = "238.0.0" authors = ["GalacticCouncil"] edition = "2021" license = "Apache 2.0" diff --git a/runtime/hydradx/src/lib.rs b/runtime/hydradx/src/lib.rs index 11c77b4f6..35f4c0669 100644 --- a/runtime/hydradx/src/lib.rs +++ b/runtime/hydradx/src/lib.rs @@ -107,7 +107,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("hydradx"), impl_name: create_runtime_str!("hydradx"), authoring_version: 1, - spec_version: 237, + spec_version: 238, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 1, diff --git a/scraper/Cargo.toml b/scraper/Cargo.toml index 0778e7776..a7c66357f 100644 --- a/scraper/Cargo.toml +++ b/scraper/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "scraper" -version = "1.2.3" +version = "1.2.4" description = "Scraper tool" authors = ["GalacticCouncil"] edition = "2021" From d37867a32b0ebe4862192fe84d218a050f9c507a Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Mon, 27 May 2024 13:34:03 +0200 Subject: [PATCH 075/105] bump crate versions --- Cargo.lock | 6 +++--- pallets/collator-rewards/Cargo.toml | 2 +- pallets/transaction-pause/Cargo.toml | 2 +- runtime/hydradx/Cargo.toml | 2 +- runtime/hydradx/src/lib.rs | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 6ce8e2991..337acf348 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4911,7 +4911,7 @@ dependencies = [ [[package]] name = "hydradx-runtime" -version = "238.0.0" +version = "239.0.0" dependencies = [ "cumulus-pallet-aura-ext", "cumulus-pallet-parachain-system", @@ -7822,7 +7822,7 @@ dependencies = [ [[package]] name = "pallet-collator-rewards" -version = "1.0.7" +version = "1.0.8" dependencies = [ "frame-benchmarking", "frame-support", @@ -9185,7 +9185,7 @@ dependencies = [ [[package]] name = "pallet-transaction-pause" -version = "1.0.2" +version = "1.0.3" dependencies = [ "frame-benchmarking", "frame-support", diff --git a/pallets/collator-rewards/Cargo.toml b/pallets/collator-rewards/Cargo.toml index 111ae549e..21f55d01f 100644 --- a/pallets/collator-rewards/Cargo.toml +++ b/pallets/collator-rewards/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-collator-rewards" -version = "1.0.7" +version = "1.0.8" description = "Pallet for collator rewards" authors = ["GalacticCouncil"] edition = "2021" diff --git a/pallets/transaction-pause/Cargo.toml b/pallets/transaction-pause/Cargo.toml index 982250bc3..1c5e05d5c 100644 --- a/pallets/transaction-pause/Cargo.toml +++ b/pallets/transaction-pause/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-transaction-pause" -version = "1.0.2" +version = "1.0.3" authors = ["Acala Developers", "GalacticCouncil"] edition = "2021" diff --git a/runtime/hydradx/Cargo.toml b/runtime/hydradx/Cargo.toml index 25a09a733..ca8d55aec 100644 --- a/runtime/hydradx/Cargo.toml +++ b/runtime/hydradx/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hydradx-runtime" -version = "238.0.0" +version = "239.0.0" authors = ["GalacticCouncil"] edition = "2021" license = "Apache 2.0" diff --git a/runtime/hydradx/src/lib.rs b/runtime/hydradx/src/lib.rs index 35f4c0669..ec6537409 100644 --- a/runtime/hydradx/src/lib.rs +++ b/runtime/hydradx/src/lib.rs @@ -107,7 +107,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("hydradx"), impl_name: create_runtime_str!("hydradx"), authoring_version: 1, - spec_version: 238, + spec_version: 239, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 1, From 3f64a575a6ce30f65b72f423f01e9fc327cff9c6 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Wed, 29 May 2024 14:34:07 +0200 Subject: [PATCH 076/105] rebenchmark staking and democracy --- pallets/democracy/src/weights.rs | 206 ++++++------- pallets/staking/src/weights.rs | 64 ++-- .../hydradx/src/weights/pallet_democracy.rs | 278 +++++++++--------- runtime/hydradx/src/weights/pallet_staking.rs | 62 ++-- 4 files changed, 303 insertions(+), 307 deletions(-) diff --git a/pallets/democracy/src/weights.rs b/pallets/democracy/src/weights.rs index 8f37fec76..076e0aac6 100644 --- a/pallets/democracy/src/weights.rs +++ b/pallets/democracy/src/weights.rs @@ -3,6 +3,11 @@ // Copyright (C) 2020-2023 Intergalactic, Limited (GIB). // SPDX-License-Identifier: Apache-2.0 +// This file is part of HydraDX. + +// Copyright (C) 2020-2023 Intergalactic, Limited (GIB). +// SPDX-License-Identifier: Apache-2.0 + // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at @@ -19,29 +24,24 @@ //! Autogenerated weights for `pallet_democracy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-05-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-05-29, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: -// ./target/release/hydradx +// target/release/hydradx // benchmark // pallet +// --chain=dev +// --steps=10 +// --repeat=30 // --wasm-execution=compiled -// --pallet -// * -// --extrinsic -// * -// --heap-pages -// 4096 -// --steps -// 50 -// --repeat -// 20 +// --heap-pages=4096 // --template=scripts/pallet-weight-template.hbs -// --output -// weights/ +// --pallet=pallet-democracy +// --output=weights/democracy.rs +// --extrinsic=* #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -97,8 +97,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `4688` // Estimated: `18187` - // Minimum execution time: 41_583_000 picoseconds. - Weight::from_parts(42_288_000, 18187) + // Minimum execution time: 41_701_000 picoseconds. + Weight::from_parts(42_235_000, 18187) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -108,8 +108,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `3443` // Estimated: `6695` - // Minimum execution time: 39_101_000 picoseconds. - Weight::from_parts(39_726_000, 6695) + // Minimum execution time: 39_489_000 picoseconds. + Weight::from_parts(40_100_000, 6695) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -131,8 +131,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `15343` // Estimated: `268590` - // Minimum execution time: 410_085_000 picoseconds. - Weight::from_parts(416_106_000, 268590) + // Minimum execution time: 415_574_000 picoseconds. + Weight::from_parts(419_090_000, 268590) .saturating_add(RocksDbWeight::get().reads(107_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } @@ -154,8 +154,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `15365` // Estimated: `268590` - // Minimum execution time: 415_909_000 picoseconds. - Weight::from_parts(419_308_000, 268590) + // Minimum execution time: 415_249_000 picoseconds. + Weight::from_parts(422_003_000, 268590) .saturating_add(RocksDbWeight::get().reads(107_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } @@ -169,8 +169,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `249` // Estimated: `3666` - // Minimum execution time: 27_314_000 picoseconds. - Weight::from_parts(27_738_000, 3666) + // Minimum execution time: 27_483_000 picoseconds. + Weight::from_parts(28_007_000, 3666) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -192,8 +192,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `6191` // Estimated: `18187` - // Minimum execution time: 106_015_000 picoseconds. - Weight::from_parts(107_156_000, 18187) + // Minimum execution time: 107_718_000 picoseconds. + Weight::from_parts(108_453_000, 18187) .saturating_add(RocksDbWeight::get().reads(9_u64)) .saturating_add(RocksDbWeight::get().writes(8_u64)) } @@ -205,8 +205,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `3276` // Estimated: `6703` - // Minimum execution time: 13_109_000 picoseconds. - Weight::from_parts(13_498_000, 6703) + // Minimum execution time: 13_141_000 picoseconds. + Weight::from_parts(13_507_000, 6703) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -216,8 +216,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_867_000 picoseconds. - Weight::from_parts(4_031_000, 0) + // Minimum execution time: 3_720_000 picoseconds. + Weight::from_parts(3_904_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `Democracy::NextExternal` (r:0 w:1) @@ -226,8 +226,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_863_000 picoseconds. - Weight::from_parts(4_063_000, 0) + // Minimum execution time: 3_862_000 picoseconds. + Weight::from_parts(4_053_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `Democracy::NextExternal` (r:1 w:1) @@ -242,8 +242,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `147` // Estimated: `3518` - // Minimum execution time: 25_327_000 picoseconds. - Weight::from_parts(25_746_000, 3518) + // Minimum execution time: 25_432_000 picoseconds. + Weight::from_parts(25_892_000, 3518) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } @@ -257,8 +257,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `3377` // Estimated: `6703` - // Minimum execution time: 28_513_000 picoseconds. - Weight::from_parts(29_004_000, 6703) + // Minimum execution time: 28_422_000 picoseconds. + Weight::from_parts(28_931_000, 6703) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -274,8 +274,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `6076` // Estimated: `18187` - // Minimum execution time: 85_579_000 picoseconds. - Weight::from_parts(86_462_000, 18187) + // Minimum execution time: 87_703_000 picoseconds. + Weight::from_parts(88_416_000, 18187) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } @@ -287,8 +287,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `181` // Estimated: `3518` - // Minimum execution time: 20_065_000 picoseconds. - Weight::from_parts(20_350_000, 3518) + // Minimum execution time: 20_107_000 picoseconds. + Weight::from_parts(20_377_000, 3518) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -301,12 +301,12 @@ impl WeightInfo for () { /// The range of component `r` is `[0, 99]`. fn on_initialize_base(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `127 + r * (86 ±0)` + // Measured: `125 + r * (86 ±0)` // Estimated: `1489 + r * (2676 ±0)` - // Minimum execution time: 4_074_000 picoseconds. - Weight::from_parts(8_776_460, 1489) - // Standard Error: 4_628 - .saturating_add(Weight::from_parts(3_201_403, 0).saturating_mul(r.into())) + // Minimum execution time: 3_840_000 picoseconds. + Weight::from_parts(7_774_936, 1489) + // Standard Error: 9_193 + .saturating_add(Weight::from_parts(3_259_471, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(1_u64)) @@ -327,12 +327,12 @@ impl WeightInfo for () { /// The range of component `r` is `[0, 99]`. fn on_initialize_base_with_launch_period(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `127 + r * (86 ±0)` + // Measured: `125 + r * (86 ±0)` // Estimated: `18187 + r * (2676 ±0)` - // Minimum execution time: 6_644_000 picoseconds. - Weight::from_parts(11_778_472, 18187) - // Standard Error: 5_684 - .saturating_add(Weight::from_parts(3_210_685, 0).saturating_mul(r.into())) + // Minimum execution time: 6_495_000 picoseconds. + Weight::from_parts(10_267_498, 18187) + // Standard Error: 9_509 + .saturating_add(Weight::from_parts(3_264_278, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(1_u64)) @@ -351,10 +351,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `677 + r * (108 ±0)` // Estimated: `19800 + r * (2676 ±0)` - // Minimum execution time: 43_611_000 picoseconds. - Weight::from_parts(49_441_401, 19800) - // Standard Error: 6_010 - .saturating_add(Weight::from_parts(4_110_653, 0).saturating_mul(r.into())) + // Minimum execution time: 43_812_000 picoseconds. + Weight::from_parts(46_935_837, 19800) + // Standard Error: 11_136 + .saturating_add(Weight::from_parts(4_198_915, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(4_u64)) @@ -368,12 +368,12 @@ impl WeightInfo for () { /// The range of component `r` is `[0, 99]`. fn undelegate(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `374 + r * (108 ±0)` + // Measured: `373 + r * (108 ±0)` // Estimated: `13530 + r * (2676 ±0)` - // Minimum execution time: 20_638_000 picoseconds. - Weight::from_parts(22_569_518, 13530) - // Standard Error: 5_015 - .saturating_add(Weight::from_parts(4_078_739, 0).saturating_mul(r.into())) + // Minimum execution time: 20_720_000 picoseconds. + Weight::from_parts(20_631_640, 13530) + // Standard Error: 8_748 + .saturating_add(Weight::from_parts(4_193_472, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(2_u64)) @@ -386,8 +386,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_025_000 picoseconds. - Weight::from_parts(4_259_000, 0) + // Minimum execution time: 4_235_000 picoseconds. + Weight::from_parts(4_396_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `Democracy::VotingOf` (r:1 w:1) @@ -403,10 +403,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `432` // Estimated: `7260` - // Minimum execution time: 26_212_000 picoseconds. - Weight::from_parts(37_912_071, 7260) - // Standard Error: 2_649 - .saturating_add(Weight::from_parts(38_915, 0).saturating_mul(r.into())) + // Minimum execution time: 26_209_000 picoseconds. + Weight::from_parts(35_136_293, 7260) + // Standard Error: 8_398 + .saturating_add(Weight::from_parts(78_899, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -421,21 +421,23 @@ impl WeightInfo for () { /// The range of component `r` is `[0, 99]`. fn unlock_set(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `433 + r * (22 ±0)` + // Measured: `432 + r * (22 ±0)` // Estimated: `7260` - // Minimum execution time: 36_330_000 picoseconds. - Weight::from_parts(37_941_730, 7260) - // Standard Error: 717 - .saturating_add(Weight::from_parts(59_784, 0).saturating_mul(r.into())) + // Minimum execution time: 37_733_000 picoseconds. + Weight::from_parts(38_316_728, 7260) + // Standard Error: 1_094 + .saturating_add(Weight::from_parts(52_536, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } - /// Storage: `Democracy::ReferendumInfoOf` (r:100 w:1) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) /// Storage: `Democracy::VotingOf` (r:1 w:1) /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) /// Storage: `Uniques::Account` (r:2 w:0) /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) + /// Storage: `Staking::ProcessedVotes` (r:1 w:0) + /// Proof: `Staking::ProcessedVotes` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) /// Storage: `Staking::Positions` (r:1 w:1) /// Proof: `Staking::Positions` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Staking::PositionVotes` (r:1 w:1) @@ -443,23 +445,23 @@ impl WeightInfo for () { /// The range of component `r` is `[1, 100]`. fn remove_vote(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1077 + r * (129 ±0)` - // Estimated: `7260 + r * (2676 ±0)` - // Minimum execution time: 46_481_000 picoseconds. - Weight::from_parts(46_605_938, 7260) - // Standard Error: 4_894 - .saturating_add(Weight::from_parts(3_310_988, 0).saturating_mul(r.into())) - .saturating_add(RocksDbWeight::get().reads(5_u64)) - .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) + // Measured: `1503 + r * (46 ±0)` + // Estimated: `7260` + // Minimum execution time: 48_213_000 picoseconds. + Weight::from_parts(51_366_745, 7260) + // Standard Error: 4_640 + .saturating_add(Weight::from_parts(131_667, 0).saturating_mul(r.into())) + .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) - .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) } - /// Storage: `Democracy::ReferendumInfoOf` (r:100 w:1) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) /// Storage: `Democracy::VotingOf` (r:1 w:1) /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) /// Storage: `Uniques::Account` (r:2 w:0) /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) + /// Storage: `Staking::ProcessedVotes` (r:1 w:0) + /// Proof: `Staking::ProcessedVotes` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) /// Storage: `Staking::Positions` (r:1 w:1) /// Proof: `Staking::Positions` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Staking::PositionVotes` (r:1 w:1) @@ -467,16 +469,14 @@ impl WeightInfo for () { /// The range of component `r` is `[1, 100]`. fn remove_other_vote(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1077 + r * (129 ±0)` - // Estimated: `7260 + r * (2676 ±0)` - // Minimum execution time: 45_868_000 picoseconds. - Weight::from_parts(46_237_093, 7260) - // Standard Error: 5_206 - .saturating_add(Weight::from_parts(3_320_564, 0).saturating_mul(r.into())) - .saturating_add(RocksDbWeight::get().reads(5_u64)) - .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) + // Measured: `1503 + r * (46 ±0)` + // Estimated: `7260` + // Minimum execution time: 48_122_000 picoseconds. + Weight::from_parts(51_591_726, 7260) + // Standard Error: 4_962 + .saturating_add(Weight::from_parts(133_813, 0).saturating_mul(r.into())) + .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) - .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) } /// Storage: `Democracy::NextExternal` (r:1 w:0) /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) @@ -490,8 +490,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `287` // Estimated: `3556` - // Minimum execution time: 20_451_000 picoseconds. - Weight::from_parts(20_700_000, 3556) + // Minimum execution time: 20_454_000 picoseconds. + Weight::from_parts(20_805_000, 3556) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -503,8 +503,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `147` // Estimated: `3518` - // Minimum execution time: 16_417_000 picoseconds. - Weight::from_parts(16_604_000, 3518) + // Minimum execution time: 16_223_000 picoseconds. + Weight::from_parts(16_478_000, 3518) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -520,8 +520,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `4842` // Estimated: `18187` - // Minimum execution time: 42_228_000 picoseconds. - Weight::from_parts(42_643_000, 18187) + // Minimum execution time: 42_358_000 picoseconds. + Weight::from_parts(42_867_000, 18187) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -533,8 +533,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `4706` // Estimated: `18187` - // Minimum execution time: 36_760_000 picoseconds. - Weight::from_parts(37_250_000, 18187) + // Minimum execution time: 37_064_000 picoseconds. + Weight::from_parts(37_477_000, 18187) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -548,8 +548,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `211` // Estimated: `3556` - // Minimum execution time: 18_163_000 picoseconds. - Weight::from_parts(18_437_000, 3556) + // Minimum execution time: 18_290_000 picoseconds. + Weight::from_parts(18_660_000, 3556) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -561,8 +561,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `159` // Estimated: `3666` - // Minimum execution time: 19_028_000 picoseconds. - Weight::from_parts(19_242_000, 3666) + // Minimum execution time: 18_955_000 picoseconds. + Weight::from_parts(19_323_000, 3666) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } diff --git a/pallets/staking/src/weights.rs b/pallets/staking/src/weights.rs index 3dbc3adca..77945f075 100644 --- a/pallets/staking/src/weights.rs +++ b/pallets/staking/src/weights.rs @@ -15,32 +15,28 @@ // See the License for the specific language governing permissions and // limitations under the License. + //! Autogenerated weights for `pallet_staking` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-05-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-05-29, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: -// ./target/release/hydradx +// target/release/hydradx // benchmark // pallet +// --chain=dev +// --steps=10 +// --repeat=30 // --wasm-execution=compiled -// --pallet -// * -// --extrinsic -// * -// --heap-pages -// 4096 -// --steps -// 50 -// --repeat -// 20 +// --heap-pages=4096 // --template=scripts/pallet-weight-template.hbs -// --output -// weights/ +// --pallet=pallet-staking +// --output=weights/staking.rs +// --extrinsic=* #![allow(unused_parens)] #![allow(unused_imports)] @@ -75,8 +71,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `516` // Estimated: `3655` - // Minimum execution time: 35_209_000 picoseconds. - Weight::from_parts(35_707_000, 3655) + // Minimum execution time: 34_969_000 picoseconds. + Weight::from_parts(35_577_000, 3655) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -104,8 +100,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1274` // Estimated: `6196` - // Minimum execution time: 89_042_000 picoseconds. - Weight::from_parts(90_537_000, 6196) + // Minimum execution time: 89_837_000 picoseconds. + Weight::from_parts(90_522_000, 6196) .saturating_add(RocksDbWeight::get().reads(10_u64)) .saturating_add(RocksDbWeight::get().writes(8_u64)) } @@ -113,6 +109,8 @@ impl WeightInfo for () { /// Proof: `Staking::Staking` (`max_values`: Some(1), `max_size`: Some(48), added: 543, mode: `MaxEncodedLen`) /// Storage: `Uniques::Asset` (r:1 w:0) /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `Staking::ProcessedVotes` (r:1 w:0) + /// Proof: `Staking::ProcessedVotes` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `Staking::Positions` (r:1 w:1) @@ -129,15 +127,17 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `3379` // Estimated: `268590` - // Minimum execution time: 254_275_000 picoseconds. - Weight::from_parts(258_360_000, 268590) - .saturating_add(RocksDbWeight::get().reads(108_u64)) + // Minimum execution time: 260_523_000 picoseconds. + Weight::from_parts(264_621_000, 268590) + .saturating_add(RocksDbWeight::get().reads(109_u64)) .saturating_add(RocksDbWeight::get().writes(6_u64)) } /// Storage: `Staking::Staking` (r:1 w:1) /// Proof: `Staking::Staking` (`max_values`: Some(1), `max_size`: Some(48), added: 543, mode: `MaxEncodedLen`) /// Storage: `Uniques::Asset` (r:1 w:0) /// Proof: `Uniques::Asset` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `Staking::ProcessedVotes` (r:1 w:0) + /// Proof: `Staking::ProcessedVotes` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `Staking::Positions` (r:1 w:1) @@ -154,9 +154,9 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `3379` // Estimated: `268590` - // Minimum execution time: 249_197_000 picoseconds. - Weight::from_parts(252_012_000, 268590) - .saturating_add(RocksDbWeight::get().reads(108_u64)) + // Minimum execution time: 256_924_000 picoseconds. + Weight::from_parts(260_188_000, 268590) + .saturating_add(RocksDbWeight::get().reads(109_u64)) .saturating_add(RocksDbWeight::get().writes(6_u64)) } /// Storage: `Staking::Staking` (r:1 w:1) @@ -169,8 +169,8 @@ impl WeightInfo for () { /// Proof: `Staking::Positions` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Staking::PositionVotes` (r:1 w:1) /// Proof: `Staking::PositionVotes` (`max_values`: None, `max_size`: Some(2134), added: 4609, mode: `MaxEncodedLen`) - /// Storage: `Democracy::ReferendumInfoOf` (r:100 w:0) - /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Staking::ProcessedVotes` (r:1 w:0) + /// Proof: `Staking::ProcessedVotes` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) /// Storage: `Uniques::Class` (r:1 w:1) /// Proof: `Uniques::Class` (`max_values`: None, `max_size`: Some(190), added: 2665, mode: `MaxEncodedLen`) /// Storage: `Balances::Locks` (r:1 w:1) @@ -183,11 +183,11 @@ impl WeightInfo for () { /// Proof: `Uniques::ItemPriceOf` (`max_values`: None, `max_size`: Some(113), added: 2588, mode: `MaxEncodedLen`) fn unstake() -> Weight { // Proof Size summary in bytes: - // Measured: `3632` - // Estimated: `268590` - // Minimum execution time: 276_577_000 picoseconds. - Weight::from_parts(280_091_000, 268590) - .saturating_add(RocksDbWeight::get().reads(109_u64)) + // Measured: `1431` + // Estimated: `6196` + // Minimum execution time: 136_034_000 picoseconds. + Weight::from_parts(137_189_000, 6196) + .saturating_add(RocksDbWeight::get().reads(10_u64)) .saturating_add(RocksDbWeight::get().writes(10_u64)) } } diff --git a/runtime/hydradx/src/weights/pallet_democracy.rs b/runtime/hydradx/src/weights/pallet_democracy.rs index b9aec57d7..4c1ad0cb3 100644 --- a/runtime/hydradx/src/weights/pallet_democracy.rs +++ b/runtime/hydradx/src/weights/pallet_democracy.rs @@ -18,27 +18,25 @@ //! Autogenerated weights for `pallet_democracy` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-05-25, STEPS: `5`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-05-29, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: -// ./target/release/hydradx +// target/release/hydradx // benchmark // pallet -// --pallet=pallet-democracy +// --chain=dev +// --steps=10 +// --repeat=30 // --wasm-execution=compiled // --heap-pages=4096 -// --chain=dev +// --template=scripts/pallet-weight-template.hbs +// --pallet=pallet-democracy +// --output=weights/democracy.rs // --extrinsic=* -// --steps=5 -// --repeat=20 -// --output -// democracy.rs -// --template -// .maintain/pallet-weight-template-no-back.hbs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -66,10 +64,10 @@ impl pallet_democracy::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `4688` // Estimated: `18187` - // Minimum execution time: 50_527_000 picoseconds. - Weight::from_parts(51_295_000, 18187) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(3)) + // Minimum execution time: 41_701_000 picoseconds. + Weight::from_parts(42_235_000, 18187) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } /// Storage: `Democracy::DepositOf` (r:1 w:1) /// Proof: `Democracy::DepositOf` (`max_values`: None, `max_size`: Some(3230), added: 5705, mode: `MaxEncodedLen`) @@ -77,10 +75,10 @@ impl pallet_democracy::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `3443` // Estimated: `6695` - // Minimum execution time: 45_099_000 picoseconds. - Weight::from_parts(46_045_000, 6695) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 39_489_000 picoseconds. + Weight::from_parts(40_100_000, 6695) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Democracy::ReferendumInfoOf` (r:100 w:1) /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) @@ -100,10 +98,10 @@ impl pallet_democracy::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `15343` // Estimated: `268590` - // Minimum execution time: 426_463_000 picoseconds. - Weight::from_parts(429_976_000, 268590) - .saturating_add(T::DbWeight::get().reads(107)) - .saturating_add(T::DbWeight::get().writes(5)) + // Minimum execution time: 415_574_000 picoseconds. + Weight::from_parts(419_090_000, 268590) + .saturating_add(T::DbWeight::get().reads(107_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) } /// Storage: `Democracy::ReferendumInfoOf` (r:100 w:1) /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) @@ -123,10 +121,10 @@ impl pallet_democracy::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `15365` // Estimated: `268590` - // Minimum execution time: 425_272_000 picoseconds. - Weight::from_parts(429_892_000, 268590) - .saturating_add(T::DbWeight::get().reads(107)) - .saturating_add(T::DbWeight::get().writes(5)) + // Minimum execution time: 415_249_000 picoseconds. + Weight::from_parts(422_003_000, 268590) + .saturating_add(T::DbWeight::get().reads(107_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) } /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) @@ -138,10 +136,10 @@ impl pallet_democracy::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `249` // Estimated: `3666` - // Minimum execution time: 33_659_000 picoseconds. - Weight::from_parts(34_179_000, 3666) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(3)) + // Minimum execution time: 27_483_000 picoseconds. + Weight::from_parts(28_007_000, 3666) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } /// Storage: `Democracy::PublicProps` (r:1 w:1) /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) @@ -161,10 +159,10 @@ impl pallet_democracy::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `6191` // Estimated: `18187` - // Minimum execution time: 126_645_000 picoseconds. - Weight::from_parts(127_366_000, 18187) - .saturating_add(T::DbWeight::get().reads(9)) - .saturating_add(T::DbWeight::get().writes(8)) + // Minimum execution time: 107_718_000 picoseconds. + Weight::from_parts(108_453_000, 18187) + .saturating_add(T::DbWeight::get().reads(9_u64)) + .saturating_add(T::DbWeight::get().writes(8_u64)) } /// Storage: `Democracy::NextExternal` (r:1 w:1) /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) @@ -174,10 +172,10 @@ impl pallet_democracy::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `3276` // Estimated: `6703` - // Minimum execution time: 15_098_000 picoseconds. - Weight::from_parts(15_379_000, 6703) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 13_141_000 picoseconds. + Weight::from_parts(13_507_000, 6703) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Democracy::NextExternal` (r:0 w:1) /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) @@ -185,9 +183,9 @@ impl pallet_democracy::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_201_000 picoseconds. - Weight::from_parts(5_361_000, 0) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 3_720_000 picoseconds. + Weight::from_parts(3_904_000, 0) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Democracy::NextExternal` (r:0 w:1) /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) @@ -195,9 +193,9 @@ impl pallet_democracy::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_258_000 picoseconds. - Weight::from_parts(5_480_000, 0) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 3_862_000 picoseconds. + Weight::from_parts(4_053_000, 0) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Democracy::NextExternal` (r:1 w:1) /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) @@ -211,10 +209,10 @@ impl pallet_democracy::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `147` // Estimated: `3518` - // Minimum execution time: 33_763_000 picoseconds. - Weight::from_parts(34_266_000, 3518) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(5)) + // Minimum execution time: 25_432_000 picoseconds. + Weight::from_parts(25_892_000, 3518) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) } /// Storage: `Democracy::NextExternal` (r:1 w:1) /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) @@ -226,10 +224,10 @@ impl pallet_democracy::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `3377` // Estimated: `6703` - // Minimum execution time: 35_851_000 picoseconds. - Weight::from_parts(36_523_000, 6703) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(3)) + // Minimum execution time: 28_422_000 picoseconds. + Weight::from_parts(28_931_000, 6703) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } /// Storage: `Democracy::PublicProps` (r:1 w:1) /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) @@ -243,10 +241,10 @@ impl pallet_democracy::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `6076` // Estimated: `18187` - // Minimum execution time: 103_076_000 picoseconds. - Weight::from_parts(103_818_000, 18187) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(5)) + // Minimum execution time: 87_703_000 picoseconds. + Weight::from_parts(88_416_000, 18187) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) } /// Storage: `Democracy::MetadataOf` (r:1 w:1) /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) @@ -256,10 +254,10 @@ impl pallet_democracy::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `181` // Estimated: `3518` - // Minimum execution time: 25_877_000 picoseconds. - Weight::from_parts(26_184_000, 3518) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 20_107_000 picoseconds. + Weight::from_parts(20_377_000, 3518) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `Democracy::LowestUnbaked` (r:1 w:1) /// Proof: `Democracy::LowestUnbaked` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) @@ -270,13 +268,13 @@ impl pallet_democracy::WeightInfo for HydraWeight { /// The range of component `r` is `[0, 99]`. fn on_initialize_base(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `108 + r * (86 ±0)` + // Measured: `125 + r * (86 ±0)` // Estimated: `1489 + r * (2676 ±0)` - // Minimum execution time: 5_855_000 picoseconds. - Weight::from_parts(8_300_318, 1489) - // Standard Error: 14_328 - .saturating_add(Weight::from_parts(3_304_411, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(2)) + // Minimum execution time: 3_840_000 picoseconds. + Weight::from_parts(7_774_936, 1489) + // Standard Error: 9_193 + .saturating_add(Weight::from_parts(3_259_471, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) @@ -296,13 +294,13 @@ impl pallet_democracy::WeightInfo for HydraWeight { /// The range of component `r` is `[0, 99]`. fn on_initialize_base_with_launch_period(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `108 + r * (86 ±0)` + // Measured: `125 + r * (86 ±0)` // Estimated: `18187 + r * (2676 ±0)` - // Minimum execution time: 10_208_000 picoseconds. - Weight::from_parts(12_634_279, 18187) - // Standard Error: 14_516 - .saturating_add(Weight::from_parts(3_326_229, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(5)) + // Minimum execution time: 6_495_000 picoseconds. + Weight::from_parts(10_267_498, 18187) + // Standard Error: 9_509 + .saturating_add(Weight::from_parts(3_264_278, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) @@ -318,13 +316,13 @@ impl pallet_democracy::WeightInfo for HydraWeight { /// The range of component `r` is `[0, 99]`. fn delegate(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `658 + r * (108 ±0)` + // Measured: `677 + r * (108 ±0)` // Estimated: `19800 + r * (2676 ±0)` - // Minimum execution time: 50_071_000 picoseconds. - Weight::from_parts(52_010_011, 19800) - // Standard Error: 17_101 - .saturating_add(Weight::from_parts(4_250_107, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(5)) + // Minimum execution time: 43_812_000 picoseconds. + Weight::from_parts(46_935_837, 19800) + // Standard Error: 11_136 + .saturating_add(Weight::from_parts(4_198_915, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(4_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) @@ -337,13 +335,13 @@ impl pallet_democracy::WeightInfo for HydraWeight { /// The range of component `r` is `[0, 99]`. fn undelegate(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `356 + r * (108 ±0)` + // Measured: `373 + r * (108 ±0)` // Estimated: `13530 + r * (2676 ±0)` - // Minimum execution time: 24_466_000 picoseconds. - Weight::from_parts(25_636_550, 13530) - // Standard Error: 10_634 - .saturating_add(Weight::from_parts(4_222_922, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(2)) + // Minimum execution time: 20_720_000 picoseconds. + Weight::from_parts(20_631_640, 13530) + // Standard Error: 8_748 + .saturating_add(Weight::from_parts(4_193_472, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) @@ -355,9 +353,9 @@ impl pallet_democracy::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_113_000 picoseconds. - Weight::from_parts(5_199_000, 0) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 4_235_000 picoseconds. + Weight::from_parts(4_396_000, 0) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Democracy::VotingOf` (r:1 w:1) /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) @@ -372,12 +370,12 @@ impl pallet_democracy::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `432` // Estimated: `7260` - // Minimum execution time: 29_581_000 picoseconds. - Weight::from_parts(36_996_886, 7260) - // Standard Error: 20_361 - .saturating_add(Weight::from_parts(151_394, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(3)) + // Minimum execution time: 26_209_000 picoseconds. + Weight::from_parts(35_136_293, 7260) + // Standard Error: 8_398 + .saturating_add(Weight::from_parts(78_899, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } /// Storage: `Democracy::VotingOf` (r:1 w:1) /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) @@ -390,14 +388,14 @@ impl pallet_democracy::WeightInfo for HydraWeight { /// The range of component `r` is `[0, 99]`. fn unlock_set(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `433 + r * (22 ±0)` + // Measured: `432 + r * (22 ±0)` // Estimated: `7260` - // Minimum execution time: 44_527_000 picoseconds. - Weight::from_parts(45_266_020, 7260) - // Standard Error: 2_210 - .saturating_add(Weight::from_parts(33_482, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(3)) + // Minimum execution time: 37_733_000 picoseconds. + Weight::from_parts(38_316_728, 7260) + // Standard Error: 1_094 + .saturating_add(Weight::from_parts(52_536, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) @@ -414,14 +412,14 @@ impl pallet_democracy::WeightInfo for HydraWeight { /// The range of component `r` is `[1, 100]`. fn remove_vote(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1357 + r * (49 ±0)` + // Measured: `1503 + r * (46 ±0)` // Estimated: `7260` - // Minimum execution time: 48_374_000 picoseconds. - Weight::from_parts(50_088_430, 7260) - // Standard Error: 6_689 - .saturating_add(Weight::from_parts(153_944, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(7)) - .saturating_add(T::DbWeight::get().writes(4)) + // Minimum execution time: 48_213_000 picoseconds. + Weight::from_parts(51_366_745, 7260) + // Standard Error: 4_640 + .saturating_add(Weight::from_parts(131_667, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(7_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) } /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) @@ -438,14 +436,14 @@ impl pallet_democracy::WeightInfo for HydraWeight { /// The range of component `r` is `[1, 100]`. fn remove_other_vote(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1357 + r * (49 ±0)` + // Measured: `1503 + r * (46 ±0)` // Estimated: `7260` - // Minimum execution time: 48_503_000 picoseconds. - Weight::from_parts(50_287_183, 7260) - // Standard Error: 7_659 - .saturating_add(Weight::from_parts(148_784, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(7)) - .saturating_add(T::DbWeight::get().writes(4)) + // Minimum execution time: 48_122_000 picoseconds. + Weight::from_parts(51_591_726, 7260) + // Standard Error: 4_962 + .saturating_add(Weight::from_parts(133_813, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(7_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) } /// Storage: `Democracy::NextExternal` (r:1 w:0) /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) @@ -459,10 +457,10 @@ impl pallet_democracy::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `287` // Estimated: `3556` - // Minimum execution time: 22_206_000 picoseconds. - Weight::from_parts(22_814_000, 3556) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 20_454_000 picoseconds. + Weight::from_parts(20_805_000, 3556) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Democracy::NextExternal` (r:1 w:0) /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) @@ -472,10 +470,10 @@ impl pallet_democracy::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `147` // Estimated: `3518` - // Minimum execution time: 20_103_000 picoseconds. - Weight::from_parts(20_369_000, 3518) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 16_223_000 picoseconds. + Weight::from_parts(16_478_000, 3518) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Democracy::PublicProps` (r:1 w:0) /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) @@ -489,10 +487,10 @@ impl pallet_democracy::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `4842` // Estimated: `18187` - // Minimum execution time: 44_452_000 picoseconds. - Weight::from_parts(44_885_000, 18187) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 42_358_000 picoseconds. + Weight::from_parts(42_867_000, 18187) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Democracy::PublicProps` (r:1 w:0) /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) @@ -502,10 +500,10 @@ impl pallet_democracy::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `4706` // Estimated: `18187` - // Minimum execution time: 41_016_000 picoseconds. - Weight::from_parts(41_785_000, 18187) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 37_064_000 picoseconds. + Weight::from_parts(37_477_000, 18187) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Preimage::StatusFor` (r:1 w:0) /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) @@ -517,10 +515,10 @@ impl pallet_democracy::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `211` // Estimated: `3556` - // Minimum execution time: 19_472_000 picoseconds. - Weight::from_parts(20_015_000, 3556) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 18_290_000 picoseconds. + Weight::from_parts(18_660_000, 3556) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:0) /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) @@ -530,9 +528,9 @@ impl pallet_democracy::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `159` // Estimated: `3666` - // Minimum execution time: 22_448_000 picoseconds. - Weight::from_parts(22_700_000, 3666) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 18_955_000 picoseconds. + Weight::from_parts(19_323_000, 3666) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } } \ No newline at end of file diff --git a/runtime/hydradx/src/weights/pallet_staking.rs b/runtime/hydradx/src/weights/pallet_staking.rs index f26f1d7b6..76fe85383 100644 --- a/runtime/hydradx/src/weights/pallet_staking.rs +++ b/runtime/hydradx/src/weights/pallet_staking.rs @@ -18,27 +18,25 @@ //! Autogenerated weights for `pallet_staking` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2024-05-28, STEPS: `5`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-05-29, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: -// ./target/release/hydradx +// target/release/hydradx // benchmark // pallet -// --pallet=pallet-staking +// --chain=dev +// --steps=10 +// --repeat=30 // --wasm-execution=compiled // --heap-pages=4096 -// --chain=dev +// --template=scripts/pallet-weight-template.hbs +// --pallet=pallet-staking +// --output=weights/staking.rs // --extrinsic=* -// --steps=5 -// --repeat=20 -// --output -// staking.rs -// --template -// .maintain/pallet-weight-template-no-back.hbs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -66,10 +64,10 @@ impl pallet_staking::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `516` // Estimated: `3655` - // Minimum execution time: 44_025_000 picoseconds. - Weight::from_parts(44_526_000, 3655) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(3)) + // Minimum execution time: 34_969_000 picoseconds. + Weight::from_parts(35_577_000, 3655) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } /// Storage: `Staking::Staking` (r:1 w:1) /// Proof: `Staking::Staking` (`max_values`: Some(1), `max_size`: Some(48), added: 543, mode: `MaxEncodedLen`) @@ -95,10 +93,10 @@ impl pallet_staking::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `1274` // Estimated: `6196` - // Minimum execution time: 107_700_000 picoseconds. - Weight::from_parts(108_591_000, 6196) - .saturating_add(T::DbWeight::get().reads(10)) - .saturating_add(T::DbWeight::get().writes(8)) + // Minimum execution time: 89_837_000 picoseconds. + Weight::from_parts(90_522_000, 6196) + .saturating_add(T::DbWeight::get().reads(10_u64)) + .saturating_add(T::DbWeight::get().writes(8_u64)) } /// Storage: `Staking::Staking` (r:1 w:1) /// Proof: `Staking::Staking` (`max_values`: Some(1), `max_size`: Some(48), added: 543, mode: `MaxEncodedLen`) @@ -122,10 +120,10 @@ impl pallet_staking::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `3379` // Estimated: `268590` - // Minimum execution time: 278_610_000 picoseconds. - Weight::from_parts(281_290_000, 268590) - .saturating_add(T::DbWeight::get().reads(109)) - .saturating_add(T::DbWeight::get().writes(6)) + // Minimum execution time: 260_523_000 picoseconds. + Weight::from_parts(264_621_000, 268590) + .saturating_add(T::DbWeight::get().reads(109_u64)) + .saturating_add(T::DbWeight::get().writes(6_u64)) } /// Storage: `Staking::Staking` (r:1 w:1) /// Proof: `Staking::Staking` (`max_values`: Some(1), `max_size`: Some(48), added: 543, mode: `MaxEncodedLen`) @@ -149,10 +147,10 @@ impl pallet_staking::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `3379` // Estimated: `268590` - // Minimum execution time: 271_066_000 picoseconds. - Weight::from_parts(273_326_000, 268590) - .saturating_add(T::DbWeight::get().reads(109)) - .saturating_add(T::DbWeight::get().writes(6)) + // Minimum execution time: 256_924_000 picoseconds. + Weight::from_parts(260_188_000, 268590) + .saturating_add(T::DbWeight::get().reads(109_u64)) + .saturating_add(T::DbWeight::get().writes(6_u64)) } /// Storage: `Staking::Staking` (r:1 w:1) /// Proof: `Staking::Staking` (`max_values`: Some(1), `max_size`: Some(48), added: 543, mode: `MaxEncodedLen`) @@ -180,9 +178,9 @@ impl pallet_staking::WeightInfo for HydraWeight { // Proof Size summary in bytes: // Measured: `1431` // Estimated: `6196` - // Minimum execution time: 160_374_000 picoseconds. - Weight::from_parts(161_515_000, 6196) - .saturating_add(T::DbWeight::get().reads(10)) - .saturating_add(T::DbWeight::get().writes(10)) + // Minimum execution time: 136_034_000 picoseconds. + Weight::from_parts(137_189_000, 6196) + .saturating_add(T::DbWeight::get().reads(10_u64)) + .saturating_add(T::DbWeight::get().writes(10_u64)) } } \ No newline at end of file From f1821f84b6edb45a878d40319f25b75709c80efa Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Wed, 29 May 2024 20:15:18 +0200 Subject: [PATCH 077/105] formatting --- pallets/staking/src/weights.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/pallets/staking/src/weights.rs b/pallets/staking/src/weights.rs index 77945f075..46c45c092 100644 --- a/pallets/staking/src/weights.rs +++ b/pallets/staking/src/weights.rs @@ -15,7 +15,6 @@ // See the License for the specific language governing permissions and // limitations under the License. - //! Autogenerated weights for `pallet_staking` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 From 785e5fe56cb256bc7b5f6cb2b18b6f3dfa75e67f Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Wed, 29 May 2024 20:16:09 +0200 Subject: [PATCH 078/105] bump runtime version --- Cargo.lock | 2 +- runtime/hydradx/Cargo.toml | 2 +- runtime/hydradx/src/lib.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 83849ee68..6ec643680 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4911,7 +4911,7 @@ dependencies = [ [[package]] name = "hydradx-runtime" -version = "240.0.0" +version = "241.0.0" dependencies = [ "cumulus-pallet-aura-ext", "cumulus-pallet-parachain-system", diff --git a/runtime/hydradx/Cargo.toml b/runtime/hydradx/Cargo.toml index 00a2048b2..e0b744c86 100644 --- a/runtime/hydradx/Cargo.toml +++ b/runtime/hydradx/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hydradx-runtime" -version = "240.0.0" +version = "241.0.0" authors = ["GalacticCouncil"] edition = "2021" license = "Apache 2.0" diff --git a/runtime/hydradx/src/lib.rs b/runtime/hydradx/src/lib.rs index 6169efa41..9545e66da 100644 --- a/runtime/hydradx/src/lib.rs +++ b/runtime/hydradx/src/lib.rs @@ -107,7 +107,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("hydradx"), impl_name: create_runtime_str!("hydradx"), authoring_version: 1, - spec_version: 240, + spec_version: 241, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 1, From 506c8d34754bb32bfe5fdec2f3601b52a7ee2da3 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Thu, 30 May 2024 00:25:05 +0200 Subject: [PATCH 079/105] bump runtime version --- Cargo.lock | 2 +- runtime/hydradx/Cargo.toml | 2 +- runtime/hydradx/src/lib.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 6ec643680..1cf171b7d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4911,7 +4911,7 @@ dependencies = [ [[package]] name = "hydradx-runtime" -version = "241.0.0" +version = "242.0.0" dependencies = [ "cumulus-pallet-aura-ext", "cumulus-pallet-parachain-system", diff --git a/runtime/hydradx/Cargo.toml b/runtime/hydradx/Cargo.toml index e0b744c86..7014837dc 100644 --- a/runtime/hydradx/Cargo.toml +++ b/runtime/hydradx/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hydradx-runtime" -version = "241.0.0" +version = "242.0.0" authors = ["GalacticCouncil"] edition = "2021" license = "Apache 2.0" diff --git a/runtime/hydradx/src/lib.rs b/runtime/hydradx/src/lib.rs index 9545e66da..7aabd862d 100644 --- a/runtime/hydradx/src/lib.rs +++ b/runtime/hydradx/src/lib.rs @@ -107,7 +107,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("hydradx"), impl_name: create_runtime_str!("hydradx"), authoring_version: 1, - spec_version: 241, + spec_version: 242, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 1, From f4874c945de1bd402fb25b97ac7d2afda8da9536 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Thu, 30 May 2024 14:25:07 +0200 Subject: [PATCH 080/105] isntall m4 in gh workflow --- .github/workflows/tests.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 975fafe90..6da43508b 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -26,6 +26,8 @@ jobs: uses: codota/toolchain@00a8bf2bdcfe93aefd70422d3dec07337959d3a4 with: profile: minimal + - name: Install m4 + run: sudo apt install m4 - name: Run tests run: make test-release - name: Build release From 7bfd6cef28757ab5f3db217a01e33a7764d357c7 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Thu, 30 May 2024 14:36:44 +0200 Subject: [PATCH 081/105] Revert "isntall m4 in gh workflow" This reverts commit f4874c945de1bd402fb25b97ac7d2afda8da9536. --- .github/workflows/tests.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 6da43508b..975fafe90 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -26,8 +26,6 @@ jobs: uses: codota/toolchain@00a8bf2bdcfe93aefd70422d3dec07337959d3a4 with: profile: minimal - - name: Install m4 - run: sudo apt install m4 - name: Run tests run: make test-release - name: Build release From 78e301b0985f7f06ba954464fd64135b25029651 Mon Sep 17 00:00:00 2001 From: Martin Hloska Date: Thu, 30 May 2024 16:56:04 +0200 Subject: [PATCH 082/105] add rust component' --- rust-toolchain | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust-toolchain b/rust-toolchain index dacd22ff5..fa4029d55 100644 --- a/rust-toolchain +++ b/rust-toolchain @@ -1,5 +1,5 @@ [toolchain] channel = "1.75.0" -components = [ "rustfmt", "clippy" ] +components = [ "rustfmt", "clippy", "rust-src" ] targets = [ "wasm32-unknown-unknown" ] profile = "minimal" From 7f87fbbc4420a93df395269b016808c11ca9cbb2 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Tue, 4 Jun 2024 15:52:16 +0200 Subject: [PATCH 083/105] use HoldConsideration in preimage config --- runtime/hydradx/Cargo.toml | 1 + runtime/hydradx/src/governance.rs | 10 ++++------ 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/runtime/hydradx/Cargo.toml b/runtime/hydradx/Cargo.toml index 7014837dc..819b0fcc9 100644 --- a/runtime/hydradx/Cargo.toml +++ b/runtime/hydradx/Cargo.toml @@ -307,6 +307,7 @@ std = [ "pallet-evm-precompile-modexp/std", "pallet-evm-precompile-bn128/std", "pallet-evm-precompile-blake2/std", + "pallet-evm-precompile-call-permit/std", "pallet-xyk/std", "pallet-referrals/std", "pallet-evm-accounts/std", diff --git a/runtime/hydradx/src/governance.rs b/runtime/hydradx/src/governance.rs index 31465ec1e..bf031a5a8 100644 --- a/runtime/hydradx/src/governance.rs +++ b/runtime/hydradx/src/governance.rs @@ -24,7 +24,10 @@ use primitives::constants::{ use frame_support::{ parameter_types, sp_runtime::{Perbill, Percent, Permill}, - traits::{tokens::UnityAssetBalanceConversion, ConstU32, EitherOfDiverse, LockIdentifier, PrivilegeCmp}, + traits::{ + fungible::HoldConsideration, tokens::UnityAssetBalanceConversion, ConstU32, EitherOfDiverse, + LinearStoragePrice, LockIdentifier, PrivilegeCmp, + }, PalletId, }; use frame_system::{EnsureRoot, EnsureSigned}; @@ -143,17 +146,12 @@ impl pallet_preimage::Config for Runtime { type WeightInfo = weights::pallet_preimage::HydraWeight; type Currency = Balances; type ManagerOrigin = EnsureRoot; - type Consideration = (); - //TODO: check this - this does not compile for some reason - /* type Consideration = HoldConsideration< AccountId, Balances, PreimageHoldReason, LinearStoragePrice, >; - - */ } /// Used the compare the privilege of an origin inside the scheduler. From e37707a315e47bdf93f23b2d713129c1bd4fb16e Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Thu, 6 Jun 2024 14:03:14 +0200 Subject: [PATCH 084/105] replace deprecated from_genesis with genesis builder --- Cargo.lock | 6 +- Cargo.toml | 2 + node/Cargo.toml | 3 +- node/src/chain_spec/local.rs | 250 ++++++++++++++++----------------- node/src/chain_spec/mod.rs | 209 +++++++++++++-------------- node/src/chain_spec/rococo.rs | 216 ++++++++++++++-------------- node/src/chain_spec/staging.rs | 211 +++++++++++++--------------- runtime/hydradx/Cargo.toml | 4 +- runtime/hydradx/src/assets.rs | 4 +- runtime/hydradx/src/evm/mod.rs | 1 + runtime/hydradx/src/lib.rs | 21 ++- runtime/hydradx/src/xcm.rs | 1 + 12 files changed, 465 insertions(+), 463 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 1cf171b7d..b6295613d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4769,7 +4769,7 @@ dependencies = [ [[package]] name = "hydradx" -version = "13.0.0" +version = "13.0.1" dependencies = [ "async-trait", "clap 4.5.4", @@ -4849,6 +4849,7 @@ dependencies = [ "sp-runtime", "sp-session", "sp-state-machine", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-timestamp", "sp-transaction-pool", @@ -4911,7 +4912,7 @@ dependencies = [ [[package]] name = "hydradx-runtime" -version = "242.0.0" +version = "243.0.0" dependencies = [ "cumulus-pallet-aura-ext", "cumulus-pallet-parachain-system", @@ -5024,6 +5025,7 @@ dependencies = [ "sp-consensus-aura", "sp-core", "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", + "sp-genesis-builder", "sp-inherents", "sp-io", "sp-offchain", diff --git a/Cargo.toml b/Cargo.toml index 58ce70731..b54deac8d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -132,6 +132,7 @@ sp-api = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release sp-arithmetic = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } sp-authority-discovery = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } sp-block-builder = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +sp-genesis-builder = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } sp-blockchain = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } sp-consensus = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } sp-consensus-aura = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } @@ -347,6 +348,7 @@ sp-api = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release sp-arithmetic = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } sp-authority-discovery = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } sp-block-builder = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +sp-genesis-builder = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } sp-blockchain = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } sp-consensus = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } sp-consensus-aura = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } diff --git a/node/Cargo.toml b/node/Cargo.toml index eefbae3fd..c580fcacd 100644 --- a/node/Cargo.toml +++ b/node/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hydradx" -version = "13.0.0" +version = "13.0.1" description = "HydraDX node" authors = ["GalacticCouncil"] edition = "2021" @@ -54,6 +54,7 @@ sc-transaction-pool = { workspace = true } sc-transaction-pool-api = { workspace = true } sc-sysinfo = { workspace = true } sp-api = { workspace = true } +sp-std = { workspace = true } sp-block-builder = { workspace = true } sp-blockchain = { workspace = true } sp-consensus = { workspace = true } diff --git a/node/src/chain_spec/local.rs b/node/src/chain_spec/local.rs index 073250c3d..af7c434bd 100644 --- a/node/src/chain_spec/local.rs +++ b/node/src/chain_spec/local.rs @@ -10,142 +10,134 @@ pub fn parachain_config() -> Result { properties.insert("tokenDecimals".into(), TOKEN_DECIMALS.into()); properties.insert("tokenSymbol".into(), TOKEN_SYMBOL.into()); - #[allow(deprecated)] - Ok(ChainSpec::from_genesis( - // Name - "HydraDX Local Testnet", - // ID - "local_testnet", - ChainType::Local, - move || { - parachain_genesis( - // Sudo account - get_account_id_from_seed::("Alice"), - // initial authorities & invulnerables + let genesis_json = parachain_genesis( + // Sudo account + get_account_id_from_seed::("Alice"), + // initial authorities & invulnerables + ( + vec![ ( - vec![ - ( - get_account_id_from_seed::("Alice"), - get_from_seed::("Alice"), - ), - ( - get_account_id_from_seed::("Bob"), - get_from_seed::("Bob"), - ), - ], - // candidacy bond - 10_000 * UNITS, - ), - // Pre-funded accounts - vec![ - (get_account_id_from_seed::("Alice"), INITIAL_BALANCE), - (get_account_id_from_seed::("Bob"), INITIAL_BALANCE), - (get_account_id_from_seed::("Charlie"), INITIAL_BALANCE), - (get_account_id_from_seed::("Dave"), INITIAL_BALANCE), - (get_account_id_from_seed::("Eve"), INITIAL_BALANCE), - (get_account_id_from_seed::("Ferdie"), INITIAL_BALANCE), - ( - get_account_id_from_seed::("Alice//stash"), - INITIAL_BALANCE, - ), - ( - get_account_id_from_seed::("Bob//stash"), - INITIAL_BALANCE, - ), - ( - get_account_id_from_seed::("Charlie//stash"), - INITIAL_BALANCE, - ), - ( - get_account_id_from_seed::("Dave//stash"), - INITIAL_BALANCE, - ), - ( - get_account_id_from_seed::("Eve//stash"), - INITIAL_BALANCE, - ), - ( - get_account_id_from_seed::("Ferdie//stash"), - INITIAL_BALANCE, - ), - ], - // council members - vec![get_account_id_from_seed::("Alice")], - // technical committee members - vec![ get_account_id_from_seed::("Alice"), + get_from_seed::("Alice"), + ), + ( get_account_id_from_seed::("Bob"), - get_account_id_from_seed::("Eve"), - ], - // vestings - vec![], - // registered assets - vec![ - ( - Some(1), - Some(b"KSM".to_vec().try_into().expect("Name is too long")), - 1_000u128, - None, - None, - None, - true, - ), - ( - Some(2), - Some(b"KUSD".to_vec().try_into().expect("Name is too long")), - 1_000u128, - None, - None, - None, - true, - ), - ], - // accepted assets - vec![(1, Price::from_float(0.0000212)), (2, Price::from_float(0.000806))], - // token balances - vec![ - ( - get_account_id_from_seed::("Alice"), - vec![(1, INITIAL_TOKEN_BALANCE), (2, INITIAL_TOKEN_BALANCE)], - ), - ( - get_account_id_from_seed::("Bob"), - vec![(1, INITIAL_TOKEN_BALANCE), (2, INITIAL_TOKEN_BALANCE)], - ), - ], - // claims data - create_testnet_claims(), - // elections - vec![ - (get_account_id_from_seed::("Alice"), STASH / 5), - (get_account_id_from_seed::("Bob"), STASH / 5), - (get_account_id_from_seed::("Eve"), STASH / 5), - ], - // parachain ID - PARA_ID.into(), - DusterConfig { - account_blacklist: vec![get_account_id_from_seed::("Duster")], - reward_account: Some(get_account_id_from_seed::("Duster")), - dust_account: Some(get_account_id_from_seed::("Duster")), - }, - ) - }, - // Bootnodes + get_from_seed::("Bob"), + ), + ], + // candidacy bond + 10_000 * UNITS, + ), + // Pre-funded accounts + vec![ + (get_account_id_from_seed::("Alice"), INITIAL_BALANCE), + (get_account_id_from_seed::("Bob"), INITIAL_BALANCE), + (get_account_id_from_seed::("Charlie"), INITIAL_BALANCE), + (get_account_id_from_seed::("Dave"), INITIAL_BALANCE), + (get_account_id_from_seed::("Eve"), INITIAL_BALANCE), + (get_account_id_from_seed::("Ferdie"), INITIAL_BALANCE), + ( + get_account_id_from_seed::("Alice//stash"), + INITIAL_BALANCE, + ), + ( + get_account_id_from_seed::("Bob//stash"), + INITIAL_BALANCE, + ), + ( + get_account_id_from_seed::("Charlie//stash"), + INITIAL_BALANCE, + ), + ( + get_account_id_from_seed::("Dave//stash"), + INITIAL_BALANCE, + ), + ( + get_account_id_from_seed::("Eve//stash"), + INITIAL_BALANCE, + ), + ( + get_account_id_from_seed::("Ferdie//stash"), + INITIAL_BALANCE, + ), + ], + // council members + vec![get_account_id_from_seed::("Alice")], + // technical committee members + vec![ + get_account_id_from_seed::("Alice"), + get_account_id_from_seed::("Bob"), + get_account_id_from_seed::("Eve"), + ], + // vestings vec![], - // Telemetry - None, - // Protocol ID - Some(PROTOCOL_ID), - // Fork ID - None, - // Properties - Some(properties), - // Extensions + // registered assets + vec![ + ( + Some(1), + Some(b"KSM".to_vec().try_into().expect("Name is too long")), + 1_000u128, + None, + None, + None, + true, + ), + ( + Some(2), + Some(b"KUSD".to_vec().try_into().expect("Name is too long")), + 1_000u128, + None, + None, + None, + true, + ), + ], + // accepted assets + vec![(1, Price::from_float(0.0000212)), (2, Price::from_float(0.000806))], + // token balances + vec![ + ( + get_account_id_from_seed::("Alice"), + vec![(1, INITIAL_TOKEN_BALANCE), (2, INITIAL_TOKEN_BALANCE)], + ), + ( + get_account_id_from_seed::("Bob"), + vec![(1, INITIAL_TOKEN_BALANCE), (2, INITIAL_TOKEN_BALANCE)], + ), + ], + // claims data + create_testnet_claims(), + // elections + vec![ + (get_account_id_from_seed::("Alice"), STASH / 5), + (get_account_id_from_seed::("Bob"), STASH / 5), + (get_account_id_from_seed::("Eve"), STASH / 5), + ], + // parachain ID + PARA_ID.into(), + DusterConfig { + account_blacklist: vec![get_account_id_from_seed::("Duster")], + reward_account: Some(get_account_id_from_seed::("Duster")), + dust_account: Some(get_account_id_from_seed::("Duster")), + }, + ); + + let chain_spec = ChainSpec::builder( + wasm_binary, Extensions { relay_chain: "rococo-local".into(), para_id: PARA_ID, evm_since: 1, }, - wasm_binary, - )) + ) + .with_name("HydraDX Local Testnet") + .with_id("local_testnet") + .with_chain_type(ChainType::Local) + .with_boot_nodes(vec![]) + .with_properties(properties) + .with_protocol_id(PROTOCOL_ID) + .with_genesis_config_patch(genesis_json) + .build(); + + Ok(chain_spec) } diff --git a/node/src/chain_spec/mod.rs b/node/src/chain_spec/mod.rs index de14599aa..d0ba40231 100644 --- a/node/src/chain_spec/mod.rs +++ b/node/src/chain_spec/mod.rs @@ -28,10 +28,8 @@ pub mod staging; use cumulus_primitives_core::ParaId; use hex_literal::hex; use hydradx_runtime::{ - pallet_claims::EthereumAddress, AccountId, AssetRegistryConfig, AuraId, Balance, BalancesConfig, ClaimsConfig, - CollatorSelectionConfig, CouncilConfig, DusterConfig, ElectionsConfig, GenesisHistoryConfig, - MultiTransactionPaymentConfig, ParachainInfoConfig, RegistryStrLimit, RuntimeGenesisConfig, SessionConfig, - Signature, SystemConfig, TechnicalCommitteeConfig, TokensConfig, VestingConfig, WASM_BINARY, + pallet_claims::EthereumAddress, AccountId, AuraId, Balance, DusterConfig, RegistryStrLimit, RuntimeGenesisConfig, + Signature, WASM_BINARY, }; use primitives::{ constants::currency::{NATIVE_EXISTENTIAL_DEPOSIT, UNITS}, @@ -115,108 +113,115 @@ pub fn parachain_genesis( elections: Vec<(AccountId, Balance)>, parachain_id: ParaId, duster: DusterConfig, -) -> RuntimeGenesisConfig { - RuntimeGenesisConfig { - system: SystemConfig { - // Add Wasm runtime to storage. - ..Default::default() - }, - session: SessionConfig { - keys: initial_authorities - .0 +) -> serde_json::Value { + serde_json::json!({ + "system": {}, + "session": { + "keys": initial_authorities + .0 + .iter() + .cloned() + .map(|(acc, aura)| { + ( + acc.clone(), // account id + acc, // validator id + hydradx_runtime::opaque::SessionKeys { aura }, // session keys + ) + }) + .collect::>(), + }, + "aura": { + "authorities": Vec::::new() + }, + "collatorSelection": { + "invulnerables": initial_authorities.0.iter().cloned().map(|(acc, _)| acc).collect::>(), + "candidacyBond": initial_authorities.1, + "desiredCandidates": 0u32, + }, + "balances": { + "balances": endowed_accounts + .iter() + .cloned() + .map(|k| (k.0.clone(), k.1 * UNITS)) + .collect::>(), + }, + "council": { + "members": council_members, + }, + "technicalCommittee": { + "members": tech_committee_members, + }, + "vesting": { "vesting": vesting_list }, + "assetRegistry": { + "registeredAssets": registered_assets.clone(), + "nativeAssetName": as TryInto>>::try_into(TOKEN_SYMBOL.as_bytes().to_vec()) + .expect("Native asset name is too long."), + "nativeExistentialDeposit": NATIVE_EXISTENTIAL_DEPOSIT, + "nativeSymbol": as TryInto>>::try_into(TOKEN_SYMBOL.as_bytes().to_vec()) + .expect("Native symbol is too long."), + "nativeDecimals": TOKEN_DECIMALS, + }, + "multiTransactionPayment": { + "currencies": accepted_assets, + "accountCurrencies": Vec::<(AccountId, AssetId)>::new(), + }, + "tokens": { + "balances": if registered_assets.is_empty() { + vec![] + } else { + token_balances .iter() - .cloned() - .map(|(acc, aura)| { - ( - acc.clone(), // account id - acc, // validator id - hydradx_runtime::opaque::SessionKeys { aura }, // session keys - ) + .flat_map(|x| { + x.1.clone() + .into_iter() + .map(|(asset_id, amount)| (x.0.clone(), asset_id, amount)) }) - .collect(), - }, - // no need to pass anything, it will panic if we do. Session will take care - // of this. - aura: Default::default(), - collator_selection: CollatorSelectionConfig { - invulnerables: initial_authorities.0.iter().cloned().map(|(acc, _)| acc).collect(), - candidacy_bond: initial_authorities.1, - ..Default::default() - }, - balances: BalancesConfig { - // Configure endowed accounts with initial balance of a lot. - balances: endowed_accounts.iter().cloned().map(|k| (k.0, k.1 * UNITS)).collect(), - }, - council: CouncilConfig { - // Intergalactic council member - members: council_members, - phantom: Default::default(), - }, - technical_committee: TechnicalCommitteeConfig { - members: tech_committee_members, - phantom: Default::default(), - }, - vesting: VestingConfig { vesting: vesting_list }, - asset_registry: AssetRegistryConfig { - registered_assets: registered_assets.clone(), - native_asset_name: TOKEN_SYMBOL - .as_bytes() - .to_vec() - .try_into() - .expect("Native asset name is too long."), - native_existential_deposit: NATIVE_EXISTENTIAL_DEPOSIT, - native_symbol: TOKEN_SYMBOL - .as_bytes() - .to_vec() - .try_into() - .expect("Native symbol is too long."), - native_decimals: TOKEN_DECIMALS, - }, - multi_transaction_payment: MultiTransactionPaymentConfig { - currencies: accepted_assets, - account_currencies: vec![], - }, - tokens: TokensConfig { - balances: if registered_assets.is_empty() { - vec![] - } else { - token_balances - .iter() - .flat_map(|x| { - x.1.clone() - .into_iter() - .map(|(asset_id, amount)| (x.0.clone(), asset_id, amount)) - }) - .collect() - }, - }, - treasury: Default::default(), - elections: ElectionsConfig { - // Intergalactic elections - members: elections, - }, - - genesis_history: GenesisHistoryConfig::default(), - claims: ClaimsConfig { claims: claims_data }, - parachain_info: ParachainInfoConfig { - parachain_id, - ..Default::default() - }, - aura_ext: Default::default(), - polkadot_xcm: Default::default(), - ema_oracle: Default::default(), - duster, - omnipool_warehouse_lm: Default::default(), - omnipool_liquidity_mining: Default::default(), - evm_chain_id: hydradx_runtime::EVMChainIdConfig { - chain_id: 2_222_222u32.into(), - ..Default::default() + .collect::>() }, - ethereum: Default::default(), - evm: Default::default(), - xyk_warehouse_lm: Default::default(), - xyk_liquidity_mining: Default::default(), + }, + "treasury": { + }, + "elections": { + "members": elections, + }, + "genesisHistory": { + "previousChain": hydradx_runtime::Chain::default() + }, + "claims": { "claims": claims_data }, + "parachainInfo": { + "parachainId": parachain_id, + }, + "auraExt": { + }, + "polkadotXcm": { + "safeXcmVersion": hydradx_runtime::xcm::XcmGenesisConfig::::default().safe_xcm_version + }, + "emaOracle": { + "initialData": Vec::<(hydradx_runtime::Source, (AssetId, AssetId), Price, hydradx_runtime::Liquidity)>::new() + }, + "duster": { + "accountBlacklist": duster.account_blacklist, + "rewardAccount": duster.reward_account, + "dustAccount": duster.dust_account + }, + "omnipoolWarehouseLm": { + }, + "omnipoolLiquidityMining": { + }, + "evmChainId": { + "chainId": 2_222_222u64, + }, + "ethereum": { + }, + "evm": { + "accounts": sp_std::collections::btree_map::BTreeMap::::new() + }, + "xykWarehouseLm": { + }, + "xykLiquidityMining": { + }, } + ) } pub fn create_testnet_claims() -> Vec<(EthereumAddress, Balance)> { diff --git a/node/src/chain_spec/rococo.rs b/node/src/chain_spec/rococo.rs index 4fa72ebea..24c42689e 100644 --- a/node/src/chain_spec/rococo.rs +++ b/node/src/chain_spec/rococo.rs @@ -15,129 +15,119 @@ pub fn parachain_config() -> Result { pub fn _parachain_config_rococo() -> Result { let wasm_binary = WASM_BINARY.ok_or("Development wasm binary not available".to_string())?; + let mut properties = Map::new(); properties.insert("tokenDecimals".into(), TOKEN_DECIMALS.into()); properties.insert("tokenSymbol".into(), TOKEN_SYMBOL.into()); - #[allow(deprecated)] - Ok(ChainSpec::from_genesis( - // Name - "HydraDX testnet", - // ID - "hydra_rococo", - ChainType::Live, - move || { - parachain_genesis( - // Sudo account - // Galactic Council - // 7JcAAB6cXQxVQyVLksPUdthJwcoEGm8SW9hsNgdP6hjme5J1 - hex!["2cb1a0ef4ce819893905e3a6a8e46b652c43aee6c154921220902cabfdcfdd07"].into(), - // initial authorities & invulnerable collators + let genesis_json = parachain_genesis( + // Sudo account + // Galactic Council + // 7JcAAB6cXQxVQyVLksPUdthJwcoEGm8SW9hsNgdP6hjme5J1 + hex!["2cb1a0ef4ce819893905e3a6a8e46b652c43aee6c154921220902cabfdcfdd07"].into(), + // initial authorities & invulnerable collators + ( + vec![ ( - vec![ - ( - // 5DvFqJq182asuR9EKoBBJBGEnZwpMHvuBrYpiMdr4hS8B6Eh - hex!["5206e6a18c96bab98f459ab636226481699220cf94346d766cd1142557a2fc66"].into(), - hex!["5206e6a18c96bab98f459ab636226481699220cf94346d766cd1142557a2fc66"].unchecked_into(), - ), - ( - // 5Fbc5bQp1bHfNpx8yuTshYK1pNhBbajZyaosRNvuyM3KRiMz - hex!["9c45dc3b15cd55531cad1e4c21cacb47611be54e3da6bf5be451f5e578a68344"].into(), - hex!["9c45dc3b15cd55531cad1e4c21cacb47611be54e3da6bf5be451f5e578a68344"].unchecked_into(), - ), - ( - // 5CAP1unPwP9RnvNcJn7YSZy1A8Snv5fGebuWMU99vpaJcfjh - hex!["04540c9406af2f5bf34f948dd1c7f029892247c2e1472b7cd51c188e4e0c2f2b"].into(), - hex!["04540c9406af2f5bf34f948dd1c7f029892247c2e1472b7cd51c188e4e0c2f2b"].unchecked_into(), - ), - ( - // 5GrzdLdMFuV6ZvWQjYUhVEpZQFoSxkLboKY3xeEdEjNUPoH7 - hex!["d43ead05edb218c199fc0dfe36ec9389f509d8447e43109e1cb04305de4f9359"].into(), - hex!["d43ead05edb218c199fc0dfe36ec9389f509d8447e43109e1cb04305de4f9359"].unchecked_into(), - ), - ( - // 5G9gRv1GE8HPsjXnNm8By2SWuasTan5gU2AZm8pundyduHTM - hex!["b4bc5b99d9207ab2aadd222581809b53372e7e17c4eaa88742f3501f3044bf27"].into(), - hex!["b4bc5b99d9207ab2aadd222581809b53372e7e17c4eaa88742f3501f3044bf27"].unchecked_into(), - ), - ], - 10_000 * UNITS, + // 5DvFqJq182asuR9EKoBBJBGEnZwpMHvuBrYpiMdr4hS8B6Eh + hex!["5206e6a18c96bab98f459ab636226481699220cf94346d766cd1142557a2fc66"].into(), + hex!["5206e6a18c96bab98f459ab636226481699220cf94346d766cd1142557a2fc66"].unchecked_into(), ), - // Pre-funded accounts - vec![( - // Galactic Council - // 7JcAAB6cXQxVQyVLksPUdthJwcoEGm8SW9hsNgdP6hjme5J1 - hex!["2cb1a0ef4ce819893905e3a6a8e46b652c43aee6c154921220902cabfdcfdd07"].into(), - 1_500_000_000, - )], - // council members - // GC - same as sudo - vec![hex!["2cb1a0ef4ce819893905e3a6a8e46b652c43aee6c154921220902cabfdcfdd07"].into()], - // technical committee - // GC - same as sudo - vec![hex!["2cb1a0ef4ce819893905e3a6a8e46b652c43aee6c154921220902cabfdcfdd07"].into()], - // vestings - vec![], - // registered_assets - vec![], - // accepted_assets - vec![], - // token balances - vec![], - // claims data - Default::default(), - // elections - vec![( - hex!["2cb1a0ef4ce819893905e3a6a8e46b652c43aee6c154921220902cabfdcfdd07"].into(), - 1_200_000_000 * UNITS, - )], - // parachain ID - PARA_ID.into(), - // duster - DusterConfig { - // treasury - account_blacklist: vec![ - hex!["6d6f646c70792f74727372790000000000000000000000000000000000000000"].into() - ], - reward_account: Some( - hex!["6d6f646c70792f74727372790000000000000000000000000000000000000000"].into(), - ), - dust_account: Some(hex!["6d6f646c70792f74727372790000000000000000000000000000000000000000"].into()), - }, - ) - }, - // Bootnodes - vec![ - "/dns/rococo-hydradx-p2p01.hydration.dev/tcp/30333/p2p/12D3KooWCtBQpwnWV7yMaEyBRkcAcAej78Q2uZawk5RcDrYktVQS" - .parse() - .unwrap(), - "/dns/rococo-hydradx-p2p02.hydration.dev/tcp/30333/p2p/12D3KooWLfojmwK6cAFDhzewCjUsyzYAKrpL4Ze42D1bLo8gvS4j" - .parse() - .unwrap(), - "/dns/rococo-hydradx-p2p03.hydration.dev/tcp/30333/p2p/12D3KooWEuEVHGrntL4Anje1k9z85V7thwhgPd9WnX4EJP5i13Xc" - .parse() - .unwrap(), - ], - // Telemetry - Some( - TelemetryEndpoints::new(vec![ - (_TELEMETRY_URLS[0].to_string(), 0), - (_TELEMETRY_URLS[1].to_string(), 0), - ]) - .expect("Telemetry url is valid"), + ( + // 5Fbc5bQp1bHfNpx8yuTshYK1pNhBbajZyaosRNvuyM3KRiMz + hex!["9c45dc3b15cd55531cad1e4c21cacb47611be54e3da6bf5be451f5e578a68344"].into(), + hex!["9c45dc3b15cd55531cad1e4c21cacb47611be54e3da6bf5be451f5e578a68344"].unchecked_into(), + ), + ( + // 5CAP1unPwP9RnvNcJn7YSZy1A8Snv5fGebuWMU99vpaJcfjh + hex!["04540c9406af2f5bf34f948dd1c7f029892247c2e1472b7cd51c188e4e0c2f2b"].into(), + hex!["04540c9406af2f5bf34f948dd1c7f029892247c2e1472b7cd51c188e4e0c2f2b"].unchecked_into(), + ), + ( + // 5GrzdLdMFuV6ZvWQjYUhVEpZQFoSxkLboKY3xeEdEjNUPoH7 + hex!["d43ead05edb218c199fc0dfe36ec9389f509d8447e43109e1cb04305de4f9359"].into(), + hex!["d43ead05edb218c199fc0dfe36ec9389f509d8447e43109e1cb04305de4f9359"].unchecked_into(), + ), + ( + // 5G9gRv1GE8HPsjXnNm8By2SWuasTan5gU2AZm8pundyduHTM + hex!["b4bc5b99d9207ab2aadd222581809b53372e7e17c4eaa88742f3501f3044bf27"].into(), + hex!["b4bc5b99d9207ab2aadd222581809b53372e7e17c4eaa88742f3501f3044bf27"].unchecked_into(), + ), + ], + 10_000 * UNITS, ), - // Protocol ID - Some(PROTOCOL_ID), - // Fork ID - None, - // Properties - Some(properties), - // Extensions + // Pre-funded accounts + vec![( + // Galactic Council + // 7JcAAB6cXQxVQyVLksPUdthJwcoEGm8SW9hsNgdP6hjme5J1 + hex!["2cb1a0ef4ce819893905e3a6a8e46b652c43aee6c154921220902cabfdcfdd07"].into(), + 1_500_000_000, + )], + // council members + // GC - same as sudo + vec![hex!["2cb1a0ef4ce819893905e3a6a8e46b652c43aee6c154921220902cabfdcfdd07"].into()], + // technical committee + // GC - same as sudo + vec![hex!["2cb1a0ef4ce819893905e3a6a8e46b652c43aee6c154921220902cabfdcfdd07"].into()], + // vestings + vec![], + // registered_assets + vec![], + // accepted_assets + vec![], + // token balances + vec![], + // claims data + Default::default(), + // elections + vec![( + hex!["2cb1a0ef4ce819893905e3a6a8e46b652c43aee6c154921220902cabfdcfdd07"].into(), + 1_200_000_000 * UNITS, + )], + // parachain ID + PARA_ID.into(), + // duster + DusterConfig { + // treasury + account_blacklist: vec![hex!["6d6f646c70792f74727372790000000000000000000000000000000000000000"].into()], + reward_account: Some(hex!["6d6f646c70792f74727372790000000000000000000000000000000000000000"].into()), + dust_account: Some(hex!["6d6f646c70792f74727372790000000000000000000000000000000000000000"].into()), + }, + ); + + let chain_spec = ChainSpec::builder( + wasm_binary, Extensions { relay_chain: "rococo".into(), para_id: PARA_ID, evm_since: 1, }, - wasm_binary, - )) + ) + .with_name("HydraDX testnet") + .with_id("hydra_rococo") + .with_chain_type(ChainType::Live) + .with_boot_nodes(vec![ + "/dns/rococo-hydradx-p2p01.hydration.dev/tcp/30333/p2p/12D3KooWCtBQpwnWV7yMaEyBRkcAcAej78Q2uZawk5RcDrYktVQS" + .parse() + .unwrap(), + "/dns/rococo-hydradx-p2p02.hydration.dev/tcp/30333/p2p/12D3KooWLfojmwK6cAFDhzewCjUsyzYAKrpL4Ze42D1bLo8gvS4j" + .parse() + .unwrap(), + "/dns/rococo-hydradx-p2p03.hydration.dev/tcp/30333/p2p/12D3KooWEuEVHGrntL4Anje1k9z85V7thwhgPd9WnX4EJP5i13Xc" + .parse() + .unwrap(), + ]) + .with_telemetry_endpoints( + TelemetryEndpoints::new(vec![ + (_TELEMETRY_URLS[0].to_string(), 0), + (_TELEMETRY_URLS[1].to_string(), 0), + ]) + .expect("Telemetry url is valid"), + ) + .with_properties(properties) + .with_protocol_id(PROTOCOL_ID) + .with_genesis_config_patch(genesis_json) + .build(); + + Ok(chain_spec) } diff --git a/node/src/chain_spec/staging.rs b/node/src/chain_spec/staging.rs index 2ee6d5d39..c40961ed1 100644 --- a/node/src/chain_spec/staging.rs +++ b/node/src/chain_spec/staging.rs @@ -15,124 +15,113 @@ pub fn parachain_config() -> Result { properties.insert("tokenDecimals".into(), TOKEN_DECIMALS.into()); properties.insert("tokenSymbol".into(), TOKEN_SYMBOL.into()); - #[allow(deprecated)] - Ok(ChainSpec::from_genesis( - // Name - "HydraDX", - // ID - "hydra", - ChainType::Live, - move || { - parachain_genesis( - // Sudo account - // Galactic Council - // 7HqdGVRB4MXz1osLR77mfWoo536cWasTYsuAbVuicHdiKQXf - hex!["0abad795adcb5dee45d29528005b1f78d55fc170844babde88df84016c6cd14d"].into(), - // initial authorities & invulnerable collators + let genesis_json = parachain_genesis( + // Sudo account + // Galactic Council + // 7HqdGVRB4MXz1osLR77mfWoo536cWasTYsuAbVuicHdiKQXf + hex!["0abad795adcb5dee45d29528005b1f78d55fc170844babde88df84016c6cd14d"].into(), + // initial authorities & invulnerable collators + ( + vec![ ( - vec![ - ( - // 5G3t6yhAonQHGUEqrByWQPgP9R8fcSSL6Vujphc89ysdTpKF - hex!["b0502e92d738d528922e8963b8a58a3c7c3b693db51b0972a6981836d67b8835"].into(), - hex!["b0502e92d738d528922e8963b8a58a3c7c3b693db51b0972a6981836d67b8835"].unchecked_into(), - ), - ( - // 5CVBHPAjhcVVAvL3AYpa9MB6kWDwoJbBwu7q4MqbhKwNnrV4 - hex!["12aa36d6c1b055b9a7ab5d39f4fd9a9fe42912163c90e122fb7997e890a53d7e"].into(), - hex!["12aa36d6c1b055b9a7ab5d39f4fd9a9fe42912163c90e122fb7997e890a53d7e"].unchecked_into(), - ), - ( - // 5DFGmHjpxS6Xveg4YDw2hSp62JJ9h8oLCkeZUAoVR7hVtQ3k - hex!["344b7693389189ad0be0c83630b02830a568f7cb0f2d4b3483bcea323cc85f70"].into(), - hex!["344b7693389189ad0be0c83630b02830a568f7cb0f2d4b3483bcea323cc85f70"].unchecked_into(), - ), - ( - // 5H178NL4DLM9DGgAgZz1kbrX2TReP3uPk7svPtsg1VcYnuXH - hex!["da6e859211b1140369a73af533ecea4e4c0e985ad122ac4c663cc8b81d4fcd12"].into(), - hex!["da6e859211b1140369a73af533ecea4e4c0e985ad122ac4c663cc8b81d4fcd12"].unchecked_into(), - ), - ( - // 5Ca1iV2RNV253FzYJo12XtKJMPWCjv5CsPK9HdmwgJarD1sJ - hex!["165a3c2eb21341bf170fd1fa728bd9a7d02b7dc3b4968a46f2b1d494ee8c2b5d"].into(), - hex!["165a3c2eb21341bf170fd1fa728bd9a7d02b7dc3b4968a46f2b1d494ee8c2b5d"].unchecked_into(), - ), - ], - 10_000 * UNITS, + // 5G3t6yhAonQHGUEqrByWQPgP9R8fcSSL6Vujphc89ysdTpKF + hex!["b0502e92d738d528922e8963b8a58a3c7c3b693db51b0972a6981836d67b8835"].into(), + hex!["b0502e92d738d528922e8963b8a58a3c7c3b693db51b0972a6981836d67b8835"].unchecked_into(), ), - // Pre-funded accounts - vec![( - // Galactic Council - // 7HqdGVRB4MXz1osLR77mfWoo536cWasTYsuAbVuicHdiKQXf - hex!["0abad795adcb5dee45d29528005b1f78d55fc170844babde88df84016c6cd14d"].into(), - 1_500_000_000 * UNITS, - )], - // council members - vec![], - // technical committee - vec![], - // vestings - vec![], - // registered_assets - vec![], - // accepted_assets - vec![], - // token balances - vec![], - // claims data - Default::default(), - // elections - vec![ - (get_account_id_from_seed::("Alice"), STASH / 5), - (get_account_id_from_seed::("Bob"), STASH / 5), - (get_account_id_from_seed::("Eve"), STASH / 5), - ], - // parachain ID - PARA_ID.into(), - // duster - DusterConfig { - // treasury - account_blacklist: vec![ - hex!["6d6f646c70792f74727372790000000000000000000000000000000000000000"].into() - ], - reward_account: Some( - hex!["6d6f646c70792f74727372790000000000000000000000000000000000000000"].into(), - ), - dust_account: Some(hex!["6d6f646c70792f74727372790000000000000000000000000000000000000000"].into()), - }, - ) - }, - // Bootnodes + ( + // 5CVBHPAjhcVVAvL3AYpa9MB6kWDwoJbBwu7q4MqbhKwNnrV4 + hex!["12aa36d6c1b055b9a7ab5d39f4fd9a9fe42912163c90e122fb7997e890a53d7e"].into(), + hex!["12aa36d6c1b055b9a7ab5d39f4fd9a9fe42912163c90e122fb7997e890a53d7e"].unchecked_into(), + ), + ( + // 5DFGmHjpxS6Xveg4YDw2hSp62JJ9h8oLCkeZUAoVR7hVtQ3k + hex!["344b7693389189ad0be0c83630b02830a568f7cb0f2d4b3483bcea323cc85f70"].into(), + hex!["344b7693389189ad0be0c83630b02830a568f7cb0f2d4b3483bcea323cc85f70"].unchecked_into(), + ), + ( + // 5H178NL4DLM9DGgAgZz1kbrX2TReP3uPk7svPtsg1VcYnuXH + hex!["da6e859211b1140369a73af533ecea4e4c0e985ad122ac4c663cc8b81d4fcd12"].into(), + hex!["da6e859211b1140369a73af533ecea4e4c0e985ad122ac4c663cc8b81d4fcd12"].unchecked_into(), + ), + ( + // 5Ca1iV2RNV253FzYJo12XtKJMPWCjv5CsPK9HdmwgJarD1sJ + hex!["165a3c2eb21341bf170fd1fa728bd9a7d02b7dc3b4968a46f2b1d494ee8c2b5d"].into(), + hex!["165a3c2eb21341bf170fd1fa728bd9a7d02b7dc3b4968a46f2b1d494ee8c2b5d"].unchecked_into(), + ), + ], + 10_000 * UNITS, + ), + // Pre-funded accounts + vec![( + // Galactic Council + // 7HqdGVRB4MXz1osLR77mfWoo536cWasTYsuAbVuicHdiKQXf + hex!["0abad795adcb5dee45d29528005b1f78d55fc170844babde88df84016c6cd14d"].into(), + 1_500_000_000 * UNITS, + )], + // council members + vec![], + // technical committee + vec![], + // vestings + vec![], + // registered_assets + vec![], + // accepted_assets + vec![], + // token balances + vec![], + // claims data + Default::default(), + // elections vec![ - "/dns/p2p-01.hydra.hydradx.io/tcp/30333/p2p/12D3KooWHzv7XVVBwY4EX1aKJBU6qzEjqGk6XtoFagr5wEXx6MsH" - .parse() - .unwrap(), - "/dns/p2p-02.hydra.hydradx.io/tcp/30333/p2p/12D3KooWR72FwHrkGNTNes6U5UHQezWLmrKu6b45MvcnRGK8J3S6" - .parse() - .unwrap(), - "/dns/p2p-03.hydra.hydradx.io/tcp/30333/p2p/12D3KooWFDwxZinAjgmLVgsideCmdB2bz911YgiQdLEiwKovezUz" - .parse() - .unwrap(), + (get_account_id_from_seed::("Alice"), STASH / 5), + (get_account_id_from_seed::("Bob"), STASH / 5), + (get_account_id_from_seed::("Eve"), STASH / 5), ], - // Telemetry - Some( - TelemetryEndpoints::new(vec![ - (TELEMETRY_URLS[0].to_string(), 0), - (TELEMETRY_URLS[1].to_string(), 0), - ]) - .expect("Telemetry url is valid"), - ), - // Protocol ID - Some(PROTOCOL_ID), - // Fork ID - None, - // Properties - Some(properties), - // Extensions + // parachain ID + PARA_ID.into(), + // duster + DusterConfig { + // treasury + account_blacklist: vec![hex!["6d6f646c70792f74727372790000000000000000000000000000000000000000"].into()], + reward_account: Some(hex!["6d6f646c70792f74727372790000000000000000000000000000000000000000"].into()), + dust_account: Some(hex!["6d6f646c70792f74727372790000000000000000000000000000000000000000"].into()), + }, + ); + + let chain_spec = ChainSpec::builder( + wasm_binary, Extensions { relay_chain: "polkadot".into(), para_id: PARA_ID, evm_since: 1, }, - wasm_binary, - )) + ) + .with_name("HydraDX") + .with_id("hydra") + .with_chain_type(ChainType::Live) + .with_boot_nodes(vec![ + "/dns/p2p-01.hydra.hydradx.io/tcp/30333/p2p/12D3KooWHzv7XVVBwY4EX1aKJBU6qzEjqGk6XtoFagr5wEXx6MsH" + .parse() + .unwrap(), + "/dns/p2p-02.hydra.hydradx.io/tcp/30333/p2p/12D3KooWR72FwHrkGNTNes6U5UHQezWLmrKu6b45MvcnRGK8J3S6" + .parse() + .unwrap(), + "/dns/p2p-03.hydra.hydradx.io/tcp/30333/p2p/12D3KooWFDwxZinAjgmLVgsideCmdB2bz911YgiQdLEiwKovezUz" + .parse() + .unwrap(), + ]) + .with_telemetry_endpoints( + TelemetryEndpoints::new(vec![ + (TELEMETRY_URLS[0].to_string(), 0), + (TELEMETRY_URLS[1].to_string(), 0), + ]) + .expect("Telemetry url is valid"), + ) + .with_properties(properties) + .with_protocol_id(PROTOCOL_ID) + .with_genesis_config_patch(genesis_json) + .build(); + + Ok(chain_spec) } diff --git a/runtime/hydradx/Cargo.toml b/runtime/hydradx/Cargo.toml index 819b0fcc9..26f2c58dc 100644 --- a/runtime/hydradx/Cargo.toml +++ b/runtime/hydradx/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hydradx-runtime" -version = "242.0.0" +version = "243.0.0" authors = ["GalacticCouncil"] edition = "2021" license = "Apache 2.0" @@ -127,6 +127,7 @@ frame-system-rpc-runtime-api = { workspace = true } frame-try-runtime = { workspace = true, optional = true } sp-api = { workspace = true } sp-block-builder = { workspace = true } +sp-genesis-builder = { workspace = true } sp-consensus-aura = { workspace = true } sp-core = { workspace = true } sp-inherents = { workspace = true } @@ -284,6 +285,7 @@ std = [ "warehouse-liquidity-mining/std", "sp-api/std", "sp-block-builder/std", + "sp-genesis-builder/std", "sp-consensus-aura/std", "sp-core/std", "sp-io/std", diff --git a/runtime/hydradx/src/assets.rs b/runtime/hydradx/src/assets.rs index f01bf4f66..5ff3de9fb 100644 --- a/runtime/hydradx/src/assets.rs +++ b/runtime/hydradx/src/assets.rs @@ -24,10 +24,10 @@ use hydradx_adapters::{ StableswapHooksAdapter, VestingInfo, }; -use hydradx_traits::{ +pub use hydradx_traits::{ registry::Inspect, router::{inverse_route, PoolType, Trade}, - AccountIdFor, AssetKind, AssetPairAccountIdFor, NativePriceOracle, OnTradeHandler, OraclePeriod, Source, + AccountIdFor, AssetKind, AssetPairAccountIdFor, Liquidity, NativePriceOracle, OnTradeHandler, OraclePeriod, Source, }; use pallet_currencies::BasicCurrencyAdapter; use pallet_omnipool::{ diff --git a/runtime/hydradx/src/evm/mod.rs b/runtime/hydradx/src/evm/mod.rs index c4044037a..04c15eab1 100644 --- a/runtime/hydradx/src/evm/mod.rs +++ b/runtime/hydradx/src/evm/mod.rs @@ -27,6 +27,7 @@ pub use crate::{ AssetLocation, Aura, NORMAL_DISPATCH_RATIO, }; use crate::{NativeAssetId, LRNA}; +pub use fp_evm::GenesisAccount as EvmGenesisAccount; use frame_support::{ parameter_types, traits::{Defensive, FindAuthor}, diff --git a/runtime/hydradx/src/lib.rs b/runtime/hydradx/src/lib.rs index 7aabd862d..f38c91436 100644 --- a/runtime/hydradx/src/lib.rs +++ b/runtime/hydradx/src/lib.rs @@ -63,12 +63,19 @@ use sp_std::{convert::From, prelude::*}; use sp_version::NativeVersion; use sp_version::RuntimeVersion; // A few exports that help ease life for downstream crates. -use frame_support::{construct_runtime, pallet_prelude::Hooks, parameter_types, weights::Weight}; +use frame_support::{ + construct_runtime, + genesis_builder_helper::{build_config, create_default_config}, + pallet_prelude::Hooks, + parameter_types, + weights::Weight, +}; pub use hex_literal::hex; /// Import HydraDX pallets pub use pallet_claims; use pallet_ethereum::{Transaction as EthereumTransaction, TransactionStatus}; use pallet_evm::{Account as EVMAccount, FeeCalculator, GasWeightMapping, Runner}; +pub use pallet_genesis_history::Chain; pub use primitives::{ AccountId, Amount, AssetId, Balance, BlockNumber, CollectionId, Hash, Index, ItemId, Price, Signature, }; @@ -107,7 +114,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("hydradx"), impl_name: create_runtime_str!("hydradx"), authoring_version: 1, - spec_version: 242, + spec_version: 243, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 1, @@ -811,6 +818,16 @@ impl_runtime_apis! { Ok(batches) } } + + impl sp_genesis_builder::GenesisBuilder for Runtime { + fn create_default_config() -> Vec { + create_default_config::() + } + + fn build_config(config: Vec) -> sp_genesis_builder::Result { + build_config::(config) + } + } } #[cfg(feature = "runtime-benchmarks")] diff --git a/runtime/hydradx/src/xcm.rs b/runtime/hydradx/src/xcm.rs index c19cd7036..6b902688c 100644 --- a/runtime/hydradx/src/xcm.rs +++ b/runtime/hydradx/src/xcm.rs @@ -17,6 +17,7 @@ use hydradx_adapters::{xcm_exchange::XcmAssetExchanger, xcm_execute_filter::Allo use orml_traits::{location::AbsoluteReserveProvider, parameter_type_with_key}; use orml_xcm_support::{DepositToAlternative, IsNativeConcrete, MultiNativeAsset}; use pallet_evm::AddressMapping; +pub use pallet_xcm::GenesisConfig as XcmGenesisConfig; use pallet_xcm::XcmPassthrough; use parachains_common::message_queue::{NarrowOriginToSibling, ParaIdToSibling}; use polkadot_parachain::primitives::{RelayChainBlockNumber, Sibling}; From 4648c7e2f7426fac8dedc0475213d3c185bfd33a Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Fri, 7 Jun 2024 10:11:53 +0200 Subject: [PATCH 085/105] bump node version --- Cargo.lock | 2 +- node/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b6295613d..ba3141e13 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4769,7 +4769,7 @@ dependencies = [ [[package]] name = "hydradx" -version = "13.0.1" +version = "13.1.0" dependencies = [ "async-trait", "clap 4.5.4", diff --git a/node/Cargo.toml b/node/Cargo.toml index c580fcacd..2fb7d1203 100644 --- a/node/Cargo.toml +++ b/node/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hydradx" -version = "13.0.1" +version = "13.1.0" description = "HydraDX node" authors = ["GalacticCouncil"] edition = "2021" From b2dbfab7f7420660c876e22b1e8aefadc9059874 Mon Sep 17 00:00:00 2001 From: dmoka Date: Fri, 7 Jun 2024 10:56:17 +0200 Subject: [PATCH 086/105] bump versions --- Cargo.lock | 2 +- integration-tests/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 1cf171b7d..201263f6b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -11913,7 +11913,7 @@ dependencies = [ [[package]] name = "runtime-integration-tests" -version = "1.22.3" +version = "1.22.4" dependencies = [ "cumulus-pallet-aura-ext", "cumulus-pallet-parachain-system", diff --git a/integration-tests/Cargo.toml b/integration-tests/Cargo.toml index 72b46d7e1..490fc62d0 100644 --- a/integration-tests/Cargo.toml +++ b/integration-tests/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "runtime-integration-tests" -version = "1.22.3" +version = "1.22.4" description = "Integration tests" authors = ["GalacticCouncil"] edition = "2021" From 57ea180b9c598ca6a68f2388f624115eb6463c78 Mon Sep 17 00:00:00 2001 From: Richard Roznovjak Date: Fri, 7 Jun 2024 07:54:53 -0500 Subject: [PATCH 087/105] Update runtime/hydradx/src/lib.rs Co-authored-by: Daniel Moka --- runtime/hydradx/src/lib.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/runtime/hydradx/src/lib.rs b/runtime/hydradx/src/lib.rs index f38c91436..de3853933 100644 --- a/runtime/hydradx/src/lib.rs +++ b/runtime/hydradx/src/lib.rs @@ -185,7 +185,6 @@ construct_runtime!( LBP: pallet_lbp = 73, XYK: pallet_xyk = 74, Referrals: pallet_referrals = 75, - //XcmRateLimiter: pallet_xcm_rate_limiter = 76, // ORML related modules Tokens: orml_tokens = 77, From 6480704b465e774ceb86cb4f6ec7677eda96f0db Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Sat, 8 Jun 2024 13:46:13 +0200 Subject: [PATCH 088/105] remove empty migration file --- runtime/hydradx/src/lib.rs | 1 - runtime/hydradx/src/migrations.rs | 59 ------------------------------- 2 files changed, 60 deletions(-) delete mode 100644 runtime/hydradx/src/migrations.rs diff --git a/runtime/hydradx/src/lib.rs b/runtime/hydradx/src/lib.rs index de3853933..1dcd94318 100644 --- a/runtime/hydradx/src/lib.rs +++ b/runtime/hydradx/src/lib.rs @@ -29,7 +29,6 @@ include!(concat!(env!("OUT_DIR"), "/wasm_binary.rs")); mod tests; mod benchmarking; -mod migrations; pub mod weights; mod assets; diff --git a/runtime/hydradx/src/migrations.rs b/runtime/hydradx/src/migrations.rs deleted file mode 100644 index ca7bf2232..000000000 --- a/runtime/hydradx/src/migrations.rs +++ /dev/null @@ -1,59 +0,0 @@ -// use crate::Runtime; -use frame_support::{traits::OnRuntimeUpgrade, weights::Weight}; -// use pallet_evm_chain_id::ChainId; -#[cfg(feature = "try-runtime")] -use sp_std::prelude::*; - -pub struct OnRuntimeUpgradeMigration; - -impl OnRuntimeUpgrade for OnRuntimeUpgradeMigration { - #[cfg(feature = "try-runtime")] - fn pre_upgrade() -> Result, sp_runtime::DispatchError> { - /* - log::info!("PreMigrate Collator Selection Pallet start"); - let number_of_invulnerables = pallet_collator_selection::migration::v1::MigrateToV1::::pre_upgrade()?; - log::info!("PreMigrate Collator Selection Pallet end"); - - */ - Ok(vec![]) - } - - fn on_runtime_upgrade() -> Weight { - /* - let mut weight: Weight = Weight::zero(); - - log::info!("Migrate Collator Selection Pallet to v1 start"); - weight = weight - .saturating_add(pallet_collator_selection::migration::v1::MigrateToV1::::on_runtime_upgrade()); - log::info!("Migrate Collator Selection Pallet to v1 end"); - - log::info!("Migrate Unknown Tokens Pallet to v2 start"); - weight = weight.saturating_add(orml_unknown_tokens::Migration::::on_runtime_upgrade()); - log::info!("Migrate Unknown Tokens Pallet to v2 end"); - - log::info!("Migrate pallet xyk-liquidity-mining to v1 start"); - weight = weight.saturating_add(pallet_xyk_liquidity_mining::migration::migrate_to_v1::()); - log::info!("Migrate pallet xyk-liquidity-mining to v1 end"); - - let evm_id: u64 = 222_222u64; - ChainId::::put(evm_id); - weight = weight.saturating_add(::DbWeight::get().reads_writes(0, 1)); - - weight = weight.saturating_add(pallet_referrals::migration::preregister_parachain_codes::()); - */ - - Weight::zero() - } - - #[cfg(feature = "try-runtime")] - fn post_upgrade(_state: Vec) -> Result<(), sp_runtime::DispatchError> { - /* - log::info!("PostMigrate Collator Selection Pallet start"); - let migration_result = pallet_collator_selection::migration::v1::MigrateToV1::::post_upgrade(state); - log::info!("PostMigrate Collator Selection Pallet end"); - - migration_result - */ - Ok(()) - } -} From be53748c8d962d6696d6332a632e186b86f7e5ec Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Sat, 8 Jun 2024 13:48:02 +0200 Subject: [PATCH 089/105] use existing constant for asset hub para id --- runtime/hydradx/src/xcm.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/hydradx/src/xcm.rs b/runtime/hydradx/src/xcm.rs index 6b902688c..ee8c5f227 100644 --- a/runtime/hydradx/src/xcm.rs +++ b/runtime/hydradx/src/xcm.rs @@ -118,7 +118,7 @@ parameter_types! { pub const MaxNumberOfInstructions: u16 = 100; pub UniversalLocation: InteriorLocation = [GlobalConsensus(RelayNetwork::get()), Parachain(ParachainInfo::parachain_id().into())].into(); - pub AssetHubLocation: Location = (Parent, Parachain(1000)).into(); + pub AssetHubLocation: Location = (Parent, Parachain(ASSET_HUB_PARA_ID)).into(); } /// Matches foreign assets from a given origin. From 7ffae374856aa7973e6367bbcc8656d5cb7dc1af Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Sat, 8 Jun 2024 13:50:29 +0200 Subject: [PATCH 090/105] remove commented out code --- runtime/hydradx/src/xcm.rs | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/runtime/hydradx/src/xcm.rs b/runtime/hydradx/src/xcm.rs index ee8c5f227..50a01ff5c 100644 --- a/runtime/hydradx/src/xcm.rs +++ b/runtime/hydradx/src/xcm.rs @@ -370,27 +370,6 @@ impl Convert> for CurrencyIdConvert { } } } - - // Note: keeping the original code for reference until tests are successful - /* - match location { - Location { - parents: p, - interior: [Parachain(id), GeneralIndex(index)].into(), - } if p == 1 && ParaId::from(id) == ParachainInfo::get() && (index as u32) == CORE_ASSET_ID => { - // Handling native asset for this parachain - Some(CORE_ASSET_ID) - } - // handle reanchor canonical location: https://github.com/paritytech/polkadot/pull/4470 - Location { - parents: 0, - interior: [GeneralIndex(index)].into(), - } if (index as u32) == CORE_ASSET_ID => Some(CORE_ASSET_ID), - // delegate to asset-registry - _ => AssetRegistry::location_to_asset(AssetLocation(location)), - } - - */ } } From ac320f09d1fecf72d8130581741a638d7d470683 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Sat, 8 Jun 2024 14:24:50 +0200 Subject: [PATCH 091/105] simplify Location creation in integration tests --- integration-tests/src/cross_chain_transfer.rs | 119 +++---- integration-tests/src/exchange_asset.rs | 330 ++++++------------ .../src/global_account_derivation.rs | 47 +-- integration-tests/src/transact_call_filter.rs | 60 ++-- 4 files changed, 192 insertions(+), 364 deletions(-) diff --git a/integration-tests/src/cross_chain_transfer.rs b/integration-tests/src/cross_chain_transfer.rs index b39a8f5e0..6863567fd 100644 --- a/integration-tests/src/cross_chain_transfer.rs +++ b/integration-tests/src/cross_chain_transfer.rs @@ -437,14 +437,10 @@ fn assets_should_be_trapped_when_assets_are_unknown() { let asset: Asset = Asset { id: cumulus_primitives_core::AssetId(Location::new( 1, - cumulus_primitives_core::Junctions::X2(Arc::new( - vec![ - cumulus_primitives_core::Junction::Parachain(ACALA_PARA_ID), - cumulus_primitives_core::Junction::GeneralIndex(0), - ] - .try_into() - .unwrap(), - )), + cumulus_primitives_core::Junctions::X2(Arc::new([ + cumulus_primitives_core::Junction::Parachain(ACALA_PARA_ID), + cumulus_primitives_core::Junction::GeneralIndex(0), + ])), )), fun: Fungible(30 * UNITS), }; @@ -482,11 +478,10 @@ fn claim_trapped_asset_should_work() { let bob_loc = Location::new( 0, - cumulus_primitives_core::Junctions::X1(Arc::new( - vec![cumulus_primitives_core::Junction::AccountId32 { id: BOB, network: None }] - .try_into() - .unwrap(), - )), + cumulus_primitives_core::Junctions::X1(Arc::new([cumulus_primitives_core::Junction::AccountId32 { + id: BOB, + network: None, + }])), ); claim_asset(asset.clone(), bob_loc); @@ -533,24 +528,19 @@ fn transfer_foreign_asset_from_asset_hub_to_hydra_should_work() { let foreign_asset: Asset = Asset { id: cumulus_primitives_core::AssetId(Location::new( 2, - cumulus_primitives_core::Junctions::X1(Arc::new( - vec![cumulus_primitives_core::Junction::GlobalConsensus( - cumulus_primitives_core::NetworkId::BitcoinCash, - )] - .try_into() - .unwrap(), - )), + cumulus_primitives_core::Junctions::X1(Arc::new([cumulus_primitives_core::Junction::GlobalConsensus( + cumulus_primitives_core::NetworkId::BitcoinCash, + )])), )), fun: Fungible(100 * UNITS), }; let bob_beneficiary = Location::new( 0, - cumulus_primitives_core::Junctions::X1(Arc::new( - vec![cumulus_primitives_core::Junction::AccountId32 { id: BOB, network: None }] - .try_into() - .unwrap(), - )), + cumulus_primitives_core::Junctions::X1(Arc::new([cumulus_primitives_core::Junction::AccountId32 { + id: BOB, + network: None, + }])), ); let xcm = @@ -617,24 +607,19 @@ fn transfer_foreign_asset_from_acala_to_hydra_should_not_work() { let foreign_asset: Asset = Asset { id: cumulus_primitives_core::AssetId(Location::new( 2, - cumulus_primitives_core::Junctions::X1(Arc::new( - vec![cumulus_primitives_core::Junction::GlobalConsensus( - cumulus_primitives_core::NetworkId::BitcoinCash, - )] - .try_into() - .unwrap(), - )), + cumulus_primitives_core::Junctions::X1(Arc::new([cumulus_primitives_core::Junction::GlobalConsensus( + cumulus_primitives_core::NetworkId::BitcoinCash, + )])), )), fun: Fungible(100 * UNITS), }; let bob_beneficiary = Location::new( 0, - cumulus_primitives_core::Junctions::X1(Arc::new( - vec![cumulus_primitives_core::Junction::AccountId32 { id: BOB, network: None }] - .try_into() - .unwrap(), - )), + cumulus_primitives_core::Junctions::X1(Arc::new([cumulus_primitives_core::Junction::AccountId32 { + id: BOB, + network: None, + }])), ); let xcm = @@ -708,11 +693,10 @@ fn transfer_dot_reserve_from_asset_hub_to_hydra_should_not_work() { let bob_beneficiary = Location::new( 0, - cumulus_primitives_core::Junctions::X1(Arc::new( - vec![cumulus_primitives_core::Junction::AccountId32 { id: BOB, network: None }] - .try_into() - .unwrap(), - )), + cumulus_primitives_core::Junctions::X1(Arc::new([cumulus_primitives_core::Junction::AccountId32 { + id: BOB, + network: None, + }])), ); let xcm = xcm_for_deposit_reserve_asset_to_hydra::(dot, bob_beneficiary); @@ -785,11 +769,10 @@ fn transfer_dot_reserve_from_non_asset_hub_chain_to_hydra_should_not_work() { let bob_beneficiary = Location::new( 0, - cumulus_primitives_core::Junctions::X1(Arc::new( - vec![cumulus_primitives_core::Junction::AccountId32 { id: BOB, network: None }] - .try_into() - .unwrap(), - )), + cumulus_primitives_core::Junctions::X1(Arc::new([cumulus_primitives_core::Junction::AccountId32 { + id: BOB, + network: None, + }])), ); let xcm = xcm_for_deposit_reserve_asset_to_hydra::(dot, bob_beneficiary); @@ -828,21 +811,13 @@ fn xcm_for_deposit_reserve_asset_to_hydra( let dest = Location::new( 1, - cumulus_primitives_core::Junctions::X1(Arc::new( - vec![cumulus_primitives_core::Junction::Parachain(HYDRA_PARA_ID)] - .try_into() - .unwrap(), - )), + cumulus_primitives_core::Junctions::X1(Arc::new([cumulus_primitives_core::Junction::Parachain(HYDRA_PARA_ID)])), ); - let context = cumulus_primitives_core::Junctions::X2(Arc::new( - vec![ - cumulus_primitives_core::Junction::GlobalConsensus(cumulus_primitives_core::NetworkId::Polkadot), - cumulus_primitives_core::Junction::Parachain(ACALA_PARA_ID), - ] - .try_into() - .unwrap(), - )); + let context = cumulus_primitives_core::Junctions::X2(Arc::new([ + cumulus_primitives_core::Junction::GlobalConsensus(cumulus_primitives_core::NetworkId::Polkadot), + cumulus_primitives_core::Junction::Parachain(ACALA_PARA_ID), + ])); let fee_asset = assets.clone().reanchored(&dest, &context).expect("should reanchor"); let weight_limit = { @@ -961,14 +936,10 @@ fn trap_asset() -> Asset { let asset: Asset = Asset { id: cumulus_primitives_core::AssetId(Location::new( 1, - cumulus_primitives_core::Junctions::X2(Arc::new( - vec![ - cumulus_primitives_core::Junction::Parachain(ACALA_PARA_ID), - cumulus_primitives_core::Junction::GeneralIndex(0), - ] - .try_into() - .unwrap(), - )), + cumulus_primitives_core::Junctions::X2(Arc::new([ + cumulus_primitives_core::Junction::Parachain(ACALA_PARA_ID), + cumulus_primitives_core::Junction::GeneralIndex(0), + ])), )), fun: Fungible(30 * UNITS), }; @@ -1015,14 +986,10 @@ fn rococo_xcm_execute_extrinsic_should_be_allowed() { Hydra::execute_with(|| { let hdx_loc = Location::new( 1, - cumulus_primitives_core::Junctions::X2(Arc::new( - vec![ - cumulus_primitives_core::Junction::Parachain(HYDRA_PARA_ID), - cumulus_primitives_core::Junction::GeneralIndex(0), - ] - .try_into() - .unwrap(), - )), + cumulus_primitives_core::Junctions::X2(Arc::new([ + cumulus_primitives_core::Junction::Parachain(HYDRA_PARA_ID), + cumulus_primitives_core::Junction::GeneralIndex(0), + ])), ); let asset_to_withdraw: Asset = Asset { id: cumulus_primitives_core::AssetId(hdx_loc.clone()), diff --git a/integration-tests/src/exchange_asset.rs b/integration-tests/src/exchange_asset.rs index 29f53ba24..686e287b4 100644 --- a/integration-tests/src/exchange_asset.rs +++ b/integration-tests/src/exchange_asset.rs @@ -68,14 +68,10 @@ fn hydra_should_swap_assets_when_receiving_from_acala_with_sell() { let give = Asset::from(( Location::new( 1, - cumulus_primitives_core::Junctions::X2(Arc::new( - vec![ - cumulus_primitives_core::Junction::Parachain(ACALA_PARA_ID), - cumulus_primitives_core::Junction::GeneralIndex(0), - ] - .try_into() - .unwrap(), - )), + cumulus_primitives_core::Junctions::X2(Arc::new([ + cumulus_primitives_core::Junction::Parachain(ACALA_PARA_ID), + cumulus_primitives_core::Junction::GeneralIndex(0), + ])), ), 50 * UNITS, )); @@ -83,14 +79,10 @@ fn hydra_should_swap_assets_when_receiving_from_acala_with_sell() { let want = Asset::from(( Location::new( 1, - cumulus_primitives_core::Junctions::X2(Arc::new( - vec![ - cumulus_primitives_core::Junction::Parachain(HYDRA_PARA_ID), - cumulus_primitives_core::Junction::GeneralIndex(0), - ] - .try_into() - .unwrap(), - )), + cumulus_primitives_core::Junctions::X2(Arc::new([ + cumulus_primitives_core::Junction::Parachain(HYDRA_PARA_ID), + cumulus_primitives_core::Junction::GeneralIndex(0), + ])), ), 300 * UNITS, )); @@ -165,14 +157,10 @@ fn hydra_should_swap_assets_when_receiving_from_acala_with_buy() { let give = Asset::from(( Location::new( 1, - cumulus_primitives_core::Junctions::X2(Arc::new( - vec![ - cumulus_primitives_core::Junction::Parachain(ACALA_PARA_ID), - cumulus_primitives_core::Junction::GeneralIndex(0), - ] - .try_into() - .unwrap(), - )), + cumulus_primitives_core::Junctions::X2(Arc::new([ + cumulus_primitives_core::Junction::Parachain(ACALA_PARA_ID), + cumulus_primitives_core::Junction::GeneralIndex(0), + ])), ), 50 * UNITS, )); @@ -180,14 +168,10 @@ fn hydra_should_swap_assets_when_receiving_from_acala_with_buy() { let want = Asset::from(( Location::new( 1, - cumulus_primitives_core::Junctions::X2(Arc::new( - vec![ - cumulus_primitives_core::Junction::Parachain(HYDRA_PARA_ID), - cumulus_primitives_core::Junction::GeneralIndex(0), - ] - .try_into() - .unwrap(), - )), + cumulus_primitives_core::Junctions::X2(Arc::new([ + cumulus_primitives_core::Junction::Parachain(HYDRA_PARA_ID), + cumulus_primitives_core::Junction::GeneralIndex(0), + ])), ), amount_out, )); @@ -409,42 +393,32 @@ pub mod zeitgeist_use_cases { let give_reserve_chain = Location::new( 1, - cumulus_primitives_core::Junctions::X1(Arc::new( - vec![cumulus_primitives_core::Junction::Parachain(ZEITGEIST_PARA_ID)] - .try_into() - .unwrap(), - )), + cumulus_primitives_core::Junctions::X1(Arc::new([cumulus_primitives_core::Junction::Parachain( + ZEITGEIST_PARA_ID, + )])), ); let swap_chain = Location::new( 1, - cumulus_primitives_core::Junctions::X1(Arc::new( - vec![cumulus_primitives_core::Junction::Parachain(HYDRA_PARA_ID)] - .try_into() - .unwrap(), - )), + cumulus_primitives_core::Junctions::X1(Arc::new([cumulus_primitives_core::Junction::Parachain( + HYDRA_PARA_ID, + )])), ); let want_reserve_chain = swap_chain.clone(); let dest = give_reserve_chain.clone(); let beneficiary = Location::new( 0, - cumulus_primitives_core::Junctions::X1(Arc::new( - vec![cumulus_primitives_core::Junction::AccountId32 { - id: ALICE, - network: None, - }] - .try_into() - .unwrap(), - )), + cumulus_primitives_core::Junctions::X1(Arc::new([cumulus_primitives_core::Junction::AccountId32 { + id: ALICE, + network: None, + }])), ); let assets: Assets = Asset { id: cumulus_primitives_core::AssetId(Location::new( 0, - cumulus_primitives_core::Junctions::X1(Arc::new( - vec![cumulus_primitives_core::Junction::GeneralIndex(0)] - .try_into() - .unwrap(), - )), + cumulus_primitives_core::Junctions::X1(Arc::new([ + cumulus_primitives_core::Junction::GeneralIndex(0), + ])), )), fun: Fungible(100 * UNITS), } @@ -456,14 +430,10 @@ pub mod zeitgeist_use_cases { let want_asset = Asset::from(( Location::new( 1, - cumulus_primitives_core::Junctions::X2(Arc::new( - vec![ - cumulus_primitives_core::Junction::Parachain(HYDRA_PARA_ID), - cumulus_primitives_core::Junction::GeneralIndex(0), - ] - .try_into() - .unwrap(), - )), + cumulus_primitives_core::Junctions::X2(Arc::new([ + cumulus_primitives_core::Junction::Parachain(HYDRA_PARA_ID), + cumulus_primitives_core::Junction::GeneralIndex(0), + ])), ), 100 * UNITS, )); @@ -615,49 +585,37 @@ pub mod zeitgeist_use_cases { let give_reserve_chain = Location::new( 1, - cumulus_primitives_core::Junctions::X1(Arc::new( - vec![cumulus_primitives_core::Junction::Parachain(ZEITGEIST_PARA_ID)] - .try_into() - .unwrap(), - )), + cumulus_primitives_core::Junctions::X1(Arc::new([cumulus_primitives_core::Junction::Parachain( + ZEITGEIST_PARA_ID, + )])), ); let swap_chain = Location::new( 1, - cumulus_primitives_core::Junctions::X1(Arc::new( - vec![cumulus_primitives_core::Junction::Parachain(HYDRA_PARA_ID)] - .try_into() - .unwrap(), - )), + cumulus_primitives_core::Junctions::X1(Arc::new([cumulus_primitives_core::Junction::Parachain( + HYDRA_PARA_ID, + )])), ); let want_reserve_chain = Location::new( 1, - cumulus_primitives_core::Junctions::X1(Arc::new( - vec![cumulus_primitives_core::Junction::Parachain(INTERLAY_PARA_ID)] - .try_into() - .unwrap(), - )), + cumulus_primitives_core::Junctions::X1(Arc::new([cumulus_primitives_core::Junction::Parachain( + INTERLAY_PARA_ID, + )])), ); let dest = give_reserve_chain.clone(); let beneficiary = Location::new( 0, - cumulus_primitives_core::Junctions::X1(Arc::new( - vec![cumulus_primitives_core::Junction::AccountId32 { - id: ALICE, - network: None, - }] - .try_into() - .unwrap(), - )), + cumulus_primitives_core::Junctions::X1(Arc::new([cumulus_primitives_core::Junction::AccountId32 { + id: ALICE, + network: None, + }])), ); let assets: Assets = Asset { id: cumulus_primitives_core::AssetId(Location::new( 0, - cumulus_primitives_core::Junctions::X1(Arc::new( - vec![cumulus_primitives_core::Junction::GeneralIndex(0)] - .try_into() - .unwrap(), - )), + cumulus_primitives_core::Junctions::X1(Arc::new([ + cumulus_primitives_core::Junction::GeneralIndex(0), + ])), )), fun: Fungible(10 * UNITS), } @@ -669,14 +627,10 @@ pub mod zeitgeist_use_cases { let want_asset = Asset::from(( Location::new( 1, - cumulus_primitives_core::Junctions::X2(Arc::new( - vec![ - cumulus_primitives_core::Junction::Parachain(INTERLAY_PARA_ID), - cumulus_primitives_core::Junction::GeneralIndex(0), - ] - .try_into() - .unwrap(), - )), + cumulus_primitives_core::Junctions::X2(Arc::new([ + cumulus_primitives_core::Junction::Parachain(INTERLAY_PARA_ID), + cumulus_primitives_core::Junction::GeneralIndex(0), + ])), ), 10 * UNITS, )); @@ -869,56 +823,42 @@ pub mod zeitgeist_use_cases { let give_reserve_chain = Location::new( 1, - cumulus_primitives_core::Junctions::X1(Arc::new( - vec![cumulus_primitives_core::Junction::Parachain(MOONBEAM_PARA_ID)] - .try_into() - .unwrap(), - )), + cumulus_primitives_core::Junctions::X1(Arc::new([cumulus_primitives_core::Junction::Parachain( + MOONBEAM_PARA_ID, + )])), ); let swap_chain = Location::new( 1, - cumulus_primitives_core::Junctions::X1(Arc::new( - vec![cumulus_primitives_core::Junction::Parachain(HYDRA_PARA_ID)] - .try_into() - .unwrap(), - )), + cumulus_primitives_core::Junctions::X1(Arc::new([cumulus_primitives_core::Junction::Parachain( + HYDRA_PARA_ID, + )])), ); let want_reserve_chain = Location::new( 1, - cumulus_primitives_core::Junctions::X1(Arc::new( - vec![cumulus_primitives_core::Junction::Parachain(INTERLAY_PARA_ID)] - .try_into() - .unwrap(), - )), + cumulus_primitives_core::Junctions::X1(Arc::new([cumulus_primitives_core::Junction::Parachain( + INTERLAY_PARA_ID, + )])), ); let dest = Location::new( 1, - cumulus_primitives_core::Junctions::X1(Arc::new( - vec![cumulus_primitives_core::Junction::Parachain(ZEITGEIST_PARA_ID)] - .try_into() - .unwrap(), - )), + cumulus_primitives_core::Junctions::X1(Arc::new([cumulus_primitives_core::Junction::Parachain( + ZEITGEIST_PARA_ID, + )])), ); let beneficiary = Location::new( 0, - cumulus_primitives_core::Junctions::X1(Arc::new( - vec![cumulus_primitives_core::Junction::AccountId32 { - id: ALICE, - network: None, - }] - .try_into() - .unwrap(), - )), + cumulus_primitives_core::Junctions::X1(Arc::new([cumulus_primitives_core::Junction::AccountId32 { + id: ALICE, + network: None, + }])), ); let assets: Assets = Asset { id: cumulus_primitives_core::AssetId(Location::new( 0, - cumulus_primitives_core::Junctions::X1(Arc::new( - vec![cumulus_primitives_core::Junction::GeneralIndex(0)] - .try_into() - .unwrap(), - )), + cumulus_primitives_core::Junctions::X1(Arc::new([ + cumulus_primitives_core::Junction::GeneralIndex(0), + ])), )), fun: Fungible(10 * UNITS), } @@ -929,28 +869,20 @@ pub mod zeitgeist_use_cases { let give_asset = Asset::from(( Location::new( 1, - cumulus_primitives_core::Junctions::X2(Arc::new( - vec![ - cumulus_primitives_core::Junction::Parachain(MOONBEAM_PARA_ID), - cumulus_primitives_core::Junction::GeneralIndex(0), - ] - .try_into() - .unwrap(), - )), + cumulus_primitives_core::Junctions::X2(Arc::new([ + cumulus_primitives_core::Junction::Parachain(MOONBEAM_PARA_ID), + cumulus_primitives_core::Junction::GeneralIndex(0), + ])), ), give_amount, )); let want_asset = Asset::from(( Location::new( 1, - cumulus_primitives_core::Junctions::X2(Arc::new( - vec![ - cumulus_primitives_core::Junction::Parachain(INTERLAY_PARA_ID), - cumulus_primitives_core::Junction::GeneralIndex(0), - ] - .try_into() - .unwrap(), - )), + cumulus_primitives_core::Junctions::X2(Arc::new([ + cumulus_primitives_core::Junction::Parachain(INTERLAY_PARA_ID), + cumulus_primitives_core::Junction::GeneralIndex(0), + ])), ), 10 * UNITS, )); @@ -967,14 +899,10 @@ pub mod zeitgeist_use_cases { .reanchored(&dest, &want_reserve_chain.interior) .expect("should reanchor"); - let origin_context = cumulus_primitives_core::Junctions::X2(Arc::new( - vec![ - cumulus_primitives_core::Junction::GlobalConsensus(NetworkId::Polkadot), - cumulus_primitives_core::Junction::Parachain(ZEITGEIST_PARA_ID), - ] - .try_into() - .unwrap(), - )); + let origin_context = cumulus_primitives_core::Junctions::X2(Arc::new([ + cumulus_primitives_core::Junction::GlobalConsensus(NetworkId::Polkadot), + cumulus_primitives_core::Junction::Parachain(ZEITGEIST_PARA_ID), + ])); let give_reserve_fees = give_asset .clone() .reanchored(&give_reserve_chain, &origin_context) @@ -1203,65 +1131,44 @@ fn craft_transfer_and_swap_xcm_with_4_hops( let give_reserve_chain = Location::new( 1, - cumulus_primitives_core::Junctions::X1(Arc::new( - vec![cumulus_primitives_core::Junction::Parachain(MOONBEAM_PARA_ID)] - .try_into() - .unwrap(), - )), + cumulus_primitives_core::Junctions::X1(Arc::new([cumulus_primitives_core::Junction::Parachain( + MOONBEAM_PARA_ID, + )])), ); let want_reserve_chain = Location::new( 1, - cumulus_primitives_core::Junctions::X1(Arc::new( - vec![cumulus_primitives_core::Junction::Parachain(INTERLAY_PARA_ID)] - .try_into() - .unwrap(), - )), + cumulus_primitives_core::Junctions::X1(Arc::new([cumulus_primitives_core::Junction::Parachain( + INTERLAY_PARA_ID, + )])), ); let swap_chain = Location::new( 1, - cumulus_primitives_core::Junctions::X1(Arc::new( - vec![cumulus_primitives_core::Junction::Parachain(HYDRA_PARA_ID)] - .try_into() - .unwrap(), - )), + cumulus_primitives_core::Junctions::X1(Arc::new([cumulus_primitives_core::Junction::Parachain(HYDRA_PARA_ID)])), ); let dest = Location::new( 1, - cumulus_primitives_core::Junctions::X1(Arc::new( - vec![cumulus_primitives_core::Junction::Parachain(ACALA_PARA_ID)] - .try_into() - .unwrap(), - )), + cumulus_primitives_core::Junctions::X1(Arc::new([cumulus_primitives_core::Junction::Parachain(ACALA_PARA_ID)])), ); let beneficiary = Location::new( 0, - cumulus_primitives_core::Junctions::X1(Arc::new( - vec![cumulus_primitives_core::Junction::AccountId32 { id: BOB, network: None }] - .try_into() - .unwrap(), - )), + cumulus_primitives_core::Junctions::X1(Arc::new([cumulus_primitives_core::Junction::AccountId32 { + id: BOB, + network: None, + }])), ); let assets: Assets = Asset { id: cumulus_primitives_core::AssetId(Location::new( 0, - cumulus_primitives_core::Junctions::X1(Arc::new( - vec![cumulus_primitives_core::Junction::GeneralIndex(0)] - .try_into() - .unwrap(), - )), + cumulus_primitives_core::Junctions::X1(Arc::new([cumulus_primitives_core::Junction::GeneralIndex(0)])), )), fun: Fungible(100 * UNITS), } .into(); let max_assets = assets.len() as u32 + 1; - let origin_context = cumulus_primitives_core::Junctions::X2(Arc::new( - vec![ - cumulus_primitives_core::Junction::GlobalConsensus(NetworkId::Polkadot), - cumulus_primitives_core::Junction::Parachain(ACALA_PARA_ID), - ] - .try_into() - .unwrap(), - )); + let origin_context = cumulus_primitives_core::Junctions::X2(Arc::new([ + cumulus_primitives_core::Junction::GlobalConsensus(NetworkId::Polkadot), + cumulus_primitives_core::Junction::Parachain(ACALA_PARA_ID), + ])); let give = give_asset .clone() .reanchored(&dest, &origin_context) @@ -1395,45 +1302,30 @@ fn craft_transfer_and_swap_xcm_with_4_hops( } fn craft_exchange_asset_xcm(give: Asset, want: Asset, is_sell: bool) -> VersionedXcm { - type Weigher = FixedWeightBounds>; - let dest = Location::new( 1, - cumulus_primitives_core::Junctions::X1(Arc::new( - vec![cumulus_primitives_core::Junction::Parachain(HYDRA_PARA_ID)] - .try_into() - .unwrap(), - )), + cumulus_primitives_core::Junctions::X1(Arc::new([cumulus_primitives_core::Junction::Parachain(HYDRA_PARA_ID)])), ); let beneficiary = Location::new( 0, - cumulus_primitives_core::Junctions::X1(Arc::new( - vec![cumulus_primitives_core::Junction::AccountId32 { id: BOB, network: None }] - .try_into() - .unwrap(), - )), + cumulus_primitives_core::Junctions::X1(Arc::new([cumulus_primitives_core::Junction::AccountId32 { + id: BOB, + network: None, + }])), ); let assets: Assets = Asset { id: cumulus_primitives_core::AssetId(Location::new( 0, - cumulus_primitives_core::Junctions::X1(Arc::new( - vec![cumulus_primitives_core::Junction::GeneralIndex(0)] - .try_into() - .unwrap(), - )), + cumulus_primitives_core::Junctions::X1(Arc::new([cumulus_primitives_core::Junction::GeneralIndex(0)])), )), fun: Fungible(100 * UNITS), } .into(); let max_assets = assets.len() as u32 + 1; - let context = cumulus_primitives_core::Junctions::X2(Arc::new( - vec![ - cumulus_primitives_core::Junction::GlobalConsensus(NetworkId::Polkadot), - cumulus_primitives_core::Junction::Parachain(ACALA_PARA_ID), - ] - .try_into() - .unwrap(), - )); + let context = cumulus_primitives_core::Junctions::X2(Arc::new([ + cumulus_primitives_core::Junction::GlobalConsensus(NetworkId::Polkadot), + cumulus_primitives_core::Junction::Parachain(ACALA_PARA_ID), + ])); let fees = assets .get(0) .expect("should have at least 1 asset") diff --git a/integration-tests/src/global_account_derivation.rs b/integration-tests/src/global_account_derivation.rs index a3ef0bf60..94c28931b 100644 --- a/integration-tests/src/global_account_derivation.rs +++ b/integration-tests/src/global_account_derivation.rs @@ -19,28 +19,21 @@ fn other_chain_remote_account_should_work_on_hydra() { // Arrange TestNet::reset(); - let xcm_interior_at_acala = cumulus_primitives_core::Junctions::X1(Arc::new( - vec![cumulus_primitives_core::Junction::AccountId32 { + let xcm_interior_at_acala = + cumulus_primitives_core::Junctions::X1(Arc::new([cumulus_primitives_core::Junction::AccountId32 { network: None, id: evm_account().into(), - }] - .try_into() - .unwrap(), - )); + }])); let xcm_origin_at_hydra = Location { parents: 1, - interior: cumulus_primitives_core::Junctions::X2(Arc::new( - vec![ - cumulus_primitives_core::Junction::Parachain(ACALA_PARA_ID), - cumulus_primitives_core::Junction::AccountId32 { - network: None, - id: evm_account().into(), - }, - ] - .try_into() - .unwrap(), - )), + interior: cumulus_primitives_core::Junctions::X2(Arc::new([ + cumulus_primitives_core::Junction::Parachain(ACALA_PARA_ID), + cumulus_primitives_core::Junction::AccountId32 { + network: None, + id: evm_account().into(), + }, + ])), }; let acala_account_id_at_hydra: AccountId = @@ -74,14 +67,10 @@ fn other_chain_remote_account_should_work_on_hydra() { let hdx_loc = Location::new( 1, - cumulus_primitives_core::Junctions::X2(Arc::new( - vec![ - cumulus_primitives_core::Junction::Parachain(HYDRA_PARA_ID), - cumulus_primitives_core::Junction::GeneralIndex(0), - ] - .try_into() - .unwrap(), - )), + cumulus_primitives_core::Junctions::X2(Arc::new([ + cumulus_primitives_core::Junction::Parachain(HYDRA_PARA_ID), + cumulus_primitives_core::Junction::GeneralIndex(0), + ])), ); let asset_to_withdraw: Asset = Asset { id: cumulus_primitives_core::AssetId(hdx_loc.clone()), @@ -117,11 +106,9 @@ fn other_chain_remote_account_should_work_on_hydra() { let dest_hydradx = Location::new( 1, - cumulus_primitives_core::Junctions::X1(Arc::new( - vec![cumulus_primitives_core::Junction::Parachain(HYDRA_PARA_ID)] - .try_into() - .unwrap(), - )), + cumulus_primitives_core::Junctions::X1(Arc::new([cumulus_primitives_core::Junction::Parachain( + HYDRA_PARA_ID, + )])), ); assert_ok!(hydradx_runtime::PolkadotXcm::send_xcm( diff --git a/integration-tests/src/transact_call_filter.rs b/integration-tests/src/transact_call_filter.rs index 156ea1380..6f6f3f8ad 100644 --- a/integration-tests/src/transact_call_filter.rs +++ b/integration-tests/src/transact_call_filter.rs @@ -30,14 +30,10 @@ fn allowed_transact_call_should_pass_filter() { let hdx_loc = Location::new( 1, - cumulus_primitives_core::Junctions::X2(Arc::new( - vec![ - cumulus_primitives_core::Junction::Parachain(HYDRA_PARA_ID), - cumulus_primitives_core::Junction::GeneralIndex(0), - ] - .try_into() - .unwrap(), - )), + cumulus_primitives_core::Junctions::X2(Arc::new([ + cumulus_primitives_core::Junction::Parachain(HYDRA_PARA_ID), + cumulus_primitives_core::Junction::GeneralIndex(0), + ])), ); let asset_to_withdraw: Asset = Asset { id: cumulus_primitives_core::AssetId(hdx_loc.clone()), @@ -76,11 +72,9 @@ fn allowed_transact_call_should_pass_filter() { Here, Location::new( 1, - cumulus_primitives_core::Junctions::X1(Arc::new( - vec![cumulus_primitives_core::Junction::Parachain(HYDRA_PARA_ID)] - .try_into() - .unwrap(), - )), + cumulus_primitives_core::Junctions::X1(Arc::new([cumulus_primitives_core::Junction::Parachain( + HYDRA_PARA_ID + )])), ), message )); @@ -119,14 +113,10 @@ fn blocked_transact_calls_should_not_pass_filter() { let hdx_loc = Location::new( 1, - cumulus_primitives_core::Junctions::X2(Arc::new( - vec![ - cumulus_primitives_core::Junction::Parachain(HYDRA_PARA_ID), - cumulus_primitives_core::Junction::GeneralIndex(0), - ] - .try_into() - .unwrap(), - )), + cumulus_primitives_core::Junctions::X2(Arc::new([ + cumulus_primitives_core::Junction::Parachain(HYDRA_PARA_ID), + cumulus_primitives_core::Junction::GeneralIndex(0), + ])), ); let asset_to_withdraw: Asset = Asset { id: cumulus_primitives_core::AssetId(hdx_loc.clone()), @@ -165,11 +155,9 @@ fn blocked_transact_calls_should_not_pass_filter() { Here, Location::new( 1, - cumulus_primitives_core::Junctions::X1(Arc::new( - vec![cumulus_primitives_core::Junction::Parachain(HYDRA_PARA_ID)] - .try_into() - .unwrap(), - )), + cumulus_primitives_core::Junctions::X1(Arc::new([cumulus_primitives_core::Junction::Parachain( + HYDRA_PARA_ID + )])), ), message )); @@ -203,14 +191,10 @@ fn safe_call_filter_should_respect_runtime_call_filter() { let hdx_loc = Location::new( 1, - cumulus_primitives_core::Junctions::X2(Arc::new( - vec![ - cumulus_primitives_core::Junction::Parachain(HYDRA_PARA_ID), - cumulus_primitives_core::Junction::GeneralIndex(0), - ] - .try_into() - .unwrap(), - )), + cumulus_primitives_core::Junctions::X2(Arc::new([ + cumulus_primitives_core::Junction::Parachain(HYDRA_PARA_ID), + cumulus_primitives_core::Junction::GeneralIndex(0), + ])), ); let asset_to_withdraw: Asset = Asset { id: cumulus_primitives_core::AssetId(hdx_loc.clone()), @@ -249,11 +233,9 @@ fn safe_call_filter_should_respect_runtime_call_filter() { Here, Location::new( 1, - cumulus_primitives_core::Junctions::X1(Arc::new( - vec![cumulus_primitives_core::Junction::Parachain(HYDRA_PARA_ID)] - .try_into() - .unwrap(), - )), + cumulus_primitives_core::Junctions::X1(Arc::new([cumulus_primitives_core::Junction::Parachain( + HYDRA_PARA_ID + )])), ), message )); From 3c7f26a353c841da9a9ba71e98abfc48b5b2434a Mon Sep 17 00:00:00 2001 From: Richard Roznovjak Date: Mon, 10 Jun 2024 01:59:12 -0500 Subject: [PATCH 092/105] Update Cargo.toml Co-authored-by: Daniel Moka --- Cargo.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index b54deac8d..63fec135b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -467,7 +467,6 @@ polkadot-cli = { git = "https://github.com/paritytech/polkadot-sdk", branch = "r polkadot-core-primitives = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } polkadot-parachain = { package = "polkadot-parachain-primitives", git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2"} polkadot-primitives = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } -#polkadot-runtime = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } polkadot-runtime-parachains = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } polkadot-service = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } xcm = { package = "staging-xcm", git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } From 8ac22deff047f6ea9c89840e5935563b80a04641 Mon Sep 17 00:00:00 2001 From: Richard Roznovjak Date: Mon, 10 Jun 2024 01:59:23 -0500 Subject: [PATCH 093/105] Update Cargo.toml Co-authored-by: Daniel Moka --- Cargo.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 63fec135b..b53d3b4e0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -473,7 +473,6 @@ xcm = { package = "staging-xcm", git = "https://github.com/paritytech/polkadot-s xcm-builder = { package = "staging-xcm-builder", git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } xcm-executor = { package = "staging-xcm-executor", git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } -#kusama-runtime = { package = "staging-kusama-runtime", git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } polkadot-node-core-pvf = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } polkadot-node-network-protocol = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } polkadot-node-primitives = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } From dbc45ca10ef49c90d04c7b0e477879616337f475 Mon Sep 17 00:00:00 2001 From: Richard Roznovjak Date: Mon, 10 Jun 2024 01:59:42 -0500 Subject: [PATCH 094/105] Update Cargo.toml Co-authored-by: Daniel Moka --- Cargo.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index b53d3b4e0..e467932df 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -304,7 +304,6 @@ xcm = { package = "staging-xcm", git = "https://github.com/paritytech/polkadot-s xcm-builder = { package = "staging-xcm-builder", git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } xcm-executor = { package = "staging-xcm-executor", git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } -#kusama-runtime = { package = "staging-kusama-runtime", git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } polkadot-client = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } polkadot-node-core-pvf = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } polkadot-node-network-protocol = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } From 767e92432e2f2a392c9e5fdbaf4ec2c4ddbbc7c9 Mon Sep 17 00:00:00 2001 From: Richard Roznovjak Date: Mon, 10 Jun 2024 02:00:00 -0500 Subject: [PATCH 095/105] Update Cargo.toml Co-authored-by: Daniel Moka --- Cargo.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index e467932df..521aef709 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -296,7 +296,6 @@ polkadot-parachain = { package = "polkadot-parachain-primitives", git = "https:/ "wasm-api", ]} polkadot-primitives = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } -#polkadot-runtime = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } polkadot-runtime-parachains = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } polkadot-service = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } polkadot-xcm = { package = "staging-xcm", git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } From 07caf154508e7d3881972f14d5e10b4597fac6aa Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Mon, 10 Jun 2024 09:00:52 +0200 Subject: [PATCH 096/105] remove some todos --- runtime/hydradx/src/governance.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/runtime/hydradx/src/governance.rs b/runtime/hydradx/src/governance.rs index bf031a5a8..75ec238bb 100644 --- a/runtime/hydradx/src/governance.rs +++ b/runtime/hydradx/src/governance.rs @@ -128,11 +128,11 @@ impl pallet_treasury::Config for Runtime { type AssetKind = (); type Beneficiary = AccountId; type BeneficiaryLookup = IdentityLookup; - type Paymaster = PayFromTreasuryAccount; // TODO: check what this means - type BalanceConverter = UnityAssetBalanceConversion; //TODO: check this + type Paymaster = PayFromTreasuryAccount; + type BalanceConverter = UnityAssetBalanceConversion; type PayoutPeriod = TreasuryPayoutPeriod; #[cfg(feature = "runtime-benchmarks")] - type BenchmarkHelper = (); //TODO: implement helper! + type BenchmarkHelper = (); } parameter_types! { From 6a7fe560a3c83fa0e690e8f39db2de68ecce93e0 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Mon, 10 Jun 2024 09:34:27 +0200 Subject: [PATCH 097/105] remove todo comment --- runtime/adapters/src/lib.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/runtime/adapters/src/lib.rs b/runtime/adapters/src/lib.rs index fc307ea3d..9fe5f2641 100644 --- a/runtime/adapters/src/lib.rs +++ b/runtime/adapters/src/lib.rs @@ -236,13 +236,12 @@ impl< > TakeRevenue for ToFeeReceiver { fn take_revenue(asset: Asset) { - let a = asset.clone(); // TODO: probably unnecessary but did not want to change the implementation. - match asset { + match asset.clone() { Asset { id: _asset_id, fun: Fungibility::Fungible(amount), } => { - C::convert(a).and_then(|id| { + C::convert(asset).and_then(|id| { let receiver = F::get(); D::deposit_fee(&receiver, id, amount.saturated_into::()) .map_err(|e| log::trace!(target: "xcm::take_revenue", "Could not deposit fee: {:?}", e)) From 7be1097bbcd62962bf9adab0958c10b52e3c4bec Mon Sep 17 00:00:00 2001 From: Richard Roznovjak Date: Mon, 10 Jun 2024 02:55:11 -0500 Subject: [PATCH 098/105] Update runtime/hydradx/src/lib.rs Co-authored-by: Daniel Moka --- runtime/hydradx/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/hydradx/src/lib.rs b/runtime/hydradx/src/lib.rs index 1dcd94318..f39c4c582 100644 --- a/runtime/hydradx/src/lib.rs +++ b/runtime/hydradx/src/lib.rs @@ -276,7 +276,7 @@ pub type Executive = frame_executive::Executive< ), >; -// TODO: Remove after the upgrade +// TODO: Remove after the v1.7.2 upgrade parameter_types! { pub const DmpQueuePalletName: &'static str = "DmpQueue"; pub const XcmRateLimiterPalletName: &'static str = "XcmRateLimiter"; From b46a2a50e77821bca15a30f98bcfbf7a18bc5503 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Mon, 10 Jun 2024 10:20:42 +0200 Subject: [PATCH 099/105] remove some todos --- runtime/hydradx/src/system.rs | 2 +- runtime/hydradx/src/xcm.rs | 13 ------------- 2 files changed, 1 insertion(+), 14 deletions(-) diff --git a/runtime/hydradx/src/system.rs b/runtime/hydradx/src/system.rs index d117bc5a1..77231cf04 100644 --- a/runtime/hydradx/src/system.rs +++ b/runtime/hydradx/src/system.rs @@ -217,7 +217,7 @@ impl cumulus_pallet_parachain_system::Config for Runtime { type XcmpMessageHandler = XcmpQueue; type ReservedXcmpWeight = ReservedXcmpWeight; type CheckAssociatedRelayNumber = cumulus_pallet_parachain_system::RelayNumberStrictlyIncreases; - type DmpQueue = frame_support::traits::EnqueueWithOrigin; // TODO: what to set here ?! + type DmpQueue = frame_support::traits::EnqueueWithOrigin; type WeightInfo = weights::cumulus_pallet_parachain_system::HydraWeight; } diff --git a/runtime/hydradx/src/xcm.rs b/runtime/hydradx/src/xcm.rs index 50a01ff5c..cbc8d999e 100644 --- a/runtime/hydradx/src/xcm.rs +++ b/runtime/hydradx/src/xcm.rs @@ -434,19 +434,6 @@ impl>> ConvertLocation for EvmAddressC } _ => None, } - // Note: keeping the original code for reference until tests are successful - /* - match location { - Location { - parents: 0, - interior: (AccountKey20 { network: _, key }) - } => { - let account_32 = ExtendedAddressMapping::into_account_id(H160::from(key)); - Some(account_32) - } - _ => None, - } - */ } } From d2be849e42af9b9630f7e784ab6449f06f1e4a48 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Mon, 10 Jun 2024 13:24:37 +0200 Subject: [PATCH 100/105] set MaxTipAmount to 5M HDX --- runtime/hydradx/src/governance.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/hydradx/src/governance.rs b/runtime/hydradx/src/governance.rs index 75ec238bb..d6a693cf7 100644 --- a/runtime/hydradx/src/governance.rs +++ b/runtime/hydradx/src/governance.rs @@ -17,7 +17,7 @@ use super::*; use primitives::constants::{ - currency::{deposit, CENTS, DOLLARS}, + currency::{deposit, CENTS, DOLLARS, UNITS}, time::{DAYS, HOURS}, }; @@ -381,7 +381,7 @@ parameter_types! { pub const TipReportDepositBase: Balance = 10 * DOLLARS; pub const TipReportDepositPerByte: Balance = CENTS; pub const MaximumReasonLength: u32 = 1024; - pub const MaxTipAmount: u128 = 1_000 * DOLLARS; // TODO: check this + pub const MaxTipAmount: u128 = 5_000_000 * UNITS; } impl pallet_tips::Config for Runtime { From e1fd937bad877764a25f85221208d8feeabc7384 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Fri, 14 Jun 2024 16:03:28 +0200 Subject: [PATCH 101/105] set reserve_transfer_assets benchmark to return max weight --- runtime/hydradx/src/lib.rs | 14 ++++---------- runtime/hydradx/src/xcm.rs | 3 --- 2 files changed, 4 insertions(+), 13 deletions(-) diff --git a/runtime/hydradx/src/lib.rs b/runtime/hydradx/src/lib.rs index f39c4c582..fd23af86f 100644 --- a/runtime/hydradx/src/lib.rs +++ b/runtime/hydradx/src/lib.rs @@ -751,11 +751,11 @@ impl_runtime_apis! { } parameter_types! { - pub const RandomParaId: ParaId = ParaId::new(22222222); - pub const ExistentialDeposit: u128= 0; + pub const RandomParaId: ParaId = ParaId::new(22_222_222); + pub const ExistentialDeposit: u128 = 0; } - use polkadot_xcm::latest::prelude::{Location, AssetId, Fungible, Asset, ParentThen, Parachain, Parent}; + use polkadot_xcm::latest::prelude::{Location, AssetId, Fungible, Asset, Parent}; impl pallet_xcm::benchmarking::Config for Runtime { fn reachable_dest() -> Option { @@ -773,13 +773,7 @@ impl_runtime_apis! { } fn reserve_transferable_asset_and_dest() -> Option<(Asset, Location)> { - Some(( - Asset { - fun: Fungible(ExistentialDeposit::get()), - id: AssetId(Parent.into()) - }, - ParentThen(Parachain(RandomParaId::get().into()).into()).into(), - )) + None } } diff --git a/runtime/hydradx/src/xcm.rs b/runtime/hydradx/src/xcm.rs index cbc8d999e..61be929b1 100644 --- a/runtime/hydradx/src/xcm.rs +++ b/runtime/hydradx/src/xcm.rs @@ -264,10 +264,7 @@ impl pallet_xcm::Config for Runtime { type XcmExecuteFilter = AllowTransferAndSwap; type XcmExecutor = XcmExecutor; type XcmTeleportFilter = Nothing; - #[cfg(not(feature = "runtime-benchmarks"))] type XcmReserveTransferFilter = Everything; - #[cfg(feature = "runtime-benchmarks")] - type XcmReserveTransferFilter = Nothing; type Weigher = FixedWeightBounds; type UniversalLocation = UniversalLocation; type RuntimeOrigin = RuntimeOrigin; From 3456886db5eeddc618ce3c7736479e53b8c47164 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Sat, 15 Jun 2024 14:32:26 +0200 Subject: [PATCH 102/105] remove hwbench --- node/src/command.rs | 9 +-------- node/src/service.rs | 30 +----------------------------- 2 files changed, 2 insertions(+), 37 deletions(-) diff --git a/node/src/command.rs b/node/src/command.rs index 24b8c8a8e..9ebbe33f3 100644 --- a/node/src/command.rs +++ b/node/src/command.rs @@ -282,13 +282,6 @@ pub fn run() -> sc_cli::Result<()> { return Err("It is not allowed to run a collator node with the benchmarking runtime.".into()); }; - let hwbench = (!cli.no_hardware_benchmarks) - .then_some(config.database.path().map(|database_path| { - let _ = std::fs::create_dir_all(database_path); - sc_sysinfo::gather_hwbench(Some(database_path)) - })) - .flatten(); - let polkadot_cli = RelayChainCli::new( &config, [RelayChainCli::executable_name()] @@ -325,7 +318,7 @@ pub fn run() -> sc_cli::Result<()> { if config.role.is_authority() { "yes" } else { "no" } ); - crate::service::start_node(config, polkadot_config, cli.ethereum_config, collator_options, id, hwbench) + crate::service::start_node(config, polkadot_config, cli.ethereum_config, collator_options, id) .await .map(|r| r.0) .map_err(Into::into) diff --git a/node/src/service.rs b/node/src/service.rs index c38a39c62..e45de298b 100644 --- a/node/src/service.rs +++ b/node/src/service.rs @@ -206,7 +206,6 @@ async fn start_node_impl( ethereum_config: evm::EthereumConfig, collator_options: CollatorOptions, para_id: ParaId, - hwbench: Option, ) -> sc_service::error::Result<(TaskManager, Arc)> { let parachain_config = prepare_node_config(parachain_config); @@ -225,7 +224,7 @@ async fn start_node_impl( telemetry_worker_handle, &mut task_manager, collator_options.clone(), - hwbench.clone(), + None, ) .await .map_err(|e| sc_service::Error::Application(Box::new(e) as Box<_>))?; @@ -368,31 +367,6 @@ async fn start_node_impl( pubsub_notification_sinks, ); - if let Some(hwbench) = hwbench { - sc_sysinfo::print_hwbench(&hwbench); - /* - // Here you can check whether the hardware meets your chains' requirements. Putting a link - // in there and swapping out the requirements for your own are probably a good idea. The - // requirements for a para-chain are dictated by its relay-chain. - if !frame_benchmarking_cli::SUBSTRATE_REFERENCE_HARDWARE.check_hardware(&hwbench) && validator { - log::warn!( - "⚠️ The hardware does not meet the minimal requirements for role 'Authority' find out more at:\n\ - https://wiki.polkadot.network/docs/maintain-guides-how-to-validate-polkadot#reference-hardware" - ); - } - - */ - - if let Some(ref mut telemetry) = telemetry { - let telemetry_handle = telemetry.handle(); - task_manager.spawn_handle().spawn( - "telemetry_hwbench", - None, - sc_sysinfo::initialize_hwbench_telemetry(telemetry_handle, hwbench), - ); - } - } - let announce_block = { let sync_service = sync_service.clone(); Arc::new(move |hash, data| sync_service.announce_block(hash, data)) @@ -549,7 +523,6 @@ pub async fn start_node( ethereum_config: evm::EthereumConfig, collator_options: CollatorOptions, para_id: ParaId, - hwbench: Option, ) -> sc_service::error::Result<(TaskManager, Arc)> { start_node_impl( parachain_config, @@ -557,7 +530,6 @@ pub async fn start_node( ethereum_config, collator_options, para_id, - hwbench, ) .await } From 9811dddb2712e5f906d704b53acdf1135fd45051 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Sun, 16 Jun 2024 14:02:55 +0200 Subject: [PATCH 103/105] remove todo comments and add missing comments --- runtime/hydradx/src/governance.rs | 6 +++--- runtime/hydradx/src/lib.rs | 1 + runtime/hydradx/src/xcm.rs | 4 ++-- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/runtime/hydradx/src/governance.rs b/runtime/hydradx/src/governance.rs index d6a693cf7..69e8886c4 100644 --- a/runtime/hydradx/src/governance.rs +++ b/runtime/hydradx/src/governance.rs @@ -125,14 +125,14 @@ impl pallet_treasury::Config for Runtime { #[cfg(feature = "runtime-benchmarks")] type SpendOrigin = frame_system::EnsureWithSuccess, AccountId, crate::benches::BenchmarkMaxBalance>; - type AssetKind = (); + type AssetKind = (); // support only the native currency type Beneficiary = AccountId; type BeneficiaryLookup = IdentityLookup; type Paymaster = PayFromTreasuryAccount; type BalanceConverter = UnityAssetBalanceConversion; type PayoutPeriod = TreasuryPayoutPeriod; #[cfg(feature = "runtime-benchmarks")] - type BenchmarkHelper = (); + type BenchmarkHelper = (); // default impl is enough because we support only the native currency } parameter_types! { @@ -381,7 +381,7 @@ parameter_types! { pub const TipReportDepositBase: Balance = 10 * DOLLARS; pub const TipReportDepositPerByte: Balance = CENTS; pub const MaximumReasonLength: u32 = 1024; - pub const MaxTipAmount: u128 = 5_000_000 * UNITS; + pub const MaxTipAmount: u128 = 5_000_000 * UNITS; // ~$100k } impl pallet_tips::Config for Runtime { diff --git a/runtime/hydradx/src/lib.rs b/runtime/hydradx/src/lib.rs index fd23af86f..e72fc62f4 100644 --- a/runtime/hydradx/src/lib.rs +++ b/runtime/hydradx/src/lib.rs @@ -773,6 +773,7 @@ impl_runtime_apis! { } fn reserve_transferable_asset_and_dest() -> Option<(Asset, Location)> { + // TODO: https://github.com/galacticcouncil/HydraDX-node/issues/840 None } } diff --git a/runtime/hydradx/src/xcm.rs b/runtime/hydradx/src/xcm.rs index 61be929b1..2384cfaa5 100644 --- a/runtime/hydradx/src/xcm.rs +++ b/runtime/hydradx/src/xcm.rs @@ -241,8 +241,8 @@ impl orml_xtokens::Config for Runtime { type ReserveProvider = AbsoluteReserveProvider; type MinXcmFee = ParachainMinFee; type UniversalLocation = UniversalLocation; - type RateLimiter = (); //TODO: what do ? - type RateLimiterId = (); //TODO: what do ? + type RateLimiter = (); // do not use rate limiter + type RateLimiterId = (); } impl orml_unknown_tokens::Config for Runtime { From a2dbc771fc84fc7385049247c6989dffb33e72a5 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Mon, 17 Jun 2024 14:38:35 +0200 Subject: [PATCH 104/105] remove todo comment --- node/src/rpc.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/node/src/rpc.rs b/node/src/rpc.rs index 3ee36a874..19fa60f40 100644 --- a/node/src/rpc.rs +++ b/node/src/rpc.rs @@ -51,7 +51,6 @@ use sp_block_builder::BlockBuilder as BlockBuilderApi; use sp_blockchain::{Error as BlockChainError, HeaderBackend, HeaderMetadata}; use sp_runtime::traits::{BlakeTwo256, Block as BlockT}; -//TODO: this is probably not correct for hydra.. verify what do pub struct HydraDxEGA; impl fc_rpc::EstimateGasAdapter for HydraDxEGA { From f8ac85a53f61cba711411ef1c8ddfe965d8d1220 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Tue, 18 Jun 2024 16:17:12 +0200 Subject: [PATCH 105/105] resolve comments from the review --- runtime/hydradx/src/governance.rs | 2 +- runtime/hydradx/src/lib.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/runtime/hydradx/src/governance.rs b/runtime/hydradx/src/governance.rs index 69e8886c4..670a68f5e 100644 --- a/runtime/hydradx/src/governance.rs +++ b/runtime/hydradx/src/governance.rs @@ -125,7 +125,7 @@ impl pallet_treasury::Config for Runtime { #[cfg(feature = "runtime-benchmarks")] type SpendOrigin = frame_system::EnsureWithSuccess, AccountId, crate::benches::BenchmarkMaxBalance>; - type AssetKind = (); // support only the native currency + type AssetKind = (); // set to () to support only the native currency type Beneficiary = AccountId; type BeneficiaryLookup = IdentityLookup; type Paymaster = PayFromTreasuryAccount; diff --git a/runtime/hydradx/src/lib.rs b/runtime/hydradx/src/lib.rs index e72fc62f4..30cfc4382 100644 --- a/runtime/hydradx/src/lib.rs +++ b/runtime/hydradx/src/lib.rs @@ -774,6 +774,7 @@ impl_runtime_apis! { fn reserve_transferable_asset_and_dest() -> Option<(Asset, Location)> { // TODO: https://github.com/galacticcouncil/HydraDX-node/issues/840 + // fix it in next upgrade > 1.7.2 None } }