mirror of
https://gitlab.com/pezkuwichain/pezkuwi-sdk.git
synced 2026-10-29 15:09:54 +00:00
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.
30 lines
938 B
Rust
30 lines
938 B
Rust
use pezsc_service::ChainType;
|
|
use solochain_template_runtime::WASM_BINARY;
|
|
|
|
/// Specialized `ChainSpec`. This is a specialization of the general Bizinikiwi ChainSpec type.
|
|
pub type ChainSpec = pezsc_service::GenericChainSpec;
|
|
|
|
pub fn development_chain_spec() -> Result<ChainSpec, String> {
|
|
Ok(ChainSpec::builder(
|
|
WASM_BINARY.ok_or_else(|| "Development wasm not available".to_string())?,
|
|
None,
|
|
)
|
|
.with_name("Development")
|
|
.with_id("dev")
|
|
.with_chain_type(ChainType::Development)
|
|
.with_genesis_config_preset_name(pezsp_genesis_builder::DEV_RUNTIME_PRESET)
|
|
.build())
|
|
}
|
|
|
|
pub fn local_chain_spec() -> Result<ChainSpec, String> {
|
|
Ok(ChainSpec::builder(
|
|
WASM_BINARY.ok_or_else(|| "Development wasm not available".to_string())?,
|
|
None,
|
|
)
|
|
.with_name("Local Testnet")
|
|
.with_id("local_testnet")
|
|
.with_chain_type(ChainType::Local)
|
|
.with_genesis_config_preset_name(pezsp_genesis_builder::LOCAL_TESTNET_RUNTIME_PRESET)
|
|
.build())
|
|
}
|