mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-17 12:31:03 +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
@@ -7,15 +7,15 @@ edition = "2018"
|
||||
[dependencies]
|
||||
codec = { package = "parity-scale-codec", version = "1.0.0", default-features = false, features = ["derive"] }
|
||||
serde = { version = "1.0.101", optional = true }
|
||||
runtime-io = { package = "sr-io", path = "../../primitives/sr-io", default-features = false }
|
||||
sr-primitives = { path = "../../primitives/sr-primitives", default-features = false }
|
||||
rstd = { package = "sr-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 }
|
||||
rstd = { package = "sp-std", path = "../../primitives/sr-std", default-features = false }
|
||||
support = { package = "frame-support", path = "../support", default-features = false }
|
||||
system = { package = "frame-system", path = "../system", default-features = false }
|
||||
|
||||
[dev-dependencies]
|
||||
balances = { package = "pallet-balances", path = "../balances" }
|
||||
primitives = { package = "substrate-primitives", path = "../../primitives/core" }
|
||||
primitives = { package = "sp-core", path = "../../primitives/core" }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
@@ -23,7 +23,7 @@ std = [
|
||||
"codec/std",
|
||||
"serde",
|
||||
"runtime-io/std",
|
||||
"sr-primitives/std",
|
||||
"sp-runtime/std",
|
||||
"rstd/std",
|
||||
"support/std",
|
||||
"system/std",
|
||||
|
||||
@@ -98,7 +98,7 @@ use support::{
|
||||
traits::{ChangeMembers, InitializeMembers, Currency, Get, ReservableCurrency},
|
||||
};
|
||||
use system::{self, ensure_root, ensure_signed};
|
||||
use sr_primitives::{
|
||||
use sp_runtime::{
|
||||
traits::{EnsureOrigin, SimpleArithmetic, MaybeSerializeDeserialize, Zero, StaticLookup},
|
||||
};
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ use support::{impl_outer_origin, parameter_types, weights::Weight};
|
||||
use primitives::H256;
|
||||
// The testing primitives are very useful for avoiding having to work with signatures
|
||||
// or public keys. `u64` is used as the `AccountId` and no `Signature`s are requried.
|
||||
use sr_primitives::{
|
||||
use sp_runtime::{
|
||||
Perbill, traits::{BlakeTwo256, IdentityLookup}, testing::Header,
|
||||
};
|
||||
use system::EnsureSignedBy;
|
||||
|
||||
@@ -20,7 +20,7 @@ use super::*;
|
||||
use mock::*;
|
||||
|
||||
use support::{assert_ok, assert_noop};
|
||||
use sr_primitives::traits::OnInitialize;
|
||||
use sp_runtime::traits::OnInitialize;
|
||||
|
||||
type ScoredPool = Module<Test>;
|
||||
type System = system::Module<Test>;
|
||||
|
||||
Reference in New Issue
Block a user