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:
@@ -18,7 +18,7 @@
|
||||
//! Testing utils for staking. Provides some common functions to setup staking state, such as
|
||||
//! bonding validators, nominators, and generating different types of solutions.
|
||||
|
||||
use crate::{Pallet as Staking, *};
|
||||
use crate::{Pezpallet as Staking, *};
|
||||
use pezframe_benchmarking::account;
|
||||
use pezframe_system::RawOrigin;
|
||||
use rand_chacha::{
|
||||
@@ -254,5 +254,5 @@ pub fn migrate_to_old_currency<T: Config>(who: T::AccountId) {
|
||||
asset::kill_stake::<T>(&who).expect("remove hold failed");
|
||||
|
||||
// replicate old behaviour of explicit increment of consumer.
|
||||
pezframe_system::Pallet::<T>::inc_consumers(&who).expect("increment consumer failed");
|
||||
pezframe_system::Pezpallet::<T>::inc_consumers(&who).expect("increment consumer failed");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user