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:
@@ -99,7 +99,7 @@ pub type BlockId = generic::BlockId<Block>;
|
||||
|
||||
/// The TransactionExtension to the basic transaction logic.
|
||||
/// Includes SkipCheckIfFeeless to exempt governance members from fees
|
||||
/// when using #[pallet::feeless_if] marked extrinsics.
|
||||
/// when using #[pezpallet::feeless_if] marked extrinsics.
|
||||
pub type TxExtension = pezcumulus_pezpallet_weight_reclaim::StorageWeightReclaim<
|
||||
Runtime,
|
||||
(
|
||||
@@ -282,7 +282,7 @@ parameter_types! {
|
||||
impl pezcumulus_pezpallet_teyrchain_system::Config for Runtime {
|
||||
type RuntimeEvent = RuntimeEvent;
|
||||
type OnSystemEvent = ();
|
||||
type SelfParaId = teyrchain_info::Pallet<Runtime>;
|
||||
type SelfParaId = teyrchain_info::Pezpallet<Runtime>;
|
||||
type OutboundXcmpMessageSource = XcmpQueue;
|
||||
type DmpQueue = pezframe_support::traits::EnqueueWithOrigin<MessageQueue, RelayOrigin>;
|
||||
type ReservedDmpWeight = ReservedDmpWeight;
|
||||
@@ -319,7 +319,7 @@ impl pezpallet_message_queue::Config for Runtime {
|
||||
RuntimeCall,
|
||||
>;
|
||||
type Size = u32;
|
||||
// The XCMP queue pallet is only ever able to handle the `Sibling(ParaId)` origin:
|
||||
// The XCMP queue pezpallet is only ever able to handle the `Sibling(ParaId)` origin:
|
||||
type QueueChangeHandler = NarrowOriginToSibling<XcmpQueue>;
|
||||
type QueuePausedQuery = NarrowOriginToSibling<XcmpQueue>;
|
||||
type HeapSize = pezsp_core::ConstU32<{ 103 * 1024 }>;
|
||||
@@ -348,7 +348,7 @@ pub type RootOrFellows = EitherOfDiverse<
|
||||
// Kademeli Yetki Devri Origin Tanımları (Progressive Decentralization)
|
||||
// =============================================================================
|
||||
//
|
||||
// Bu origin'ler başlangıçta Root (Sudo) ile çalışır, ancak Welati pallet'i
|
||||
// Bu origin'ler başlangıçta Root (Sudo) ile çalışır, ancak Welati pezpallet'i
|
||||
// aracılığıyla seçimler yapıldığında yetki demokratik organlara devredilir.
|
||||
//
|
||||
// Kullanım:
|
||||
@@ -388,7 +388,7 @@ pub type RootOrSerokOrCouncil = EitherOfDiverse<
|
||||
// Welati-Based Origin Combinations (Welati Tabanlı Origin Kombinasyonları)
|
||||
// =============================================================================
|
||||
//
|
||||
// Bu origin'ler şu an için sadece Welati pallet origin'lerini kullanıyor.
|
||||
// Bu origin'ler şu an için sadece Welati pezpallet origin'lerini kullanıyor.
|
||||
// İleride pezpallet_collective instance'ları eklendiğinde genişletilebilir.
|
||||
//
|
||||
// Fee Muafiyeti Notu: Komisyon üyeleri (Serok, Parlementer, Diwan) resmi
|
||||
@@ -509,7 +509,7 @@ impl pezpallet_multisig::Config for Runtime {
|
||||
type DepositFactor = DepositFactor;
|
||||
type MaxSignatories = ConstU32<100>;
|
||||
type WeightInfo = weights::pezpallet_multisig::WeightInfo<Runtime>;
|
||||
type BlockNumberProvider = pezframe_system::Pallet<Runtime>;
|
||||
type BlockNumberProvider = pezframe_system::Pezpallet<Runtime>;
|
||||
}
|
||||
|
||||
/// The type used to represent the kinds of proxying allowed.
|
||||
@@ -534,7 +534,7 @@ pub enum ProxyType {
|
||||
NonTransfer,
|
||||
/// Proxy with the ability to reject time-delay proxy announcements.
|
||||
CancelProxy,
|
||||
/// Proxy for all Identity pallet calls.
|
||||
/// Proxy for all Identity pezpallet calls.
|
||||
Identity,
|
||||
/// Proxy for identity registrars.
|
||||
IdentityJudgement,
|
||||
@@ -624,7 +624,7 @@ impl pezpallet_proxy::Config for Runtime {
|
||||
type CallHasher = BlakeTwo256;
|
||||
type AnnouncementDepositBase = AnnouncementDepositBase;
|
||||
type AnnouncementDepositFactor = AnnouncementDepositFactor;
|
||||
type BlockNumberProvider = pezframe_system::Pallet<Runtime>;
|
||||
type BlockNumberProvider = pezframe_system::Pezpallet<Runtime>;
|
||||
}
|
||||
|
||||
impl pezpallet_utility::Config for Runtime {
|
||||
@@ -730,7 +730,7 @@ construct_runtime!(
|
||||
Assets: pezpallet_assets = 90,
|
||||
PezRewards: pezpallet_pez_rewards = 91,
|
||||
|
||||
// Migrations pallet
|
||||
// Migrations pezpallet
|
||||
MultiBlockMigrations: pezpallet_migrations = 98,
|
||||
|
||||
// To migrate deposits
|
||||
@@ -1014,16 +1014,16 @@ impl_runtime_apis! {
|
||||
) {
|
||||
use pezframe_benchmarking::BenchmarkList;
|
||||
use pezframe_support::traits::StorageInfoTrait;
|
||||
use pezframe_system_benchmarking::Pallet as SystemBench;
|
||||
use pezcumulus_pezpallet_session_benchmarking::Pallet as SessionBench;
|
||||
use pezpallet_xcm::benchmarking::Pallet as PalletXcmExtrinsicsBenchmark;
|
||||
use pezframe_system_benchmarking::Pezpallet as SystemBench;
|
||||
use pezcumulus_pezpallet_session_benchmarking::Pezpallet as SessionBench;
|
||||
use pezpallet_xcm::benchmarking::Pezpallet as PalletXcmExtrinsicsBenchmark;
|
||||
|
||||
// This is defined once again in dispatch_benchmark, because list_benchmarks!
|
||||
// and add_benchmarks! are macros exported by define_benchmarks! macros and those types
|
||||
// are referenced in that call.
|
||||
type XcmBalances = pezpallet_xcm_benchmarks::fungible::Pallet::<Runtime>;
|
||||
type XcmGeneric = pezpallet_xcm_benchmarks::generic::Pallet::<Runtime>;
|
||||
type PeopleAssets = pezpallet_assets::Pallet::<Runtime>;
|
||||
type XcmBalances = pezpallet_xcm_benchmarks::fungible::Pezpallet::<Runtime>;
|
||||
type XcmGeneric = pezpallet_xcm_benchmarks::generic::Pezpallet::<Runtime>;
|
||||
type PeopleAssets = pezpallet_assets::Pezpallet::<Runtime>;
|
||||
|
||||
let mut list = Vec::<BenchmarkList>::new();
|
||||
list_benchmarks!(list, extra);
|
||||
@@ -1039,7 +1039,7 @@ impl_runtime_apis! {
|
||||
use pezframe_benchmarking::{BenchmarkBatch, BenchmarkError};
|
||||
use pezsp_storage::TrackedStorageKey;
|
||||
|
||||
use pezframe_system_benchmarking::Pallet as SystemBench;
|
||||
use pezframe_system_benchmarking::Pezpallet as SystemBench;
|
||||
impl pezframe_system_benchmarking::Config for Runtime {
|
||||
fn setup_set_code_requirements(code: &alloc::vec::Vec<u8>) -> Result<(), BenchmarkError> {
|
||||
TeyrchainSystem::initialize_for_set_code_benchmark(code.len() as u32);
|
||||
@@ -1051,11 +1051,11 @@ impl_runtime_apis! {
|
||||
}
|
||||
}
|
||||
|
||||
use pezcumulus_pezpallet_session_benchmarking::Pallet as SessionBench;
|
||||
use pezcumulus_pezpallet_session_benchmarking::Pezpallet as SessionBench;
|
||||
impl pezcumulus_pezpallet_session_benchmarking::Config for Runtime {}
|
||||
use testnet_teyrchains_constants::pezkuwichain::locations::{AssetHubParaId, AssetHubLocation};
|
||||
|
||||
use pezpallet_xcm::benchmarking::Pallet as PalletXcmExtrinsicsBenchmark;
|
||||
use pezpallet_xcm::benchmarking::Pezpallet as PalletXcmExtrinsicsBenchmark;
|
||||
impl pezpallet_xcm::benchmarking::Config for Runtime {
|
||||
type DeliveryHelper = pezkuwi_runtime_common::xcm_sender::ToTeyrchainDeliveryHelper<
|
||||
xcm_config::XcmConfig,
|
||||
@@ -1213,9 +1213,9 @@ impl_runtime_apis! {
|
||||
}
|
||||
}
|
||||
|
||||
type XcmBalances = pezpallet_xcm_benchmarks::fungible::Pallet::<Runtime>;
|
||||
type XcmGeneric = pezpallet_xcm_benchmarks::generic::Pallet::<Runtime>;
|
||||
type PeopleAssets = pezpallet_assets::Pallet::<Runtime>;
|
||||
type XcmBalances = pezpallet_xcm_benchmarks::fungible::Pezpallet::<Runtime>;
|
||||
type XcmGeneric = pezpallet_xcm_benchmarks::generic::Pezpallet::<Runtime>;
|
||||
type PeopleAssets = pezpallet_assets::Pezpallet::<Runtime>;
|
||||
|
||||
use pezframe_support::traits::WhitelistedStorageKeys;
|
||||
let whitelist: Vec<TrackedStorageKey> = AllPalletsWithSystem::whitelisted_storage_keys();
|
||||
|
||||
Reference in New Issue
Block a user