mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 17:31:05 +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,14 +1,14 @@
|
||||
[package]
|
||||
name = "substrate-session"
|
||||
name = "sp-sesssion"
|
||||
version = "2.0.0"
|
||||
authors = ["Parity Technologies <admin@parity.io>"]
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
sr-api = { path = "../sr-api", default-features = false }
|
||||
rstd = { package = "sr-std", path = "../sr-std", default-features = false }
|
||||
sr-primitives = { path = "../sr-primitives", optional = true }
|
||||
sp-api = { path = "../sr-api", default-features = false }
|
||||
rstd = { package = "sp-std", path = "../sr-std", default-features = false }
|
||||
sp-runtime = { path = "../sr-primitives", optional = true }
|
||||
|
||||
[features]
|
||||
default = [ "std" ]
|
||||
std = [ "sr-api/std", "rstd/std", "sr-primitives" ]
|
||||
std = [ "sp-api/std", "rstd/std", "sp-runtime" ]
|
||||
|
||||
@@ -21,9 +21,9 @@
|
||||
use rstd::vec::Vec;
|
||||
|
||||
#[cfg(feature = "std")]
|
||||
use sr_primitives::{generic::BlockId, traits::{ProvideRuntimeApi, Block as BlockT}};
|
||||
use sp_runtime::{generic::BlockId, traits::{ProvideRuntimeApi, Block as BlockT}};
|
||||
|
||||
sr_api::decl_runtime_apis! {
|
||||
sp_api::decl_runtime_apis! {
|
||||
/// Session keys runtime api.
|
||||
pub trait SessionKeys {
|
||||
/// Generate a set of session keys with optionally using the given seed.
|
||||
@@ -44,7 +44,7 @@ pub fn generate_initial_session_keys<Block, T>(
|
||||
client: std::sync::Arc<T>,
|
||||
at: &BlockId<Block>,
|
||||
seeds: Vec<String>,
|
||||
) -> Result<(), <<T as ProvideRuntimeApi>::Api as sr_api::ApiExt<Block>>::Error>
|
||||
) -> Result<(), <<T as ProvideRuntimeApi>::Api as sp_api::ApiExt<Block>>::Error>
|
||||
where
|
||||
Block: BlockT,
|
||||
T: ProvideRuntimeApi,
|
||||
|
||||
Reference in New Issue
Block a user