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:
@@ -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<
|
||||
|
||||
Reference in New Issue
Block a user