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:
@@ -42,7 +42,7 @@ bounded-collections = { workspace = true }
|
||||
pezframe-benchmarking = { optional = true, workspace = true }
|
||||
|
||||
# Bridges
|
||||
bp-xcm-bridge-hub-router = { optional = true, workspace = true }
|
||||
pezbp-xcm-bridge-hub-router = { optional = true, workspace = true }
|
||||
|
||||
[dev-dependencies]
|
||||
# Bizinikiwi
|
||||
@@ -60,7 +60,7 @@ default = ["std"]
|
||||
std = [
|
||||
"approx/std",
|
||||
"bounded-collections/std",
|
||||
"bp-xcm-bridge-hub-router?/std",
|
||||
"pezbp-xcm-bridge-hub-router?/std",
|
||||
"codec/std",
|
||||
"pezcumulus-primitives-core/std",
|
||||
"pezframe-benchmarking?/std",
|
||||
@@ -79,7 +79,7 @@ std = [
|
||||
"xcm/std",
|
||||
]
|
||||
runtime-benchmarks = [
|
||||
"bp-xcm-bridge-hub-router?/runtime-benchmarks",
|
||||
"pezbp-xcm-bridge-hub-router?/runtime-benchmarks",
|
||||
"pezcumulus-pezpallet-teyrchain-system/runtime-benchmarks",
|
||||
"pezcumulus-primitives-core/runtime-benchmarks",
|
||||
"pezframe-benchmarking/runtime-benchmarks",
|
||||
@@ -105,4 +105,4 @@ try-runtime = [
|
||||
"pezpallet-message-queue/try-runtime",
|
||||
"pezsp-runtime/try-runtime",
|
||||
]
|
||||
bridging = ["bp-xcm-bridge-hub-router"]
|
||||
bridging = ["pezbp-xcm-bridge-hub-router"]
|
||||
|
||||
@@ -17,11 +17,11 @@ use crate::{pezpallet, OutboundState};
|
||||
use pezcumulus_primitives_core::ParaId;
|
||||
use xcm::latest::prelude::*;
|
||||
|
||||
/// Adapter implementation for `bp_xcm_bridge_hub_router::XcmChannelStatusProvider` which checks
|
||||
/// Adapter implementation for `pezbp_xcm_bridge_hub_router::XcmChannelStatusProvider` which checks
|
||||
/// both `OutboundXcmpStatus` and `InboundXcmpStatus` for defined `Location` if any of those is
|
||||
/// suspended.
|
||||
pub struct InAndOutXcmpChannelStatusProvider<Runtime>(core::marker::PhantomData<Runtime>);
|
||||
impl<Runtime: crate::Config> bp_xcm_bridge_hub_router::XcmChannelStatusProvider
|
||||
impl<Runtime: crate::Config> pezbp_xcm_bridge_hub_router::XcmChannelStatusProvider
|
||||
for InAndOutXcmpChannelStatusProvider<Runtime>
|
||||
{
|
||||
fn is_congested(with: &Location) -> bool {
|
||||
@@ -46,7 +46,7 @@ impl<Runtime: crate::Config> bp_xcm_bridge_hub_router::XcmChannelStatusProvider
|
||||
}
|
||||
|
||||
/// Adapter implementation for `bp_xcm_bridge::ChannelStatusProvider` and/or
|
||||
/// `bp_xcm_bridge_hub_router::XcmChannelStatusProvider` which checks only `OutboundXcmpStatus`
|
||||
/// `pezbp_xcm_bridge_hub_router::XcmChannelStatusProvider` which checks only `OutboundXcmpStatus`
|
||||
/// for defined `Location` if is suspended.
|
||||
pub struct OutXcmpChannelStatusProvider<Runtime>(core::marker::PhantomData<Runtime>);
|
||||
impl<Runtime: crate::Config> OutXcmpChannelStatusProvider<Runtime> {
|
||||
@@ -87,7 +87,7 @@ impl<Runtime: crate::Config> OutXcmpChannelStatusProvider<Runtime> {
|
||||
}
|
||||
}
|
||||
|
||||
impl<Runtime: crate::Config> bp_xcm_bridge_hub_router::XcmChannelStatusProvider
|
||||
impl<Runtime: crate::Config> pezbp_xcm_bridge_hub_router::XcmChannelStatusProvider
|
||||
for OutXcmpChannelStatusProvider<Runtime>
|
||||
{
|
||||
fn is_congested(with: &Location) -> bool {
|
||||
|
||||
Reference in New Issue
Block a user