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:
+32
@@ -0,0 +1,32 @@
|
||||
[package]
|
||||
name = "pezkuwichain-system-emulated-network"
|
||||
version = "0.0.0"
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
license = "Apache-2.0"
|
||||
description = "Pezkuwichain System emulated network"
|
||||
publish = false
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
[dependencies]
|
||||
# Pezcumulus
|
||||
asset-hub-pezkuwichain-emulated-chain = { workspace = true }
|
||||
bridge-hub-pezkuwichain-emulated-chain = { workspace = true }
|
||||
coretime-pezkuwichain-emulated-chain = { workspace = true }
|
||||
emulated-integration-tests-common = { workspace = true }
|
||||
penpal-emulated-chain = { workspace = true }
|
||||
people-pezkuwichain-emulated-chain = { workspace = true }
|
||||
pezkuwichain-emulated-chain = { workspace = true }
|
||||
|
||||
[features]
|
||||
runtime-benchmarks = [
|
||||
"asset-hub-pezkuwichain-emulated-chain/runtime-benchmarks",
|
||||
"bridge-hub-pezkuwichain-emulated-chain/runtime-benchmarks",
|
||||
"coretime-pezkuwichain-emulated-chain/runtime-benchmarks",
|
||||
"emulated-integration-tests-common/runtime-benchmarks",
|
||||
"penpal-emulated-chain/runtime-benchmarks",
|
||||
"people-pezkuwichain-emulated-chain/runtime-benchmarks",
|
||||
"pezkuwichain-emulated-chain/runtime-benchmarks",
|
||||
]
|
||||
+59
@@ -0,0 +1,59 @@
|
||||
// Copyright (C) Parity Technologies (UK) Ltd.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
pub use asset_hub_pezkuwichain_emulated_chain;
|
||||
pub use bridge_hub_pezkuwichain_emulated_chain;
|
||||
pub use coretime_pezkuwichain_emulated_chain;
|
||||
pub use penpal_emulated_chain;
|
||||
pub use people_pezkuwichain_emulated_chain;
|
||||
pub use pezkuwichain_emulated_chain;
|
||||
|
||||
use asset_hub_pezkuwichain_emulated_chain::AssetHubPezkuwichain;
|
||||
use bridge_hub_pezkuwichain_emulated_chain::BridgeHubPezkuwichain;
|
||||
use coretime_pezkuwichain_emulated_chain::CoretimePezkuwichain;
|
||||
use penpal_emulated_chain::{PenpalA, PenpalB};
|
||||
use people_pezkuwichain_emulated_chain::PeoplePezkuwichain;
|
||||
use pezkuwichain_emulated_chain::Pezkuwichain;
|
||||
|
||||
// Pezcumulus
|
||||
use emulated_integration_tests_common::{
|
||||
accounts::{ALICE, BOB},
|
||||
xcm_emulator::{decl_test_networks, decl_test_sender_receiver_accounts_parameter_types},
|
||||
};
|
||||
|
||||
decl_test_networks! {
|
||||
pub struct PezkuwichainMockNet {
|
||||
relay_chain = Pezkuwichain,
|
||||
teyrchains = vec![
|
||||
AssetHubPezkuwichain,
|
||||
BridgeHubPezkuwichain,
|
||||
CoretimePezkuwichain,
|
||||
PenpalA,
|
||||
PenpalB,
|
||||
PeoplePezkuwichain,
|
||||
],
|
||||
bridge = ()
|
||||
},
|
||||
}
|
||||
|
||||
decl_test_sender_receiver_accounts_parameter_types! {
|
||||
PezkuwichainRelay { sender: ALICE, receiver: BOB },
|
||||
AssetHubPezkuwichainPara { sender: ALICE, receiver: BOB },
|
||||
BridgeHubPezkuwichainPara { sender: ALICE, receiver: BOB },
|
||||
CoretimePezkuwichainPara { sender: ALICE, receiver: BOB },
|
||||
PenpalAPara { sender: ALICE, receiver: BOB },
|
||||
PenpalBPara { sender: ALICE, receiver: BOB },
|
||||
PeoplePezkuwichainPara { sender: ALICE, receiver: BOB }
|
||||
}
|
||||
+34
@@ -0,0 +1,34 @@
|
||||
[package]
|
||||
name = "pezkuwichain-zagros-system-emulated-network"
|
||||
version = "0.0.0"
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
license = "Apache-2.0"
|
||||
description = "Pezkuwichain<>Zagros emulated bridged network"
|
||||
publish = false
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
[dependencies]
|
||||
# Pezcumulus
|
||||
asset-hub-pezkuwichain-emulated-chain = { workspace = true }
|
||||
asset-hub-zagros-emulated-chain = { workspace = true }
|
||||
bridge-hub-pezkuwichain-emulated-chain = { workspace = true }
|
||||
bridge-hub-zagros-emulated-chain = { workspace = true }
|
||||
emulated-integration-tests-common = { workspace = true }
|
||||
penpal-emulated-chain = { workspace = true }
|
||||
pezkuwichain-emulated-chain = { workspace = true }
|
||||
zagros-emulated-chain = { workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
runtime-benchmarks = [
|
||||
"asset-hub-pezkuwichain-emulated-chain/runtime-benchmarks",
|
||||
"asset-hub-zagros-emulated-chain/runtime-benchmarks",
|
||||
"bridge-hub-pezkuwichain-emulated-chain/runtime-benchmarks",
|
||||
"bridge-hub-zagros-emulated-chain/runtime-benchmarks",
|
||||
"emulated-integration-tests-common/runtime-benchmarks",
|
||||
"penpal-emulated-chain/runtime-benchmarks",
|
||||
"pezkuwichain-emulated-chain/runtime-benchmarks",
|
||||
"zagros-emulated-chain/runtime-benchmarks",
|
||||
]
|
||||
+101
@@ -0,0 +1,101 @@
|
||||
// Copyright (C) Parity Technologies (UK) Ltd.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
pub use asset_hub_pezkuwichain_emulated_chain;
|
||||
pub use asset_hub_zagros_emulated_chain;
|
||||
pub use bridge_hub_pezkuwichain_emulated_chain;
|
||||
pub use bridge_hub_zagros_emulated_chain;
|
||||
pub use penpal_emulated_chain;
|
||||
pub use pezkuwichain_emulated_chain;
|
||||
pub use zagros_emulated_chain;
|
||||
|
||||
use asset_hub_pezkuwichain_emulated_chain::AssetHubPezkuwichain;
|
||||
use asset_hub_zagros_emulated_chain::AssetHubZagros;
|
||||
use bridge_hub_pezkuwichain_emulated_chain::BridgeHubPezkuwichain;
|
||||
use bridge_hub_zagros_emulated_chain::BridgeHubZagros;
|
||||
use penpal_emulated_chain::{PenpalA, PenpalB};
|
||||
use pezkuwichain_emulated_chain::Pezkuwichain;
|
||||
use zagros_emulated_chain::Zagros;
|
||||
|
||||
// Pezcumulus
|
||||
use emulated_integration_tests_common::{
|
||||
accounts::{ALICE, BOB},
|
||||
impls::{BridgeHubMessageHandler, BridgeMessagesInstance1, BridgeMessagesInstance3},
|
||||
xcm_emulator::{
|
||||
decl_test_bridges, decl_test_networks, decl_test_sender_receiver_accounts_parameter_types,
|
||||
Chain,
|
||||
},
|
||||
};
|
||||
|
||||
decl_test_networks! {
|
||||
pub struct PezkuwichainMockNet {
|
||||
relay_chain = Pezkuwichain,
|
||||
teyrchains = vec![
|
||||
AssetHubPezkuwichain,
|
||||
BridgeHubPezkuwichain,
|
||||
PenpalA,
|
||||
],
|
||||
bridge = PezkuwichainZagrosMockBridge
|
||||
},
|
||||
pub struct ZagrosMockNet {
|
||||
relay_chain = Zagros,
|
||||
teyrchains = vec![
|
||||
AssetHubZagros,
|
||||
BridgeHubZagros,
|
||||
PenpalB,
|
||||
],
|
||||
bridge = ZagrosPezkuwichainMockBridge
|
||||
},
|
||||
}
|
||||
|
||||
decl_test_bridges! {
|
||||
pub struct PezkuwichainZagrosMockBridge {
|
||||
source = BridgeHubPezkuwichainPara,
|
||||
target = BridgeHubZagrosPara,
|
||||
handler = PezkuwichainZagrosMessageHandler
|
||||
},
|
||||
pub struct ZagrosPezkuwichainMockBridge {
|
||||
source = BridgeHubZagrosPara,
|
||||
target = BridgeHubPezkuwichainPara,
|
||||
handler = ZagrosPezkuwichainMessageHandler
|
||||
}
|
||||
}
|
||||
|
||||
type BridgeHubPezkuwichainRuntime = <BridgeHubPezkuwichainPara as Chain>::Runtime;
|
||||
type BridgeHubZagrosRuntime = <BridgeHubZagrosPara as Chain>::Runtime;
|
||||
|
||||
pub type PezkuwichainZagrosMessageHandler = BridgeHubMessageHandler<
|
||||
BridgeHubPezkuwichainRuntime,
|
||||
BridgeMessagesInstance3,
|
||||
BridgeHubZagrosRuntime,
|
||||
BridgeMessagesInstance1,
|
||||
>;
|
||||
pub type ZagrosPezkuwichainMessageHandler = BridgeHubMessageHandler<
|
||||
BridgeHubZagrosRuntime,
|
||||
BridgeMessagesInstance1,
|
||||
BridgeHubPezkuwichainRuntime,
|
||||
BridgeMessagesInstance3,
|
||||
>;
|
||||
|
||||
decl_test_sender_receiver_accounts_parameter_types! {
|
||||
PezkuwichainRelay { sender: ALICE, receiver: BOB },
|
||||
AssetHubPezkuwichainPara { sender: ALICE, receiver: BOB },
|
||||
BridgeHubPezkuwichainPara { sender: ALICE, receiver: BOB },
|
||||
ZagrosRelay { sender: ALICE, receiver: BOB },
|
||||
AssetHubZagrosPara { sender: ALICE, receiver: BOB },
|
||||
BridgeHubZagrosPara { sender: ALICE, receiver: BOB },
|
||||
PenpalAPara { sender: ALICE, receiver: BOB },
|
||||
PenpalBPara { sender: ALICE, receiver: BOB }
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
[package]
|
||||
name = "zagros-system-emulated-network"
|
||||
version = "0.0.0"
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
license = "Apache-2.0"
|
||||
description = "Zagros System emulated network"
|
||||
publish = false
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
[dependencies]
|
||||
# Pezcumulus
|
||||
asset-hub-zagros-emulated-chain = { workspace = true }
|
||||
bridge-hub-zagros-emulated-chain = { workspace = true }
|
||||
collectives-zagros-emulated-chain = { workspace = true }
|
||||
coretime-zagros-emulated-chain = { workspace = true }
|
||||
emulated-integration-tests-common = { workspace = true }
|
||||
penpal-emulated-chain = { workspace = true }
|
||||
people-zagros-emulated-chain = { workspace = true }
|
||||
zagros-emulated-chain = { workspace = true }
|
||||
|
||||
[features]
|
||||
runtime-benchmarks = [
|
||||
"asset-hub-zagros-emulated-chain/runtime-benchmarks",
|
||||
"bridge-hub-zagros-emulated-chain/runtime-benchmarks",
|
||||
"collectives-zagros-emulated-chain/runtime-benchmarks",
|
||||
"coretime-zagros-emulated-chain/runtime-benchmarks",
|
||||
"emulated-integration-tests-common/runtime-benchmarks",
|
||||
"penpal-emulated-chain/runtime-benchmarks",
|
||||
"people-zagros-emulated-chain/runtime-benchmarks",
|
||||
"zagros-emulated-chain/runtime-benchmarks",
|
||||
]
|
||||
@@ -0,0 +1,63 @@
|
||||
// Copyright (C) Parity Technologies (UK) Ltd.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
pub use asset_hub_zagros_emulated_chain;
|
||||
pub use bridge_hub_zagros_emulated_chain;
|
||||
pub use collectives_zagros_emulated_chain;
|
||||
pub use coretime_zagros_emulated_chain;
|
||||
pub use penpal_emulated_chain;
|
||||
pub use people_zagros_emulated_chain;
|
||||
pub use zagros_emulated_chain;
|
||||
|
||||
use asset_hub_zagros_emulated_chain::AssetHubZagros;
|
||||
use bridge_hub_zagros_emulated_chain::BridgeHubZagros;
|
||||
use collectives_zagros_emulated_chain::CollectivesZagros;
|
||||
use coretime_zagros_emulated_chain::CoretimeZagros;
|
||||
use penpal_emulated_chain::{PenpalA, PenpalB};
|
||||
use people_zagros_emulated_chain::PeopleZagros;
|
||||
use zagros_emulated_chain::Zagros;
|
||||
|
||||
// Pezcumulus
|
||||
use emulated_integration_tests_common::{
|
||||
accounts::{ALICE, BOB},
|
||||
xcm_emulator::{decl_test_networks, decl_test_sender_receiver_accounts_parameter_types},
|
||||
};
|
||||
|
||||
decl_test_networks! {
|
||||
pub struct ZagrosMockNet {
|
||||
relay_chain = Zagros,
|
||||
teyrchains = vec![
|
||||
AssetHubZagros,
|
||||
BridgeHubZagros,
|
||||
CollectivesZagros,
|
||||
CoretimeZagros,
|
||||
PeopleZagros,
|
||||
PenpalA,
|
||||
PenpalB,
|
||||
],
|
||||
bridge = ()
|
||||
},
|
||||
}
|
||||
|
||||
decl_test_sender_receiver_accounts_parameter_types! {
|
||||
ZagrosRelay { sender: ALICE, receiver: BOB },
|
||||
AssetHubZagrosPara { sender: ALICE, receiver: BOB },
|
||||
BridgeHubZagrosPara { sender: ALICE, receiver: BOB },
|
||||
CollectivesZagrosPara { sender: ALICE, receiver: BOB },
|
||||
CoretimeZagrosPara { sender: ALICE, receiver: BOB },
|
||||
PeopleZagrosPara { sender: ALICE, receiver: BOB },
|
||||
PenpalAPara { sender: ALICE, receiver: BOB },
|
||||
PenpalBPara { sender: ALICE, receiver: BOB }
|
||||
}
|
||||
Reference in New Issue
Block a user