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.
1.8 KiB
Bridges Tests for Local pezkuwichain <> zagros Bridge
This folder contains zombienet based integration tests for both onchain and offchain bridges code.
Prerequisites for running the tests locally:
-
download latest zombienet release and place it at
~/local_bridge_testing/bin/zombienet; -
build PezkuwiChain binary by running
cargo build -p pezkuwi --release --features fast-runtimecommand in thepezkuwi-sdkrepository clone; -
build PezkuwiChain Teyrchain binary by running
cargo build -p pezkuwi-teyrchain-bin --releasecommand in thepezkuwi-sdkrepository clone; -
ensure that you have
nodeinstalled. Additionally, we'll need the globally installedpezkuwi/api-clipackage. Useyarn global add @pezkuwi/api-clito install it. -
build Bizinikiwi relay by running
cargo build -p bizinikiwi-relay --releasecommand in theparity-bridges-commonrepository clone; -
copy the
bizinikiwi-relaybinary, built in the previous step, to~/local_bridge_testing/bin/bizinikiwi-relay;
On Mac, you'll also need to do the following:
-
Install an updated version of bash by installing homebrew and running
brew install bash; -
Install jq with
brew install jq;
After that, any test can be run using the run-test.sh command.
Example: ./run-test.sh 0001-asset-transfer
Hopefully, it'll show the "All tests have completed successfully" message in the end. Otherwise, it'll print paths to zombienet process logs, which, in turn, may be used to track locations of all spinned relay and teyrchain nodes.