mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 22:47:56 +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
@@ -1,22 +1,22 @@
|
||||
[package]
|
||||
name = "substrate-block-builder-runtime-api"
|
||||
name = "sp-block-builder"
|
||||
version = "2.0.0"
|
||||
authors = ["Parity Technologies <admin@parity.io>"]
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
sr-primitives = { path = "../../sr-primitives", default-features = false }
|
||||
sr-api = { path = "../../sr-api", default-features = false }
|
||||
rstd = { package = "sr-std", path = "../../sr-std", default-features = false }
|
||||
sp-runtime = { path = "../../sr-primitives", default-features = false }
|
||||
sp-api = { path = "../../sr-api", default-features = false }
|
||||
rstd = { package = "sp-std", path = "../../sr-std", default-features = false }
|
||||
codec = { package = "parity-scale-codec", version = "1.0.6", default-features = false }
|
||||
inherents = { package = "substrate-inherents", path = "../../inherents", default-features = false }
|
||||
inherents = { package = "sp-inherents", path = "../../inherents", default-features = false }
|
||||
|
||||
[features]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"sr-primitives/std",
|
||||
"sp-runtime/std",
|
||||
"codec/std",
|
||||
"inherents/std",
|
||||
"sr-api/std",
|
||||
"sp-api/std",
|
||||
"rstd/std",
|
||||
]
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
#![cfg_attr(not(feature = "std"), no_std)]
|
||||
|
||||
use sr_primitives::{traits::Block as BlockT, ApplyExtrinsicResult};
|
||||
use sp_runtime::{traits::Block as BlockT, ApplyExtrinsicResult};
|
||||
|
||||
use inherents::{InherentData, CheckInherentsResult};
|
||||
|
||||
@@ -27,7 +27,7 @@ use inherents::{InherentData, CheckInherentsResult};
|
||||
/// These definitions are taken from the 2c58e30246a029b53d51e5b24c31974ac539ee8b git revision.
|
||||
#[deprecated(note = "These definitions here are only for compatibility reasons")]
|
||||
pub mod compatability_v3 {
|
||||
use sr_primitives::{DispatchOutcome, transaction_validity};
|
||||
use sp_runtime::{DispatchOutcome, transaction_validity};
|
||||
use codec::{Encode, Decode};
|
||||
|
||||
#[derive(Eq, PartialEq, Clone, Copy, Decode, Encode, Debug)]
|
||||
@@ -41,7 +41,7 @@ pub mod compatability_v3 {
|
||||
pub type ApplyResult = Result<DispatchOutcome, ApplyError>;
|
||||
}
|
||||
|
||||
sr_api::decl_runtime_apis! {
|
||||
sp_api::decl_runtime_apis! {
|
||||
/// The `BlockBuilder` api trait that provides the required functionality for building a block.
|
||||
#[api_version(4)]
|
||||
pub trait BlockBuilder {
|
||||
|
||||
Reference in New Issue
Block a user