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
+2 -2
View File
@@ -134,7 +134,7 @@ pub use pezsp_weights::Weight;
pub use either::Either;
/// The number of bytes of the module-specific `error` field defined in [`ModuleError`].
/// In FRAME, this is the maximum encoded size of a pallet error type.
/// In FRAME, this is the maximum encoded size of a pezpallet error type.
pub const MAX_MODULE_ERROR_ENCODED_SIZE: usize = 4;
/// An abstraction over justification for a block's validity under a consensus algorithm.
@@ -566,7 +566,7 @@ pub type DispatchResult = core::result::Result<(), DispatchError>;
/// about the `Dispatchable` that is only known post dispatch.
pub type DispatchResultWithInfo<T> = core::result::Result<T, DispatchErrorWithPostInfo<T>>;
/// Reason why a pallet call failed.
/// Reason why a pezpallet call failed.
#[derive(
Eq, Clone, Copy, Encode, Decode, DecodeWithMemTracking, Debug, TypeInfo, MaxEncodedLen,
)]
@@ -19,7 +19,7 @@
//! runtime. The `sp-trie` crate exposes all of these same functionality (and more), but this
//! library is designed to work more easily with runtime native types, which simply need to
//! implement `Encode`/`Decode`. It also exposes a runtime friendly `TrieError` type which can be
//! use inside of a FRAME Pallet.
//! use inside of a FRAME Pezpallet.
//!
//! Proofs are created with latest bizinikiwi trie format (`LayoutV1`), and are not compatible with
//! proofs using `LayoutV0`.
@@ -1279,7 +1279,7 @@ pub trait Header:
// via `HeaderFor` or `BlockNumberFor`.
//
// This is needed to fix the "cyclical" issue in loading Header/BlockNumber as part of a
// `pallet::call`. Essentially, `construct_runtime` aggregates all calls to create a `RuntimeCall`
// `pezpallet::call`. Essentially, `construct_runtime` aggregates all calls to create a `RuntimeCall`
// that is then used to define `UncheckedExtrinsic`.
// ```ignore
// pub type UncheckedExtrinsic =
@@ -2427,11 +2427,11 @@ pub trait BlockNumberProvider {
///
/// In case of using crate `pezsp_runtime` with the crate `pezframe-system`,
/// it is already implemented for
/// `pezframe_system::Pallet<T: Config>` as:
/// `pezframe_system::Pezpallet<T: Config>` as:
///
/// ```ignore
/// fn current_block_number() -> Self {
/// pezframe_system::Pallet<Config>::block_number()
/// pezframe_system::Pezpallet<Config>::block_number()
/// }
/// ```
/// .