mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-24 02:01:06 +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
@@ -8,10 +8,10 @@ edition = "2018"
|
||||
serde = { version = "1.0.101", optional = true }
|
||||
safe-mix = { version = "1.0.0", 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 }
|
||||
rstd = { package = "sr-std", path = "../../primitives/sr-std", default-features = false }
|
||||
runtime-io = { package = "sr-io", path = "../../primitives/sr-io", default-features = false }
|
||||
sr-primitives = { path = "../../primitives/sr-primitives", default-features = false }
|
||||
primitives = { package = "sp-core", path = "../../primitives/core", default-features = false }
|
||||
rstd = { package = "sp-std", path = "../../primitives/sr-std", default-features = false }
|
||||
runtime-io = { package = "sp-io", path = "../../primitives/sr-io", default-features = false }
|
||||
sp-runtime = { path = "../../primitives/sr-primitives", default-features = false }
|
||||
support = { package = "frame-support", path = "../support", default-features = false }
|
||||
system = { package = "frame-system", path = "../system", default-features = false }
|
||||
|
||||
@@ -29,6 +29,6 @@ std = [
|
||||
"serde",
|
||||
"runtime-io/std",
|
||||
"support/std",
|
||||
"sr-primitives/std",
|
||||
"sp-runtime/std",
|
||||
"system/std",
|
||||
]
|
||||
|
||||
@@ -25,8 +25,8 @@
|
||||
|
||||
use rstd::{prelude::*, result};
|
||||
use primitives::u32_trait::Value as U32;
|
||||
use sr_primitives::RuntimeDebug;
|
||||
use sr_primitives::traits::{Hash, EnsureOrigin};
|
||||
use sp_runtime::RuntimeDebug;
|
||||
use sp_runtime::traits::{Hash, EnsureOrigin};
|
||||
use support::weights::SimpleDispatchInfo;
|
||||
use support::{
|
||||
dispatch::{Dispatchable, Parameter}, codec::{Encode, Decode},
|
||||
@@ -382,7 +382,7 @@ mod tests {
|
||||
use system::{EventRecord, Phase};
|
||||
use hex_literal::hex;
|
||||
use primitives::H256;
|
||||
use sr_primitives::{
|
||||
use sp_runtime::{
|
||||
Perbill, traits::{BlakeTwo256, IdentityLookup, Block as BlockT}, testing::Header,
|
||||
BuildStorage,
|
||||
};
|
||||
@@ -422,8 +422,8 @@ mod tests {
|
||||
type Event = Event;
|
||||
}
|
||||
|
||||
pub type Block = sr_primitives::generic::Block<Header, UncheckedExtrinsic>;
|
||||
pub type UncheckedExtrinsic = sr_primitives::generic::UncheckedExtrinsic<u32, u64, Call, ()>;
|
||||
pub type Block = sp_runtime::generic::Block<Header, UncheckedExtrinsic>;
|
||||
pub type UncheckedExtrinsic = sp_runtime::generic::UncheckedExtrinsic<u32, u64, Call, ()>;
|
||||
|
||||
support::construct_runtime!(
|
||||
pub enum Test where
|
||||
|
||||
Reference in New Issue
Block a user