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.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "yet-another-teyrchain-runtime"
|
||||
version = "0.6.0"
|
||||
version = "0.6.1"
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
description = "Simple runtime used by the testing teyrchain(s)"
|
||||
@@ -54,9 +54,9 @@ pezkuwi-sdk = { workspace = true, default-features = false, features = [
|
||||
"pezkuwi-runtime-common",
|
||||
"pezkuwi-teyrchain-primitives",
|
||||
"pezpallet-xcm",
|
||||
"pezstaging-xcm",
|
||||
"pezstaging-xcm-builder",
|
||||
"pezstaging-xcm-executor",
|
||||
"xcm",
|
||||
"xcm-builder",
|
||||
"xcm-executor",
|
||||
|
||||
"pezcumulus-pezpallet-aura-ext",
|
||||
"pezcumulus-pezpallet-weight-reclaim",
|
||||
@@ -66,7 +66,7 @@ pezkuwi-sdk = { workspace = true, default-features = false, features = [
|
||||
"pezcumulus-primitives-core",
|
||||
"pezcumulus-primitives-utility",
|
||||
"pezpallet-collator-selection",
|
||||
"pezstaging-teyrchain-info",
|
||||
"teyrchain-info",
|
||||
"teyrchains-common",
|
||||
|
||||
"runtime",
|
||||
|
||||
+1
-1
@@ -23,7 +23,7 @@ use pezsp_genesis_builder::PresetId;
|
||||
use pezsp_keyring::Sr25519Keyring;
|
||||
use teyrchains_common::{AccountId, AuraId};
|
||||
|
||||
const SAFE_XCM_VERSION: u32 = pezstaging_xcm::prelude::XCM_VERSION;
|
||||
const SAFE_XCM_VERSION: u32 = xcm::prelude::XCM_VERSION;
|
||||
|
||||
const DEFAULT_PARA_ID: ParaId = ParaId::new(1000);
|
||||
const ENDOWMENT: u128 = 1 << 60;
|
||||
|
||||
@@ -28,10 +28,8 @@ mod xcm_config;
|
||||
|
||||
use crate::xcm_config::{RelayLocation, XcmOriginToTransactDispatchOrigin};
|
||||
|
||||
pub use pezkuwi_sdk::{pezstaging_teyrchain_info as teyrchain_info, *};
|
||||
pub use pezkuwi_sdk::{teyrchain_info, *};
|
||||
use pezpallet_xcm::{EnsureXcm, IsVoiceOfBody};
|
||||
use pezstaging_xcm_builder as xcm_builder;
|
||||
use pezstaging_xcm_executor as xcm_executor;
|
||||
|
||||
use pezcumulus_primitives_core::ParaId;
|
||||
use pezkuwi_runtime_common::{prod_or_fast, xcm_sender::NoPriceForMessageDelivery};
|
||||
@@ -81,7 +79,7 @@ pub use pezsp_runtime::BuildStorage;
|
||||
pub use pezsp_runtime::{Perbill, Permill};
|
||||
|
||||
use pezcumulus_primitives_core::AggregateMessageOrigin; //, ClaimQueueOffset, CoreSelector};
|
||||
use pezstaging_xcm::latest::prelude::BodyId;
|
||||
use xcm::latest::prelude::BodyId;
|
||||
use teyrchains_common::{AccountId, Signature};
|
||||
|
||||
pub type SessionHandlers = ();
|
||||
|
||||
@@ -19,10 +19,7 @@ use super::{
|
||||
RuntimeOrigin, TeyrchainInfo, TeyrchainSystem, WeightToFee, XcmpQueue,
|
||||
};
|
||||
|
||||
use pezkuwi_sdk::{
|
||||
pezstaging_xcm as xcm, pezstaging_xcm_builder as xcm_builder,
|
||||
pezstaging_xcm_executor as xcm_executor, *,
|
||||
};
|
||||
use pezkuwi_sdk::{xcm, xcm_builder, xcm_executor, *};
|
||||
|
||||
use pezframe_support::{
|
||||
parameter_types,
|
||||
|
||||
Reference in New Issue
Block a user