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:
@@ -134,12 +134,12 @@ teyrchains-runtimes-test-utils = { workspace = true, default-features = true }
|
||||
bizinikiwi-wasm-builder = { optional = true, workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
fast-runtime = []
|
||||
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-asset-hub-zagros/runtime-benchmarks",
|
||||
"pezbp-bridge-hub-pezkuwichain/runtime-benchmarks",
|
||||
@@ -284,14 +284,14 @@ try-runtime = [
|
||||
"teyrchains-common/try-runtime",
|
||||
]
|
||||
std = [
|
||||
"pez-assets-common/std",
|
||||
"bizinikiwi-wasm-builder",
|
||||
"codec/std",
|
||||
"log/std",
|
||||
"pez-assets-common/std",
|
||||
"pezbp-asset-hub-pezkuwichain/std",
|
||||
"pezbp-asset-hub-zagros/std",
|
||||
"pezbp-bridge-hub-pezkuwichain/std",
|
||||
"pezbp-bridge-hub-zagros/std",
|
||||
"codec/std",
|
||||
"log/std",
|
||||
"pezcumulus-pezpallet-aura-ext/std",
|
||||
"pezcumulus-pezpallet-session-benchmarking/std",
|
||||
"pezcumulus-pezpallet-teyrchain-system/std",
|
||||
@@ -384,9 +384,9 @@ std = [
|
||||
]
|
||||
|
||||
# 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" ]
|
||||
|
||||
+4
-4
@@ -35,13 +35,13 @@ testnet-teyrchains-constants = { features = ["pezkuwichain"], workspace = true }
|
||||
xcm = { workspace = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"pezbp-bridge-hub-pezcumulus/std",
|
||||
"pezbp-messages/std",
|
||||
"pezbp-xcm-bridge-hub-router/std",
|
||||
"codec/std",
|
||||
"pezbp-runtime/std",
|
||||
"pezbp-xcm-bridge-hub-router/std",
|
||||
"pezframe-support/std",
|
||||
"pezsp-api/std",
|
||||
"pezsp-core/std",
|
||||
@@ -52,8 +52,8 @@ std = [
|
||||
runtime-benchmarks = [
|
||||
"pezbp-bridge-hub-pezcumulus/runtime-benchmarks",
|
||||
"pezbp-messages/runtime-benchmarks",
|
||||
"pezbp-xcm-bridge-hub-router/runtime-benchmarks",
|
||||
"pezbp-runtime/runtime-benchmarks",
|
||||
"pezbp-xcm-bridge-hub-router/runtime-benchmarks",
|
||||
"pezframe-support/runtime-benchmarks",
|
||||
"pezsp-api/runtime-benchmarks",
|
||||
"testnet-teyrchains-constants/runtime-benchmarks",
|
||||
|
||||
+1
-1
@@ -24,10 +24,10 @@ use scale_info::TypeInfo;
|
||||
|
||||
pub use pezbp_bridge_hub_pezcumulus::*;
|
||||
use pezbp_messages::*;
|
||||
pub use pezbp_xcm_bridge_hub_router::XcmBridgeHubRouterCall;
|
||||
use pezbp_runtime::{
|
||||
decl_bridge_finality_runtime_apis, decl_bridge_messages_runtime_apis, Chain, ChainId, Teyrchain,
|
||||
};
|
||||
pub use pezbp_xcm_bridge_hub_router::XcmBridgeHubRouterCall;
|
||||
use pezframe_support::{
|
||||
dispatch::DispatchClass,
|
||||
pezsp_runtime::{MultiAddress, MultiSigner, RuntimeDebug, StateVersion},
|
||||
|
||||
@@ -61,8 +61,8 @@ use testnet_teyrchains_constants::pezkuwichain::snowbridge::EthereumNetwork;
|
||||
use pezsp_version::NativeVersion;
|
||||
use pezsp_version::RuntimeVersion;
|
||||
|
||||
pub use pez_assets_common::local_and_foreign_assets::ForeignAssetReserveData;
|
||||
use codec::{Decode, DecodeWithMemTracking, Encode, MaxEncodedLen};
|
||||
pub use pez_assets_common::local_and_foreign_assets::ForeignAssetReserveData;
|
||||
use pezcumulus_primitives_core::ParaId;
|
||||
use pezframe_support::{
|
||||
construct_runtime, derive_impl,
|
||||
|
||||
@@ -129,7 +129,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<
|
||||
|
||||
@@ -967,7 +967,8 @@ mod asset_hub_pezkuwichain_tests {
|
||||
let actual = <Runtime as pezpallet_xcm_bridge_hub_router::Config<
|
||||
ToZagrosXcmRouterInstance,
|
||||
>>::WeightInfo::report_bridge_status();
|
||||
let max_weight = pezbp_asset_hub_pezkuwichain::XcmBridgeHubRouterTransactCallMaxWeight::get();
|
||||
let max_weight =
|
||||
pezbp_asset_hub_pezkuwichain::XcmBridgeHubRouterTransactCallMaxWeight::get();
|
||||
assert!(
|
||||
actual.all_lte(max_weight),
|
||||
"max_weight: {:?} should be adjusted to actual {:?}",
|
||||
|
||||
Reference in New Issue
Block a user