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:
@@ -15,7 +15,7 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
use crate::{Config, DisabledValidators as NewDisabledValidators, Pallet, Vec};
|
||||
use crate::{Config, DisabledValidators as NewDisabledValidators, Pezpallet, Vec};
|
||||
use pezframe_support::{
|
||||
pezpallet_prelude::{Get, ValueQuery, Weight},
|
||||
traits::UncheckedOnRuntimeUpgrade,
|
||||
@@ -31,7 +31,7 @@ use pezframe_support::migrations::VersionedMigration;
|
||||
|
||||
/// This is the storage getting migrated.
|
||||
#[pezframe_support::storage_alias]
|
||||
type DisabledValidators<T: Config> = StorageValue<Pallet<T>, Vec<u32>, ValueQuery>;
|
||||
type DisabledValidators<T: Config> = StorageValue<Pezpallet<T>, Vec<u32>, ValueQuery>;
|
||||
|
||||
pub trait MigrateDisabledValidators {
|
||||
/// Peek the list of disabled validators and their offence severity.
|
||||
@@ -98,6 +98,6 @@ pub type MigrateV0ToV1<T, S> = VersionedMigration<
|
||||
0,
|
||||
1,
|
||||
VersionUncheckedMigrateV0ToV1<T, S>,
|
||||
Pallet<T>,
|
||||
Pezpallet<T>,
|
||||
<T as pezframe_system::Config>::DbWeight,
|
||||
>;
|
||||
|
||||
Reference in New Issue
Block a user