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:
@@ -17,7 +17,9 @@ targets = ["x86_64-unknown-linux-gnu"]
|
||||
|
||||
[dependencies]
|
||||
codec = { features = ["derive", "max-encoded-len"], 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 }
|
||||
|
||||
[dev-dependencies]
|
||||
@@ -26,14 +28,14 @@ pezpallet-preimage = { workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
std = ["codec/std", "frame/std", "scale-info/std"]
|
||||
std = ["codec/std", "pezframe/std", "scale-info/std"]
|
||||
runtime-benchmarks = [
|
||||
"frame/runtime-benchmarks",
|
||||
"pezframe/runtime-benchmarks",
|
||||
"pezpallet-balances/runtime-benchmarks",
|
||||
"pezpallet-preimage/runtime-benchmarks",
|
||||
]
|
||||
try-runtime = [
|
||||
"frame/try-runtime",
|
||||
"pezframe/try-runtime",
|
||||
"pezpallet-balances/try-runtime",
|
||||
"pezpallet-preimage/try-runtime",
|
||||
]
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
use super::*;
|
||||
#[cfg(test)]
|
||||
use crate::Pezpallet as Whitelist;
|
||||
use frame::benchmarking::prelude::*;
|
||||
use pezframe::benchmarking::prelude::*;
|
||||
|
||||
#[benchmarks]
|
||||
mod benchmarks {
|
||||
|
||||
@@ -44,7 +44,7 @@ extern crate alloc;
|
||||
|
||||
use alloc::boxed::Box;
|
||||
use codec::{DecodeLimit, Encode, FullCodec};
|
||||
use frame::{
|
||||
use pezframe::{
|
||||
prelude::*,
|
||||
traits::{QueryPreimage, StorePreimage},
|
||||
};
|
||||
@@ -52,7 +52,7 @@ use scale_info::TypeInfo;
|
||||
|
||||
pub use pezpallet::*;
|
||||
|
||||
#[frame::pezpallet]
|
||||
#[pezframe::pezpallet]
|
||||
pub mod pezpallet {
|
||||
use super::*;
|
||||
|
||||
@@ -169,7 +169,7 @@ pub mod pezpallet {
|
||||
.map_err(|_| Error::<T>::UnavailablePreImage)?;
|
||||
|
||||
let call = <T as Config>::RuntimeCall::decode_all_with_depth_limit(
|
||||
frame::deps::pezframe_support::MAX_EXTRINSIC_DEPTH,
|
||||
pezframe::deps::pezframe_support::MAX_EXTRINSIC_DEPTH,
|
||||
&mut &call[..],
|
||||
)
|
||||
.map_err(|_| Error::<T>::UndecodableCall)?;
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
use crate as pezpallet_whitelist;
|
||||
|
||||
use frame::testing_prelude::*;
|
||||
use pezframe::testing_prelude::*;
|
||||
type Block = MockBlock<Test>;
|
||||
|
||||
construct_runtime!(
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
use crate::mock::*;
|
||||
use codec::Encode;
|
||||
use frame::{
|
||||
use pezframe::{
|
||||
testing_prelude::*,
|
||||
traits::{QueryPreimage, StorePreimage},
|
||||
};
|
||||
|
||||
@@ -67,7 +67,7 @@
|
||||
#![allow(missing_docs)]
|
||||
#![allow(dead_code)]
|
||||
|
||||
use frame::weights_prelude::*;
|
||||
use pezframe::weights_prelude::*;
|
||||
use core::marker::PhantomData;
|
||||
|
||||
/// Weight functions needed for `pezpallet_whitelist`.
|
||||
|
||||
Reference in New Issue
Block a user