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
+6 -2
View File
@@ -20,7 +20,9 @@ xcm-pez-simulator = { workspace = true, default-features = true }
# For building FRAME runtimes
codec = { workspace = true, default-features = true }
frame = { features = ["runtime"], workspace = true, default-features = true }
pezframe = { features = ["runtime"], workspace = true, default-features = true }
pezframe-support = { workspace = true, default-features = true }
pezframe-system = { workspace = true, default-features = true }
pezkuwi-runtime-teyrchains = { workspace = true, default-features = true }
pezsp-io = { workspace = true, default-features = true }
pezsp-runtime = { workspace = true, default-features = true }
@@ -39,7 +41,9 @@ test-log = { workspace = true }
[features]
runtime-benchmarks = [
"frame/runtime-benchmarks",
"pezframe/runtime-benchmarks",
"pezframe-support/runtime-benchmarks",
"pezframe-system/runtime-benchmarks",
"pezkuwi-runtime-teyrchains/runtime-benchmarks",
"pezpallet-balances/runtime-benchmarks",
"pezpallet-message-queue/runtime-benchmarks",
@@ -17,7 +17,7 @@
//! Mock network
use frame::deps::{
use pezframe::deps::{
pezframe_system,
pezsp_io::TestExternalities,
pezsp_runtime::{AccountId32, BuildStorage},
@@ -66,7 +66,7 @@ pub fn para_ext() -> TestExternalities {
use teyrchain::{MessageQueue, Runtime, System};
let t = pezframe_system::GenesisConfig::<Runtime>::default().build_storage().unwrap();
let mut ext = frame::deps::pezsp_io::TestExternalities::new(t);
let mut ext = pezframe::deps::pezsp_io::TestExternalities::new(t);
ext.execute_with(|| {
System::set_block_number(1);
MessageQueue::set_para_id(2222.into());
@@ -17,7 +17,7 @@
//! Relay chain runtime mock.
use frame::{
use pezframe::{
deps::{pezframe_support::weights::WeightMeter, pezsp_runtime::AccountId32},
prelude::*,
runtime::prelude::*,
@@ -17,7 +17,7 @@
//! Relay chain XCM configuration
use frame::{
use pezframe::{
deps::pezframe_system,
runtime::prelude::*,
traits::{Disabled, Everything, Nothing},
@@ -108,7 +108,7 @@ impl xcm_executor::Config for XcmConfig {
type SubscriptionService = ();
type PalletInstancesInfo = ();
type FeeManager = ();
type MaxAssetsIntoHolding = frame::traits::ConstU32<1>;
type MaxAssetsIntoHolding = pezframe::traits::ConstU32<1>;
type MessageExporter = ();
type UniversalAliases = Nothing;
type CallDispatcher = RuntimeCall;
@@ -150,8 +150,8 @@ impl pezpallet_xcm::Config for Runtime {
type AdminOrigin = pezframe_system::EnsureRoot<AccountId>;
// No locking
type TrustedLockers = ();
type MaxLockers = frame::traits::ConstU32<0>;
type MaxRemoteLockConsumers = frame::traits::ConstU32<0>;
type MaxLockers = pezframe::traits::ConstU32<0>;
type MaxRemoteLockConsumers = pezframe::traits::ConstU32<0>;
type RemoteLockConsumerIdentifier = ();
// How to turn locations into accounts
type SovereignAccountOf = LocationToAccountId;
@@ -15,7 +15,7 @@
// You should have received a copy of the GNU General Public License
// along with Pezkuwi. If not, see <http://www.gnu.org/licenses/>.
use frame::testing_prelude::*;
use pezframe::testing_prelude::*;
use test_log::test;
use xcm::prelude::*;
use xcm_executor::traits::{ConvertLocation, TransferType};
@@ -17,7 +17,7 @@
//! # Runtime
use frame::{deps::pezframe_system, runtime::prelude::*, traits::IdentityLookup};
use pezframe::{deps::pezframe_system, runtime::prelude::*, traits::IdentityLookup};
use xcm_executor::XcmExecutor;
use xcm_pez_simulator::mock_message_queue;
@@ -25,7 +25,7 @@ mod xcm_config;
use xcm_config::XcmConfig;
pub type Block = pezframe_system::mocking::MockBlock<Runtime>;
pub type AccountId = frame::deps::pezsp_runtime::AccountId32;
pub type AccountId = pezframe::deps::pezsp_runtime::AccountId32;
pub type Balance = u64;
construct_runtime! {
@@ -17,7 +17,7 @@
//! # XCM Configuration
use frame::{
use pezframe::{
deps::pezframe_system,
runtime::prelude::*,
traits::{Disabled, Everything, Nothing},
@@ -135,7 +135,7 @@ impl xcm_executor::Config for XcmConfig {
type SubscriptionService = ();
type PalletInstancesInfo = ();
type FeeManager = ();
type MaxAssetsIntoHolding = frame::traits::ConstU32<1>;
type MaxAssetsIntoHolding = pezframe::traits::ConstU32<1>;
type MessageExporter = ();
type UniversalAliases = Nothing;
type CallDispatcher = RuntimeCall;
@@ -176,8 +176,8 @@ impl pezpallet_xcm::Config for Runtime {
type AdminOrigin = pezframe_system::EnsureRoot<AccountId>;
// No locking
type TrustedLockers = ();
type MaxLockers = frame::traits::ConstU32<0>;
type MaxRemoteLockConsumers = frame::traits::ConstU32<0>;
type MaxLockers = pezframe::traits::ConstU32<0>;
type MaxRemoteLockConsumers = pezframe::traits::ConstU32<0>;
type RemoteLockConsumerIdentifier = ();
// How to turn locations into accounts
type SovereignAccountOf = LocationToAccountId;
+2 -2
View File
@@ -42,7 +42,7 @@ pezkuwi-runtime-teyrchains = { workspace = true, default-features = true }
pezkuwi-teyrchain-primitives = { workspace = true, default-features = true }
pezpallet-assets = { workspace = true, default-features = true }
pezsp-tracing = { workspace = true, default-features = true }
xcm-pez-simulator = { workspace = true, default-features = true }
# xcm-pez-simulator = { workspace = true, default-features = true }
[features]
default = ["std"]
@@ -76,7 +76,7 @@ runtime-benchmarks = [
"pezsp-runtime/runtime-benchmarks",
"xcm-builder/runtime-benchmarks",
"xcm-executor/runtime-benchmarks",
"xcm-pez-simulator/runtime-benchmarks",
# "xcm-pez-simulator/runtime-benchmarks",
"xcm-runtime-pezapis/runtime-benchmarks",
"xcm/runtime-benchmarks",
]
+5 -5
View File
@@ -27,12 +27,12 @@ hex-literal = { workspace = true }
pezframe-system = { workspace = true }
pezpallet-assets = { workspace = true }
pezpallet-balances = { workspace = true }
pezpallet-xcm = { workspace = true }
# pezpallet-xcm = { workspace = true }
pezsp-io = { workspace = true }
pezsp-tracing = { workspace = true, default-features = true }
tracing = { workspace = true }
xcm-builder = { workspace = true }
xcm-pez-simulator = { workspace = true, default-features = true }
# xcm-pez-simulator = { workspace = true, default-features = true }
[features]
default = ["std"]
@@ -42,7 +42,7 @@ std = [
"pezframe-system/std",
"pezpallet-assets/std",
"pezpallet-balances/std",
"pezpallet-xcm/std",
# "pezpallet-xcm/std",
"pezsp-api/std",
"pezsp-io/std",
"pezsp-weights/std",
@@ -57,11 +57,11 @@ runtime-benchmarks = [
"pezframe-system/runtime-benchmarks",
"pezpallet-assets/runtime-benchmarks",
"pezpallet-balances/runtime-benchmarks",
"pezpallet-xcm/runtime-benchmarks",
# "pezpallet-xcm/runtime-benchmarks",
"pezsp-api/runtime-benchmarks",
"pezsp-io/runtime-benchmarks",
"xcm-builder/runtime-benchmarks",
"xcm-executor/runtime-benchmarks",
"xcm-pez-simulator/runtime-benchmarks",
# "xcm-pez-simulator/runtime-benchmarks",
"xcm/runtime-benchmarks",
]