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:
@@ -20,13 +20,15 @@ targets = ["x86_64-unknown-linux-gnu"]
|
||||
codec = { features = ["derive"], workspace = true }
|
||||
scale-info = { features = ["derive"], workspace = true }
|
||||
|
||||
frame = { workspace = true, default-features = false, features = [
|
||||
pezframe = { workspace = true, default-features = false, features = [
|
||||
"experimental",
|
||||
"runtime",
|
||||
] }
|
||||
pezframe-support = { workspace = true, default-features = false }
|
||||
pezframe-system = { workspace = true, default-features = false }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
runtime-benchmarks = ["frame/runtime-benchmarks"]
|
||||
std = ["codec/std", "frame/std", "scale-info/std"]
|
||||
try-runtime = ["frame/try-runtime"]
|
||||
runtime-benchmarks = ["pezframe/runtime-benchmarks"]
|
||||
std = ["codec/std", "pezframe/std", "pezframe-support/std", "pezframe-system/std", "scale-info/std"]
|
||||
try-runtime = ["pezframe/try-runtime"]
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
//! Benchmarking setup for pezpallet-template
|
||||
|
||||
use super::*;
|
||||
use frame::{deps::pezframe_benchmarking::v2::*, prelude::*};
|
||||
use pezframe::{deps::pezframe_benchmarking::v2::*, prelude::*};
|
||||
|
||||
#[benchmarks]
|
||||
mod benchmarks {
|
||||
|
||||
@@ -67,9 +67,9 @@ mod benchmarking;
|
||||
// To see a full list of `pezpallet` macros and their use cases, see:
|
||||
// <https://docs.pezkuwichain.io/sdk/master/pezpallet_example_kitchensink/index.html>
|
||||
// <https://docs.pezkuwichain.io/sdk/master/pezframe_support/pezpallet_macros/index.html>
|
||||
#[frame::pezpallet]
|
||||
#[pezframe::pezpallet]
|
||||
pub mod pezpallet {
|
||||
use frame::prelude::*;
|
||||
use pezframe::prelude::*;
|
||||
|
||||
/// Configure the pezpallet by specifying the parameters and types on which it depends.
|
||||
#[pezpallet::config]
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
use frame::{
|
||||
use pezframe::{
|
||||
deps::{pezframe_support::weights::constants::RocksDbWeight, pezframe_system::GenesisConfig},
|
||||
prelude::*,
|
||||
runtime::prelude::*,
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
use crate::{mock::*, Error, Something};
|
||||
use frame::testing_prelude::*;
|
||||
use pezframe::testing_prelude::*;
|
||||
|
||||
#[test]
|
||||
fn it_works_for_default_value() {
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
#![allow(unused_parens)]
|
||||
#![allow(unused_imports)]
|
||||
|
||||
use frame::{deps::pezframe_support::weights::constants::RocksDbWeight, prelude::*};
|
||||
use pezframe::{deps::pezframe_support::weights::constants::RocksDbWeight, prelude::*};
|
||||
use core::marker::PhantomData;
|
||||
|
||||
/// Weight functions needed for pezpallet_template.
|
||||
|
||||
Reference in New Issue
Block a user