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:
Squirrel
2021-06-30 11:06:39 +01:00
committed by GitHub
parent b707a48737
commit d7804c0929
28 changed files with 76 additions and 134 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ sp-utils = { version = "3.0.0", path = "../../primitives/utils" }
sp-rpc = { version = "3.0.0", path = "../../primitives/rpc" }
sp-keystore = { version = "0.9.0", path = "../../primitives/keystore" }
sp-state-machine = { version = "0.9.0", path = "../../primitives/state-machine" }
sp-chain-spec = { version = "3.0.0", path = "../../primitives/chain-spec" }
sc-chain-spec = { version = "3.0.0", path = "../chain-spec" }
sc-executor = { version = "0.9.0", path = "../executor" }
sc-block-builder = { version = "0.9.0", path = "../block-builder" }
sc-keystore = { version = "3.0.0", path = "../keystore" }
+2 -2
View File
@@ -106,11 +106,11 @@ impl<B: traits::Block> SystemApi<B::Hash, <B::Header as HeaderT>::Number> for Sy
Ok(self.info.chain_name.clone())
}
fn system_type(&self) -> Result<sp_chain_spec::ChainType> {
fn system_type(&self) -> Result<sc_chain_spec::ChainType> {
Ok(self.info.chain_type.clone())
}
fn system_properties(&self) -> Result<sp_chain_spec::Properties> {
fn system_properties(&self) -> Result<sc_chain_spec::Properties> {
Ok(self.info.properties.clone())
}