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,6 +1,6 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
// SPDX-FileCopyrightText: 2023 Snowfork <hello@snowfork.com>
|
||||
use sp_std::prelude::*;
|
||||
use pezsp_std::prelude::*;
|
||||
use ssz_rs::{Bitvector, Deserialize};
|
||||
|
||||
pub fn decompress_sync_committee_bits<
|
||||
|
||||
@@ -2,15 +2,15 @@
|
||||
// SPDX-FileCopyrightText: 2023 Snowfork <hello@snowfork.com>
|
||||
use crate::{PublicKey, Signature};
|
||||
use codec::{Decode, DecodeWithMemTracking, Encode};
|
||||
use frame_support::{ensure, PalletError};
|
||||
use pezframe_support::{ensure, PalletError};
|
||||
pub use milagro_bls::{
|
||||
AggregatePublicKey, AggregateSignature, PublicKey as PublicKeyPrepared,
|
||||
Signature as SignaturePrepared,
|
||||
};
|
||||
use scale_info::TypeInfo;
|
||||
use sp_core::H256;
|
||||
use sp_runtime::RuntimeDebug;
|
||||
use sp_std::prelude::*;
|
||||
use pezsp_core::H256;
|
||||
use pezsp_runtime::RuntimeDebug;
|
||||
use pezsp_std::prelude::*;
|
||||
|
||||
#[derive(
|
||||
Copy,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
// SPDX-FileCopyrightText: 2023 Snowfork <hello@snowfork.com>
|
||||
use sp_core::H256;
|
||||
use sp_io::hashing::sha2_256;
|
||||
use pezsp_core::H256;
|
||||
use pezsp_io::hashing::sha2_256;
|
||||
|
||||
/// Specified by <https://github.com/ethereum/consensus-specs/blob/fe9c1a8cbf0c2da8a4f349efdcd77dd7ac8445c4/specs/phase0/beacon-chain.md?plain=1#L742>
|
||||
/// with improvements from <https://github.com/ethereum/consensus-specs/blob/dev/ssz/merkle-proofs.md>
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
// SPDX-FileCopyrightText: 2023 Snowfork <hello@snowfork.com>
|
||||
use snowbridge_ethereum::{mpt, Decodable, ReceiptEnvelope};
|
||||
use sp_core::H256;
|
||||
use sp_io::hashing::keccak_256;
|
||||
use sp_std::prelude::*;
|
||||
use pezsp_core::H256;
|
||||
use pezsp_io::hashing::keccak_256;
|
||||
use pezsp_std::prelude::*;
|
||||
|
||||
pub fn verify_receipt_proof(receipts_root: H256, values: &[Vec<u8>]) -> Option<ReceiptEnvelope> {
|
||||
match apply_merkle_proof(values) {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
// SPDX-FileCopyrightText: 2023 Snowfork <hello@snowfork.com>
|
||||
use sp_core::U256;
|
||||
use pezsp_core::U256;
|
||||
|
||||
use core::fmt::Formatter;
|
||||
use serde::{Deserialize, Deserializer};
|
||||
@@ -100,7 +100,7 @@ pub struct HexVisitor<const LENGTH: usize>();
|
||||
impl<'de, const LENGTH: usize> serde::de::Visitor<'de> for HexVisitor<LENGTH> {
|
||||
type Value = [u8; LENGTH];
|
||||
|
||||
fn expecting(&self, formatter: &mut Formatter) -> sp_std::fmt::Result {
|
||||
fn expecting(&self, formatter: &mut Formatter) -> pezsp_std::fmt::Result {
|
||||
formatter.write_str("a hex string with an '0x' prefix")
|
||||
}
|
||||
|
||||
|
||||
@@ -7,8 +7,8 @@ use crate::{
|
||||
},
|
||||
};
|
||||
use byte_slice_cast::AsByteSlice;
|
||||
use sp_core::H256;
|
||||
use sp_std::{vec, vec::Vec};
|
||||
use pezsp_core::H256;
|
||||
use pezsp_std::{vec, vec::Vec};
|
||||
use ssz_rs::{
|
||||
prelude::{List, Vector},
|
||||
Bitvector, Deserialize, DeserializeError, SimpleSerialize, SimpleSerializeError, Sized, U256,
|
||||
@@ -200,8 +200,8 @@ pub mod deneb {
|
||||
types::deneb::ExecutionPayloadHeader,
|
||||
};
|
||||
use byte_slice_cast::AsByteSlice;
|
||||
use sp_core::H256;
|
||||
use sp_std::{vec, vec::Vec};
|
||||
use pezsp_core::H256;
|
||||
use pezsp_std::{vec, vec::Vec};
|
||||
use ssz_rs::{
|
||||
prelude::{List, Vector},
|
||||
Deserialize, DeserializeError, SimpleSerializeError, Sized, U256,
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
// SPDX-FileCopyrightText: 2023 Snowfork <hello@snowfork.com>
|
||||
use codec::{Decode, DecodeWithMemTracking, Encode, MaxEncodedLen};
|
||||
use frame_support::{CloneNoBound, PartialEqNoBound, RuntimeDebugNoBound};
|
||||
use pezframe_support::{CloneNoBound, PartialEqNoBound, RuntimeDebugNoBound};
|
||||
use scale_info::TypeInfo;
|
||||
use sp_core::{H160, H256, U256};
|
||||
use sp_runtime::RuntimeDebug;
|
||||
use sp_std::{boxed::Box, iter::repeat, prelude::*};
|
||||
use pezsp_core::{H160, H256, U256};
|
||||
use pezsp_runtime::RuntimeDebug;
|
||||
use pezsp_std::{boxed::Box, iter::repeat, prelude::*};
|
||||
|
||||
use crate::config::{PUBKEY_SIZE, SIGNATURE_SIZE};
|
||||
|
||||
@@ -624,12 +624,12 @@ pub enum Mode {
|
||||
|
||||
pub mod deneb {
|
||||
use codec::{Decode, DecodeWithMemTracking, Encode};
|
||||
use frame_support::{CloneNoBound, PartialEqNoBound, RuntimeDebugNoBound};
|
||||
use pezframe_support::{CloneNoBound, PartialEqNoBound, RuntimeDebugNoBound};
|
||||
use scale_info::TypeInfo;
|
||||
#[cfg(feature = "std")]
|
||||
use serde::{Deserialize, Serialize};
|
||||
use sp_core::{H160, H256, U256};
|
||||
use sp_std::prelude::*;
|
||||
use pezsp_core::{H160, H256, U256};
|
||||
use pezsp_std::prelude::*;
|
||||
|
||||
/// ExecutionPayloadHeader
|
||||
/// <https://github.com/ethereum/consensus-specs/blob/dev/specs/deneb/beacon-chain.md#executionpayloadheader>
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
// SPDX-FileCopyrightText: 2023 Snowfork <hello@snowfork.com>
|
||||
use codec::{Decode, DecodeWithMemTracking, Encode};
|
||||
use frame_support::{CloneNoBound, PartialEqNoBound, RuntimeDebugNoBound};
|
||||
use pezframe_support::{CloneNoBound, PartialEqNoBound, RuntimeDebugNoBound};
|
||||
use scale_info::TypeInfo;
|
||||
use sp_core::H256;
|
||||
use sp_std::prelude::*;
|
||||
use pezsp_core::H256;
|
||||
use pezsp_std::prelude::*;
|
||||
|
||||
use crate::types::{BeaconHeader, SyncAggregate, SyncCommittee};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user