FAZ 1 Complete: Workspace compile fixes, warning cleanup, version bumps
- Fixed is_using_frame_crate() macro to check for pezframe/pezkuwi_sdk - Removed disable_pezframe_system_supertrait_check temporary bypasses - Feature-gated storage-benchmark and teyrchain-benchmarks code - Fixed dead_code warnings with underscore prefix (_Header) - Removed unused imports and shadowing use statements - Version bumps: procedural-tools 10.0.1, benchmarking-cli 32.0.1, docs 0.0.2, minimal-runtime 0.0.1, yet-another-teyrchain 0.6.1, umbrella 0.1.2 - Updated MAINNET_ROADMAP.md with FAZ 1 completion status
This commit is contained in:
@@ -71,7 +71,7 @@ xcm-executor = { workspace = true }
|
||||
xcm-runtime-pezapis = { workspace = true }
|
||||
|
||||
# Pezcumulus
|
||||
assets-common = { workspace = true }
|
||||
pez-assets-common = { workspace = true }
|
||||
pezcumulus-pezpallet-aura-ext = { workspace = true }
|
||||
pezcumulus-pezpallet-session-benchmarking = { workspace = true }
|
||||
pezcumulus-pezpallet-teyrchain-system = { workspace = true }
|
||||
@@ -98,7 +98,7 @@ bizinikiwi-wasm-builder = { optional = true, workspace = true, default-features
|
||||
[features]
|
||||
default = ["std"]
|
||||
std = [
|
||||
"assets-common/std",
|
||||
"pez-assets-common/std",
|
||||
"bizinikiwi-wasm-builder",
|
||||
"codec/std",
|
||||
"pezcumulus-pezpallet-aura-ext/std",
|
||||
@@ -163,7 +163,7 @@ std = [
|
||||
]
|
||||
|
||||
runtime-benchmarks = [
|
||||
"assets-common/runtime-benchmarks",
|
||||
"pez-assets-common/runtime-benchmarks",
|
||||
"bizinikiwi-wasm-builder?/runtime-benchmarks",
|
||||
"hex-literal",
|
||||
"pezcumulus-pezpallet-aura-ext/runtime-benchmarks",
|
||||
@@ -222,7 +222,7 @@ runtime-benchmarks = [
|
||||
]
|
||||
|
||||
try-runtime = [
|
||||
"assets-common/try-runtime",
|
||||
"pez-assets-common/try-runtime",
|
||||
"pezcumulus-pezpallet-aura-ext/try-runtime",
|
||||
"pezcumulus-pezpallet-teyrchain-system/try-runtime",
|
||||
"pezcumulus-pezpallet-xcm/try-runtime",
|
||||
|
||||
@@ -48,8 +48,8 @@ pub mod xcm_config;
|
||||
extern crate alloc;
|
||||
|
||||
use alloc::{vec, vec::Vec};
|
||||
pub use assets_common::local_and_foreign_assets::ForeignAssetReserveData;
|
||||
use assets_common::{
|
||||
pub use pez_assets_common::local_and_foreign_assets::ForeignAssetReserveData;
|
||||
use pez_assets_common::{
|
||||
foreign_creators::ForeignCreators,
|
||||
local_and_foreign_assets::{LocalFromLeft, TargetFromLeft},
|
||||
AssetIdForTrustBackedAssetsConvert,
|
||||
@@ -526,7 +526,7 @@ impl pezpallet_assets::Config<ForeignAssetsInstance> for Runtime {
|
||||
type AssetAccountDeposit = ForeignAssetsAssetAccountDeposit;
|
||||
type RemoveItemsLimit = pezframe_support::traits::ConstU32<1000>;
|
||||
#[cfg(feature = "runtime-benchmarks")]
|
||||
type BenchmarkHelper = assets_common::benchmarks::LocationAssetsBenchmarkHelper;
|
||||
type BenchmarkHelper = pez_assets_common::benchmarks::LocationAssetsBenchmarkHelper;
|
||||
}
|
||||
|
||||
parameter_types! {
|
||||
@@ -623,7 +623,7 @@ impl pezpallet_asset_conversion::Config for Runtime {
|
||||
type MintMinLiquidity = ConstU128<100>;
|
||||
type WeightInfo = ();
|
||||
#[cfg(feature = "runtime-benchmarks")]
|
||||
type BenchmarkHelper = assets_common::benchmarks::AssetPairFactory<
|
||||
type BenchmarkHelper = pez_assets_common::benchmarks::AssetPairFactory<
|
||||
xcm_config::RelayLocation,
|
||||
teyrchain_info::Pezpallet<Runtime>,
|
||||
xcm_config::TrustBackedAssetsPalletIndex,
|
||||
|
||||
@@ -41,7 +41,7 @@ use super::{
|
||||
TeyrchainSystem, WeightToFee, XcmpQueue,
|
||||
};
|
||||
use crate::{BaseDeliveryFee, FeeAssetId, TransactionByteFee};
|
||||
use assets_common::TrustBackedAssetsAsLocation;
|
||||
use pez_assets_common::TrustBackedAssetsAsLocation;
|
||||
use core::marker::PhantomData;
|
||||
use pezframe_support::{
|
||||
parameter_types,
|
||||
@@ -173,7 +173,7 @@ pub type ForeignAssetsConvertedConcreteId = xcm_builder::MatchedConvertedConcret
|
||||
// assert!(Location::new(1,
|
||||
// [Teyrchain(100)]).starts_with(&Location::parent()));
|
||||
// assert!([Teyrchain(100)].into().starts_with(&Here));
|
||||
StartsWith<assets_common::matching::LocalLocationPattern>,
|
||||
StartsWith<pez_assets_common::matching::LocalLocationPattern>,
|
||||
)>,
|
||||
Identity,
|
||||
TryConvertInto,
|
||||
@@ -364,7 +364,7 @@ pub type TrustedAliasers = (
|
||||
pub type WaivedLocations = Equals<RootLocation>;
|
||||
/// `AssetId`/`Balance` converter for `TrustBackedAssets`.
|
||||
pub type TrustBackedAssetsConvertedConcreteId =
|
||||
assets_common::TrustBackedAssetsConvertedConcreteId<AssetsPalletLocation, Balance>;
|
||||
pez_assets_common::TrustBackedAssetsConvertedConcreteId<AssetsPalletLocation, Balance>;
|
||||
|
||||
/// Asset converter for pool assets.
|
||||
/// Used to convert assets in pools to the asset required for fee payment.
|
||||
|
||||
Reference in New Issue
Block a user