Refactoring Checkpoint: (WIP)

This commit is contained in:
2025-12-14 10:29:31 +03:00
parent 09735eb97a
commit c89d7cac55
1424 changed files with 6415 additions and 6064 deletions
@@ -1,5 +1,5 @@
[package]
name = "revive-dev-node"
name = "pez-revive-dev-node"
description = "A development Bizinikiwi-based Bizinikiwi node, equipped with pezpallet-revive."
version = "0.0.0"
authors.workspace = true
@@ -8,7 +8,7 @@ repository.workspace = true
edition.workspace = true
publish = false
build = "build.rs"
documentation = "https://docs.rs/revive-dev-node"
documentation = "https://docs.rs/pez-revive-dev-node"
license = { workspace = true }
[package.metadata.docs.rs]
@@ -25,15 +25,15 @@ futures-timer = { workspace = true }
jsonrpsee = { features = ["server"], workspace = true }
pezkuwi-sdk = { workspace = true, features = ["experimental", "node"] }
revive-dev-runtime = { workspace = true }
pez-revive-dev-runtime = { workspace = true }
[build-dependencies]
pezkuwi-sdk = { workspace = true, features = ["bizinikiwi-build-script-utils"] }
[features]
default = ["std"]
std = ["pezkuwi-sdk/std", "revive-dev-runtime/std"]
std = ["pezkuwi-sdk/std", "pez-revive-dev-runtime/std"]
runtime-benchmarks = [
"pezkuwi-sdk/runtime-benchmarks",
"revive-dev-runtime/runtime-benchmarks",
"pez-revive-dev-runtime/runtime-benchmarks",
]
@@ -19,7 +19,7 @@ use pezkuwi_sdk::{
pezsc_service::{ChainType, Properties},
*,
};
use revive_dev_runtime::WASM_BINARY;
use pez_revive_dev_runtime::WASM_BINARY;
/// This is a specialization of the general Bizinikiwi ChainSpec type.
pub type ChainSpec = pezsc_service::GenericChainSpec;
@@ -119,7 +119,7 @@ pub fn run_with_args(args: Vec<String>) -> pezsc_cli::Result<()> {
},
Some(Subcommand::ChainInfo(cmd)) => {
let runner = cli.create_runner(cmd)?;
runner.sync_run(|config| cmd.run::<revive_dev_runtime::OpaqueBlock>(&config))
runner.sync_run(|config| cmd.run::<pez_revive_dev_runtime::OpaqueBlock>(&config))
},
None => {
// Enforce dev
@@ -29,7 +29,7 @@ use pezkuwi_sdk::{
pezsp_blockchain::{Error as BlockChainError, HeaderBackend, HeaderMetadata},
*,
};
use revive_dev_runtime::{AccountId, Nonce, OpaqueBlock};
use pez_revive_dev_runtime::{AccountId, Nonce, OpaqueBlock};
use std::sync::Arc;
/// Full client dependencies.
@@ -24,7 +24,7 @@ use pezkuwi_sdk::{
pezsp_runtime::traits::Block as BlockT,
*,
};
use revive_dev_runtime::{OpaqueBlock as Block, Runtime, RuntimeApi};
use pez_revive_dev_runtime::{OpaqueBlock as Block, Runtime, RuntimeApi};
use std::sync::Arc;
type HostFunctions = pezsp_io::BizinikiwiHostFunctions;