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:
@@ -18,7 +18,9 @@ targets = ["x86_64-unknown-linux-gnu"]
|
||||
|
||||
[dependencies]
|
||||
codec = { features = ["derive"], 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]
|
||||
@@ -27,10 +29,10 @@ pezsp-io = { 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",
|
||||
"pezsp-io/runtime-benchmarks",
|
||||
]
|
||||
try-runtime = ["frame/try-runtime", "pezpallet-balances/try-runtime"]
|
||||
try-runtime = ["pezframe/try-runtime", "pezpallet-balances/try-runtime"]
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
#![cfg(feature = "runtime-benchmarks")]
|
||||
|
||||
use frame::benchmarking::prelude::*;
|
||||
use pezframe::benchmarking::prelude::*;
|
||||
|
||||
use crate::*;
|
||||
|
||||
|
||||
@@ -90,7 +90,7 @@ pub use pezpallet::*;
|
||||
pub use weights::WeightInfo;
|
||||
|
||||
use alloc::{vec, vec::Vec};
|
||||
use frame::prelude::*;
|
||||
use pezframe::prelude::*;
|
||||
use fungible::{
|
||||
Balanced as FunBalanced, Inspect as FunInspect, Mutate as FunMutate,
|
||||
MutateHold as FunMutateHold,
|
||||
@@ -173,7 +173,7 @@ impl BenchmarkSetup for () {
|
||||
fn create_counterpart_asset() {}
|
||||
}
|
||||
|
||||
#[frame::pezpallet]
|
||||
#[pezframe::pezpallet]
|
||||
pub mod pezpallet {
|
||||
use super::*;
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
//! Test environment for NIS pezpallet.
|
||||
|
||||
use frame::{runtime::prelude::*, testing_prelude::*, traits::StorageMapShim};
|
||||
use pezframe::{runtime::prelude::*, testing_prelude::*, traits::StorageMapShim};
|
||||
|
||||
use crate::{self as pezpallet_nis, *};
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
//! Tests for NIS pezpallet.
|
||||
|
||||
use frame::testing_prelude::*;
|
||||
use pezframe::testing_prelude::*;
|
||||
|
||||
use crate::{
|
||||
mock::{Balance, *},
|
||||
|
||||
@@ -67,7 +67,7 @@
|
||||
#![allow(missing_docs)]
|
||||
#![allow(dead_code)]
|
||||
|
||||
use frame::weights_prelude::*;
|
||||
use pezframe::weights_prelude::*;
|
||||
|
||||
/// Weight functions needed for `pezpallet_nis`.
|
||||
pub trait WeightInfo {
|
||||
|
||||
Reference in New Issue
Block a user