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:
2025-12-16 09:57:23 +03:00
parent eea003e14d
commit 3139ffa25e
3022 changed files with 42157 additions and 23579 deletions
@@ -106,7 +106,7 @@ impl onchain::Config for OnChainSeqPhragmen {
impl pezpallet_staking::Config for Runtime {
type OldCurrency = Balances;
type Currency = Balances;
type UnixTime = pezpallet_timestamp::Pallet<Self>;
type UnixTime = pezpallet_timestamp::Pezpallet<Self>;
type AdminOrigin = pezframe_system::EnsureRoot<Self::AccountId>;
type EraPayout = pezpallet_staking::ConvertCurve<RewardCurve>;
type ElectionProvider = onchain::OnChainExecution<OnChainSeqPhragmen>;
@@ -236,7 +236,7 @@ impl ExtBuilder {
ext.execute_with(|| {
// for events to be deposited.
pezframe_system::Pallet::<Runtime>::set_block_number(1);
pezframe_system::Pezpallet::<Runtime>::set_block_number(1);
// set era for staking.
start_era(0);
});
@@ -250,7 +250,7 @@ impl ExtBuilder {
ext.execute_with(|| {
#[cfg(feature = "try-runtime")]
<AllPalletsWithSystem as pezframe_support::traits::TryState<u64>>::try_state(
pezframe_system::Pallet::<Runtime>::block_number(),
pezframe_system::Pezpallet::<Runtime>::block_number(),
pezframe_support::traits::TryStateSelect::All,
)
.unwrap();