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
+10 -10
View File
@@ -1,5 +1,5 @@
[package]
name = "substrate-basic-authorship"
name = "sc-basic-authority"
version = "2.0.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"
@@ -8,19 +8,19 @@ edition = "2018"
log = "0.4.8"
futures = "0.3.1"
codec = { package = "parity-scale-codec", version = "1.0.0" }
sr-primitives = { path = "../../primitives/sr-primitives" }
primitives = { package = "substrate-primitives", path = "../../primitives/core" }
sp-runtime = { path = "../../primitives/sr-primitives" }
primitives = { package = "sp-core", path = "../../primitives/core" }
sp-blockchain = { path = "../../primitives/blockchain" }
client = { package = "substrate-client", path = "../" }
client-api = { package = "substrate-client-api", path = "../api" }
consensus_common = { package = "substrate-consensus-common", path = "../../primitives/consensus/common" }
inherents = { package = "substrate-inherents", path = "../../primitives/inherents" }
substrate-telemetry = { path = "../telemetry" }
client = { package = "sc-client", path = "../" }
client-api = { package = "sc-client-api", path = "../api" }
consensus_common = { package = "sp-consensus", path = "../../primitives/consensus/common" }
inherents = { package = "sp-inherents", path = "../../primitives/inherents" }
sc-telemetry = { path = "../telemetry" }
txpool-api = { package = "sp-transaction-pool-api", path = "../../primitives/transaction-pool" }
block-builder = { package = "substrate-block-builder", path = "../block-builder" }
block-builder = { package = "sc-block-builder", path = "../block-builder" }
tokio-executor = { version = "0.2.0-alpha.6", features = ["blocking"] }
[dev-dependencies]
txpool = { package = "sc-transaction-pool", path = "../../client/transaction-pool" }
txpool = { package = "sc-tracing-pool", path = "../../client/transaction-pool" }
test-client = { package = "substrate-test-runtime-client", path = "../../test/utils/runtime/client" }
parking_lot = "0.9"
@@ -16,7 +16,7 @@
//! A consensus proposer for "basic" chains which use the primitive inherent-data.
// FIXME #1021 move this into substrate-consensus-common
// FIXME #1021 move this into sp-consensus
use std::{time, sync::Arc};
use client_api::CallExecutor;
@@ -27,14 +27,14 @@ use consensus_common::{evaluation};
use inherents::InherentData;
use log::{error, info, debug, trace};
use primitives::{H256, Blake2Hasher, ExecutionContext};
use sr_primitives::{
use sp_runtime::{
traits::{
Block as BlockT, Hash as HashT, Header as HeaderT, ProvideRuntimeApi, DigestFor, BlakeTwo256
},
generic::BlockId,
};
use txpool_api::{TransactionPool, InPoolTransaction};
use substrate_telemetry::{telemetry, CONSENSUS_INFO};
use sc_telemetry::{telemetry, CONSENSUS_INFO};
use block_builder::BlockBuilderApi;
/// Proposer factory.
+2 -2
View File
@@ -19,9 +19,9 @@
//! # Example
//!
//! ```
//! # use substrate_basic_authorship::ProposerFactory;
//! # use sc_basic_authority::ProposerFactory;
//! # use consensus_common::{Environment, Proposer};
//! # use sr_primitives::generic::BlockId;
//! # use sp_runtime::generic::BlockId;
//! # use std::{sync::Arc, time::Duration};
//! # use test_client::{self, runtime::{Extrinsic, Transfer}, AccountKeyring};
//! # use txpool::{BasicPool, FullChainApi};