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
+2 -2
View File
@@ -35,8 +35,8 @@ use api::Subscriptions;
use jsonrpc_pubsub::{typed::Subscriber, SubscriptionId};
use codec::{Encode, Decode};
use primitives::{Bytes, Blake2Hasher, H256, traits::BareCryptoStorePtr};
use sr_api::ConstructRuntimeApi;
use sr_primitives::{generic, traits::{self, ProvideRuntimeApi}};
use sp_api::ConstructRuntimeApi;
use sp_runtime::{generic, traits::{self, ProvideRuntimeApi}};
use txpool_api::{
TransactionPool, InPoolTransaction, TransactionStatus,
BlockHash, TxHash, TransactionFor, IntoPoolError,
+1 -1
View File
@@ -23,7 +23,7 @@ use api::Subscriptions;
use client_api::{CallExecutor, backend::Backend};
use client::Client;
use primitives::{H256, Blake2Hasher};
use sr_primitives::{
use sp_runtime::{
generic::{BlockId, SignedBlock},
traits::{Block as BlockT},
};
@@ -29,7 +29,7 @@ use client::{
},
};
use primitives::{H256, Blake2Hasher};
use sr_primitives::{
use sp_runtime::{
generic::{BlockId, SignedBlock},
traits::{Block as BlockT},
};
+1 -1
View File
@@ -38,7 +38,7 @@ use client::{
use jsonrpc_pubsub::{typed::Subscriber, SubscriptionId};
use primitives::{H256, Blake2Hasher};
use rpc_primitives::{number::NumberOrHex, list::ListOrValue};
use sr_primitives::{
use sp_runtime::{
generic::{BlockId, SignedBlock},
traits::{Block as BlockT, Header, NumberFor},
};
+2 -2
View File
@@ -33,11 +33,11 @@ use primitives::{
storage::{StorageKey, StorageData, StorageChangeSet},
};
use runtime_version::RuntimeVersion;
use sr_primitives::{
use sp_runtime::{
traits::{Block as BlockT, ProvideRuntimeApi},
};
use sr_api::Metadata;
use sp_api::Metadata;
use self::error::{Error, FutureResult};
+2 -2
View File
@@ -38,12 +38,12 @@ use primitives::{
};
use runtime_version::RuntimeVersion;
use state_machine::ExecutionStrategy;
use sr_primitives::{
use sp_runtime::{
generic::BlockId,
traits::{Block as BlockT, Header, NumberFor, ProvideRuntimeApi, SaturatedConversion},
};
use sr_api::Metadata;
use sp_api::Metadata;
use super::{StateBackend, error::{FutureResult, Error, Result}, client_err};
@@ -53,7 +53,7 @@ use primitives::{
storage::{StorageKey, StorageData, StorageChangeSet},
};
use runtime_version::RuntimeVersion;
use sr_primitives::{
use sp_runtime::{
generic::BlockId,
traits::Block as BlockT,
};
+1 -1
View File
@@ -22,7 +22,7 @@ use std::sync::Arc;
use assert_matches::assert_matches;
use futures01::stream::Stream;
use primitives::storage::well_known_keys;
use sr_io::hashing::blake2_256;
use sp_io::hashing::blake2_256;
use test_client::{
prelude::*,
consensus::BlockOrigin,
+1 -1
View File
@@ -21,7 +21,7 @@ mod tests;
use futures::{channel::{mpsc, oneshot}, compat::Compat};
use api::Receiver;
use sr_primitives::traits::{self, Header as HeaderT};
use sp_runtime::traits::{self, Header as HeaderT};
use self::error::Result;
pub use api::system::*;