mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 22:11:06 +00:00
Move client only primitives to another dir (#9220)
* Move alloc primitive (not used in /pallets) * Move to alternative location as not shared * moved crates to different dir * ren sp_chain_spec to sc_chain_spec_primatives * merged sc-chain-spec and moved allocation up one. * no no_std * nudge * Bump CI
This commit is contained in:
@@ -25,7 +25,7 @@ parking_lot = "0.11.1"
|
||||
sp-core = { version = "3.0.0", path = "../../primitives/core" }
|
||||
sp-version = { version = "3.0.0", path = "../../primitives/version" }
|
||||
sp-runtime = { path = "../../primitives/runtime" , version = "3.0.0"}
|
||||
sp-chain-spec = { path = "../../primitives/chain-spec" , version = "3.0.0"}
|
||||
sc-chain-spec = { path = "../chain-spec" , version = "3.0.0"}
|
||||
serde = { version = "1.0.101", features = ["derive"] }
|
||||
serde_json = "1.0.41"
|
||||
sp-transaction-pool = { version = "3.0.0", path = "../../primitives/transaction-pool" }
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
use std::fmt;
|
||||
use serde::{Serialize, Deserialize};
|
||||
use sp_chain_spec::{Properties, ChainType};
|
||||
use sc_chain_spec::{Properties, ChainType};
|
||||
|
||||
/// Running node's static details.
|
||||
#[derive(Clone, Debug)]
|
||||
|
||||
@@ -47,11 +47,11 @@ pub trait SystemApi<Hash, Number> {
|
||||
|
||||
/// Get the chain's type.
|
||||
#[rpc(name = "system_chainType")]
|
||||
fn system_type(&self) -> SystemResult<sp_chain_spec::ChainType>;
|
||||
fn system_type(&self) -> SystemResult<sc_chain_spec::ChainType>;
|
||||
|
||||
/// Get a custom set of properties as a JSON object, defined in the chain spec.
|
||||
#[rpc(name = "system_properties")]
|
||||
fn system_properties(&self) -> SystemResult<sp_chain_spec::Properties>;
|
||||
fn system_properties(&self) -> SystemResult<sc_chain_spec::Properties>;
|
||||
|
||||
/// Return health status of the node.
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user