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 -4
View File
@@ -18,7 +18,9 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { workspace = true }
frame = { workspace = true, features = ["runtime"] }
pezframe = { workspace = true, features = ["runtime"] }
pezframe-system = { workspace = true }
pezframe-support = { workspace = true }
scale-info = { features = ["derive"], workspace = true }
# third party
@@ -29,9 +31,9 @@ pezpallet-balances = { workspace = true, default-features = true }
[features]
default = ["std"]
std = ["codec/std", "frame/std", "log/std", "scale-info/std"]
std = ["codec/std", "pezframe/std", "log/std", "scale-info/std"]
runtime-benchmarks = [
"frame/runtime-benchmarks",
"pezframe/runtime-benchmarks",
"pezpallet-balances/runtime-benchmarks",
]
try-runtime = ["frame/try-runtime", "pezpallet-balances/try-runtime"]
try-runtime = ["pezframe/try-runtime", "pezpallet-balances/try-runtime"]
@@ -20,7 +20,7 @@
#![cfg(feature = "runtime-benchmarks")]
use super::*;
use frame::benchmarking::prelude::*;
use pezframe::benchmarking::prelude::*;
use crate::Pezpallet as Multisig;
+2 -2
View File
@@ -50,7 +50,7 @@ pub mod weights;
extern crate alloc;
use alloc::{boxed::Box, vec, vec::Vec};
use frame::{
use pezframe::{
prelude::*,
traits::{Currency, ReservableCurrency},
};
@@ -138,7 +138,7 @@ enum CallOrHash<T: Config> {
Hash([u8; 32]),
}
#[frame::pezpallet]
#[pezframe::pezpallet]
pub mod pezpallet {
use super::*;
@@ -18,14 +18,14 @@
// Migrations for Multisig Pezpallet
use crate::*;
use frame::prelude::*;
use pezframe::prelude::*;
pub mod v1 {
use super::*;
type OpaqueCall<T> = frame::traits::WrapperKeepOpaque<<T as Config>::RuntimeCall>;
type OpaqueCall<T> = pezframe::traits::WrapperKeepOpaque<<T as Config>::RuntimeCall>;
#[frame::storage_alias]
#[pezframe::storage_alias]
type Calls<T: Config> = StorageMap<
Pezpallet<T>,
Identity,
@@ -36,14 +36,14 @@ pub mod v1 {
pub struct MigrateToV1<T>(core::marker::PhantomData<T>);
impl<T: Config> OnRuntimeUpgrade for MigrateToV1<T> {
#[cfg(feature = "try-runtime")]
fn pre_upgrade() -> Result<Vec<u8>, frame::try_runtime::TryRuntimeError> {
fn pre_upgrade() -> Result<Vec<u8>, pezframe::try_runtime::TryRuntimeError> {
log!(info, "Number of calls to refund and delete: {}", Calls::<T>::iter().count());
Ok(Vec::new())
}
fn on_runtime_upgrade() -> Weight {
use frame::traits::ReservableCurrency as _;
use pezframe::traits::ReservableCurrency as _;
let current = Pezpallet::<T>::in_code_storage_version();
let onchain = Pezpallet::<T>::on_chain_storage_version();
@@ -69,7 +69,7 @@ pub mod v1 {
}
#[cfg(feature = "try-runtime")]
fn post_upgrade(_state: Vec<u8>) -> Result<(), frame::try_runtime::TryRuntimeError> {
fn post_upgrade(_state: Vec<u8>) -> Result<(), pezframe::try_runtime::TryRuntimeError> {
ensure!(
Calls::<T>::iter().count() == 0,
"there are some dangling calls that need to be destroyed and refunded"
+1 -1
View File
@@ -21,7 +21,7 @@
use super::*;
use crate as pezpallet_multisig;
use frame::{prelude::*, runtime::prelude::*, testing_prelude::*};
use pezframe::{prelude::*, runtime::prelude::*, testing_prelude::*};
type Block = pezframe_system::mocking::MockBlockU32<Test>;
+1 -1
View File
@@ -67,7 +67,7 @@
#![allow(missing_docs)]
#![allow(dead_code)]
use frame::weights_prelude::*;
use pezframe::weights_prelude::*;
/// Weight functions needed for `pezpallet_multisig`.
pub trait WeightInfo {