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:
2026-01-02 11:41:09 +03:00
parent 76ba7dbf2f
commit cf463fe8ee
520 changed files with 4113 additions and 4524 deletions
@@ -34,12 +34,12 @@ xcm = { workspace = true }
xcm-builder = { workspace = true, default-features = true }
# Bridges
bp-bridge-hub-pezkuwichain = { workspace = true }
pezbp-bridge-hub-pezkuwichain = { workspace = true }
[features]
runtime-benchmarks = [
"asset-hub-pezkuwichain-runtime/runtime-benchmarks",
"bp-bridge-hub-pezkuwichain/runtime-benchmarks",
"pezbp-bridge-hub-pezkuwichain/runtime-benchmarks",
"emulated-integration-tests-common/runtime-benchmarks",
"pezcumulus-primitives-core/runtime-benchmarks",
"pezframe-support/runtime-benchmarks",
@@ -73,5 +73,5 @@ impl_bridge_helpers_for_chain!(
AssetHubPezkuwichain,
ParaPezpallet,
PezkuwiXcm,
bp_bridge_hub_pezkuwichain::RuntimeCall::XcmOverBridgeHubZagros
pezbp_bridge_hub_pezkuwichain::RuntimeCall::XcmOverBridgeHubZagros
);
@@ -34,12 +34,12 @@ xcm = { workspace = true }
xcm-builder = { workspace = true, default-features = true }
# Bridges
bp-bridge-hub-zagros = { workspace = true }
pezbp-bridge-hub-zagros = { workspace = true }
[features]
runtime-benchmarks = [
"asset-hub-zagros-runtime/runtime-benchmarks",
"bp-bridge-hub-zagros/runtime-benchmarks",
"pezbp-bridge-hub-zagros/runtime-benchmarks",
"emulated-integration-tests-common/runtime-benchmarks",
"pezcumulus-primitives-core/runtime-benchmarks",
"pezframe-support/runtime-benchmarks",
@@ -75,5 +75,5 @@ impl_bridge_helpers_for_chain!(
AssetHubZagros,
ParaPezpallet,
PezkuwiXcm,
bp_bridge_hub_zagros::RuntimeCall::XcmOverBridgeHubPezkuwichain
pezbp_bridge_hub_zagros::RuntimeCall::XcmOverBridgeHubPezkuwichain
);
@@ -23,10 +23,10 @@ pezsp-keyring = { workspace = true }
xcm = { workspace = true }
# Bridge dependencies
bp-messages = { workspace = true }
pezbp-messages = { workspace = true }
# Pezcumulus
bridge-hub-common = { workspace = true }
pezbridge-hub-common = { workspace = true }
emulated-integration-tests-common = { workspace = true }
pezbridge-hub-pezkuwichain-runtime = { workspace = true, default-features = true }
testnet-teyrchains-constants = { features = [
@@ -36,8 +36,8 @@ teyrchains-common = { workspace = true, default-features = true }
[features]
runtime-benchmarks = [
"bp-messages/runtime-benchmarks",
"bridge-hub-common/runtime-benchmarks",
"pezbp-messages/runtime-benchmarks",
"pezbridge-hub-common/runtime-benchmarks",
"emulated-integration-tests-common/runtime-benchmarks",
"pezbridge-hub-pezkuwichain-runtime/runtime-benchmarks",
"pezframe-support/runtime-benchmarks",
@@ -76,7 +76,7 @@ pub fn genesis() -> Storage {
(
Location::new(1, [Teyrchain(1000)]),
Junctions::from([ByGenesis(ZAGROS_GENESIS_HASH).into(), Teyrchain(1000)]),
Some(bp_messages::LegacyLaneId([0, 0, 0, 2])),
Some(pezbp_messages::LegacyLaneId([0, 0, 0, 2])),
),
],
..Default::default()
@@ -44,7 +44,7 @@ decl_test_teyrchains! {
XcmpMessageHandler: pezbridge_hub_pezkuwichain_runtime::XcmpQueue,
LocationToAccountId: pezbridge_hub_pezkuwichain_runtime::xcm_config::LocationToAccountId,
TeyrchainInfo: pezbridge_hub_pezkuwichain_runtime::TeyrchainInfo,
MessageOrigin: bridge_hub_common::AggregateMessageOrigin,
MessageOrigin: pezbridge_hub_common::AggregateMessageOrigin,
DigestProvider: AuraDigestProvider,
},
pallets = {
@@ -23,10 +23,10 @@ pezsp-keyring = { workspace = true }
xcm = { workspace = true }
# Bridge dependencies
bp-messages = { workspace = true }
pezbp-messages = { workspace = true }
# Pezcumulus
bridge-hub-common = { workspace = true }
pezbridge-hub-common = { workspace = true }
emulated-integration-tests-common = { workspace = true }
pezbridge-hub-zagros-runtime = { workspace = true, default-features = true }
testnet-teyrchains-constants = { features = [
@@ -36,8 +36,8 @@ teyrchains-common = { workspace = true, default-features = true }
[features]
runtime-benchmarks = [
"bp-messages/runtime-benchmarks",
"bridge-hub-common/runtime-benchmarks",
"pezbp-messages/runtime-benchmarks",
"pezbridge-hub-common/runtime-benchmarks",
"emulated-integration-tests-common/runtime-benchmarks",
"pezbridge-hub-zagros-runtime/runtime-benchmarks",
"pezframe-support/runtime-benchmarks",
@@ -81,7 +81,7 @@ pub fn genesis() -> Storage {
NetworkId::ByGenesis(PEZKUWICHAIN_GENESIS_HASH).into(),
Teyrchain(1000),
]),
Some(bp_messages::LegacyLaneId([0, 0, 0, 2])),
Some(pezbp_messages::LegacyLaneId([0, 0, 0, 2])),
),
],
..Default::default()
@@ -43,7 +43,7 @@ decl_test_teyrchains! {
XcmpMessageHandler: pezbridge_hub_zagros_runtime::XcmpQueue,
LocationToAccountId: pezbridge_hub_zagros_runtime::xcm_config::LocationToAccountId,
TeyrchainInfo: pezbridge_hub_zagros_runtime::TeyrchainInfo,
MessageOrigin: bridge_hub_common::AggregateMessageOrigin,
MessageOrigin: pezbridge_hub_common::AggregateMessageOrigin,
DigestProvider: AuraDigestProvider,
},
pallets = {
@@ -56,16 +56,16 @@ teyrchains-common = { workspace = true, default-features = true }
xcm-pez-emulator = { workspace = true, default-features = true }
# Bridges
bp-messages = { workspace = true, default-features = true }
bp-xcm-bridge-hub = { workspace = true, default-features = true }
pezbp-messages = { workspace = true, default-features = true }
pezbp-xcm-bridge-hub = { workspace = true, default-features = true }
pezpallet-bridge-messages = { workspace = true, default-features = true }
pezpallet-xcm-bridge-hub = { workspace = true, default-features = true }
[features]
runtime-benchmarks = [
"asset-test-pezutils/runtime-benchmarks",
"bp-messages/runtime-benchmarks",
"bp-xcm-bridge-hub/runtime-benchmarks",
"pezbp-messages/runtime-benchmarks",
"pezbp-xcm-bridge-hub/runtime-benchmarks",
"pezcumulus-pezpallet-teyrchain-system/runtime-benchmarks",
"pezcumulus-pezpallet-xcmp-queue/runtime-benchmarks",
"pezcumulus-primitives-core/runtime-benchmarks",
@@ -60,11 +60,11 @@ pub use xcm_pez_emulator::{
};
// Bridges
use bp_messages::{
use pezbp_messages::{
target_chain::{DispatchMessage, DispatchMessageData, MessageDispatch},
MessageKey, OutboundLaneData,
};
pub use bp_xcm_bridge_hub::XcmBridgeHubCall;
pub use pezbp_xcm_bridge_hub::XcmBridgeHubCall;
use pezpallet_bridge_messages::{
Config as BridgeMessagesConfig, LaneIdOf, OutboundLanes, Pezpallet,
};
@@ -34,7 +34,7 @@ xcm-builder = { workspace = true }
xcm-executor = { workspace = true }
# Bridges
bp-asset-hub-pezkuwichain = { workspace = true }
pezbp-asset-hub-pezkuwichain = { workspace = true }
pezpallet-bridge-messages = { workspace = true }
# Pezcumulus
@@ -59,7 +59,7 @@ pezsnowbridge-pezpallet-system = { workspace = true }
[features]
runtime-benchmarks = [
"asset-hub-pezkuwichain-runtime/runtime-benchmarks",
"bp-asset-hub-pezkuwichain/runtime-benchmarks",
"pezbp-asset-hub-pezkuwichain/runtime-benchmarks",
"emulated-integration-tests-common/runtime-benchmarks",
"pezcumulus-pezpallet-xcmp-queue/runtime-benchmarks",
"pezframe-support/runtime-benchmarks",
@@ -40,8 +40,8 @@ pezpallet-bridge-relayers = { workspace = true }
# Pezcumulus
asset-hub-zagros-runtime = { workspace = true }
bp-asset-hub-zagros = { workspace = true }
bridge-hub-common = { workspace = true }
pezbp-asset-hub-zagros = { workspace = true }
pezbridge-hub-common = { workspace = true }
emulated-integration-tests-common = { workspace = true }
pezbridge-hub-zagros-runtime = { workspace = true }
pezcumulus-pezpallet-teyrchain-system = { workspace = true }
@@ -68,8 +68,8 @@ pezsnowbridge-pezpallet-system-v2 = { workspace = true }
[features]
runtime-benchmarks = [
"asset-hub-zagros-runtime/runtime-benchmarks",
"bp-asset-hub-zagros/runtime-benchmarks",
"bridge-hub-common/runtime-benchmarks",
"pezbp-asset-hub-zagros/runtime-benchmarks",
"pezbridge-hub-common/runtime-benchmarks",
"emulated-integration-tests-common/runtime-benchmarks",
"pezbridge-hub-zagros-runtime/runtime-benchmarks",
"pezcumulus-pezpallet-teyrchain-system/runtime-benchmarks",
@@ -289,7 +289,7 @@ fn export_from_non_system_teyrchain_will_fail() {
assert_expected_events!(
BridgeHubZagros,
vec![RuntimeEvent::MessageQueue(pezpallet_message_queue::Event::Processed{ success:false, origin, .. }) => {
origin: *origin == bridge_hub_common::AggregateMessageOrigin::Sibling(PenpalB::para_id()),
origin: *origin == pezbridge_hub_common::AggregateMessageOrigin::Sibling(PenpalB::para_id()),
},]
);
});
@@ -398,7 +398,7 @@ fn register_and_send_token_in_one_transaction_fails() {
let dot_asset = Location::new(1, Here);
let dot_fee: xcm::prelude::Asset =
(dot_asset, bp_asset_hub_zagros::CreateForeignAssetDeposit::get()).into();
(dot_asset, pezbp_asset_hub_zagros::CreateForeignAssetDeposit::get()).into();
// Used to pay the asset creation deposit.
let eth_asset_value = 9_000_000_000_000u128;
@@ -1022,7 +1022,7 @@ fn invalid_claimer_does_not_fail_the_message() {
#[test]
fn create_foreign_asset_deposit_is_equal_to_asset_hub_foreign_asset_pallet_deposit() {
let asset_hub_deposit = asset_hub_zagros_runtime::ForeignAssetsAssetDeposit::get();
let bridge_hub_deposit = bp_asset_hub_zagros::CreateForeignAssetDeposit::get();
let bridge_hub_deposit = pezbp_asset_hub_zagros::CreateForeignAssetDeposit::get();
assert!(
bridge_hub_deposit >=
asset_hub_deposit,