mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-20 16:21:02 +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
@@ -5,11 +5,11 @@ authors = ["Parity Technologies <admin@parity.io>"]
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
app-crypto = { package = "substrate-application-crypto", path = "../../../primitives/application-crypto", default-features = false }
|
||||
app-crypto = { package = "sc-application-crypto", path = "../../../primitives/application-crypto", default-features = false }
|
||||
codec = { package = "parity-scale-codec", version = "1.0.0", default-features = false, features = ["derive"] }
|
||||
primitives = { package = "substrate-primitives", path = "../../../primitives/core", default-features = false }
|
||||
primitives = { package = "sp-core", path = "../../../primitives/core", default-features = false }
|
||||
serde = { version = "1.0.101", optional = true, features = ["derive"] }
|
||||
sr-primitives = { path = "../../../primitives/sr-primitives", default-features = false }
|
||||
sp-runtime = { path = "../../../primitives/sr-primitives", default-features = false }
|
||||
|
||||
[features]
|
||||
default = [
|
||||
|
||||
@@ -24,7 +24,7 @@ use app_crypto::sr25519;
|
||||
pub use app_crypto;
|
||||
|
||||
pub use primitives::{hash::H256, RuntimeDebug};
|
||||
use sr_primitives::traits::{BlakeTwo256, Verify, Extrinsic as ExtrinsicT,};
|
||||
use sp_runtime::traits::{BlakeTwo256, Verify, Extrinsic as ExtrinsicT,};
|
||||
|
||||
/// Extrinsic for test-runtime.
|
||||
#[derive(Clone, PartialEq, Eq, Encode, Decode, RuntimeDebug)]
|
||||
@@ -69,10 +69,10 @@ pub type BlockNumber = u64;
|
||||
/// Index of a transaction.
|
||||
pub type Index = u64;
|
||||
/// The item of a block digest.
|
||||
pub type DigestItem = sr_primitives::generic::DigestItem<H256>;
|
||||
pub type DigestItem = sp_runtime::generic::DigestItem<H256>;
|
||||
/// The digest of a block.
|
||||
pub type Digest = sr_primitives::generic::Digest<H256>;
|
||||
pub type Digest = sp_runtime::generic::Digest<H256>;
|
||||
/// A test block.
|
||||
pub type Block = sr_primitives::generic::Block<Header, Extrinsic>;
|
||||
pub type Block = sp_runtime::generic::Block<Header, Extrinsic>;
|
||||
/// A test block's header.
|
||||
pub type Header = sr_primitives::generic::Header<BlockNumber, BlakeTwo256>;
|
||||
pub type Header = sp_runtime::generic::Header<BlockNumber, BlakeTwo256>;
|
||||
|
||||
Reference in New Issue
Block a user