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
@@ -1,23 +1,23 @@
[package]
name = "substrate-consensus-pow-primitives"
name = "sp-consensus-pow"
version = "2.0.0"
authors = ["Parity Technologies <admin@parity.io>"]
description = "Primitives for Aura consensus"
edition = "2018"
[dependencies]
sr-api = { path = "../../sr-api", default-features = false }
rstd = { package = "sr-std", path = "../../sr-std", default-features = false }
sr-primitives = { path = "../../sr-primitives", default-features = false }
primitives = { package = "substrate-primitives", path = "../../core", default-features = false }
sp-api = { path = "../../sr-api", default-features = false }
rstd = { package = "sp-std", path = "../../sr-std", default-features = false }
sp-runtime = { path = "../../sr-primitives", default-features = false }
primitives = { package = "sp-core", path = "../../core", default-features = false }
codec = { package = "parity-scale-codec", version = "1.0.0", default-features = false, features = ["derive"] }
[features]
default = ["std"]
std = [
"rstd/std",
"sr-api/std",
"sr-primitives/std",
"sp-api/std",
"sp-runtime/std",
"primitives/std",
"codec/std",
]
@@ -19,7 +19,7 @@
#![cfg_attr(not(feature = "std"), no_std)]
use rstd::vec::Vec;
use sr_primitives::ConsensusEngineId;
use sp_runtime::ConsensusEngineId;
use codec::Decode;
/// The `ConsensusEngineId` of PoW.
@@ -47,7 +47,7 @@ impl TotalDifficulty for u128 {
}
}
sr_api::decl_runtime_apis! {
sp_api::decl_runtime_apis! {
/// API necessary for timestamp-based difficulty adjustment algorithms.
pub trait TimestampApi<Moment: Decode> {
/// Return the timestamp in the current block.