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
@@ -5,13 +5,13 @@ authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"
[dependencies]
block-builder = { package = "substrate-block-builder", path = "../../../../client/block-builder" }
block-builder = { package = "sc-block-builder", path = "../../../../client/block-builder" }
generic-test-client = { package = "substrate-test-client", path = "../../client" }
primitives = { package = "substrate-primitives", path = "../../../../primitives/core" }
primitives = { package = "sp-core", path = "../../../../primitives/core" }
runtime = { package = "substrate-test-runtime", path = "../../runtime" }
sr-primitives = { path = "../../../../primitives/sr-primitives" }
sp-runtime = { path = "../../../../primitives/sr-primitives" }
sp-blockchain = { path = "../../../../primitives/blockchain" }
codec = { package = "parity-scale-codec", version = "1.0.0" }
client-api = { package = "substrate-client-api", path = "../../../../client/api" }
client = { package = "substrate-client", path = "../../../../client/" }
client-api = { package = "sc-client-api", path = "../../../../client/api" }
client = { package = "sc-client", path = "../../../../client/" }
futures = "0.3.1"
@@ -17,7 +17,7 @@
//! Block Builder extensions for tests.
use runtime;
use sr_primitives::traits::ProvideRuntimeApi;
use sp_runtime::traits::ProvideRuntimeApi;
use block_builder::BlockBuilderApi;
@@ -30,7 +30,7 @@ pub use runtime;
use primitives::sr25519;
use runtime::genesismap::{GenesisConfig, additional_storage_with_genesis};
use sr_primitives::traits::{Block as BlockT, Header as HeaderT, Hash as HashT, NumberFor};
use sp_runtime::traits::{Block as BlockT, Header as HeaderT, Hash as HashT, NumberFor};
use client::{
light::fetcher::{
Fetcher,
@@ -28,8 +28,8 @@ use crate::{AccountKeyring, ClientExt, TestClientBuilder, TestClientBuilderExt};
use generic_test_client::consensus::BlockOrigin;
use primitives::Blake2Hasher;
use runtime::{self, Transfer};
use sr_primitives::generic::BlockId;
use sr_primitives::traits::Block as BlockT;
use sp_runtime::generic::BlockId;
use sp_runtime::traits::Block as BlockT;
/// helper to test the `leaves` implementation for various backends
pub fn test_leaves_for_backend<B: 'static>(backend: Arc<B>) where