mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 00:01:09 +00:00
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:
committed by
GitHub
parent
40f6d05a4c
commit
927e13c13a
@@ -1,28 +1,28 @@
|
||||
[package]
|
||||
name = "substrate-rpc"
|
||||
name = "sc-rpc"
|
||||
version = "2.0.0"
|
||||
authors = ["Parity Technologies <admin@parity.io>"]
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
api = { package = "sc-rpc-api", path = "./api" }
|
||||
client-api = { package = "substrate-client-api", path = "../api" }
|
||||
client = { package = "substrate-client", path = "../" }
|
||||
sr-api = { path = "../../primitives/sr-api" }
|
||||
client-api = { package = "sc-client-api", path = "../api" }
|
||||
client = { package = "sc-client", path = "../" }
|
||||
sp-api = { path = "../../primitives/sr-api" }
|
||||
codec = { package = "parity-scale-codec", version = "1.0.0" }
|
||||
futures = { version = "0.3.1", features = ["compat"] }
|
||||
jsonrpc-pubsub = "14.0.3"
|
||||
log = "0.4.8"
|
||||
primitives = { package = "substrate-primitives", path = "../../primitives/core" }
|
||||
primitives = { package = "sp-core", path = "../../primitives/core" }
|
||||
rpc = { package = "jsonrpc-core", version = "14.0.3" }
|
||||
runtime_version = { package = "sr-version", path = "../../primitives/sr-version" }
|
||||
runtime_version = { package = "sp-version", path = "../../primitives/sr-version" }
|
||||
serde_json = "1.0.41"
|
||||
session = { package = "substrate-session", path = "../../primitives/session" }
|
||||
sr-primitives = { path = "../../primitives/sr-primitives" }
|
||||
rpc-primitives = { package = "substrate-rpc-primitives", path = "../../primitives/rpc" }
|
||||
state_machine = { package = "substrate-state-machine", path = "../../primitives/state-machine" }
|
||||
substrate-executor = { path = "../executor" }
|
||||
substrate-keystore = { path = "../keystore" }
|
||||
session = { package = "sp-sesssion", path = "../../primitives/session" }
|
||||
sp-runtime = { path = "../../primitives/sr-primitives" }
|
||||
rpc-primitives = { package = "sp-rpc", path = "../../primitives/rpc" }
|
||||
state_machine = { package = "sp-state-machine", path = "../../primitives/state-machine" }
|
||||
sc-executor = { path = "../executor" }
|
||||
sc-keystore = { path = "../keystore" }
|
||||
txpool-api = { package = "sp-transaction-pool-api", path = "../../primitives/transaction-pool" }
|
||||
sp-blockchain = { path = "../../primitives/blockchain" }
|
||||
hash-db = { version = "0.15.2", default-features = false }
|
||||
@@ -31,9 +31,9 @@ parking_lot = { version = "0.9.0" }
|
||||
[dev-dependencies]
|
||||
assert_matches = "1.3.0"
|
||||
futures01 = { package = "futures", version = "0.1.29" }
|
||||
network = { package = "substrate-network", path = "../network" }
|
||||
network = { package = "sc-network", path = "../network" }
|
||||
rustc-hex = "2.0.1"
|
||||
sr-io = { path = "../../primitives/sr-io" }
|
||||
sp-io = { path = "../../primitives/sr-io" }
|
||||
test-client = { package = "substrate-test-runtime-client", path = "../../test/utils/runtime/client" }
|
||||
tokio = "0.1.22"
|
||||
txpool = { package = "sc-transaction-pool", path = "../transaction-pool" }
|
||||
txpool = { package = "sc-tracing-pool", path = "../transaction-pool" }
|
||||
|
||||
@@ -14,9 +14,9 @@ jsonrpc-derive = "14.0.3"
|
||||
jsonrpc-pubsub = "14.0.3"
|
||||
log = "0.4.8"
|
||||
parking_lot = "0.9.0"
|
||||
primitives = { package = "substrate-primitives", path = "../../../primitives/core" }
|
||||
runtime_version = { package = "sr-version", path = "../../../primitives/sr-version" }
|
||||
primitives = { package = "sp-core", path = "../../../primitives/core" }
|
||||
runtime_version = { package = "sp-version", path = "../../../primitives/sr-version" }
|
||||
serde = { version = "1.0.101", features = ["derive"] }
|
||||
serde_json = "1.0.41"
|
||||
txpool-api = { package = "sp-transaction-pool-api", path = "../../../primitives/transaction-pool" }
|
||||
rpc-primitives = { package = "substrate-rpc-primitives", path = "../../../primitives/rpc" }
|
||||
rpc-primitives = { package = "sp-rpc", path = "../../../primitives/rpc" }
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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},
|
||||
};
|
||||
|
||||
@@ -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},
|
||||
};
|
||||
|
||||
@@ -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};
|
||||
|
||||
|
||||
@@ -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,
|
||||
};
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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::*;
|
||||
|
||||
Reference in New Issue
Block a user