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:
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "pezpallet-assets-freezer"
|
||||
version = "0.1.0"
|
||||
version = "0.44.0"
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
license = "MIT-0"
|
||||
@@ -17,7 +17,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 }
|
||||
scale-info = { features = ["derive"], workspace = true }
|
||||
@@ -29,19 +31,21 @@ pezpallet-balances = { workspace = true }
|
||||
default = ["std"]
|
||||
std = [
|
||||
"codec/std",
|
||||
"frame/std",
|
||||
"pezframe/std",
|
||||
"pezframe-system/std",
|
||||
"pezframe-support/std",
|
||||
"log/std",
|
||||
"pezpallet-assets/std",
|
||||
"pezpallet-balances/std",
|
||||
"scale-info/std",
|
||||
]
|
||||
runtime-benchmarks = [
|
||||
"frame/runtime-benchmarks",
|
||||
"pezframe/runtime-benchmarks",
|
||||
"pezpallet-assets/runtime-benchmarks",
|
||||
"pezpallet-balances/runtime-benchmarks",
|
||||
]
|
||||
try-runtime = [
|
||||
"frame/try-runtime",
|
||||
"pezframe/try-runtime",
|
||||
"pezpallet-assets/try-runtime",
|
||||
"pezpallet-balances/try-runtime",
|
||||
]
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
// SOFTWARE.
|
||||
|
||||
use super::*;
|
||||
use frame::prelude::storage::StorageDoubleMap;
|
||||
use pezframe::prelude::storage::StorageDoubleMap;
|
||||
use pezpallet_assets::FrozenBalance;
|
||||
|
||||
// Implements [`FrozenBalance`] from [`pezpallet-assets`], so it can understand how much of an
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
|
||||
#![cfg_attr(not(feature = "std"), no_std)]
|
||||
|
||||
use frame::{
|
||||
use pezframe::{
|
||||
prelude::*,
|
||||
traits::{
|
||||
fungibles::{Inspect, InspectFreeze, MutateFreeze},
|
||||
@@ -60,7 +60,7 @@ use frame::{
|
||||
pub use pezpallet::*;
|
||||
|
||||
#[cfg(feature = "try-runtime")]
|
||||
use frame::try_runtime::TryRuntimeError;
|
||||
use pezframe::try_runtime::TryRuntimeError;
|
||||
|
||||
#[cfg(test)]
|
||||
mod mock;
|
||||
@@ -69,7 +69,7 @@ mod tests;
|
||||
|
||||
mod impls;
|
||||
|
||||
#[frame::pezpallet]
|
||||
#[pezframe::pezpallet]
|
||||
pub mod pezpallet {
|
||||
use super::*;
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
use crate as pezpallet_assets_freezer;
|
||||
pub use crate::*;
|
||||
use codec::{Compact, Decode, Encode, MaxEncodedLen};
|
||||
use frame::testing_prelude::*;
|
||||
use pezframe::testing_prelude::*;
|
||||
use scale_info::TypeInfo;
|
||||
|
||||
pub type AccountId = u64;
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
use crate::mock::{self, *};
|
||||
|
||||
use codec::Compact;
|
||||
use frame::testing_prelude::*;
|
||||
use pezframe::testing_prelude::*;
|
||||
use pezpallet_assets::FrozenBalance;
|
||||
|
||||
const WHO: AccountId = 1;
|
||||
|
||||
Reference in New Issue
Block a user