fix(ci): resolve all quick-checks failures

- Remove missing cli crate from workspace members
- Fix TOML array syntax errors in pvf and benchmarking-cli Cargo.toml
- Fix Rust import ordering with cargo fmt
- Fix feature propagation with zepter (try-runtime, runtime-benchmarks, std)
This commit is contained in:
2026-01-04 17:21:57 +03:00
parent 933f08e282
commit 479010094e
574 changed files with 1465 additions and 2447 deletions
+1 -2
View File
@@ -50,7 +50,7 @@ pezsp-tracing = { workspace = true, default-features = true }
rand_chacha = { workspace = true, default-features = true }
[features]
default = ["std"]
default = [ "std" ]
std = [
"anyhow/std",
"codec/std",
@@ -64,7 +64,6 @@ std = [
"pezpallet-staking-async-rc-client/std",
"pezsp-application-crypto/std",
"pezsp-core/std",
"pezsp-core/std",
"pezsp-io/std",
"pezsp-npos-elections/std",
"pezsp-runtime/std",
@@ -28,7 +28,7 @@ pezpallet-session = { features = ["historical"], workspace = true }
pezpallet-staking-async-rc-client = { workspace = true }
[features]
default = ["std"]
default = [ "std" ]
std = [
"codec/std",
"log/std",
@@ -50,30 +50,31 @@ pezpallet-root-offences = { workspace = true, default-features = true }
pezpallet-staking = { workspace = true, default-features = true }
[features]
std = ["log/std"]
std = [
"log/std",
"pezframe-system/std"
]
try-runtime = [
"pezpallet-balances/try-runtime",
"pezpallet-staking/try-runtime",
"pezpallet-staking-async-rc-client/try-runtime",
"pezpallet-staking-async/try-runtime",
"pezframe/try-runtime",
"pezframe-election-provider-support/try-runtime",
"pezframe-support/try-runtime",
"pezframe/try-runtime",
"pezpallet-authorship/try-runtime",
"pezpallet-balances/try-runtime",
"pezpallet-election-provider-multi-block/try-runtime",
"pezpallet-offences/try-runtime",
"pezpallet-root-offences/try-runtime",
"pezpallet-session/try-runtime",
"pezpallet-staking-async-ah-client/try-runtime",
"pezpallet-staking-async-rc-client/try-runtime",
"pezpallet-staking-async/try-runtime",
"pezpallet-staking/try-runtime",
"pezpallet-timestamp/try-runtime",
"pezframe-system/try-runtime"
]
runtime-benchmarks = [
"pezframe/runtime-benchmarks",
"pezframe-election-provider-support/runtime-benchmarks",
"pezframe-support/runtime-benchmarks",
"pezframe/runtime-benchmarks",
"pezpallet-authorship/runtime-benchmarks",
"pezpallet-balances/runtime-benchmarks",
"pezpallet-election-provider-multi-block/runtime-benchmarks",
@@ -87,4 +88,5 @@ runtime-benchmarks = [
"pezpallet-timestamp/runtime-benchmarks",
"pezsp-session/runtime-benchmarks",
"pezsp-staking/runtime-benchmarks",
"pezframe-system/runtime-benchmarks"
]
@@ -22,7 +22,7 @@ scale-info = { workspace = true, features = ["derive"] }
xcm = { workspace = true }
[features]
default = ["std"]
default = [ "std" ]
std = [
"codec/std",
"log/std",
@@ -22,5 +22,5 @@ log = { workspace = true }
pezsp-arithmetic = { workspace = true }
[features]
default = ["std"]
std = ["log/std", "pezsp-arithmetic/std"]
default = [ "std" ]
std = [ "log/std", "pezsp-arithmetic/std" ]
@@ -22,8 +22,8 @@ pezsp-api = { workspace = true }
pezsp-staking = { workspace = true }
[features]
default = ["std"]
std = ["codec/std", "pezsp-api/std", "pezsp-staking/std"]
default = [ "std" ]
std = [ "codec/std", "pezsp-api/std", "pezsp-staking/std" ]
runtime-benchmarks = [
"pezsp-api/runtime-benchmarks",
"pezsp-staking/runtime-benchmarks",
@@ -20,16 +20,18 @@ pezpallet-staking-async-ah-client = { workspace = true }
scale-info = { workspace = true }
[features]
default = ["std"]
default = [ "std" ]
std = [
"codec/std",
"pezframe/std",
"pezframe-system/std",
"pezframe-support/std",
"pezframe-system/std",
"pezframe/std",
"pezpallet-staking-async-ah-client/std",
"scale-info/std",
]
runtime-benchmarks = [
"pezframe/runtime-benchmarks",
"pezpallet-staking-async-ah-client/runtime-benchmarks",
"pezframe-support/runtime-benchmarks",
"pezframe-system/runtime-benchmarks"
]
@@ -132,13 +132,13 @@ tokio = { features = ["macros"], workspace = true, default-features = true }
bizinikiwi-wasm-builder = { workspace = true, default-features = true }
[features]
default = ["std"]
default = [ "std" ]
no_std = []
std = [
"pez-binary-merkle-tree/std",
"bitvec/std",
"codec/std",
"log/std",
"pez-binary-merkle-tree/std",
"pezframe-benchmarking?/std",
"pezframe-election-provider-support/std",
"pezframe-executive/std",
@@ -230,8 +230,8 @@ std = [
"xcm/std",
]
runtime-benchmarks = [
"pez-binary-merkle-tree/runtime-benchmarks",
"bizinikiwi-wasm-builder/runtime-benchmarks",
"pez-binary-merkle-tree/runtime-benchmarks",
"pezframe-benchmarking/runtime-benchmarks",
"pezframe-election-provider-support/runtime-benchmarks",
"pezframe-executive/runtime-benchmarks",
@@ -367,7 +367,7 @@ try-runtime = [
]
# Enable the metadata hash generation in the wasm builder.
metadata-hash = ["bizinikiwi-wasm-builder/metadata-hash"]
metadata-hash = [ "bizinikiwi-wasm-builder/metadata-hash" ]
# Set timing constants (e.g. session period) to faster versions to speed up testing.
fast-runtime = []
@@ -380,4 +380,4 @@ runtime-metrics = [
# A feature that should be enabled when the runtime should be built for on-chain
# deployment. This will disable stuff that shouldn't be part of the on-chain wasm
# to make it smaller, like logging for example.
on-chain-release-build = ["metadata-hash"]
on-chain-release-build = [ "metadata-hash" ]
@@ -29,7 +29,7 @@ xcm = { workspace = true }
xcm-builder = { workspace = true }
[features]
default = ["std"]
default = [ "std" ]
std = [
"pezframe-support/std",
"pezkuwi-primitives/std",
@@ -145,11 +145,11 @@ tokio = { features = ["macros"], workspace = true, default-features = true }
bizinikiwi-wasm-builder = { optional = true, workspace = true, default-features = true }
[features]
default = ["std"]
default = [ "std" ]
runtime-benchmarks = [
"asset-test-pezutils/runtime-benchmarks",
"pez-assets-common/runtime-benchmarks",
"bizinikiwi-wasm-builder?/runtime-benchmarks",
"pez-assets-common/runtime-benchmarks",
"pezbp-asset-hub-pezkuwichain/runtime-benchmarks",
"pezbp-bridge-hub-pezkuwichain/runtime-benchmarks",
"pezbp-bridge-hub-zagros/runtime-benchmarks",
@@ -304,14 +304,14 @@ try-runtime = [
"teyrchains-common/try-runtime",
]
std = [
"pez-assets-common/std",
"pezbp-asset-hub-pezkuwichain/std",
# "bp-asset-hub-next-zagros/std",
"bizinikiwi-wasm-builder",
"pezbp-bridge-hub-pezkuwichain/std",
"pezbp-bridge-hub-zagros/std",
"codec/std",
"log/std",
"pez-assets-common/std",
"pezbp-asset-hub-pezkuwichain/std",
"pezbp-bridge-hub-pezkuwichain/std",
"pezbp-bridge-hub-zagros/std",
"pezcumulus-pezpallet-aura-ext/std",
"pezcumulus-pezpallet-session-benchmarking/std",
"pezcumulus-pezpallet-teyrchain-system/std",
@@ -411,9 +411,9 @@ std = [
fast-runtime = []
# Enable the metadata hash generation in the wasm builder.
metadata-hash = ["bizinikiwi-wasm-builder/metadata-hash"]
metadata-hash = [ "bizinikiwi-wasm-builder/metadata-hash" ]
# A feature that should be enabled when the runtime should be built for on-chain
# deployment. This will disable stuff that shouldn't be part of the on-chain wasm
# to make it smaller, like logging for example.
on-chain-release-build = ["metadata-hash"]
on-chain-release-build = [ "metadata-hash" ]
@@ -37,16 +37,16 @@ mod staking;
extern crate alloc;
use alloc::{vec, vec::Vec};
use codec::{Decode, DecodeWithMemTracking, Encode, MaxEncodedLen};
use governance::{
pezpallet_custom_origins, FellowshipAdmin, GeneralAdmin, StakingAdmin, Treasurer,
};
use pez_assets_common::{
foreign_creators::ForeignCreators,
local_and_foreign_assets::{ForeignAssetReserveData, LocalFromLeft, TargetFromLeft},
matching::{FromNetwork, FromSiblingTeyrchain},
AssetIdForPoolAssets, AssetIdForPoolAssetsConvert, AssetIdForTrustBackedAssetsConvert,
};
use codec::{Decode, DecodeWithMemTracking, Encode, MaxEncodedLen};
use governance::{
pezpallet_custom_origins, FellowshipAdmin, GeneralAdmin, StakingAdmin, Treasurer,
};
use pezcumulus_pezpallet_teyrchain_system::{
RelayNumberMonotonicallyIncreases, RelaychainDataProvider,
};
@@ -123,7 +123,10 @@ pub type FungibleTransactor = FungibleAdapter<
/// `AssetId`/`Balance` converter for `TrustBackedAssets`.
pub type TrustBackedAssetsConvertedConcreteId =
pez_assets_common::TrustBackedAssetsConvertedConcreteId<TrustBackedAssetsPalletLocation, Balance>;
pez_assets_common::TrustBackedAssetsConvertedConcreteId<
TrustBackedAssetsPalletLocation,
Balance,
>;
/// Means for transacting assets besides the native currency on this chain.
pub type FungiblesTransactor = FungiblesAdapter<