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:
@@ -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/>.
|
||||
|
||||
//! Defines structures related to calls of the `pallet-bridge-teyrchains` pallet.
|
||||
//! Defines structures related to calls of the `pezpallet-bridge-teyrchains` pallet.
|
||||
|
||||
use crate::{ParaHash, ParaId, RelayBlockHash, RelayBlockNumber};
|
||||
|
||||
@@ -22,14 +22,14 @@ use bp_pezkuwi_core::teyrchains::ParaHeadsProof;
|
||||
use bp_runtime::HeaderId;
|
||||
use codec::{Decode, Encode};
|
||||
use scale_info::TypeInfo;
|
||||
use sp_runtime::RuntimeDebug;
|
||||
use sp_std::vec::Vec;
|
||||
use pezsp_runtime::RuntimeDebug;
|
||||
use pezsp_std::vec::Vec;
|
||||
|
||||
/// A minimized version of `pallet-bridge-teyrchains::Call` that can be used without a runtime.
|
||||
/// A minimized version of `pezpallet-bridge-teyrchains::Call` that can be used without a runtime.
|
||||
#[derive(Encode, Decode, Debug, PartialEq, Eq, Clone, TypeInfo)]
|
||||
#[allow(non_camel_case_types)]
|
||||
pub enum BridgeTeyrchainCall {
|
||||
/// `pallet-bridge-teyrchains::Call::submit_teyrchain_heads`
|
||||
/// `pezpallet-bridge-teyrchains::Call::submit_teyrchain_heads`
|
||||
#[codec(index = 0)]
|
||||
submit_teyrchain_heads {
|
||||
/// Relay chain block, for which we have submitted the `teyrchain_heads_proof`.
|
||||
|
||||
@@ -28,11 +28,11 @@ use bp_runtime::{
|
||||
Teyrchain,
|
||||
};
|
||||
use codec::{Decode, Encode, MaxEncodedLen};
|
||||
use frame_support::{weights::Weight, Blake2_128Concat, Twox64Concat};
|
||||
use pezframe_support::{weights::Weight, Blake2_128Concat, Twox64Concat};
|
||||
use scale_info::TypeInfo;
|
||||
use sp_core::storage::StorageKey;
|
||||
use sp_runtime::{traits::Header as HeaderT, RuntimeDebug};
|
||||
use sp_std::{marker::PhantomData, prelude::*};
|
||||
use pezsp_core::storage::StorageKey;
|
||||
use pezsp_runtime::{traits::Header as HeaderT, RuntimeDebug};
|
||||
use pezsp_std::{marker::PhantomData, prelude::*};
|
||||
|
||||
/// Block hash of the bridged relay chain.
|
||||
pub type RelayBlockHash = bp_pezkuwi_core::Hash;
|
||||
@@ -80,7 +80,7 @@ pub fn teyrchain_head_storage_key_at_source(
|
||||
|
||||
/// Can be use to access the runtime storage key of the teyrchains info at the target chain.
|
||||
///
|
||||
/// The info is stored by the `pallet-bridge-teyrchains` pallet in the `ParasInfo` map.
|
||||
/// The info is stored by the `pezpallet-bridge-teyrchains` pallet in the `ParasInfo` map.
|
||||
pub struct ParasInfoKeyProvider;
|
||||
impl StorageMapKeyProvider for ParasInfoKeyProvider {
|
||||
const MAP_NAME: &'static str = "ParasInfo";
|
||||
@@ -92,7 +92,7 @@ impl StorageMapKeyProvider for ParasInfoKeyProvider {
|
||||
|
||||
/// Can be use to access the runtime storage key of the teyrchain head at the target chain.
|
||||
///
|
||||
/// The head is stored by the `pallet-bridge-teyrchains` pallet in the `ImportedParaHeads` map.
|
||||
/// The head is stored by the `pezpallet-bridge-teyrchains` pallet in the `ImportedParaHeads` map.
|
||||
pub struct ImportedParaHeadsKeyProvider;
|
||||
impl StorageDoubleMapKeyProvider for ImportedParaHeadsKeyProvider {
|
||||
const MAP_NAME: &'static str = "ImportedParaHeads";
|
||||
@@ -165,7 +165,7 @@ impl ParaStoredHeaderDataBuilder for C {
|
||||
fn max_free_head_size() -> u32 {
|
||||
let mut result = 0_u32;
|
||||
for_tuples!( #(
|
||||
result = sp_std::cmp::max(
|
||||
result = pezsp_std::cmp::max(
|
||||
result,
|
||||
SingleParaStoredHeaderDataBuilder::<C>::max_free_head_size(),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user