fix: Resolve cargo clippy errors and add CI workflow plan

## Changes

### Clippy Fixes
- Fixed deprecated `cargo_bin` usage in 27 test files (added #![allow(deprecated)])
- Fixed uninlined_format_args in zombienet-sdk-tests
- Fixed subxt API changes in revive/rpc/tests.rs (fetch signature, StorageValue)
- Fixed dead_code warnings in validator-pool and identity-kyc mocks
- Fixed field name `i` -> `_i` in tasks example

### CI Infrastructure
- Added .claude/WORKFLOW_PLAN.md for tracking CI fix progress
- Updated lychee.toml and taplo.toml configs

### Files Modified
- 27 test files with deprecated cargo_bin fix
- bizinikiwi/pezframe/revive/rpc/src/tests.rs (subxt API)
- pezkuwi/pezpallets/validator-pool/src/{mock,tests}.rs
- pezcumulus/teyrchains/pezpallets/identity-kyc/src/mock.rs
- bizinikiwi/pezframe/examples/tasks/src/tests.rs

## Status
- cargo clippy: PASSING
- Next: cargo fmt, zepter, workspace checks
This commit is contained in:
2025-12-22 16:36:14 +03:00
parent 8acf59c6aa
commit 65b7f5e640
1393 changed files with 17834 additions and 179151 deletions
@@ -87,17 +87,17 @@ pezsp-weights = { workspace = true }
# num-traits feature needed for dex integer sq root:
primitive-types = { features = [
"codec",
"num-traits",
"scale-info",
"codec",
"num-traits",
"scale-info",
], workspace = true }
# Pezkuwi
pezpallet-xcm = { workspace = true }
pezpallet-xcm-benchmarks = { optional = true, workspace = true }
pezkuwi-runtime-common = { workspace = true }
pezkuwi-teyrchain-primitives = { workspace = true }
pezkuwichain-runtime-constants = { workspace = true }
pezpallet-xcm = { workspace = true }
pezpallet-xcm-benchmarks = { optional = true, workspace = true }
xcm = { workspace = true }
xcm-builder = { workspace = true }
xcm-executor = { workspace = true }
@@ -137,250 +137,250 @@ bizinikiwi-wasm-builder = { optional = true, workspace = true, default-features
default = ["std"]
fast-runtime = []
runtime-benchmarks = [
"asset-test-pezutils/runtime-benchmarks",
"assets-common/runtime-benchmarks",
"bp-asset-hub-pezkuwichain/runtime-benchmarks",
"bp-asset-hub-zagros/runtime-benchmarks",
"bp-bridge-hub-pezkuwichain/runtime-benchmarks",
"bp-bridge-hub-zagros/runtime-benchmarks",
"pezcumulus-pezpallet-aura-ext/runtime-benchmarks",
"pezcumulus-pezpallet-session-benchmarking/runtime-benchmarks",
"pezcumulus-pezpallet-teyrchain-system/runtime-benchmarks",
"pezcumulus-pezpallet-weight-reclaim/runtime-benchmarks",
"pezcumulus-pezpallet-xcm/runtime-benchmarks",
"pezcumulus-pezpallet-xcmp-queue/runtime-benchmarks",
"pezcumulus-primitives-aura/runtime-benchmarks",
"pezcumulus-primitives-core/runtime-benchmarks",
"pezcumulus-primitives-utility/runtime-benchmarks",
"pezframe-benchmarking/runtime-benchmarks",
"pezframe-election-provider-support/runtime-benchmarks",
"pezframe-executive/runtime-benchmarks",
"pezframe-metadata-hash-extension/runtime-benchmarks",
"pezframe-support/runtime-benchmarks",
"pezframe-system-benchmarking/runtime-benchmarks",
"pezframe-system-rpc-runtime-api/runtime-benchmarks",
"pezframe-system/runtime-benchmarks",
"pezframe-try-runtime?/runtime-benchmarks",
"pezpallet-asset-conversion-ops/runtime-benchmarks",
"pezpallet-asset-conversion-tx-payment/runtime-benchmarks",
"pezpallet-asset-conversion/runtime-benchmarks",
"pezpallet-asset-rate/runtime-benchmarks",
"pezpallet-asset-rewards/runtime-benchmarks",
"pezpallet-assets-freezer/runtime-benchmarks",
"pezpallet-assets/runtime-benchmarks",
"pezpallet-aura/runtime-benchmarks",
"pezpallet-authorship/runtime-benchmarks",
"pezpallet-bags-list/runtime-benchmarks",
"pezpallet-balances/runtime-benchmarks",
"pezpallet-bounties/runtime-benchmarks",
"pezpallet-child-bounties/runtime-benchmarks",
"pezpallet-collator-selection/runtime-benchmarks",
"pezpallet-delegated-staking/runtime-benchmarks",
"pezpallet-election-provider-multi-block/runtime-benchmarks",
"pezpallet-message-queue/runtime-benchmarks",
"pezpallet-multisig/runtime-benchmarks",
"pezpallet-nft-fractionalization/runtime-benchmarks",
"pezpallet-nfts/runtime-benchmarks",
"pezpallet-nis/runtime-benchmarks",
"pezpallet-nomination-pools-runtime-api/runtime-benchmarks",
"pezpallet-nomination-pools/runtime-benchmarks",
"pezpallet-pez-treasury/runtime-benchmarks",
"pezpallet-presale/runtime-benchmarks",
"pezpallet-proxy/runtime-benchmarks",
"pezpallet-session/runtime-benchmarks",
"pezpallet-staking-async-rc-client/runtime-benchmarks",
"pezpallet-staking-async/runtime-benchmarks",
"pezpallet-staking-runtime-api/runtime-benchmarks",
"pezpallet-staking/runtime-benchmarks",
"pezpallet-timestamp/runtime-benchmarks",
"pezpallet-token-wrapper/runtime-benchmarks",
"pezpallet-transaction-payment-rpc-runtime-api/runtime-benchmarks",
"pezpallet-transaction-payment/runtime-benchmarks",
"pezpallet-treasury/runtime-benchmarks",
"pezpallet-uniques/runtime-benchmarks",
"pezpallet-utility/runtime-benchmarks",
"pezpallet-xcm-benchmarks/runtime-benchmarks",
"pezpallet-xcm-bridge-hub-router/runtime-benchmarks",
"pezpallet-xcm/runtime-benchmarks",
"pezkuwi-runtime-common/runtime-benchmarks",
"pezkuwi-teyrchain-primitives/runtime-benchmarks",
"pezkuwichain-runtime-constants/runtime-benchmarks",
"pezsp-api/runtime-benchmarks",
"pezsp-block-builder/runtime-benchmarks",
"pezsp-consensus-aura/runtime-benchmarks",
"pezsp-genesis-builder/runtime-benchmarks",
"pezsp-inherents/runtime-benchmarks",
"pezsp-keyring/runtime-benchmarks",
"pezsp-npos-elections/runtime-benchmarks",
"pezsp-offchain/runtime-benchmarks",
"pezsp-runtime/runtime-benchmarks",
"pezsp-session/runtime-benchmarks",
"pezsp-staking/runtime-benchmarks",
"pezsp-transaction-pool/runtime-benchmarks",
"pezsp-version/runtime-benchmarks",
"bizinikiwi-wasm-builder?/runtime-benchmarks",
"testnet-teyrchains-constants/runtime-benchmarks",
"teyrchain-info/runtime-benchmarks",
"teyrchains-common/runtime-benchmarks",
"teyrchains-runtimes-test-utils/runtime-benchmarks",
"xcm-builder/runtime-benchmarks",
"xcm-executor/runtime-benchmarks",
"xcm-runtime-pezapis/runtime-benchmarks",
"xcm/runtime-benchmarks",
"asset-test-pezutils/runtime-benchmarks",
"assets-common/runtime-benchmarks",
"bizinikiwi-wasm-builder?/runtime-benchmarks",
"bp-asset-hub-pezkuwichain/runtime-benchmarks",
"bp-asset-hub-zagros/runtime-benchmarks",
"bp-bridge-hub-pezkuwichain/runtime-benchmarks",
"bp-bridge-hub-zagros/runtime-benchmarks",
"pezcumulus-pezpallet-aura-ext/runtime-benchmarks",
"pezcumulus-pezpallet-session-benchmarking/runtime-benchmarks",
"pezcumulus-pezpallet-teyrchain-system/runtime-benchmarks",
"pezcumulus-pezpallet-weight-reclaim/runtime-benchmarks",
"pezcumulus-pezpallet-xcm/runtime-benchmarks",
"pezcumulus-pezpallet-xcmp-queue/runtime-benchmarks",
"pezcumulus-primitives-aura/runtime-benchmarks",
"pezcumulus-primitives-core/runtime-benchmarks",
"pezcumulus-primitives-utility/runtime-benchmarks",
"pezframe-benchmarking/runtime-benchmarks",
"pezframe-election-provider-support/runtime-benchmarks",
"pezframe-executive/runtime-benchmarks",
"pezframe-metadata-hash-extension/runtime-benchmarks",
"pezframe-support/runtime-benchmarks",
"pezframe-system-benchmarking/runtime-benchmarks",
"pezframe-system-rpc-runtime-api/runtime-benchmarks",
"pezframe-system/runtime-benchmarks",
"pezframe-try-runtime?/runtime-benchmarks",
"pezkuwi-runtime-common/runtime-benchmarks",
"pezkuwi-teyrchain-primitives/runtime-benchmarks",
"pezkuwichain-runtime-constants/runtime-benchmarks",
"pezpallet-asset-conversion-ops/runtime-benchmarks",
"pezpallet-asset-conversion-tx-payment/runtime-benchmarks",
"pezpallet-asset-conversion/runtime-benchmarks",
"pezpallet-asset-rate/runtime-benchmarks",
"pezpallet-asset-rewards/runtime-benchmarks",
"pezpallet-assets-freezer/runtime-benchmarks",
"pezpallet-assets/runtime-benchmarks",
"pezpallet-aura/runtime-benchmarks",
"pezpallet-authorship/runtime-benchmarks",
"pezpallet-bags-list/runtime-benchmarks",
"pezpallet-balances/runtime-benchmarks",
"pezpallet-bounties/runtime-benchmarks",
"pezpallet-child-bounties/runtime-benchmarks",
"pezpallet-collator-selection/runtime-benchmarks",
"pezpallet-delegated-staking/runtime-benchmarks",
"pezpallet-election-provider-multi-block/runtime-benchmarks",
"pezpallet-message-queue/runtime-benchmarks",
"pezpallet-multisig/runtime-benchmarks",
"pezpallet-nft-fractionalization/runtime-benchmarks",
"pezpallet-nfts/runtime-benchmarks",
"pezpallet-nis/runtime-benchmarks",
"pezpallet-nomination-pools-runtime-api/runtime-benchmarks",
"pezpallet-nomination-pools/runtime-benchmarks",
"pezpallet-pez-treasury/runtime-benchmarks",
"pezpallet-presale/runtime-benchmarks",
"pezpallet-proxy/runtime-benchmarks",
"pezpallet-session/runtime-benchmarks",
"pezpallet-staking-async-rc-client/runtime-benchmarks",
"pezpallet-staking-async/runtime-benchmarks",
"pezpallet-staking-runtime-api/runtime-benchmarks",
"pezpallet-staking/runtime-benchmarks",
"pezpallet-timestamp/runtime-benchmarks",
"pezpallet-token-wrapper/runtime-benchmarks",
"pezpallet-transaction-payment-rpc-runtime-api/runtime-benchmarks",
"pezpallet-transaction-payment/runtime-benchmarks",
"pezpallet-treasury/runtime-benchmarks",
"pezpallet-uniques/runtime-benchmarks",
"pezpallet-utility/runtime-benchmarks",
"pezpallet-xcm-benchmarks/runtime-benchmarks",
"pezpallet-xcm-bridge-hub-router/runtime-benchmarks",
"pezpallet-xcm/runtime-benchmarks",
"pezsp-api/runtime-benchmarks",
"pezsp-block-builder/runtime-benchmarks",
"pezsp-consensus-aura/runtime-benchmarks",
"pezsp-genesis-builder/runtime-benchmarks",
"pezsp-inherents/runtime-benchmarks",
"pezsp-keyring/runtime-benchmarks",
"pezsp-npos-elections/runtime-benchmarks",
"pezsp-offchain/runtime-benchmarks",
"pezsp-runtime/runtime-benchmarks",
"pezsp-session/runtime-benchmarks",
"pezsp-staking/runtime-benchmarks",
"pezsp-transaction-pool/runtime-benchmarks",
"pezsp-version/runtime-benchmarks",
"testnet-teyrchains-constants/runtime-benchmarks",
"teyrchain-info/runtime-benchmarks",
"teyrchains-common/runtime-benchmarks",
"teyrchains-runtimes-test-utils/runtime-benchmarks",
"xcm-builder/runtime-benchmarks",
"xcm-executor/runtime-benchmarks",
"xcm-runtime-pezapis/runtime-benchmarks",
"xcm/runtime-benchmarks",
]
try-runtime = [
"asset-test-pezutils/try-runtime",
"assets-common/try-runtime",
"pezcumulus-pezpallet-aura-ext/try-runtime",
"pezcumulus-pezpallet-teyrchain-system/try-runtime",
"pezcumulus-pezpallet-weight-reclaim/try-runtime",
"pezcumulus-pezpallet-xcm/try-runtime",
"pezcumulus-pezpallet-xcmp-queue/try-runtime",
"pezframe-election-provider-support/try-runtime",
"pezframe-executive/try-runtime",
"pezframe-support/try-runtime",
"pezframe-system/try-runtime",
"pezframe-try-runtime/try-runtime",
"pezpallet-asset-conversion-ops/try-runtime",
"pezpallet-asset-conversion-tx-payment/try-runtime",
"pezpallet-asset-conversion/try-runtime",
"pezpallet-asset-rate/try-runtime",
"pezpallet-asset-rewards/try-runtime",
"pezpallet-assets-freezer/try-runtime",
"pezpallet-assets/try-runtime",
"pezpallet-aura/try-runtime",
"pezpallet-authorship/try-runtime",
"pezpallet-bags-list/try-runtime",
"pezpallet-balances/try-runtime",
"pezpallet-bounties/try-runtime",
"pezpallet-child-bounties/try-runtime",
"pezpallet-collator-selection/try-runtime",
"pezpallet-delegated-staking/try-runtime",
"pezpallet-election-provider-multi-block/try-runtime",
"pezpallet-message-queue/try-runtime",
"pezpallet-multisig/try-runtime",
"pezpallet-nft-fractionalization/try-runtime",
"pezpallet-nfts/try-runtime",
"pezpallet-nis/try-runtime",
"pezpallet-nomination-pools/try-runtime",
"pezpallet-pez-treasury/try-runtime",
"pezpallet-presale/try-runtime",
"pezpallet-proxy/try-runtime",
"pezpallet-session/try-runtime",
"pezpallet-staking-async-rc-client/try-runtime",
"pezpallet-staking-async/try-runtime",
"pezpallet-staking/try-runtime",
"pezpallet-timestamp/try-runtime",
"pezpallet-token-wrapper/try-runtime",
"pezpallet-transaction-payment/try-runtime",
"pezpallet-treasury/try-runtime",
"pezpallet-uniques/try-runtime",
"pezpallet-utility/try-runtime",
"pezpallet-xcm-bridge-hub-router/try-runtime",
"pezpallet-xcm/try-runtime",
"pezkuwi-runtime-common/try-runtime",
"pezsp-runtime/try-runtime",
"teyrchain-info/try-runtime",
"teyrchains-common/try-runtime",
"asset-test-pezutils/try-runtime",
"assets-common/try-runtime",
"pezcumulus-pezpallet-aura-ext/try-runtime",
"pezcumulus-pezpallet-teyrchain-system/try-runtime",
"pezcumulus-pezpallet-weight-reclaim/try-runtime",
"pezcumulus-pezpallet-xcm/try-runtime",
"pezcumulus-pezpallet-xcmp-queue/try-runtime",
"pezframe-election-provider-support/try-runtime",
"pezframe-executive/try-runtime",
"pezframe-support/try-runtime",
"pezframe-system/try-runtime",
"pezframe-try-runtime/try-runtime",
"pezkuwi-runtime-common/try-runtime",
"pezpallet-asset-conversion-ops/try-runtime",
"pezpallet-asset-conversion-tx-payment/try-runtime",
"pezpallet-asset-conversion/try-runtime",
"pezpallet-asset-rate/try-runtime",
"pezpallet-asset-rewards/try-runtime",
"pezpallet-assets-freezer/try-runtime",
"pezpallet-assets/try-runtime",
"pezpallet-aura/try-runtime",
"pezpallet-authorship/try-runtime",
"pezpallet-bags-list/try-runtime",
"pezpallet-balances/try-runtime",
"pezpallet-bounties/try-runtime",
"pezpallet-child-bounties/try-runtime",
"pezpallet-collator-selection/try-runtime",
"pezpallet-delegated-staking/try-runtime",
"pezpallet-election-provider-multi-block/try-runtime",
"pezpallet-message-queue/try-runtime",
"pezpallet-multisig/try-runtime",
"pezpallet-nft-fractionalization/try-runtime",
"pezpallet-nfts/try-runtime",
"pezpallet-nis/try-runtime",
"pezpallet-nomination-pools/try-runtime",
"pezpallet-pez-treasury/try-runtime",
"pezpallet-presale/try-runtime",
"pezpallet-proxy/try-runtime",
"pezpallet-session/try-runtime",
"pezpallet-staking-async-rc-client/try-runtime",
"pezpallet-staking-async/try-runtime",
"pezpallet-staking/try-runtime",
"pezpallet-timestamp/try-runtime",
"pezpallet-token-wrapper/try-runtime",
"pezpallet-transaction-payment/try-runtime",
"pezpallet-treasury/try-runtime",
"pezpallet-uniques/try-runtime",
"pezpallet-utility/try-runtime",
"pezpallet-xcm-bridge-hub-router/try-runtime",
"pezpallet-xcm/try-runtime",
"pezsp-runtime/try-runtime",
"teyrchain-info/try-runtime",
"teyrchains-common/try-runtime",
]
std = [
"assets-common/std",
"bp-asset-hub-pezkuwichain/std",
"bp-asset-hub-zagros/std",
"bp-bridge-hub-pezkuwichain/std",
"bp-bridge-hub-zagros/std",
"codec/std",
"pezcumulus-pezpallet-aura-ext/std",
"pezcumulus-pezpallet-session-benchmarking/std",
"pezcumulus-pezpallet-teyrchain-system/std",
"pezcumulus-pezpallet-weight-reclaim/std",
"pezcumulus-pezpallet-xcm/std",
"pezcumulus-pezpallet-xcmp-queue/std",
"pezcumulus-primitives-aura/std",
"pezcumulus-primitives-core/std",
"pezcumulus-primitives-utility/std",
"pezframe-benchmarking?/std",
"pezframe-election-provider-support/std",
"pezframe-executive/std",
"pezframe-metadata-hash-extension/std",
"pezframe-support/std",
"pezframe-system-benchmarking?/std",
"pezframe-system-rpc-runtime-api/std",
"pezframe-system/std",
"pezframe-try-runtime?/std",
"log/std",
"pezpallet-asset-conversion-ops/std",
"pezpallet-asset-conversion-tx-payment/std",
"pezpallet-asset-conversion/std",
"pezpallet-asset-rate/std",
"pezpallet-asset-rewards/std",
"pezpallet-assets-freezer/std",
"pezpallet-assets/std",
"pezpallet-aura/std",
"pezpallet-authorship/std",
"pezpallet-bags-list/std",
"pezpallet-balances/std",
"pezpallet-bounties/std",
"pezpallet-child-bounties/std",
"pezpallet-collator-selection/std",
"pezpallet-delegated-staking/std",
"pezpallet-election-provider-multi-block/std",
"pezpallet-message-queue/std",
"pezpallet-multisig/std",
"pezpallet-nft-fractionalization/std",
"pezpallet-nfts/std",
"pezpallet-nis/std",
"pezpallet-nomination-pools-runtime-api/std",
"pezpallet-nomination-pools/std",
"pezpallet-pez-treasury/std",
"pezpallet-presale/std",
"pezpallet-proxy/std",
"pezpallet-session/std",
"pezpallet-staking-async-rc-client/std",
"pezpallet-staking-async/std",
"pezpallet-staking-runtime-api/std",
"pezpallet-staking/std",
"pezpallet-timestamp/std",
"pezpallet-token-wrapper/std",
"pezpallet-transaction-payment-rpc-runtime-api/std",
"pezpallet-transaction-payment/std",
"pezpallet-treasury/std",
"pezpallet-uniques/std",
"pezpallet-utility/std",
"pezpallet-xcm-benchmarks?/std",
"pezpallet-xcm-bridge-hub-router/std",
"pezpallet-xcm/std",
"pezkuwi-runtime-common/std",
"pezkuwi-teyrchain-primitives/std",
"pezkuwichain-runtime-constants/std",
"primitive-types/std",
"scale-info/std",
"serde_json/std",
"pezsp-api/std",
"pezsp-block-builder/std",
"pezsp-consensus-aura/std",
"pezsp-core/std",
"pezsp-genesis-builder/std",
"pezsp-inherents/std",
"pezsp-keyring/std",
"pezsp-npos-elections/std",
"pezsp-offchain/std",
"pezsp-runtime/std",
"pezsp-session/std",
"pezsp-staking/std",
"pezsp-storage/std",
"pezsp-transaction-pool/std",
"pezsp-version/std",
"pezsp-weights/std",
"bizinikiwi-wasm-builder",
"testnet-teyrchains-constants/std",
"teyrchain-info/std",
"teyrchains-common/std",
"tracing/std",
"xcm-builder/std",
"xcm-executor/std",
"xcm-runtime-pezapis/std",
"xcm/std",
"assets-common/std",
"bizinikiwi-wasm-builder",
"bp-asset-hub-pezkuwichain/std",
"bp-asset-hub-zagros/std",
"bp-bridge-hub-pezkuwichain/std",
"bp-bridge-hub-zagros/std",
"codec/std",
"log/std",
"pezcumulus-pezpallet-aura-ext/std",
"pezcumulus-pezpallet-session-benchmarking/std",
"pezcumulus-pezpallet-teyrchain-system/std",
"pezcumulus-pezpallet-weight-reclaim/std",
"pezcumulus-pezpallet-xcm/std",
"pezcumulus-pezpallet-xcmp-queue/std",
"pezcumulus-primitives-aura/std",
"pezcumulus-primitives-core/std",
"pezcumulus-primitives-utility/std",
"pezframe-benchmarking?/std",
"pezframe-election-provider-support/std",
"pezframe-executive/std",
"pezframe-metadata-hash-extension/std",
"pezframe-support/std",
"pezframe-system-benchmarking?/std",
"pezframe-system-rpc-runtime-api/std",
"pezframe-system/std",
"pezframe-try-runtime?/std",
"pezkuwi-runtime-common/std",
"pezkuwi-teyrchain-primitives/std",
"pezkuwichain-runtime-constants/std",
"pezpallet-asset-conversion-ops/std",
"pezpallet-asset-conversion-tx-payment/std",
"pezpallet-asset-conversion/std",
"pezpallet-asset-rate/std",
"pezpallet-asset-rewards/std",
"pezpallet-assets-freezer/std",
"pezpallet-assets/std",
"pezpallet-aura/std",
"pezpallet-authorship/std",
"pezpallet-bags-list/std",
"pezpallet-balances/std",
"pezpallet-bounties/std",
"pezpallet-child-bounties/std",
"pezpallet-collator-selection/std",
"pezpallet-delegated-staking/std",
"pezpallet-election-provider-multi-block/std",
"pezpallet-message-queue/std",
"pezpallet-multisig/std",
"pezpallet-nft-fractionalization/std",
"pezpallet-nfts/std",
"pezpallet-nis/std",
"pezpallet-nomination-pools-runtime-api/std",
"pezpallet-nomination-pools/std",
"pezpallet-pez-treasury/std",
"pezpallet-presale/std",
"pezpallet-proxy/std",
"pezpallet-session/std",
"pezpallet-staking-async-rc-client/std",
"pezpallet-staking-async/std",
"pezpallet-staking-runtime-api/std",
"pezpallet-staking/std",
"pezpallet-timestamp/std",
"pezpallet-token-wrapper/std",
"pezpallet-transaction-payment-rpc-runtime-api/std",
"pezpallet-transaction-payment/std",
"pezpallet-treasury/std",
"pezpallet-uniques/std",
"pezpallet-utility/std",
"pezpallet-xcm-benchmarks?/std",
"pezpallet-xcm-bridge-hub-router/std",
"pezpallet-xcm/std",
"pezsp-api/std",
"pezsp-block-builder/std",
"pezsp-consensus-aura/std",
"pezsp-core/std",
"pezsp-genesis-builder/std",
"pezsp-inherents/std",
"pezsp-keyring/std",
"pezsp-npos-elections/std",
"pezsp-offchain/std",
"pezsp-runtime/std",
"pezsp-session/std",
"pezsp-staking/std",
"pezsp-storage/std",
"pezsp-transaction-pool/std",
"pezsp-version/std",
"pezsp-weights/std",
"primitive-types/std",
"scale-info/std",
"serde_json/std",
"testnet-teyrchains-constants/std",
"teyrchain-info/std",
"teyrchains-common/std",
"tracing/std",
"xcm-builder/std",
"xcm-executor/std",
"xcm-runtime-pezapis/std",
"xcm/std",
]
# Enable the metadata hash generation in the wasm builder.
@@ -27,8 +27,8 @@ pezsp-core = { workspace = true }
# Bridge Dependencies
bp-bridge-hub-pezcumulus = { workspace = true }
bp-messages = { workspace = true }
pezbp-runtime = { workspace = true }
bp-xcm-bridge-hub-router = { workspace = true }
pezbp-runtime = { workspace = true }
testnet-teyrchains-constants = { features = ["pezkuwichain"], workspace = true }
# Pezkuwi dependencies
@@ -37,25 +37,25 @@ xcm = { workspace = true }
[features]
default = ["std"]
std = [
"bp-bridge-hub-pezcumulus/std",
"bp-messages/std",
"pezbp-runtime/std",
"bp-xcm-bridge-hub-router/std",
"codec/std",
"pezframe-support/std",
"scale-info/std",
"pezsp-api/std",
"pezsp-core/std",
"testnet-teyrchains-constants/std",
"xcm/std",
"bp-bridge-hub-pezcumulus/std",
"bp-messages/std",
"bp-xcm-bridge-hub-router/std",
"codec/std",
"pezbp-runtime/std",
"pezframe-support/std",
"pezsp-api/std",
"pezsp-core/std",
"scale-info/std",
"testnet-teyrchains-constants/std",
"xcm/std",
]
runtime-benchmarks = [
"bp-bridge-hub-pezcumulus/runtime-benchmarks",
"bp-messages/runtime-benchmarks",
"pezbp-runtime/runtime-benchmarks",
"bp-xcm-bridge-hub-router/runtime-benchmarks",
"pezframe-support/runtime-benchmarks",
"pezsp-api/runtime-benchmarks",
"testnet-teyrchains-constants/runtime-benchmarks",
"xcm/runtime-benchmarks",
"bp-bridge-hub-pezcumulus/runtime-benchmarks",
"bp-messages/runtime-benchmarks",
"bp-xcm-bridge-hub-router/runtime-benchmarks",
"pezbp-runtime/runtime-benchmarks",
"pezframe-support/runtime-benchmarks",
"pezsp-api/runtime-benchmarks",
"testnet-teyrchains-constants/runtime-benchmarks",
"xcm/runtime-benchmarks",
]
@@ -54,9 +54,6 @@ pub const WHEZ_ASSET_ID: AssetIdForTrustBackedAssets = 2;
/// PEZ Token decimals (same as HEZ)
pub const PEZ_DECIMALS: u8 = 12;
/// Total PEZ supply: 5 Billion
pub const PEZ_TOTAL_SUPPLY: Balance = 5_000_000_000 * TYR;
/// Treasury allocation: 20.25% = 1,012,500,000 PEZ
pub const PEZ_TREASURY_ALLOCATION: Balance = 1_012_500_000 * TYR;
@@ -69,17 +66,15 @@ pub const PEZ_PRESALE_ALLOCATION: Balance = 93_750_000 * TYR;
/// Rewards pool: 76% = 3,800,000,000 PEZ (distributed via sentetik halving)
pub const PEZ_REWARDS_POOL: Balance = 3_800_000_000 * TYR;
// Compile-time verification that all allocations sum to PEZ_TOTAL_SUPPLY
const _: () = {
assert!(
PEZ_TREASURY_ALLOCATION +
PEZ_FOUNDER_ALLOCATION +
PEZ_PRESALE_ALLOCATION +
PEZ_REWARDS_POOL ==
PEZ_TOTAL_SUPPLY,
"PEZ allocations must sum to exactly 5 billion tokens"
);
};
/// Total PEZ supply: 5 Billion (derived from allocations)
pub const PEZ_TOTAL_SUPPLY: Balance =
PEZ_TREASURY_ALLOCATION + PEZ_FOUNDER_ALLOCATION + PEZ_PRESALE_ALLOCATION + PEZ_REWARDS_POOL;
// Compile-time verification that total equals expected 5 billion
const _: () = assert!(
PEZ_TOTAL_SUPPLY == 5_000_000_000 * TYR,
"PEZ allocations must sum to exactly 5 billion tokens"
);
/// Genesis configuration for Asset Hub Pezkuwichain
///
@@ -104,6 +99,13 @@ fn asset_hub_pezkuwichain_genesis(
foreign_assets: Vec<(Location, AccountId, Balance)>,
foreign_assets_endowed_accounts: Vec<(Location, AccountId, Balance)>,
) -> serde_json::Value {
// Verify total PEZ minted at genesis equals PEZ_TOTAL_SUPPLY (5 billion)
debug_assert_eq!(
PEZ_TREASURY_ALLOCATION + PEZ_REWARDS_POOL + PEZ_FOUNDER_ALLOCATION + PEZ_PRESALE_ALLOCATION,
PEZ_TOTAL_SUPPLY,
"PEZ genesis allocations must equal total supply"
);
build_struct_json_patch!(RuntimeGenesisConfig {
balances: BalancesConfig {
balances: endowed_accounts.iter().cloned().map(|k| (k, endowment)).collect(),
@@ -96,17 +96,17 @@ pezsp-version = { workspace = true }
# num-traits feature needed for dex integer sq root:
primitive-types = { features = [
"codec",
"num-traits",
"scale-info",
"codec",
"num-traits",
"scale-info",
], workspace = true }
# Pezkuwi
pezkuwi-runtime-common = { workspace = true }
pezkuwi-teyrchain-primitives = { workspace = true }
pezpallet-xcm = { workspace = true }
pezpallet-xcm-benchmarks = { optional = true, workspace = true }
pezpallet-xcm-precompiles = { workspace = true }
pezkuwi-runtime-common = { workspace = true }
pezkuwi-teyrchain-primitives = { workspace = true }
xcm = { workspace = true }
xcm-builder = { workspace = true }
xcm-executor = { workspace = true }
@@ -153,291 +153,291 @@ bizinikiwi-wasm-builder = { optional = true, workspace = true, default-features
[features]
default = ["std"]
runtime-benchmarks = [
"asset-test-pezutils/runtime-benchmarks",
"assets-common/runtime-benchmarks",
"bp-asset-hub-pezkuwichain/runtime-benchmarks",
"bp-asset-hub-zagros/runtime-benchmarks",
"bp-bridge-hub-pezkuwichain/runtime-benchmarks",
"bp-bridge-hub-zagros/runtime-benchmarks",
"pezcumulus-pezpallet-aura-ext/runtime-benchmarks",
"pezcumulus-pezpallet-session-benchmarking/runtime-benchmarks",
"pezcumulus-pezpallet-teyrchain-system/runtime-benchmarks",
"pezcumulus-pezpallet-weight-reclaim/runtime-benchmarks",
"pezcumulus-pezpallet-xcm/runtime-benchmarks",
"pezcumulus-pezpallet-xcmp-queue/runtime-benchmarks",
"pezcumulus-primitives-aura/runtime-benchmarks",
"pezcumulus-primitives-core/runtime-benchmarks",
"pezcumulus-primitives-utility/runtime-benchmarks",
"pezframe-benchmarking/runtime-benchmarks",
"pezframe-election-provider-support/runtime-benchmarks",
"pezframe-executive/runtime-benchmarks",
"pezframe-metadata-hash-extension/runtime-benchmarks",
"pezframe-support/runtime-benchmarks",
"pezframe-system-benchmarking/runtime-benchmarks",
"pezframe-system-rpc-runtime-api/runtime-benchmarks",
"pezframe-system/runtime-benchmarks",
"pezframe-try-runtime?/runtime-benchmarks",
"pezpallet-ah-ops/runtime-benchmarks",
"pezpallet-asset-conversion-ops/runtime-benchmarks",
"pezpallet-asset-conversion-tx-payment/runtime-benchmarks",
"pezpallet-asset-conversion/runtime-benchmarks",
"pezpallet-asset-rate/runtime-benchmarks",
"pezpallet-asset-rewards/runtime-benchmarks",
"pezpallet-assets-freezer/runtime-benchmarks",
"pezpallet-assets-precompiles/runtime-benchmarks",
"pezpallet-assets/runtime-benchmarks",
"pezpallet-aura/runtime-benchmarks",
"pezpallet-authorship/runtime-benchmarks",
"pezpallet-bags-list/runtime-benchmarks",
"pezpallet-balances/runtime-benchmarks",
"pezpallet-collator-selection/runtime-benchmarks",
"pezpallet-conviction-voting/runtime-benchmarks",
"pezpallet-delegated-staking/runtime-benchmarks",
"pezpallet-election-provider-multi-block/runtime-benchmarks",
"pezpallet-fast-unstake/runtime-benchmarks",
"pezpallet-indices/runtime-benchmarks",
"pezpallet-message-queue/runtime-benchmarks",
"pezpallet-migrations/runtime-benchmarks",
"pezpallet-multisig/runtime-benchmarks",
"pezpallet-nft-fractionalization/runtime-benchmarks",
"pezpallet-nfts-runtime-api/runtime-benchmarks",
"pezpallet-nfts/runtime-benchmarks",
"pezpallet-nomination-pools-runtime-api/runtime-benchmarks",
"pezpallet-nomination-pools/runtime-benchmarks",
"pezpallet-preimage/runtime-benchmarks",
"pezpallet-proxy/runtime-benchmarks",
"pezpallet-referenda/runtime-benchmarks",
"pezpallet-revive/runtime-benchmarks",
"pezpallet-scheduler/runtime-benchmarks",
"pezpallet-session/runtime-benchmarks",
"pezpallet-staking-async-rc-client/runtime-benchmarks",
"pezpallet-staking-async/runtime-benchmarks",
"pezpallet-staking-runtime-api/runtime-benchmarks",
"pezpallet-staking/runtime-benchmarks",
"pezpallet-state-trie-migration/runtime-benchmarks",
"pezpallet-sudo/runtime-benchmarks",
"pezpallet-timestamp/runtime-benchmarks",
"pezpallet-transaction-payment-rpc-runtime-api/runtime-benchmarks",
"pezpallet-transaction-payment/runtime-benchmarks",
"pezpallet-treasury/runtime-benchmarks",
"pezpallet-uniques/runtime-benchmarks",
"pezpallet-utility/runtime-benchmarks",
"pezpallet-vesting/runtime-benchmarks",
"pezpallet-whitelist/runtime-benchmarks",
"pezpallet-xcm-benchmarks/runtime-benchmarks",
"pezpallet-xcm-bridge-hub-router/runtime-benchmarks",
"pezpallet-xcm-precompiles/runtime-benchmarks",
"pezpallet-xcm/runtime-benchmarks",
"pezkuwi-runtime-common/runtime-benchmarks",
"pezkuwi-teyrchain-primitives/runtime-benchmarks",
"pezsnowbridge-outbound-queue-primitives/runtime-benchmarks",
"pezsnowbridge-pezpallet-system-frontend/runtime-benchmarks",
"snowpezbridge-runtime-common/runtime-benchmarks",
"pezsp-api/runtime-benchmarks",
"pezsp-block-builder/runtime-benchmarks",
"pezsp-consensus-aura/runtime-benchmarks",
"pezsp-genesis-builder/runtime-benchmarks",
"pezsp-inherents/runtime-benchmarks",
"pezsp-io/runtime-benchmarks",
"pezsp-keyring/runtime-benchmarks",
"pezsp-npos-elections/runtime-benchmarks",
"pezsp-offchain/runtime-benchmarks",
"pezsp-runtime/runtime-benchmarks",
"pezsp-session/runtime-benchmarks",
"pezsp-staking/runtime-benchmarks",
"pezsp-transaction-pool/runtime-benchmarks",
"pezsp-version/runtime-benchmarks",
"bizinikiwi-wasm-builder?/runtime-benchmarks",
"testnet-teyrchains-constants/runtime-benchmarks",
"teyrchain-info/runtime-benchmarks",
"teyrchains-common/runtime-benchmarks",
"teyrchains-runtimes-test-utils/runtime-benchmarks",
"xcm-builder/runtime-benchmarks",
"xcm-executor/runtime-benchmarks",
"xcm-runtime-pezapis/runtime-benchmarks",
"xcm/runtime-benchmarks",
"zagros-runtime-constants/runtime-benchmarks",
"asset-test-pezutils/runtime-benchmarks",
"assets-common/runtime-benchmarks",
"bizinikiwi-wasm-builder?/runtime-benchmarks",
"bp-asset-hub-pezkuwichain/runtime-benchmarks",
"bp-asset-hub-zagros/runtime-benchmarks",
"bp-bridge-hub-pezkuwichain/runtime-benchmarks",
"bp-bridge-hub-zagros/runtime-benchmarks",
"pezcumulus-pezpallet-aura-ext/runtime-benchmarks",
"pezcumulus-pezpallet-session-benchmarking/runtime-benchmarks",
"pezcumulus-pezpallet-teyrchain-system/runtime-benchmarks",
"pezcumulus-pezpallet-weight-reclaim/runtime-benchmarks",
"pezcumulus-pezpallet-xcm/runtime-benchmarks",
"pezcumulus-pezpallet-xcmp-queue/runtime-benchmarks",
"pezcumulus-primitives-aura/runtime-benchmarks",
"pezcumulus-primitives-core/runtime-benchmarks",
"pezcumulus-primitives-utility/runtime-benchmarks",
"pezframe-benchmarking/runtime-benchmarks",
"pezframe-election-provider-support/runtime-benchmarks",
"pezframe-executive/runtime-benchmarks",
"pezframe-metadata-hash-extension/runtime-benchmarks",
"pezframe-support/runtime-benchmarks",
"pezframe-system-benchmarking/runtime-benchmarks",
"pezframe-system-rpc-runtime-api/runtime-benchmarks",
"pezframe-system/runtime-benchmarks",
"pezframe-try-runtime?/runtime-benchmarks",
"pezkuwi-runtime-common/runtime-benchmarks",
"pezkuwi-teyrchain-primitives/runtime-benchmarks",
"pezpallet-ah-ops/runtime-benchmarks",
"pezpallet-asset-conversion-ops/runtime-benchmarks",
"pezpallet-asset-conversion-tx-payment/runtime-benchmarks",
"pezpallet-asset-conversion/runtime-benchmarks",
"pezpallet-asset-rate/runtime-benchmarks",
"pezpallet-asset-rewards/runtime-benchmarks",
"pezpallet-assets-freezer/runtime-benchmarks",
"pezpallet-assets-precompiles/runtime-benchmarks",
"pezpallet-assets/runtime-benchmarks",
"pezpallet-aura/runtime-benchmarks",
"pezpallet-authorship/runtime-benchmarks",
"pezpallet-bags-list/runtime-benchmarks",
"pezpallet-balances/runtime-benchmarks",
"pezpallet-collator-selection/runtime-benchmarks",
"pezpallet-conviction-voting/runtime-benchmarks",
"pezpallet-delegated-staking/runtime-benchmarks",
"pezpallet-election-provider-multi-block/runtime-benchmarks",
"pezpallet-fast-unstake/runtime-benchmarks",
"pezpallet-indices/runtime-benchmarks",
"pezpallet-message-queue/runtime-benchmarks",
"pezpallet-migrations/runtime-benchmarks",
"pezpallet-multisig/runtime-benchmarks",
"pezpallet-nft-fractionalization/runtime-benchmarks",
"pezpallet-nfts-runtime-api/runtime-benchmarks",
"pezpallet-nfts/runtime-benchmarks",
"pezpallet-nomination-pools-runtime-api/runtime-benchmarks",
"pezpallet-nomination-pools/runtime-benchmarks",
"pezpallet-preimage/runtime-benchmarks",
"pezpallet-proxy/runtime-benchmarks",
"pezpallet-referenda/runtime-benchmarks",
"pezpallet-revive/runtime-benchmarks",
"pezpallet-scheduler/runtime-benchmarks",
"pezpallet-session/runtime-benchmarks",
"pezpallet-staking-async-rc-client/runtime-benchmarks",
"pezpallet-staking-async/runtime-benchmarks",
"pezpallet-staking-runtime-api/runtime-benchmarks",
"pezpallet-staking/runtime-benchmarks",
"pezpallet-state-trie-migration/runtime-benchmarks",
"pezpallet-sudo/runtime-benchmarks",
"pezpallet-timestamp/runtime-benchmarks",
"pezpallet-transaction-payment-rpc-runtime-api/runtime-benchmarks",
"pezpallet-transaction-payment/runtime-benchmarks",
"pezpallet-treasury/runtime-benchmarks",
"pezpallet-uniques/runtime-benchmarks",
"pezpallet-utility/runtime-benchmarks",
"pezpallet-vesting/runtime-benchmarks",
"pezpallet-whitelist/runtime-benchmarks",
"pezpallet-xcm-benchmarks/runtime-benchmarks",
"pezpallet-xcm-bridge-hub-router/runtime-benchmarks",
"pezpallet-xcm-precompiles/runtime-benchmarks",
"pezpallet-xcm/runtime-benchmarks",
"pezsnowbridge-outbound-queue-primitives/runtime-benchmarks",
"pezsnowbridge-pezpallet-system-frontend/runtime-benchmarks",
"pezsp-api/runtime-benchmarks",
"pezsp-block-builder/runtime-benchmarks",
"pezsp-consensus-aura/runtime-benchmarks",
"pezsp-genesis-builder/runtime-benchmarks",
"pezsp-inherents/runtime-benchmarks",
"pezsp-io/runtime-benchmarks",
"pezsp-keyring/runtime-benchmarks",
"pezsp-npos-elections/runtime-benchmarks",
"pezsp-offchain/runtime-benchmarks",
"pezsp-runtime/runtime-benchmarks",
"pezsp-session/runtime-benchmarks",
"pezsp-staking/runtime-benchmarks",
"pezsp-transaction-pool/runtime-benchmarks",
"pezsp-version/runtime-benchmarks",
"snowpezbridge-runtime-common/runtime-benchmarks",
"testnet-teyrchains-constants/runtime-benchmarks",
"teyrchain-info/runtime-benchmarks",
"teyrchains-common/runtime-benchmarks",
"teyrchains-runtimes-test-utils/runtime-benchmarks",
"xcm-builder/runtime-benchmarks",
"xcm-executor/runtime-benchmarks",
"xcm-runtime-pezapis/runtime-benchmarks",
"xcm/runtime-benchmarks",
"zagros-runtime-constants/runtime-benchmarks",
]
try-runtime = [
"asset-test-pezutils/try-runtime",
"assets-common/try-runtime",
"pezcumulus-pezpallet-aura-ext/try-runtime",
"pezcumulus-pezpallet-teyrchain-system/try-runtime",
"pezcumulus-pezpallet-weight-reclaim/try-runtime",
"pezcumulus-pezpallet-xcm/try-runtime",
"pezcumulus-pezpallet-xcmp-queue/try-runtime",
"pezframe-election-provider-support/try-runtime",
"pezframe-executive/try-runtime",
"pezframe-support/try-runtime",
"pezframe-system/try-runtime",
"pezframe-try-runtime/try-runtime",
"pezpallet-ah-ops/try-runtime",
"pezpallet-asset-conversion-ops/try-runtime",
"pezpallet-asset-conversion-tx-payment/try-runtime",
"pezpallet-asset-conversion/try-runtime",
"pezpallet-asset-rate/try-runtime",
"pezpallet-asset-rewards/try-runtime",
"pezpallet-assets-freezer/try-runtime",
"pezpallet-assets-precompiles/try-runtime",
"pezpallet-assets/try-runtime",
"pezpallet-aura/try-runtime",
"pezpallet-authorship/try-runtime",
"pezpallet-bags-list/try-runtime",
"pezpallet-balances/try-runtime",
"pezpallet-collator-selection/try-runtime",
"pezpallet-conviction-voting/try-runtime",
"pezpallet-delegated-staking/try-runtime",
"pezpallet-election-provider-multi-block/try-runtime",
"pezpallet-fast-unstake/try-runtime",
"pezpallet-indices/try-runtime",
"pezpallet-message-queue/try-runtime",
"pezpallet-migrations/try-runtime",
"pezpallet-multisig/try-runtime",
"pezpallet-nft-fractionalization/try-runtime",
"pezpallet-nfts/try-runtime",
"pezpallet-nomination-pools/try-runtime",
"pezpallet-preimage/try-runtime",
"pezpallet-proxy/try-runtime",
"pezpallet-referenda/try-runtime",
"pezpallet-revive/try-runtime",
"pezpallet-scheduler/try-runtime",
"pezpallet-session/try-runtime",
"pezpallet-staking-async-rc-client/try-runtime",
"pezpallet-staking-async/try-runtime",
"pezpallet-staking/try-runtime",
"pezpallet-state-trie-migration/try-runtime",
"pezpallet-sudo/try-runtime",
"pezpallet-timestamp/try-runtime",
"pezpallet-transaction-payment/try-runtime",
"pezpallet-treasury/try-runtime",
"pezpallet-uniques/try-runtime",
"pezpallet-utility/try-runtime",
"pezpallet-vesting/try-runtime",
"pezpallet-whitelist/try-runtime",
"pezpallet-xcm-bridge-hub-router/try-runtime",
"pezpallet-xcm-precompiles/try-runtime",
"pezpallet-xcm/try-runtime",
"pezkuwi-runtime-common/try-runtime",
"pezsnowbridge-pezpallet-system-frontend/try-runtime",
"snowpezbridge-runtime-common/try-runtime",
"pezsp-runtime/try-runtime",
"teyrchain-info/try-runtime",
"teyrchains-common/try-runtime",
"asset-test-pezutils/try-runtime",
"assets-common/try-runtime",
"pezcumulus-pezpallet-aura-ext/try-runtime",
"pezcumulus-pezpallet-teyrchain-system/try-runtime",
"pezcumulus-pezpallet-weight-reclaim/try-runtime",
"pezcumulus-pezpallet-xcm/try-runtime",
"pezcumulus-pezpallet-xcmp-queue/try-runtime",
"pezframe-election-provider-support/try-runtime",
"pezframe-executive/try-runtime",
"pezframe-support/try-runtime",
"pezframe-system/try-runtime",
"pezframe-try-runtime/try-runtime",
"pezkuwi-runtime-common/try-runtime",
"pezpallet-ah-ops/try-runtime",
"pezpallet-asset-conversion-ops/try-runtime",
"pezpallet-asset-conversion-tx-payment/try-runtime",
"pezpallet-asset-conversion/try-runtime",
"pezpallet-asset-rate/try-runtime",
"pezpallet-asset-rewards/try-runtime",
"pezpallet-assets-freezer/try-runtime",
"pezpallet-assets-precompiles/try-runtime",
"pezpallet-assets/try-runtime",
"pezpallet-aura/try-runtime",
"pezpallet-authorship/try-runtime",
"pezpallet-bags-list/try-runtime",
"pezpallet-balances/try-runtime",
"pezpallet-collator-selection/try-runtime",
"pezpallet-conviction-voting/try-runtime",
"pezpallet-delegated-staking/try-runtime",
"pezpallet-election-provider-multi-block/try-runtime",
"pezpallet-fast-unstake/try-runtime",
"pezpallet-indices/try-runtime",
"pezpallet-message-queue/try-runtime",
"pezpallet-migrations/try-runtime",
"pezpallet-multisig/try-runtime",
"pezpallet-nft-fractionalization/try-runtime",
"pezpallet-nfts/try-runtime",
"pezpallet-nomination-pools/try-runtime",
"pezpallet-preimage/try-runtime",
"pezpallet-proxy/try-runtime",
"pezpallet-referenda/try-runtime",
"pezpallet-revive/try-runtime",
"pezpallet-scheduler/try-runtime",
"pezpallet-session/try-runtime",
"pezpallet-staking-async-rc-client/try-runtime",
"pezpallet-staking-async/try-runtime",
"pezpallet-staking/try-runtime",
"pezpallet-state-trie-migration/try-runtime",
"pezpallet-sudo/try-runtime",
"pezpallet-timestamp/try-runtime",
"pezpallet-transaction-payment/try-runtime",
"pezpallet-treasury/try-runtime",
"pezpallet-uniques/try-runtime",
"pezpallet-utility/try-runtime",
"pezpallet-vesting/try-runtime",
"pezpallet-whitelist/try-runtime",
"pezpallet-xcm-bridge-hub-router/try-runtime",
"pezpallet-xcm-precompiles/try-runtime",
"pezpallet-xcm/try-runtime",
"pezsnowbridge-pezpallet-system-frontend/try-runtime",
"pezsp-runtime/try-runtime",
"snowpezbridge-runtime-common/try-runtime",
"teyrchain-info/try-runtime",
"teyrchains-common/try-runtime",
]
std = [
"alloy-core/std",
"assets-common/std",
"bp-asset-hub-pezkuwichain/std",
"bp-asset-hub-zagros/std",
"bp-bridge-hub-pezkuwichain/std",
"bp-bridge-hub-zagros/std",
"codec/std",
"pezcumulus-pezpallet-aura-ext/std",
"pezcumulus-pezpallet-session-benchmarking/std",
"pezcumulus-pezpallet-teyrchain-system/std",
"pezcumulus-pezpallet-weight-reclaim/std",
"pezcumulus-pezpallet-xcm/std",
"pezcumulus-pezpallet-xcmp-queue/std",
"pezcumulus-primitives-aura/std",
"pezcumulus-primitives-core/std",
"pezcumulus-primitives-utility/std",
"pezframe-benchmarking?/std",
"pezframe-election-provider-support/std",
"pezframe-executive/std",
"pezframe-metadata-hash-extension/std",
"pezframe-support/std",
"pezframe-system-benchmarking?/std",
"pezframe-system-rpc-runtime-api/std",
"pezframe-system/std",
"pezframe-try-runtime?/std",
"log/std",
"pezpallet-ah-ops/std",
"pezpallet-asset-conversion-ops/std",
"pezpallet-asset-conversion-tx-payment/std",
"pezpallet-asset-conversion/std",
"pezpallet-asset-rate/std",
"pezpallet-asset-rewards/std",
"pezpallet-assets-freezer/std",
"pezpallet-assets-precompiles/std",
"pezpallet-assets/std",
"pezpallet-aura/std",
"pezpallet-authorship/std",
"pezpallet-bags-list/std",
"pezpallet-balances/std",
"pezpallet-collator-selection/std",
"pezpallet-conviction-voting/std",
"pezpallet-delegated-staking/std",
"pezpallet-election-provider-multi-block/std",
"pezpallet-fast-unstake/std",
"pezpallet-indices/std",
"pezpallet-message-queue/std",
"pezpallet-migrations/std",
"pezpallet-multisig/std",
"pezpallet-nft-fractionalization/std",
"pezpallet-nfts-runtime-api/std",
"pezpallet-nfts/std",
"pezpallet-nomination-pools-runtime-api/std",
"pezpallet-nomination-pools/std",
"pezpallet-preimage/std",
"pezpallet-proxy/std",
"pezpallet-referenda/std",
"pezpallet-revive/std",
"pezpallet-scheduler/std",
"pezpallet-session/std",
"pezpallet-staking-async-rc-client/std",
"pezpallet-staking-async/std",
"pezpallet-staking-runtime-api/std",
"pezpallet-staking/std",
"pezpallet-state-trie-migration/std",
"pezpallet-sudo/std",
"pezpallet-timestamp/std",
"pezpallet-transaction-payment-rpc-runtime-api/std",
"pezpallet-transaction-payment/std",
"pezpallet-treasury/std",
"pezpallet-uniques/std",
"pezpallet-utility/std",
"pezpallet-vesting/std",
"pezpallet-whitelist/std",
"pezpallet-xcm-benchmarks?/std",
"pezpallet-xcm-bridge-hub-router/std",
"pezpallet-xcm-precompiles/std",
"pezpallet-xcm/std",
"pezkuwi-runtime-common/std",
"pezkuwi-teyrchain-primitives/std",
"primitive-types/std",
"scale-info/std",
"serde_json/std",
"pezsnowbridge-outbound-queue-primitives/std",
"pezsnowbridge-pezpallet-system-frontend/std",
"snowpezbridge-runtime-common/std",
"pezsp-api/std",
"pezsp-arithmetic/std",
"pezsp-block-builder/std",
"pezsp-consensus-aura/std",
"pezsp-core/std",
"pezsp-genesis-builder/std",
"pezsp-inherents/std",
"pezsp-io/std",
"pezsp-keyring/std",
"pezsp-npos-elections/std",
"pezsp-offchain/std",
"pezsp-runtime/std",
"pezsp-session/std",
"pezsp-staking/std",
"pezsp-std/std",
"pezsp-storage/std",
"pezsp-transaction-pool/std",
"pezsp-version/std",
"bizinikiwi-wasm-builder",
"testnet-teyrchains-constants/std",
"teyrchain-info/std",
"teyrchains-common/std",
"tracing/std",
"xcm-builder/std",
"xcm-executor/std",
"xcm-runtime-pezapis/std",
"xcm/std",
"zagros-runtime-constants/std",
"alloy-core/std",
"assets-common/std",
"bizinikiwi-wasm-builder",
"bp-asset-hub-pezkuwichain/std",
"bp-asset-hub-zagros/std",
"bp-bridge-hub-pezkuwichain/std",
"bp-bridge-hub-zagros/std",
"codec/std",
"log/std",
"pezcumulus-pezpallet-aura-ext/std",
"pezcumulus-pezpallet-session-benchmarking/std",
"pezcumulus-pezpallet-teyrchain-system/std",
"pezcumulus-pezpallet-weight-reclaim/std",
"pezcumulus-pezpallet-xcm/std",
"pezcumulus-pezpallet-xcmp-queue/std",
"pezcumulus-primitives-aura/std",
"pezcumulus-primitives-core/std",
"pezcumulus-primitives-utility/std",
"pezframe-benchmarking?/std",
"pezframe-election-provider-support/std",
"pezframe-executive/std",
"pezframe-metadata-hash-extension/std",
"pezframe-support/std",
"pezframe-system-benchmarking?/std",
"pezframe-system-rpc-runtime-api/std",
"pezframe-system/std",
"pezframe-try-runtime?/std",
"pezkuwi-runtime-common/std",
"pezkuwi-teyrchain-primitives/std",
"pezpallet-ah-ops/std",
"pezpallet-asset-conversion-ops/std",
"pezpallet-asset-conversion-tx-payment/std",
"pezpallet-asset-conversion/std",
"pezpallet-asset-rate/std",
"pezpallet-asset-rewards/std",
"pezpallet-assets-freezer/std",
"pezpallet-assets-precompiles/std",
"pezpallet-assets/std",
"pezpallet-aura/std",
"pezpallet-authorship/std",
"pezpallet-bags-list/std",
"pezpallet-balances/std",
"pezpallet-collator-selection/std",
"pezpallet-conviction-voting/std",
"pezpallet-delegated-staking/std",
"pezpallet-election-provider-multi-block/std",
"pezpallet-fast-unstake/std",
"pezpallet-indices/std",
"pezpallet-message-queue/std",
"pezpallet-migrations/std",
"pezpallet-multisig/std",
"pezpallet-nft-fractionalization/std",
"pezpallet-nfts-runtime-api/std",
"pezpallet-nfts/std",
"pezpallet-nomination-pools-runtime-api/std",
"pezpallet-nomination-pools/std",
"pezpallet-preimage/std",
"pezpallet-proxy/std",
"pezpallet-referenda/std",
"pezpallet-revive/std",
"pezpallet-scheduler/std",
"pezpallet-session/std",
"pezpallet-staking-async-rc-client/std",
"pezpallet-staking-async/std",
"pezpallet-staking-runtime-api/std",
"pezpallet-staking/std",
"pezpallet-state-trie-migration/std",
"pezpallet-sudo/std",
"pezpallet-timestamp/std",
"pezpallet-transaction-payment-rpc-runtime-api/std",
"pezpallet-transaction-payment/std",
"pezpallet-treasury/std",
"pezpallet-uniques/std",
"pezpallet-utility/std",
"pezpallet-vesting/std",
"pezpallet-whitelist/std",
"pezpallet-xcm-benchmarks?/std",
"pezpallet-xcm-bridge-hub-router/std",
"pezpallet-xcm-precompiles/std",
"pezpallet-xcm/std",
"pezsnowbridge-outbound-queue-primitives/std",
"pezsnowbridge-pezpallet-system-frontend/std",
"pezsp-api/std",
"pezsp-arithmetic/std",
"pezsp-block-builder/std",
"pezsp-consensus-aura/std",
"pezsp-core/std",
"pezsp-genesis-builder/std",
"pezsp-inherents/std",
"pezsp-io/std",
"pezsp-keyring/std",
"pezsp-npos-elections/std",
"pezsp-offchain/std",
"pezsp-runtime/std",
"pezsp-session/std",
"pezsp-staking/std",
"pezsp-std/std",
"pezsp-storage/std",
"pezsp-transaction-pool/std",
"pezsp-version/std",
"primitive-types/std",
"scale-info/std",
"serde_json/std",
"snowpezbridge-runtime-common/std",
"testnet-teyrchains-constants/std",
"teyrchain-info/std",
"teyrchains-common/std",
"tracing/std",
"xcm-builder/std",
"xcm-executor/std",
"xcm-runtime-pezapis/std",
"xcm/std",
"zagros-runtime-constants/std",
]
fast-runtime = []
@@ -27,8 +27,8 @@ pezsp-core = { workspace = true }
# Bridge Dependencies
bp-bridge-hub-pezcumulus = { workspace = true }
bp-messages = { workspace = true }
pezbp-runtime = { workspace = true }
bp-xcm-bridge-hub-router = { workspace = true }
pezbp-runtime = { workspace = true }
testnet-teyrchains-constants = { features = ["zagros"], workspace = true }
# Pezkuwi dependencies
@@ -37,25 +37,25 @@ xcm = { workspace = true }
[features]
default = ["std"]
std = [
"bp-bridge-hub-pezcumulus/std",
"bp-messages/std",
"pezbp-runtime/std",
"bp-xcm-bridge-hub-router/std",
"codec/std",
"pezframe-support/std",
"scale-info/std",
"pezsp-api/std",
"pezsp-core/std",
"testnet-teyrchains-constants/std",
"xcm/std",
"bp-bridge-hub-pezcumulus/std",
"bp-messages/std",
"bp-xcm-bridge-hub-router/std",
"codec/std",
"pezbp-runtime/std",
"pezframe-support/std",
"pezsp-api/std",
"pezsp-core/std",
"scale-info/std",
"testnet-teyrchains-constants/std",
"xcm/std",
]
runtime-benchmarks = [
"bp-bridge-hub-pezcumulus/runtime-benchmarks",
"bp-messages/runtime-benchmarks",
"pezbp-runtime/runtime-benchmarks",
"bp-xcm-bridge-hub-router/runtime-benchmarks",
"pezframe-support/runtime-benchmarks",
"pezsp-api/runtime-benchmarks",
"testnet-teyrchains-constants/runtime-benchmarks",
"xcm/runtime-benchmarks",
"bp-bridge-hub-pezcumulus/runtime-benchmarks",
"bp-messages/runtime-benchmarks",
"bp-xcm-bridge-hub-router/runtime-benchmarks",
"pezbp-runtime/runtime-benchmarks",
"pezframe-support/runtime-benchmarks",
"pezsp-api/runtime-benchmarks",
"testnet-teyrchains-constants/runtime-benchmarks",
"xcm/runtime-benchmarks",
]
@@ -1226,10 +1226,21 @@ parameter_types! {
pub FastUnstakeName: &'static str = "FastUnstake";
}
/// Multi-block migrations for runtime upgrades.
#[cfg(feature = "runtime-benchmarks")]
type MultiBlockMigrationsType = pezpallet_migrations::mock_helpers::MockedMigrations;
#[cfg(not(feature = "runtime-benchmarks"))]
type MultiBlockMigrationsType = (
assets_common::migrations::foreign_assets_reserves::ForeignAssetsReservesMigration<
Runtime,
ForeignAssetsInstance,
migrations::AssetHubZagrosForeignAssetsReservesProvider,
>,
);
impl pezpallet_migrations::Config for Runtime {
type RuntimeEvent = RuntimeEvent;
// Always use mocked migrations for test runtimes to ensure benchmarks succeed
type Migrations = pezpallet_migrations::mock_helpers::MockedMigrations;
type Migrations = MultiBlockMigrationsType;
type CursorMaxLen = ConstU32<65_536>;
type IdentifierMaxLen = ConstU32<256>;
type MigrationStatusHandler = ();
@@ -37,54 +37,54 @@ xcm-builder = { workspace = true }
xcm-executor = { workspace = true }
# Pezcumulus
pezcumulus-primitives-core = { workspace = true }
pez-ethereum-standards = { workspace = true }
pezcumulus-primitives-core = { workspace = true }
teyrchains-common = { workspace = true }
[features]
default = ["std"]
std = [
"codec/std",
"pezcumulus-primitives-core/std",
"pezframe-support/std",
"pezframe-system/std",
"pezpallet-asset-conversion/std",
"pezpallet-assets/std",
"pezpallet-revive/std",
"pezpallet-xcm/std",
"scale-info/std",
"serde/std",
"pezsp-api/std",
"pezsp-core/std",
"pezsp-runtime/std",
"teyrchains-common/std",
"tracing/std",
"xcm-builder/std",
"xcm-executor/std",
"xcm/std",
"codec/std",
"pezcumulus-primitives-core/std",
"pezframe-support/std",
"pezframe-system/std",
"pezpallet-asset-conversion/std",
"pezpallet-assets/std",
"pezpallet-revive/std",
"pezpallet-xcm/std",
"pezsp-api/std",
"pezsp-core/std",
"pezsp-runtime/std",
"scale-info/std",
"serde/std",
"teyrchains-common/std",
"tracing/std",
"xcm-builder/std",
"xcm-executor/std",
"xcm/std",
]
runtime-benchmarks = [
"pezcumulus-primitives-core/runtime-benchmarks",
"pezframe-support/runtime-benchmarks",
"pezframe-system/runtime-benchmarks",
"pezpallet-asset-conversion/runtime-benchmarks",
"pezpallet-assets/runtime-benchmarks",
"pezpallet-revive/runtime-benchmarks",
"pezpallet-xcm/runtime-benchmarks",
"pezsp-api/runtime-benchmarks",
"pezsp-runtime/runtime-benchmarks",
"teyrchains-common/runtime-benchmarks",
"xcm-builder/runtime-benchmarks",
"xcm-executor/runtime-benchmarks",
"xcm/runtime-benchmarks",
"pezcumulus-primitives-core/runtime-benchmarks",
"pezframe-support/runtime-benchmarks",
"pezframe-system/runtime-benchmarks",
"pezpallet-asset-conversion/runtime-benchmarks",
"pezpallet-assets/runtime-benchmarks",
"pezpallet-revive/runtime-benchmarks",
"pezpallet-xcm/runtime-benchmarks",
"pezsp-api/runtime-benchmarks",
"pezsp-runtime/runtime-benchmarks",
"teyrchains-common/runtime-benchmarks",
"xcm-builder/runtime-benchmarks",
"xcm-executor/runtime-benchmarks",
"xcm/runtime-benchmarks",
]
try-runtime = [
"pezframe-support/try-runtime",
"pezframe-system/try-runtime",
"pezpallet-asset-conversion/try-runtime",
"pezpallet-assets/try-runtime",
"pezpallet-revive/try-runtime",
"pezpallet-xcm/try-runtime",
"pezsp-runtime/try-runtime",
"teyrchains-common/try-runtime",
"pezframe-support/try-runtime",
"pezframe-system/try-runtime",
"pezpallet-asset-conversion/try-runtime",
"pezpallet-assets/try-runtime",
"pezpallet-revive/try-runtime",
"pezpallet-xcm/try-runtime",
"pezsp-runtime/try-runtime",
"teyrchains-common/try-runtime",
]
@@ -52,7 +52,7 @@ where
GeneralIndex(seed2.into()),
],
);
if seed1 % 2 == 0 {
if seed1.is_multiple_of(2) {
(
with_id
.try_into()
@@ -49,71 +49,71 @@ pezpallet-xcm-bridge-hub-router = { workspace = true }
[features]
default = ["std"]
std = [
"assets-common/std",
"codec/std",
"pezcumulus-pezpallet-teyrchain-system/std",
"pezcumulus-pezpallet-xcmp-queue/std",
"pezcumulus-primitives-core/std",
"pezframe-support/std",
"pezframe-system/std",
"pezpallet-asset-conversion/std",
"pezpallet-assets/std",
"pezpallet-balances/std",
"pezpallet-collator-selection/std",
"pezpallet-session/std",
"pezpallet-timestamp/std",
"pezpallet-xcm-bridge-hub-router/std",
"pezpallet-xcm/std",
"pezsp-io/std",
"pezsp-runtime/std",
"teyrchain-info/std",
"teyrchains-common/std",
"teyrchains-runtimes-test-utils/std",
"xcm-builder/std",
"xcm-executor/std",
"xcm-runtime-pezapis/std",
"xcm/std",
"assets-common/std",
"codec/std",
"pezcumulus-pezpallet-teyrchain-system/std",
"pezcumulus-pezpallet-xcmp-queue/std",
"pezcumulus-primitives-core/std",
"pezframe-support/std",
"pezframe-system/std",
"pezpallet-asset-conversion/std",
"pezpallet-assets/std",
"pezpallet-balances/std",
"pezpallet-collator-selection/std",
"pezpallet-session/std",
"pezpallet-timestamp/std",
"pezpallet-xcm-bridge-hub-router/std",
"pezpallet-xcm/std",
"pezsp-io/std",
"pezsp-runtime/std",
"teyrchain-info/std",
"teyrchains-common/std",
"teyrchains-runtimes-test-utils/std",
"xcm-builder/std",
"xcm-executor/std",
"xcm-runtime-pezapis/std",
"xcm/std",
]
try-runtime = [
"assets-common/try-runtime",
"pezcumulus-pezpallet-teyrchain-system/try-runtime",
"pezcumulus-pezpallet-xcmp-queue/try-runtime",
"pezframe-support/try-runtime",
"pezframe-system/try-runtime",
"pezpallet-asset-conversion/try-runtime",
"pezpallet-assets/try-runtime",
"pezpallet-balances/try-runtime",
"pezpallet-collator-selection/try-runtime",
"pezpallet-session/try-runtime",
"pezpallet-timestamp/try-runtime",
"pezpallet-xcm-bridge-hub-router/try-runtime",
"pezpallet-xcm/try-runtime",
"pezsp-runtime/try-runtime",
"teyrchain-info/try-runtime",
"teyrchains-common/try-runtime",
"assets-common/try-runtime",
"pezcumulus-pezpallet-teyrchain-system/try-runtime",
"pezcumulus-pezpallet-xcmp-queue/try-runtime",
"pezframe-support/try-runtime",
"pezframe-system/try-runtime",
"pezpallet-asset-conversion/try-runtime",
"pezpallet-assets/try-runtime",
"pezpallet-balances/try-runtime",
"pezpallet-collator-selection/try-runtime",
"pezpallet-session/try-runtime",
"pezpallet-timestamp/try-runtime",
"pezpallet-xcm-bridge-hub-router/try-runtime",
"pezpallet-xcm/try-runtime",
"pezsp-runtime/try-runtime",
"teyrchain-info/try-runtime",
"teyrchains-common/try-runtime",
]
runtime-benchmarks = [
"assets-common/runtime-benchmarks",
"pezcumulus-pezpallet-teyrchain-system/runtime-benchmarks",
"pezcumulus-pezpallet-xcmp-queue/runtime-benchmarks",
"pezcumulus-primitives-core/runtime-benchmarks",
"pezframe-support/runtime-benchmarks",
"pezframe-system/runtime-benchmarks",
"pezpallet-asset-conversion/runtime-benchmarks",
"pezpallet-assets/runtime-benchmarks",
"pezpallet-balances/runtime-benchmarks",
"pezpallet-collator-selection/runtime-benchmarks",
"pezpallet-session/runtime-benchmarks",
"pezpallet-timestamp/runtime-benchmarks",
"pezpallet-xcm-bridge-hub-router/runtime-benchmarks",
"pezpallet-xcm/runtime-benchmarks",
"pezsp-io/runtime-benchmarks",
"pezsp-runtime/runtime-benchmarks",
"teyrchain-info/runtime-benchmarks",
"teyrchains-common/runtime-benchmarks",
"teyrchains-runtimes-test-utils/runtime-benchmarks",
"xcm-builder/runtime-benchmarks",
"xcm-executor/runtime-benchmarks",
"xcm-runtime-pezapis/runtime-benchmarks",
"xcm/runtime-benchmarks",
"assets-common/runtime-benchmarks",
"pezcumulus-pezpallet-teyrchain-system/runtime-benchmarks",
"pezcumulus-pezpallet-xcmp-queue/runtime-benchmarks",
"pezcumulus-primitives-core/runtime-benchmarks",
"pezframe-support/runtime-benchmarks",
"pezframe-system/runtime-benchmarks",
"pezpallet-asset-conversion/runtime-benchmarks",
"pezpallet-assets/runtime-benchmarks",
"pezpallet-balances/runtime-benchmarks",
"pezpallet-collator-selection/runtime-benchmarks",
"pezpallet-session/runtime-benchmarks",
"pezpallet-timestamp/runtime-benchmarks",
"pezpallet-xcm-bridge-hub-router/runtime-benchmarks",
"pezpallet-xcm/runtime-benchmarks",
"pezsp-io/runtime-benchmarks",
"pezsp-runtime/runtime-benchmarks",
"teyrchain-info/runtime-benchmarks",
"teyrchains-common/runtime-benchmarks",
"teyrchains-runtimes-test-utils/runtime-benchmarks",
"xcm-builder/runtime-benchmarks",
"xcm-executor/runtime-benchmarks",
"xcm-runtime-pezapis/runtime-benchmarks",
"xcm/runtime-benchmarks",
]