feat: Rebrand Polkadot/Substrate references to PezkuwiChain

This commit systematically rebrands various references from Parity Technologies'
Polkadot/Substrate ecosystem to PezkuwiChain within the kurdistan-sdk.

Key changes include:
- Updated external repository URLs (zombienet-sdk, parity-db, parity-scale-codec, wasm-instrument) to point to pezkuwichain forks.
- Modified internal documentation and code comments to reflect PezkuwiChain naming and structure.
- Replaced direct references to  with  or specific paths within the  for XCM, Pezkuwi, and other modules.
- Cleaned up deprecated  issue and PR references in various  and  files, particularly in  and  modules.
- Adjusted image and logo URLs in documentation to point to PezkuwiChain assets.
- Removed or rephrased comments related to external Polkadot/Substrate PRs and issues.

This is a significant step towards fully customizing the SDK for the PezkuwiChain ecosystem.
This commit is contained in:
2025-12-14 00:04:10 +03:00
parent 286de54384
commit 1c0e57d984
9084 changed files with 997839 additions and 997557 deletions
+13 -13
View File
@@ -14,7 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with Parity Bridges Common. If not, see <http://www.gnu.org/licenses/>.
//! All runtime calls, supported by `pallet-bridge-relayers` when it acts as a signed
//! All runtime calls, supported by `pezpallet-bridge-relayers` when it acts as a signed
//! extension.
use bp_header_chain::SubmitFinalityProofInfo;
@@ -22,17 +22,17 @@ use bp_messages::MessagesCallInfo;
use bp_runtime::StaticStrProvider;
use bp_teyrchains::SubmitTeyrchainHeadsInfo;
use codec::{Decode, Encode};
use frame_support::{
use pezframe_support::{
dispatch::CallableCallFor, traits::IsSubType, weights::Weight, RuntimeDebugNoBound,
};
use frame_system::Config as SystemConfig;
use pallet_utility::{Call as UtilityCall, Pallet as UtilityPallet};
use sp_runtime::{
use pezframe_system::Config as SystemConfig;
use pezpallet_utility::{Call as UtilityCall, Pallet as UtilityPallet};
use pezsp_runtime::{
traits::Get,
transaction_validity::{TransactionPriority, TransactionValidityError},
RuntimeDebug,
};
use sp_std::{fmt::Debug, marker::PhantomData, vec, vec::Vec};
use pezsp_std::{fmt::Debug, marker::PhantomData, vec, vec::Vec};
/// Type of the call that the signed extension recognizes.
#[derive(PartialEq, RuntimeDebugNoBound)]
@@ -113,7 +113,7 @@ pub struct ExtensionCallData {
/// Signed extension configuration.
///
/// The single `pallet-bridge-relayers` instance may be shared by multiple messages
/// The single `pezpallet-bridge-relayers` instance may be shared by multiple messages
/// pallet instances, bridging with different remote networks. We expect every instance
/// of the messages pallet to add a separate signed extension to runtime. So it must
/// have a separate configuration.
@@ -122,7 +122,7 @@ pub trait ExtensionConfig {
type IdProvider: StaticStrProvider;
/// Runtime that optionally supports batched calls. We assume that batched call
/// succeeds if and only if all of its nested calls succeed.
type Runtime: frame_system::Config;
type Runtime: pezframe_system::Config;
/// Relayers pallet instance.
type BridgeRelayersPalletInstance: 'static;
/// Messages pallet instance.
@@ -162,7 +162,7 @@ pub trait ExtensionConfig {
}
/// Something that can unpack batch calls (all-or-nothing flavor) of given size.
pub trait BatchCallUnpacker<Runtime: frame_system::Config> {
pub trait BatchCallUnpacker<Runtime: pezframe_system::Config> {
/// Unpack batch call with no more than `max_packed_calls` calls.
fn unpack(call: &Runtime::RuntimeCall, max_packed_calls: u32) -> Vec<&Runtime::RuntimeCall>;
}
@@ -172,14 +172,14 @@ pub struct RuntimeWithUtilityPallet<Runtime>(PhantomData<Runtime>);
impl<Runtime> BatchCallUnpacker<Runtime> for RuntimeWithUtilityPallet<Runtime>
where
Runtime: pallet_utility::Config<RuntimeCall = <Runtime as SystemConfig>::RuntimeCall>,
Runtime: pezpallet_utility::Config<RuntimeCall = <Runtime as SystemConfig>::RuntimeCall>,
<Runtime as SystemConfig>::RuntimeCall:
IsSubType<CallableCallFor<UtilityPallet<Runtime>, Runtime>>,
{
fn unpack(
call: &<Runtime as frame_system::Config>::RuntimeCall,
call: &<Runtime as pezframe_system::Config>::RuntimeCall,
max_packed_calls: u32,
) -> Vec<&<Runtime as frame_system::Config>::RuntimeCall> {
) -> Vec<&<Runtime as pezframe_system::Config>::RuntimeCall> {
match call.is_sub_type() {
Some(UtilityCall::<Runtime>::batch_all { ref calls })
if calls.len() <= max_packed_calls as usize =>
@@ -190,7 +190,7 @@ where
}
}
impl<Runtime: frame_system::Config> BatchCallUnpacker<Runtime> for () {
impl<Runtime: pezframe_system::Config> BatchCallUnpacker<Runtime> for () {
fn unpack(call: &Runtime::RuntimeCall, _max_packed_calls: u32) -> Vec<&Runtime::RuntimeCall> {
vec![call]
}
+7 -7
View File
@@ -26,14 +26,14 @@ pub use extension::{
pub use registration::{ExplicitOrAccountParams, Registration, StakeAndSlash};
use bp_runtime::{ChainId, StorageDoubleMapKeyProvider};
use frame_support::{traits::tokens::Preservation, Blake2_128Concat, Identity};
use pezframe_support::{traits::tokens::Preservation, Blake2_128Concat, Identity};
use scale_info::TypeInfo;
use sp_runtime::{
use pezsp_runtime::{
codec::{Codec, Decode, DecodeWithMemTracking, Encode, EncodeLike, MaxEncodedLen},
traits::AccountIdConversion,
TypeId,
};
use sp_std::{fmt::Debug, marker::PhantomData};
use pezsp_std::{fmt::Debug, marker::PhantomData};
mod extension;
mod registration;
@@ -164,12 +164,12 @@ impl<T, Relayer, LaneId, RewardBalance>
PaymentProcedure<Relayer, RewardsAccountParams<LaneId>, RewardBalance>
for PayRewardFromAccount<T, Relayer, LaneId, RewardBalance>
where
T: frame_support::traits::fungible::Mutate<Relayer>,
T: pezframe_support::traits::fungible::Mutate<Relayer>,
T::Balance: From<RewardBalance>,
Relayer: Clone + Debug + Decode + Encode + Eq + TypeInfo,
LaneId: Decode + Encode,
{
type Error = sp_runtime::DispatchError;
type Error = pezsp_runtime::DispatchError;
type Beneficiary = Relayer;
fn pay_reward(
@@ -223,7 +223,7 @@ pub trait RewardLedger<Relayer, Reward, RewardBalance> {
mod tests {
use super::*;
use bp_messages::{HashedLaneId, LaneIdType, LegacyLaneId};
use sp_runtime::{app_crypto::Ss58Codec, testing::H256};
use pezsp_runtime::{app_crypto::Ss58Codec, testing::H256};
#[test]
fn different_lanes_are_using_different_accounts() {
@@ -339,7 +339,7 @@ mod tests {
for (lane_id, bridged_chain_id, owner, (expected_ss58, expected_account)) in test_data {
assert_eq!(
expected_account,
sp_runtime::AccountId32::new(PayRewardFromAccount::<
pezsp_runtime::AccountId32::new(PayRewardFromAccount::<
[u8; 32],
[u8; 32],
LegacyLaneId,
@@ -41,7 +41,7 @@ use crate::{PayRewardFromAccount, RewardsAccountParams};
use codec::{Decode, DecodeWithMemTracking, Encode, MaxEncodedLen};
use scale_info::TypeInfo;
use sp_runtime::{
use pezsp_runtime::{
traits::{Get, IdentifyAccount, Zero},
DispatchError, DispatchResult,
};