Refactoring Checkpoint: (WIP)
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
[package]
|
||||
name = "revive-dev-runtime"
|
||||
name = "pez-revive-dev-runtime"
|
||||
description = "A solochain dev runtime for revive."
|
||||
version = "0.1.0"
|
||||
license = "Apache-2.0"
|
||||
@@ -7,7 +7,7 @@ authors.workspace = true
|
||||
homepage.workspace = true
|
||||
repository.workspace = true
|
||||
edition.workspace = true
|
||||
documentation = "https://docs.rs/revive-dev-runtime"
|
||||
documentation = "https://docs.rs/pez-revive-dev-runtime"
|
||||
|
||||
[dependencies]
|
||||
array-bytes = { workspace = true }
|
||||
|
||||
@@ -136,8 +136,8 @@ pub mod genesis_config_presets {
|
||||
/// The runtime version.
|
||||
#[runtime_version]
|
||||
pub const VERSION: RuntimeVersion = RuntimeVersion {
|
||||
spec_name: alloc::borrow::Cow::Borrowed("revive-dev-runtime"),
|
||||
impl_name: alloc::borrow::Cow::Borrowed("revive-dev-runtime"),
|
||||
spec_name: alloc::borrow::Cow::Borrowed("pez-revive-dev-runtime"),
|
||||
impl_name: alloc::borrow::Cow::Borrowed("pez-revive-dev-runtime"),
|
||||
authoring_version: 1,
|
||||
spec_version: 0,
|
||||
impl_version: 1,
|
||||
|
||||
Reference in New Issue
Block a user