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:
@@ -1,7 +1,7 @@
|
||||
//! # Template Pallet
|
||||
//!
|
||||
//! A pallet with minimal functionality to help developers understand the essential components of
|
||||
//! writing a FRAME pallet. It is typically used in beginner tutorials or in Substrate template
|
||||
//! writing a FRAME pallet. It is typically used in beginner tutorials or in Bizinikiwi template
|
||||
//! nodes as a starting point for creating a new pallet and **not meant to be used in production**.
|
||||
//!
|
||||
//! ## Overview
|
||||
@@ -25,7 +25,7 @@
|
||||
//!
|
||||
//! - A **configuration trait** that defines the types and parameters which the pallet depends on
|
||||
//! (denoted by the `#[pallet::config]` attribute). See: [`Config`].
|
||||
//! - A **means to store pallet-specific data** (denoted by the `#[pallet::storage]` attribute).
|
||||
//! - A **means to store pezpallet-specific data** (denoted by the `#[pallet::storage]` attribute).
|
||||
//! See: [`storage_types`].
|
||||
//! - A **declaration of the events** this pallet emits (denoted by the `#[pallet::event]`
|
||||
//! attribute). See: [`Event`].
|
||||
@@ -34,7 +34,7 @@
|
||||
//! - A **set of dispatchable functions** that define the pallet's functionality (denoted by the
|
||||
//! `#[pallet::call]` attribute). See: [`dispatchables`].
|
||||
//!
|
||||
//! Run `cargo doc --package pallet-template --open` to view this pallet's documentation.
|
||||
//! Run `cargo doc --package pezpallet-template --open` to view this pallet's documentation.
|
||||
|
||||
// We make sure this pallet uses `no_std` for compiling to Wasm.
|
||||
#![cfg_attr(not(feature = "std"), no_std)]
|
||||
@@ -61,12 +61,12 @@ pub mod weights;
|
||||
pub use weights::*;
|
||||
|
||||
// All pallet logic is defined in its own module and must be annotated by the `pallet` attribute.
|
||||
#[frame_support::pallet]
|
||||
#[pezframe_support::pallet]
|
||||
pub mod pallet {
|
||||
// Import various useful types required by all FRAME pallets.
|
||||
use super::*;
|
||||
use frame_support::pallet_prelude::*;
|
||||
use frame_system::pallet_prelude::*;
|
||||
use pezframe_support::pezpallet_prelude::*;
|
||||
use pezframe_system::pezpallet_prelude::*;
|
||||
|
||||
// The `Pallet` struct serves as a placeholder to implement traits, methods and dispatchables
|
||||
// (`Call`s) in this pallet.
|
||||
@@ -79,10 +79,10 @@ pub mod pallet {
|
||||
/// These types are defined generically and made concrete when the pallet is declared in the
|
||||
/// `runtime/src/lib.rs` file of your chain.
|
||||
#[pallet::config]
|
||||
pub trait Config: frame_system::Config {
|
||||
pub trait Config: pezframe_system::Config {
|
||||
/// The overarching runtime event type.
|
||||
#[allow(deprecated)]
|
||||
type RuntimeEvent: From<Event<Self>> + IsType<<Self as frame_system::Config>::RuntimeEvent>;
|
||||
type RuntimeEvent: From<Event<Self>> + IsType<<Self as pezframe_system::Config>::RuntimeEvent>;
|
||||
/// A type representing the weights required by the dispatchables of this pallet.
|
||||
type WeightInfo: WeightInfo;
|
||||
}
|
||||
@@ -103,7 +103,7 @@ pub mod pallet {
|
||||
///
|
||||
/// The `generate_deposit` macro generates a function on `Pallet` called `deposit_event` which
|
||||
/// will convert the event type of your pallet into `RuntimeEvent` (declared in the pallet's
|
||||
/// [`Config`] trait) and deposit it using [`frame_system::Pallet::deposit_event`].
|
||||
/// [`Config`] trait) and deposit it using [`pezframe_system::Pallet::deposit_event`].
|
||||
#[pallet::event]
|
||||
#[pallet::generate_deposit(pub(super) fn deposit_event)]
|
||||
pub enum Event<T: Config> {
|
||||
|
||||
Reference in New Issue
Block a user