feat: Rebrand Kurdistan SDK to PezkuwiChain

This commit is contained in:
2025-12-14 01:11:30 +03:00
parent e65c951214
commit 5520d491a5
49 changed files with 93 additions and 96 deletions
+2 -3
View File
@@ -33,7 +33,7 @@ Command:
```bash
# Install only `subkey`, at a specific version of the subkey crate
cargo install --force subkey --git https://github.com/paritytech/bizinikiwi --version <SET VERSION> --locked
cargo install --force subkey --git https://github.com/pezkuwichain/kurdistan-sdk --version <SET VERSION> --locked
# If you run into issues building, you likely are missing deps defined in https://docs.pezkuwichain.io/install/
```
@@ -80,8 +80,7 @@ you will use the key.
The **SS58 address** (or **Public Address**) of a new account is a representation of the public keys of an account for
a given network (for instance Kusama or PezkuwiChain).
You can read more about the [SS58 format in the Bizinikiwi Docs](https://docs.pezkuwichain.io/reference/address-formats/)
and see the list of reserved prefixes in the [SS58 Registry](https://github.com/paritytech/ss58-registry).
You can read more about the [SS58 format in the Bizinikiwi Docs](https://docs.pezkuwichain.io/reference/address-formats/) and see the list of reserved prefixes in the [SS58 Registry](https://docs.pezkuwichain.io/ss58-registry).
For instance, considering the previous seed `0xa05c75731970cc7868a2fb7cb577353cd5b31f62dccced92c441acd8fee0c92d` the
SS58 addresses are:
+2 -2
View File
@@ -54,7 +54,7 @@
//!
//! ```bash
//! # Install only `subkey`, at a specific version of the subkey crate
//! cargo install --force subkey --git https://github.com/paritytech/bizinikiwi --version <SET VERSION> --locked
//! cargo install --force subkey --git https://github.com/pezkuwichain/kurdistan-sdk --version <SET VERSION> --locked
//! # If you run into issues building, you likely are missing deps defined in https://docs.pezkuwichain.io/install/
//! ```
//!
@@ -100,7 +100,7 @@
//! The **SS58 address** (or **Public Address**) of a new account is a representation of the public
//! keys of an account for a given network (for instance Kusama or Pezkuwi).
//!
//! You can read more about the [SS58 format in the Bizinikiwi Docs](https://docs.pezkuwichain.io/reference/address-formats/) and see the list of reserved prefixes in the [SS58 Registry](https://github.com/paritytech/ss58-registry).
//! You can read more about the [SS58 format in the Bizinikiwi Docs](https://docs.pezkuwichain.io/reference/address-formats/) and see the list of reserved prefixes in the [SS58 Registry](https://docs.pezkuwichain.io/ss58-registry).
//!
//! For instance, considering the previous seed
//! `0xa05c75731970cc7868a2fb7cb577353cd5b31f62dccced92c441acd8fee0c92d` the SS58 addresses are:
+2 -2
View File
@@ -242,12 +242,12 @@ pub enum Database {
/// Facebooks RocksDB
#[cfg(feature = "rocksdb")]
RocksDb,
/// ParityDb. <https://github.com/paritytech/parity-db/>
/// ParityDb. <https://github.com/pezkuwichain/parity-db/>
ParityDb,
/// Detect whether there is an existing database. Use it, if there is, if not, create new
/// instance of ParityDb
Auto,
/// ParityDb. <https://github.com/paritytech/parity-db/>
/// ParityDb. <https://github.com/pezkuwichain/parity-db/>
#[value(name = "paritydb-experimental")]
ParityDbDeprecated,
}
+1 -1
View File
@@ -332,7 +332,7 @@ The current cryptographic scheme used by BEEFY is `ecdsa`. This is **different**
schemes like `sr25519` and `ed25519` which are commonly used in Bizinikiwi configurations for
other pallets (BABE, GRANDPA, AuRa, etc). The most noticeable difference is that an `ecdsa`
public key is `33` bytes long, instead of `32` bytes for a `sr25519` based public key. So, a
BEEFY key [sticks out](https://github.com/paritytech/polkadot/blob/25951e45b1907853f120c752aaa01631a0b3e783/node/service/src/chain_spec.rs#L738)
BEEFY key [sticks out](https://github.com/pezkuwichain/kurdistan-sdk/blob/main/pezkuwi/node/service/src/chain_spec.rs#L738)
among the other public keys a bit.
For other crypto (using the default Bizinikiwi configuration) the `AccountId` (32-bytes) matches
@@ -337,7 +337,7 @@ fn common_config(semantics: &Semantics) -> std::result::Result<wasmtime::Config,
///
/// See [here][stack_height] for more details of the instrumentation
///
/// [stack_height]: https://github.com/paritytech/wasm-instrument/blob/master/src/stack_limiter/mod.rs
/// [stack_height]: https://github.com/pezkuwichain/wasm-instrument/blob/master/src/stack_limiter/mod.rs
#[derive(Clone)]
pub struct DeterministicStackLimit {
/// A number of logical "values" that can be pushed on the wasm stack. A trap will be triggered
+1 -1
View File
@@ -138,7 +138,7 @@ substream is closed, the entire connection is closed as well. This is a bug that
resolved by deprecating the protocol entirely.
Within the unique Bizinikiwi substream, messages encoded using
[`parity-scale-codec``](https://github.com/paritytech/parity-scale-codec) are exchanged.
[`parity-scale-codec``](https://github.com/pezkuwichain/parity-scale-codec) are exchanged.
The detail of theses messages is not totally in place, but they can be found in the
`message.rs` file.
+1 -2
View File
@@ -159,8 +159,7 @@
//! substream is closed, the entire connection is closed as well. This is a bug that will be
//! resolved by deprecating the protocol entirely.
//!
//! Within the unique Bizinikiwi substream, messages encoded using
//! [*parity-scale-codec*](https://github.com/paritytech/parity-scale-codec) are exchanged.
//! Within the unique Bizinikiwi substream, messages encoded using [*parity-scale-codec*](https://github.com/pezkuwichain/parity-scale-codec) are exchanged.
//! The detail of theses messages is not totally in place, but they can be found in the
//! `message.rs` file.
//!
@@ -47,7 +47,7 @@ pub enum Error {
}
/// Errors for `chainHead` RPC module, as defined in
/// <https://github.com/paritytech/json-rpc-interface-spec>.
/// <https://docs.pezkuwichain.io/json-rpc-interface-spec>.
pub mod rpc_spec_v2 {
/// Maximum number of chainHead_follow has been reached.
pub const REACHED_LIMITS: i32 = -32800;
+1 -1
View File
@@ -1,7 +1,7 @@
# pezsc-telemetry
Bizinikiwi's client telemetry is a part of Bizinikiwi that allows ingesting telemetry data
with for example [PezkuwiChain telemetry](https://github.com/paritytech/bizinikiwi-telemetry).
with for example [PezkuwiChain telemetry](https://docs.pezkuwichain.io/telemetry).
It works using Tokio's [tracing](https://github.com/tokio-rs/tracing/) library. The telemetry
information uses tracing's logging to report the telemetry data which is then retrieved by a
+1 -1
View File
@@ -17,7 +17,7 @@
// along with this program. If not, see <https://www.gnu.org/licenses/>.
//! Bizinikiwi's client telemetry is a part of bizinikiwi that allows ingesting telemetry data
//! with for example [Pezkuwi telemetry](https://github.com/paritytech/bizinikiwi-telemetry).
//! with for example [Pezkuwi telemetry](https://docs.pezkuwichain.io/telemetry).
//!
//! It works using Tokio's [tracing](https://github.com/tokio-rs/tracing/) library. The telemetry
//! information uses tracing's logging to report the telemetry data which is then retrieved by a
+6 -6
View File
@@ -309,9 +309,9 @@ adequate deposit associated with them. A number of configuration parameters has
```
**This upgrade requires storage
[migration](https://github.com/paritytech/bizinikiwi/blob/master/frame/elections-phragmen/src/migrations_3_0_0.rs)**.
[migration](https://github.com/pezkuwichain/kurdistan-sdk/blob/main/bizinikiwi/pezframe/elections-phragmen/src/migrations_3_0_0.rs)**.
Further details can be found in the [pezpallet-specific
changelog](https://github.com/paritytech/bizinikiwi/blob/master/frame/elections-phragmen/CHANGELOG.md#security).
changelog](https://github.com/pezkuwichain/kurdistan-sdk/blob/main/bizinikiwi/pezframe/elections-phragmen/CHANGELOG.md#security).
#### (changes) Democracy
@@ -360,15 +360,15 @@ are effected by changes and how to update your code yourself.
A few minor things have changed in the `cli` (compared to 2.0.1):
1. we've [replaced the newly added `BuildSyncSpec` subcommand with an RPC
API](https://github.com/paritytech/bizinikiwi/commit/65cc9af9b8df8d36928f6144ee7474cefbd70454#diff-c57da6fbeff8c46ce15f55ea42fedaa5a4684d79578006ce4af01ae04fd6b8f8)
API](https://github.com/pezkuwichain/kurdistan-sdk/commit/65cc9af9b8df8d36928f6144ee7474cefbd70454#diff-c57da6fbeff8c46ce15f55ea42fedaa5a4684d79578006ce4af01ae04fd6b8f8)
in an on-going effort to make light-client-support smoother, see below
2. we've [removed double accounts from our
chainspec-builder](https://github.com/paritytech/bizinikiwi/commit/31499cd29ed30df932fb71b7459796f7160d0272)
chainspec-builder](https://github.com/pezkuwichain/kurdistan-sdk/commit/31499cd29ed30df932fb71b7459796f7160d0272)
3. we [don't fallback to `--chain flaming-fir`
anymore](https://github.com/paritytech/bizinikiwi/commit/13cdf1c8cd2ee62d411f82b64dc7eba860c9c6c6), if no chain is
anymore](https://github.com/pezkuwichain/kurdistan-sdk/commit/13cdf1c8cd2ee62d411f82b64dc7eba860c9c6c6), if no chain is
given our `bizinikiwi-node` will error.
4. [the `subkey`-integration has seen a fix to the
`insert`-command](https://github.com/paritytech/bizinikiwi/commit/54bde60cfd2c544c54e9e8623b6b8725b99557f8) that
`insert`-command](https://github.com/pezkuwichain/kurdistan-sdk/commit/54bde60cfd2c544c54e9e8623b6b8725b99557f8) that
requires you to now add the `&cli` as a param.
```diff=
--- a/bin/node/cli/src/command.rs
+1 -1
View File
@@ -26,7 +26,7 @@ that are removed from the source. So you need to manually check and remove them
commit in Bizinikiwi remote repository, such as:
```toml
toml pezsp-core = { version = "7.0.0", git = "https://github.com/paritytech/bizinikiwi.git", rev =
toml pezsp-core = { version = "7.0.0", git = "https://github.com/pezkuwichain/kurdistan-sdk.git", rev =
"de80d0107336a9c7a2efdc0199015e4d67fcbdb5", default-features = false }
```
+1 -1
View File
@@ -2,7 +2,7 @@
There is [a script in place](../.maintain/rustdocs-release.sh) to manage the deployment of Bizinikiwi rustdocs at
https://docs.pezkuwichain.io/bizinikiwi, which is pushing the rustdocs file in `gh-pages` branch of
https://github.com/paritytech/bizinikiwi.
https://github.com/pezkuwichain/kurdistan-sdk.
The documentation at the top of the `rustdocs-release.sh` explains most of the mechanics of the script.
@@ -39,7 +39,7 @@
//! However, only extensions implementing [`RegisteredChainExtension`] can be put into a tuple.
//! This is because the [`RegisteredChainExtension::ID`] is used to decide which of those extensions
//! should be used when the contract calls a chain extensions. Extensions which are generally
//! useful should claim their `ID` with [the registry](https://github.com/paritytech/chainextension-registry)
//! useful should claim their `ID` with [the registry](https://github.com/pezkuwichain/chainextension-registry)
//! so that no collisions with other vendors will occur.
//!
//! **Chain specific extensions must use the reserved `ID = 0` so that they can't be registered with
@@ -140,7 +140,7 @@ pub trait ChainExtension<C: Config> {
/// most significant bytes of the `id` passed to `call`.
///
/// If this extensions is to be used by multiple runtimes consider
/// [registering it](https://github.com/paritytech/chainextension-registry) to ensure that there
/// [registering it](https://github.com/pezkuwichain/chainextension-registry) to ensure that there
/// are no collisions with other vendors.
///
/// # Note
+2 -2
View File
@@ -12,7 +12,7 @@ Run `cargo doc --package pezpallet-example-basic --open` to view this pallet's d
## Documentation Guidelines
<!-- Original author of paragraph: Various. Based on collation of review comments to PRs addressing issues with -->
<!-- label 'S3-FRAME' in https://github.com/paritytech/bizinikiwi-developer-hub/issues -->
<!-- label 'S3-FRAME' -->
<ul>
<li>Documentation comments (i.e. <code>/// comment</code>) - should
accompany pallet functions and be restricted to the pallet interface,
@@ -21,7 +21,7 @@ Run `cargo doc --package pezpallet-example-basic --open` to view this pallet's d
requires root, but without repeating the source code details.
Capitalize the first word of each documentation comment and end it with
a full stop. See
<a href="https://github.com/paritytech/bizinikiwi#72-contributing-to-documentation-for-bizinikiwi-packages"
<a href="https://github.com/pezkuwichain/kurdistan-sdk/blob/main/bizinikiwi/README.md#contributing-to-documentation-for-bizinikiwi-packages"
target="_blank"> Generic example of annotating source code with documentation comments</a></li>
<li>Self-documenting code - Try to refactor code to be self-documenting.</li>
<li>Code comments - Supplement complex code with a brief explanation, not every line of code.</li>
+1 -1
View File
@@ -17,7 +17,7 @@
//! > Made with *Bizinikiwi*, for *DotSama*.
//!
//! [![github]](https://github.com/paritytech/bizinikiwi/pezframe/fast-unstake) -
//! [![github]](https://github.com/pezkuwichain/kurdistan-sdk/tree/main/bizinikiwi/pezframe/fast-unstake) -
//! [![pezkuwi]](https://pezkuwichain.io)
//!
//! [pezkuwi]: https://img.shields.io/badge/polkadot-E6007A?style=for-the-badge&logo=polkadot&logoColor=white
+1 -1
View File
@@ -84,7 +84,7 @@ documentation](https://docs.pezkuwichain.io/sdk/master/pallet_revive/pallet/disp
## Usage
This module executes PolkaVM smart contracts. These can potentially be written in any language that compiles to
RISC-V. For now, the only officially supported languages are Solidity (via [`revive`](https://github.com/xermicus/revive))
RISC-V. For now, the only officially supported languages are Solidity (via [`revive`](https://github.com/pezkuwichain/revive))
and Rust (check the `fixtures` directory for Rust examples).
## Host function tracing
@@ -253,7 +253,7 @@ parameter_types! {
pub const ApprovalDeposit: Balance = EXISTENTIAL_DEPOSIT;
pub const AssetsStringLimit: u32 = 50;
/// Key = 32 bytes, Value = 36 bytes (32+1+1+1+1)
// https://github.com/paritytech/bizinikiwi/blob/069917b/frame/assets/src/lib.rs#L257L271
// https://github.com/pezkuwichain/kurdistan-sdk/blob/main/bizinikiwi/pezframe/assets/src/lib.rs#L257L271
pub const MetadataDepositBase: Balance = deposit(1, 68);
pub const MetadataDepositPerByte: Balance = deposit(0, 1);
}
@@ -203,7 +203,7 @@ pub mod v15 {
}
/// Migration of era exposure storage items to paged exposures.
/// Changelog: [v14.](https://github.com/paritytech/bizinikiwi/blob/ankan/paged-rewards-rebased2/frame/staking/CHANGELOG.md#14)
/// Changelog: [v14.](https://github.com/pezkuwichain/kurdistan-sdk/blob/main/bizinikiwi/pezframe/staking/CHANGELOG.md#14)
pub mod v14 {
use super::*;
@@ -21,7 +21,7 @@
//! The implementation has been primarily designed to be used in slow hosted
//! targets (e.g. wasm32) and offloads the most computationally expensive
//! operations to the host by leveraging the
//! [arkworks-extensions](https://github.com/paritytech/arkworks-extensions)
//! [arkworks-extensions](https://github.com/pezkuwichain/arkworks-extensions)
//! library and Bizinikiwi's host functions.
//!
//! The exported types are organized and named in a way that mirrors the structure
@@ -109,9 +109,9 @@ cargo run --profile=production -- benchmark overhead --chain=pezkuwi-dev --wasm-
```
This will overwrite the
[block_weights.rs](https://github.com/paritytech/polkadot/blob/c254e5975711a6497af256f6831e9a6c752d28f5/runtime/polkadot/constants/src/weights/block_weights.rs)
[block_weights.rs](https://github.com/pezkuwichain/kurdistan-sdk/blob/main/pezkuwi/runtime/pezkuwichain/constants/src/weights/block_weights.rs)
and
[extrinsic_weights.rs](https://github.com/paritytech/polkadot/blob/c254e5975711a6497af256f6831e9a6c752d28f5/runtime/polkadot/constants/src/weights/extrinsic_weights.rs)
[extrinsic_weights.rs](https://github.com/pezkuwichain/kurdistan-sdk/blob/main/pezkuwi/runtime/pezkuwichain/constants/src/weights/extrinsic_weights.rs)
files in the PezkuwiChain runtime directory. You can try the same for *pezkuwichain* and to see that the results slightly differ.
👉 It is paramount to use `--profile=production` and `--wasm-execution=compiled` as the results are otherwise useless.
@@ -138,9 +138,9 @@ License: Apache-2.0
<!-- LINKS -->
[`ExtrinsicBaseWeight`]:
https://github.com/paritytech/bizinikiwi/blob/580ebae17fa30082604f1c9720f6f4a1cfe95b50/frame/support/src/weights/extrinsic_weights.rs#L26
https://github.com/pezkuwichain/kurdistan-sdk/blob/main/bizinikiwi/pezframe/support/src/weights/extrinsic_weights.rs#L26
[`BlockExecutionWeight`]:
https://github.com/paritytech/bizinikiwi/blob/580ebae17fa30082604f1c9720f6f4a1cfe95b50/frame/support/src/weights/block_weights.rs#L26
https://github.com/pezkuwichain/kurdistan-sdk/blob/main/bizinikiwi/pezframe/support/src/weights/block_weights.rs#L26
[System::Remark]:
https://github.com/paritytech/bizinikiwi/blob/580ebae17fa30082604f1c9720f6f4a1cfe95b50/frame/system/src/lib.rs#L382
https://github.com/pezkuwichain/kurdistan-sdk/blob/main/bizinikiwi/pezframe/system/src/lib.rs#L382
@@ -64,7 +64,7 @@ pub(crate) fn check(target: RuntimeTarget) -> Result<CargoCommandVersioned, Stri
if !cargo_command.supports_bizinikiwi_runtime_env(target) {
return Err(colorize_error_message(
"Cannot compile a RISC-V runtime: no compatible Rust compiler found!\n\
Install a toolchain from here and try again: https://github.com/paritytech/rustc-rv32e-toolchain/",
Install a toolchain from here and try again: https://github.com/pezkuwichain/rustc-rv32e-toolchain/",
));
}
@@ -528,7 +528,7 @@ fn create_project_cargo_toml(
// TODO: Remove this once a new version of `bitvec` (which uses a new version of `radium`
// which doesn't have this problem) is released on crates.io.
let radium_patch = toml::toml! {
radium = { git = "https://github.com/paritytech/radium-0.7-fork.git", rev = "a5da15a15c90fd169d661d206cf0db592487f52b" }
radium = { git = "https://github.com/pezkuwichain/radium-0.7-fork.git", rev = "a5da15a15c90fd169d661d206cf0db592487f52b" }
};
let mut patch = wasm_workspace_toml