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
+3 -3
View File
@@ -32,7 +32,7 @@
//!
//! The pezpallet is quite unique since it does not expose any `Call`s, `Error`s or `Event`s. All
//! interaction goes through the implemented
//! [`StorageList`][frame::deps::pezframe_support::storage::StorageList] trait.
//! [`StorageList`][pezframe::deps::pezframe_support::storage::StorageList] trait.
//!
//! A fuzzer for testing is provided in crate `pezpallet-paged-list-fuzzer`.
//!
@@ -72,10 +72,10 @@ mod tests;
extern crate alloc;
use codec::FullCodec;
use frame::{prelude::*, traits::StorageInstance};
use pezframe::{prelude::*, traits::StorageInstance};
pub use paged_list::StoragePagedList;
#[frame::pezpallet]
#[pezframe::pezpallet]
pub mod pezpallet {
use super::*;
+1 -1
View File
@@ -20,7 +20,7 @@
#![cfg(feature = "std")]
use crate::{paged_list::StoragePagedListMeta, Config, ListPrefix};
use frame::testing_prelude::*;
use pezframe::testing_prelude::*;
type Block = pezframe_system::mocking::MockBlock<Test>;
@@ -26,7 +26,7 @@
use alloc::vec::Vec;
use codec::{Decode, Encode, EncodeLike, FullCodec};
use core::marker::PhantomData;
use frame::{
use pezframe::{
deps::pezsp_io,
prelude::*,
runtime::prelude::storage::{StorageAppender, StorageList, StoragePrefixedContainer},
@@ -60,10 +60,10 @@ pub type ValueIndex = u32;
/// are loaded once a page is read from storage. Iteration then happens on the cached elements. This
/// reduces the number of storage `read` calls on the overlay. **Appending** to the list happens by
/// appending to the last page by utilizing
/// [`storage::append`](frame::deps::pezsp_io::storage::append). It allows to directly extend
/// [`storage::append`](pezframe::deps::pezsp_io::storage::append). It allows to directly extend
/// the elements of `values` vector of the page without loading the whole vector from storage. A new
/// page is instantiated once [`Page::next`] overflows `ValuesPerNewPage`. Its vector will also be
/// created through [`storage::append`](frame::deps::pezsp_io::storage::append). **Draining**
/// created through [`storage::append`](pezframe::deps::pezsp_io::storage::append). **Draining**
/// advances the internal indices identical to Iteration. It additionally persists the increments to
/// storage and thereby 'drains' elements. Completely drained pages are deleted from storage.
///
@@ -83,7 +83,7 @@ pub struct StoragePagedList<Prefix, Value, ValuesPerNewPage> {
/// The state of a [`StoragePagedList`].
///
/// This struct doubles as [`frame::deps::pezframe_support::storage::StorageList::Appender`].
/// This struct doubles as [`pezframe::deps::pezframe_support::storage::StorageList::Appender`].
#[derive(
Encode, Decode, CloneNoBound, PartialEqNoBound, EqNoBound, DebugNoBound, DefaultNoBound,
)]
@@ -407,7 +407,7 @@ where
#[allow(dead_code)]
pub(crate) mod mock {
pub use super::*;
use frame::testing_prelude::*;
use pezframe::testing_prelude::*;
parameter_types! {
pub const ValuesPerNewPage: u32 = 5;
@@ -428,7 +428,7 @@ pub(crate) mod mock {
#[cfg(test)]
mod tests {
use super::mock::*;
use frame::testing_prelude::*;
use pezframe::testing_prelude::*;
#[test]
fn append_works() {
+1 -1
View File
@@ -21,7 +21,7 @@
#![cfg(test)]
use crate::{mock::*, *};
use frame::{
use pezframe::{
prelude::storage::{StorageAppender, StoragePrefixedContainer},
testing_prelude::*,
};