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 = { workspace = true }
|
||||
frame = { workspace = true, features = ["runtime"] }
|
||||
pezframe = { workspace = true, features = ["runtime"] }
|
||||
pezframe-system = { workspace = true }
|
||||
pezframe-support = { workspace = true }
|
||||
log = { workspace = true }
|
||||
pezpallet-assets = { workspace = true }
|
||||
pezpallet-nfts = { workspace = true }
|
||||
@@ -31,7 +33,9 @@ pezpallet-balances = { workspace = true, default-features = true }
|
||||
default = ["std"]
|
||||
std = [
|
||||
"codec/std",
|
||||
"frame/std",
|
||||
"pezframe/std",
|
||||
"pezframe-system/std",
|
||||
"pezframe-support/std",
|
||||
"log/std",
|
||||
"pezpallet-assets/std",
|
||||
"pezpallet-balances/std",
|
||||
@@ -39,13 +43,13 @@ std = [
|
||||
"scale-info/std",
|
||||
]
|
||||
runtime-benchmarks = [
|
||||
"frame/runtime-benchmarks",
|
||||
"pezframe/runtime-benchmarks",
|
||||
"pezpallet-assets/runtime-benchmarks",
|
||||
"pezpallet-balances/runtime-benchmarks",
|
||||
"pezpallet-nfts/runtime-benchmarks",
|
||||
]
|
||||
try-runtime = [
|
||||
"frame/try-runtime",
|
||||
"pezframe/try-runtime",
|
||||
"pezpallet-assets/try-runtime",
|
||||
"pezpallet-balances/try-runtime",
|
||||
"pezpallet-nfts/try-runtime",
|
||||
|
||||
@@ -20,9 +20,9 @@
|
||||
#![cfg(feature = "runtime-benchmarks")]
|
||||
|
||||
use super::*;
|
||||
use frame::benchmarking::prelude::*;
|
||||
use pezframe::benchmarking::prelude::*;
|
||||
|
||||
use frame::deps::pezframe_support::assert_ok;
|
||||
use pezframe::deps::pezframe_support::assert_ok;
|
||||
use fungible::{Inspect as InspectFungible, Mutate as MutateFungible};
|
||||
use nonfungibles_v2::{Create, Mutate};
|
||||
|
||||
|
||||
@@ -47,13 +47,13 @@ mod tests;
|
||||
|
||||
pub mod weights;
|
||||
|
||||
use frame::prelude::*;
|
||||
use pezframe::prelude::*;
|
||||
use pezframe_system::Config as SystemConfig;
|
||||
pub use pezpallet::*;
|
||||
pub use types::*;
|
||||
pub use weights::WeightInfo;
|
||||
|
||||
#[frame::pezpallet]
|
||||
#[pezframe::pezpallet]
|
||||
pub mod pezpallet {
|
||||
use super::*;
|
||||
use core::fmt::Display;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
use super::*;
|
||||
use crate as pezpallet_nft_fractionalization;
|
||||
|
||||
use frame::{deps::pezsp_runtime::MultiSignature, testing_prelude::*, traits::Verify};
|
||||
use pezframe::{deps::pezsp_runtime::MultiSignature, testing_prelude::*, traits::Verify};
|
||||
use pezpallet_nfts::PalletFeatures;
|
||||
|
||||
type Block = MockBlock<Test>;
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
use crate::{mock::*, *};
|
||||
|
||||
use frame::{deps::pezsp_runtime::ModuleError, testing_prelude::*};
|
||||
use pezframe::{deps::pezsp_runtime::ModuleError, testing_prelude::*};
|
||||
use fungible::{hold::Inspect as InspectHold, Mutate as MutateFungible};
|
||||
use fungibles::{metadata::Inspect, InspectEnumerable};
|
||||
use TokenError::FundsUnavailable;
|
||||
|
||||
@@ -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_nft_fractionalization`.
|
||||
|
||||
Reference in New Issue
Block a user