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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user