The crate rename (#4223)

* Adding script for rename, could be applicable for nodes on top of it, too

* add stderr and gitlab ci features

* apply script

* fix now minor details in expected stderr

* Update the Cargo.lock

* fix name: sc-transaction -> sc-tracing

* fix rename in script, too
This commit is contained in:
Benjamin Kampmann
2019-12-02 11:23:53 +01:00
committed by GitHub
parent 40f6d05a4c
commit 927e13c13a
468 changed files with 3383 additions and 3271 deletions
+8 -8
View File
@@ -1,5 +1,5 @@
[package]
name = "sr-io"
name = "sp-io"
version = "2.0.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"
@@ -7,13 +7,13 @@ edition = "2018"
[dependencies]
codec = { package = "parity-scale-codec", version = "1.0.6", default-features = false }
hash-db = { version = "0.15.2", default-features = false }
primitives = { package = "substrate-primitives", path = "../core", default-features = false }
rstd = { package = "sr-std", path = "../sr-std", default-features = false }
primitives = { package = "sp-core", path = "../core", default-features = false }
rstd = { package = "sp-std", path = "../sr-std", default-features = false }
libsecp256k1 = { version = "0.3.0", optional = true }
substrate-state-machine = { path = "../../primitives/state-machine", optional = true }
runtime-interface = { package = "substrate-runtime-interface", path = "../runtime-interface", default-features = false }
trie = { package = "substrate-trie", path = "../../primitives/trie", optional = true }
externalities = { package = "substrate-externalities", path = "../externalities", optional = true }
sp-state-machine = { path = "../../primitives/state-machine", optional = true }
runtime-interface = { package = "sp-runtime-interface", path = "../runtime-interface", default-features = false }
trie = { package = "sp-trie", path = "../../primitives/trie", optional = true }
externalities = { package = "sp-externalities", path = "../externalities", optional = true }
log = { version = "0.4.8", optional = true }
[features]
@@ -24,7 +24,7 @@ std = [
"rstd/std",
"hash-db/std",
"trie",
"substrate-state-machine",
"sp-state-machine",
"libsecp256k1",
"runtime-interface/std",
"externalities",
+2 -2
View File
@@ -781,7 +781,7 @@ pub extern fn oom(_: core::alloc::Layout) -> ! {
/// Type alias for Externalities implementation used in tests.
#[cfg(feature = "std")]
pub type TestExternalities = substrate_state_machine::TestExternalities<primitives::Blake2Hasher, u64>;
pub type TestExternalities = sp_state_machine::TestExternalities<primitives::Blake2Hasher, u64>;
/// The host functions Substrate provides for the Wasm runtime environment.
///
@@ -803,7 +803,7 @@ pub type SubstrateHostFunctions = (
mod tests {
use super::*;
use primitives::map;
use substrate_state_machine::BasicExternalities;
use sp_state_machine::BasicExternalities;
#[test]
fn storage_works() {