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 -5
View File
@@ -1,18 +1,18 @@
[package]
description = "Substrate offchain workers primitives"
name = "substrate-offchain-primitives"
name = "sp-offchain"
version = "2.0.0"
license = "GPL-3.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"
[dependencies]
sr-api = { path = "../sr-api", default-features = false }
sr-primitives = { path = "../sr-primitives", default-features = false }
sp-api = { path = "../sr-api", default-features = false }
sp-runtime = { path = "../sr-primitives", default-features = false }
[features]
default = ["std"]
std = [
"sr-api/std",
"sr-primitives/std"
"sp-api/std",
"sp-runtime/std"
]
+2 -2
View File
@@ -19,12 +19,12 @@
#![cfg_attr(not(feature = "std"), no_std)]
#![warn(missing_docs)]
use sr_primitives::traits::NumberFor;
use sp_runtime::traits::NumberFor;
/// Local Storage Prefix used by the Offchain Worker API to
pub const STORAGE_PREFIX: &[u8] = b"storage";
sr_api::decl_runtime_apis! {
sp_api::decl_runtime_apis! {
/// The offchain worker api.
pub trait OffchainWorkerApi {
/// Starts the off-chain task for given block number.