mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 15: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
@@ -1,18 +1,18 @@
|
||||
[package]
|
||||
name = "sr-staking-primitives"
|
||||
name = "sp-staking"
|
||||
version = "2.0.0"
|
||||
authors = ["Parity Technologies <admin@parity.io>"]
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
codec = { package = "parity-scale-codec", version = "1.0.0", default-features = false, features = ["derive"] }
|
||||
sr-primitives = { path = "../sr-primitives", default-features = false }
|
||||
rstd = { package = "sr-std", path = "../sr-std", default-features = false }
|
||||
sp-runtime = { path = "../sr-primitives", default-features = false }
|
||||
rstd = { package = "sp-std", path = "../sr-std", default-features = false }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
std = [
|
||||
"codec/std",
|
||||
"sr-primitives/std",
|
||||
"sp-runtime/std",
|
||||
"rstd/std",
|
||||
]
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
use rstd::vec::Vec;
|
||||
|
||||
use codec::{Encode, Decode};
|
||||
use sr_primitives::Perbill;
|
||||
use sp_runtime::Perbill;
|
||||
|
||||
use crate::SessionIndex;
|
||||
|
||||
@@ -135,7 +135,7 @@ impl<Reporter, Offender> OnOffenceHandler<Reporter, Offender> for () {
|
||||
}
|
||||
|
||||
/// A details about an offending authority for a particular kind of offence.
|
||||
#[derive(Clone, PartialEq, Eq, Encode, Decode, sr_primitives::RuntimeDebug)]
|
||||
#[derive(Clone, PartialEq, Eq, Encode, Decode, sp_runtime::RuntimeDebug)]
|
||||
pub struct OffenceDetails<Reporter, Offender> {
|
||||
/// The offending authority id
|
||||
pub offender: Offender,
|
||||
|
||||
Reference in New Issue
Block a user