Files
pezkuwi-sdk/pezcumulus/zombienet/zombienet-sdk/tests/utils.rs
T
pezkuwichain 1c0e57d984 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.
2025-12-14 00:04:10 +03:00

23 lines
738 B
Rust

// Copyright (C) Parity Technologies (UK) Ltd.
// SPDX-License-Identifier: Apache-2.0
use zombienet_sdk::{LocalFileSystem, Network, NetworkConfig};
pub const BEST_BLOCK_METRIC: &str = "block_height{status=\"best\"}";
pub async fn initialize_network(
config: NetworkConfig,
) -> Result<Network<LocalFileSystem>, anyhow::Error> {
// Spawn network
let spawn_fn = zombienet_sdk::environment::get_spawn_fn();
let network = spawn_fn(config).await?;
// Do not terminate network after the test is finished.
// This is needed for CI to get logs from k8s.
// Network shall be terminated from CI after logs are downloaded.
// NOTE! For local execution (native provider) below call has no effect.
network.detach().await;
Ok(network)
}