Refactoring Checkpoint: (WIP)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
[package]
|
||||
name = "minimal-template-node"
|
||||
name = "pez-minimal-template-node"
|
||||
description = "A minimal Bizinikiwi-based Bizinikiwi node, ready for hacking."
|
||||
version = "0.0.0"
|
||||
license = "Unlicense"
|
||||
@@ -9,7 +9,7 @@ repository.workspace = true
|
||||
edition.workspace = true
|
||||
publish = false
|
||||
build = "build.rs"
|
||||
documentation = "https://docs.rs/minimal-template-node"
|
||||
documentation = "https://docs.rs/pez-minimal-template-node"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
@@ -24,7 +24,7 @@ futures = { features = ["thread-pool"], workspace = true }
|
||||
futures-timer = { workspace = true }
|
||||
jsonrpsee = { features = ["server"], workspace = true }
|
||||
|
||||
minimal-template-runtime = { workspace = true }
|
||||
pez-minimal-template-runtime = { workspace = true }
|
||||
pezkuwi-sdk = { workspace = true, features = ["experimental", "node"] }
|
||||
|
||||
[build-dependencies]
|
||||
@@ -32,8 +32,8 @@ pezkuwi-sdk = { workspace = true, features = ["bizinikiwi-build-script-utils"] }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
std = ["minimal-template-runtime/std", "pezkuwi-sdk/std"]
|
||||
std = ["pez-minimal-template-runtime/std", "pezkuwi-sdk/std"]
|
||||
runtime-benchmarks = [
|
||||
"minimal-template-runtime/runtime-benchmarks",
|
||||
"pez-minimal-template-runtime/runtime-benchmarks",
|
||||
"pezkuwi-sdk/runtime-benchmarks",
|
||||
]
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
use minimal_template_runtime::WASM_BINARY;
|
||||
use pez_minimal_template_runtime::WASM_BINARY;
|
||||
use pezkuwi_sdk::{
|
||||
pezsc_service::{ChainType, Properties},
|
||||
*,
|
||||
|
||||
@@ -116,7 +116,7 @@ pub fn run() -> pezsc_cli::Result<()> {
|
||||
Some(Subcommand::ChainInfo(cmd)) => {
|
||||
let runner = cli.create_runner(cmd)?;
|
||||
runner.sync_run(|config| {
|
||||
cmd.run::<minimal_template_runtime::interface::OpaqueBlock>(&config)
|
||||
cmd.run::<pez_minimal_template_runtime::interface::OpaqueBlock>(&config)
|
||||
})
|
||||
},
|
||||
None => {
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
#![warn(missing_docs)]
|
||||
|
||||
use jsonrpsee::RpcModule;
|
||||
use minimal_template_runtime::interface::{AccountId, Nonce, OpaqueBlock};
|
||||
use pez_minimal_template_runtime::interface::{AccountId, Nonce, OpaqueBlock};
|
||||
use pezkuwi_sdk::{
|
||||
pezsc_transaction_pool_api::TransactionPool,
|
||||
pezsp_blockchain::{Error as BlockChainError, HeaderBackend, HeaderMetadata},
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
use crate::cli::Consensus;
|
||||
use futures::FutureExt;
|
||||
use minimal_template_runtime::{interface::OpaqueBlock as Block, RuntimeApi};
|
||||
use pez_minimal_template_runtime::{interface::OpaqueBlock as Block, RuntimeApi};
|
||||
use pezkuwi_sdk::{
|
||||
pezsc_client_api::backend::Backend,
|
||||
pezsc_executor::WasmExecutor,
|
||||
|
||||
Reference in New Issue
Block a user