fix: Complete snowbridge pezpallet rebrand and critical bug fixes
- snowbridge-pezpallet-* → pezsnowbridge-pezpallet-* (201 refs) - pallet/ directories → pezpallet/ (4 locations) - Fixed pezpallet.rs self-include recursion bug - Fixed sc-chain-spec hardcoded crate name in derive macro - Reverted .pezpallet_by_name() to .pallet_by_name() (subxt API) - Added BizinikiwiConfig type alias for zombienet tests - Deleted obsolete session state files Verified: pezsnowbridge-pezpallet-*, pezpallet-staking, pezpallet-staking-async, pezframe-benchmarking-cli all pass cargo check
This commit is contained in:
@@ -28,7 +28,7 @@ use pezframe_support::{
|
||||
};
|
||||
use pezframe_system::{
|
||||
pezpallet_prelude::*, CheckGenesis, CheckMortality, CheckNonZeroSender, CheckNonce,
|
||||
CheckSpecVersion, CheckTxVersion, CheckWeight, Config, ExtensionsWeightInfo, Pallet as System,
|
||||
CheckSpecVersion, CheckTxVersion, CheckWeight, Config, ExtensionsWeightInfo, Pezpallet as System,
|
||||
RawOrigin, WeightReclaim,
|
||||
};
|
||||
use pezsp_runtime::{
|
||||
@@ -38,7 +38,7 @@ use pezsp_runtime::{
|
||||
},
|
||||
};
|
||||
|
||||
pub struct Pallet<T: Config>(System<T>);
|
||||
pub struct Pezpallet<T: Config>(System<T>);
|
||||
|
||||
#[benchmarks(where
|
||||
T: Send + Sync,
|
||||
@@ -298,5 +298,5 @@ mod benchmarks {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
impl_benchmark_test_suite!(Pallet, crate::mock::new_test_ext(), crate::mock::Test,);
|
||||
impl_benchmark_test_suite!(Pezpallet, crate::mock::new_test_ext(), crate::mock::Test,);
|
||||
}
|
||||
|
||||
@@ -21,11 +21,11 @@ use alloc::{vec, vec::Vec};
|
||||
use codec::Encode;
|
||||
use pezframe_benchmarking::v2::*;
|
||||
use pezframe_support::{dispatch::DispatchClass, storage, traits::Get};
|
||||
use pezframe_system::{Call, Pallet as System, RawOrigin};
|
||||
use pezframe_system::{Call, Pezpallet as System, RawOrigin};
|
||||
use pezsp_core::storage::well_known_keys;
|
||||
use pezsp_runtime::traits::Hash;
|
||||
|
||||
pub struct Pallet<T: Config>(System<T>);
|
||||
pub struct Pezpallet<T: Config>(System<T>);
|
||||
pub trait Config: pezframe_system::Config {
|
||||
/// Adds ability to the Runtime to test against their sample code.
|
||||
///
|
||||
@@ -226,5 +226,5 @@ mod benchmarks {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
impl_benchmark_test_suite!(Pallet, crate::mock::new_test_ext(), crate::mock::Test);
|
||||
impl_benchmark_test_suite!(Pezpallet, crate::mock::new_test_ext(), crate::mock::Test);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user