mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 18:41: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,14 +7,14 @@ edition = "2018"
|
||||
[dependencies]
|
||||
safe-mix = { version = "1.0", default-features = false }
|
||||
codec = { package = "parity-scale-codec", version = "1.0.0", default-features = false, features = ["derive"] }
|
||||
sr-primitives = { path = "../../primitives/sr-primitives", 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 }
|
||||
rstd = { package = "sr-std", path = "../../primitives/sr-std", default-features = false }
|
||||
rstd = { package = "sp-std", path = "../../primitives/sr-std", default-features = false }
|
||||
|
||||
[dev-dependencies]
|
||||
primitives = { package = "substrate-primitives", path = "../../primitives/core" }
|
||||
runtime-io = { package = "sr-io", path = "../../primitives/sr-io" }
|
||||
primitives = { package = "sp-core", path = "../../primitives/core" }
|
||||
runtime-io = { package = "sp-io", path = "../../primitives/sr-io" }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
@@ -23,6 +23,6 @@ std = [
|
||||
"system/std",
|
||||
"codec/std",
|
||||
"support/std",
|
||||
"sr-primitives/std",
|
||||
"sp-runtime/std",
|
||||
"rstd/std",
|
||||
]
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
#![cfg_attr(not(feature = "std"), no_std)]
|
||||
|
||||
use rstd::{prelude::*, convert::TryInto};
|
||||
use sr_primitives::traits::Hash;
|
||||
use sp_runtime::traits::Hash;
|
||||
use support::{decl_module, decl_storage, traits::Randomness};
|
||||
use safe_mix::TripletMix;
|
||||
use codec::Encode;
|
||||
@@ -153,7 +153,7 @@ impl<T: Trait> Randomness<T::Hash> for Module<T> {
|
||||
mod tests {
|
||||
use super::*;
|
||||
use primitives::H256;
|
||||
use sr_primitives::{
|
||||
use sp_runtime::{
|
||||
Perbill, traits::{BlakeTwo256, OnInitialize, Header as _, IdentityLookup}, testing::Header,
|
||||
};
|
||||
use support::{impl_outer_origin, parameter_types, weights::Weight, traits::Randomness};
|
||||
|
||||
Reference in New Issue
Block a user