mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 04:41: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
@@ -8,11 +8,11 @@ edition = "2018"
|
||||
serde = { version = "1.0.101", optional = true, features = ["derive"] }
|
||||
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 }
|
||||
sr-version = { path = "../../primitives/sr-version", 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 }
|
||||
sp-version = { path = "../../primitives/sr-version", default-features = false }
|
||||
support = { package = "frame-support", path = "../support", default-features = false }
|
||||
impl-trait-for-tuples = "0.1.3"
|
||||
|
||||
@@ -29,8 +29,8 @@ std = [
|
||||
"rstd/std",
|
||||
"runtime-io/std",
|
||||
"support/std",
|
||||
"sr-primitives/std",
|
||||
"sr-version/std",
|
||||
"sp-runtime/std",
|
||||
"sp-version/std",
|
||||
]
|
||||
|
||||
[[bench]]
|
||||
|
||||
@@ -18,7 +18,7 @@ use criterion::{Criterion, criterion_group, criterion_main, black_box};
|
||||
use frame_system as system;
|
||||
use support::{decl_module, decl_event, impl_outer_origin, impl_outer_event, weights::Weight};
|
||||
use primitives::H256;
|
||||
use sr_primitives::{Perbill, traits::{BlakeTwo256, IdentityLookup}, testing::Header};
|
||||
use sp_runtime::{Perbill, traits::{BlakeTwo256, IdentityLookup}, testing::Header};
|
||||
|
||||
mod module {
|
||||
use super::*;
|
||||
|
||||
@@ -5,12 +5,12 @@ authors = ["Parity Technologies <admin@parity.io>"]
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
sr-api = { path = "../../../../primitives/sr-api", default-features = false }
|
||||
sp-api = { path = "../../../../primitives/sr-api", default-features = false }
|
||||
codec = { package = "parity-scale-codec", version = "1.0.0", default-features = false }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
std = [
|
||||
"sr-api/std",
|
||||
"sp-api/std",
|
||||
"codec/std",
|
||||
]
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
#![cfg_attr(not(feature = "std"), no_std)]
|
||||
|
||||
sr_api::decl_runtime_apis! {
|
||||
sp_api::decl_runtime_apis! {
|
||||
/// The API to query account nonce (aka transaction index).
|
||||
pub trait AccountNonceApi<AccountId, Index> where
|
||||
AccountId: codec::Codec,
|
||||
|
||||
@@ -95,8 +95,8 @@ use rstd::prelude::*;
|
||||
use rstd::map;
|
||||
use rstd::marker::PhantomData;
|
||||
use rstd::fmt::Debug;
|
||||
use sr_version::RuntimeVersion;
|
||||
use sr_primitives::{
|
||||
use sp_version::RuntimeVersion;
|
||||
use sp_runtime::{
|
||||
RuntimeDebug,
|
||||
generic::{self, Era}, Perbill, DispatchOutcome, DispatchError,
|
||||
transaction_validity::{
|
||||
@@ -1139,7 +1139,7 @@ impl<T: Trait> Lookup for ChainContext<T> {
|
||||
mod tests {
|
||||
use super::*;
|
||||
use primitives::H256;
|
||||
use sr_primitives::{traits::{BlakeTwo256, IdentityLookup}, testing::Header, DispatchError};
|
||||
use sp_runtime::{traits::{BlakeTwo256, IdentityLookup}, testing::Header, DispatchError};
|
||||
use support::{impl_outer_origin, parameter_types};
|
||||
|
||||
impl_outer_origin! {
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
//! Module helpers for offchain calls.
|
||||
|
||||
use codec::Encode;
|
||||
use sr_primitives::app_crypto::{self, RuntimeAppPublic};
|
||||
use sr_primitives::traits::{Extrinsic as ExtrinsicT, IdentifyAccount};
|
||||
use sp_runtime::app_crypto::{self, RuntimeAppPublic};
|
||||
use sp_runtime::traits::{Extrinsic as ExtrinsicT, IdentifyAccount};
|
||||
|
||||
/// A trait responsible for signing a payload using given account.
|
||||
pub trait Signer<Public, Signature> {
|
||||
|
||||
Reference in New Issue
Block a user