mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-09 20:11:09 +00:00
Fix sp-session typo (#4273)
* Fix sp-session typo * Remove erroneous whitespaces * Don't mess with the file, editor
This commit is contained in:
committed by
Benjamin Kampmann
parent
b6b48c4bc6
commit
4c2ba5b71f
@@ -22,7 +22,7 @@ function rename() {
|
||||
rename_gitlabci $old $new
|
||||
# and it appears, we have the same syntax in rust files
|
||||
rust_rename $old $new
|
||||
|
||||
|
||||
# but generally we have the snail case syntax in rust files
|
||||
old=$(echo $old | sed s/-/_/g );
|
||||
new=$(echo $new | sed s/-/_/g );
|
||||
@@ -57,7 +57,7 @@ TO_RENAME=(
|
||||
"substrate-runtime-interface-proc-macro sp-runtime-interface-proc-macro"
|
||||
"substrate-runtime-interface-test-wasm sp-runtime-interface-test-wasm"
|
||||
"substrate-serializer sp-serializer"
|
||||
"substrate-session sp-sesssion"
|
||||
"substrate-session sp-session"
|
||||
"sr-api sp-api"
|
||||
"sr-api-proc-macro sp-api-proc-macro"
|
||||
"sr-api-test sp-api-test"
|
||||
@@ -103,10 +103,10 @@ TO_RENAME=(
|
||||
"substrate-state-db sc-state-db"
|
||||
"substrate-telemetry sc-telemetry"
|
||||
"substrate-tracing sc-tracing"
|
||||
|
||||
|
||||
);
|
||||
|
||||
for rule in "${TO_RENAME[@]}"
|
||||
do
|
||||
rename "$rule";
|
||||
done
|
||||
done
|
||||
|
||||
Generated
+6
-6
@@ -3148,7 +3148,7 @@ dependencies = [
|
||||
"sp-keyring 2.0.0",
|
||||
"sp-offchain 2.0.0",
|
||||
"sp-runtime 2.0.0",
|
||||
"sp-sesssion 2.0.0",
|
||||
"sp-session 2.0.0",
|
||||
"sp-staking 2.0.0",
|
||||
"sp-std 2.0.0",
|
||||
"sp-transaction-pool-runtime-api 2.0.0",
|
||||
@@ -3216,7 +3216,7 @@ dependencies = [
|
||||
"sp-io 2.0.0",
|
||||
"sp-offchain 2.0.0",
|
||||
"sp-runtime 2.0.0",
|
||||
"sp-sesssion 2.0.0",
|
||||
"sp-session 2.0.0",
|
||||
"sp-std 2.0.0",
|
||||
"sp-transaction-pool-runtime-api 2.0.0",
|
||||
"sp-version 2.0.0",
|
||||
@@ -5392,7 +5392,7 @@ dependencies = [
|
||||
"sp-io 2.0.0",
|
||||
"sp-rpc 2.0.0",
|
||||
"sp-runtime 2.0.0",
|
||||
"sp-sesssion 2.0.0",
|
||||
"sp-session 2.0.0",
|
||||
"sp-state-machine 2.0.0",
|
||||
"sp-transaction-pool-api 2.0.0",
|
||||
"sp-version 2.0.0",
|
||||
@@ -5487,7 +5487,7 @@ dependencies = [
|
||||
"sp-finality-granpda 2.0.0",
|
||||
"sp-io 2.0.0",
|
||||
"sp-runtime 2.0.0",
|
||||
"sp-sesssion 2.0.0",
|
||||
"sp-session 2.0.0",
|
||||
"sp-transaction-pool-api 2.0.0",
|
||||
"sp-transaction-pool-runtime-api 2.0.0",
|
||||
"substrate-test-runtime-client 2.0.0",
|
||||
@@ -6319,7 +6319,7 @@ dependencies = [
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "sp-sesssion"
|
||||
name = "sp-session"
|
||||
version = "2.0.0"
|
||||
dependencies = [
|
||||
"sp-api 2.0.0",
|
||||
@@ -6646,7 +6646,7 @@ dependencies = [
|
||||
"sp-offchain 2.0.0",
|
||||
"sp-runtime 2.0.0",
|
||||
"sp-runtime-interface 2.0.0",
|
||||
"sp-sesssion 2.0.0",
|
||||
"sp-session 2.0.0",
|
||||
"sp-state-machine 2.0.0",
|
||||
"sp-std 2.0.0",
|
||||
"sp-transaction-pool-runtime-api 2.0.0",
|
||||
|
||||
@@ -23,7 +23,7 @@ safe-mix = { version = "1.0.0", default-features = false }
|
||||
serde = { version = "1.0.101", optional = true, features = ["derive"] }
|
||||
sp-api = { path = "../../../primitives/sr-api", default-features = false }
|
||||
sp-runtime = { path = "../../../primitives/sr-primitives", default-features = false }
|
||||
sp-sesssion = { path = "../../../primitives/session", default-features = false }
|
||||
sp-session = { path = "../../../primitives/session", default-features = false }
|
||||
sudo = { package = "pallet-sudo", path = "../../../frame/sudo", default-features = false }
|
||||
support = { package = "frame-support", path = "../../../frame/support", default-features = false }
|
||||
system = { package = "frame-system", path = "../../../frame/system", default-features = false }
|
||||
@@ -56,7 +56,7 @@ std = [
|
||||
"serde",
|
||||
"sp-api/std",
|
||||
"sp-runtime/std",
|
||||
"sp-sesssion/std",
|
||||
"sp-session/std",
|
||||
"sudo/std",
|
||||
"support/std",
|
||||
"system/std",
|
||||
|
||||
@@ -350,7 +350,7 @@ impl_runtime_apis! {
|
||||
}
|
||||
}
|
||||
|
||||
impl sp_sesssion::SessionKeys<Block> for Runtime {
|
||||
impl sp_session::SessionKeys<Block> for Runtime {
|
||||
fn generate_session_keys(seed: Option<Vec<u8>>) -> Vec<u8> {
|
||||
opaque::SessionKeys::generate(seed)
|
||||
}
|
||||
|
||||
@@ -26,7 +26,7 @@ sp-api = { path = "../../../primitives/sr-api", default-features = false }
|
||||
sp-runtime = { path = "../../../primitives/sr-primitives", default-features = false }
|
||||
sp-staking = { path = "../../../primitives/sr-staking-primitives", default-features = false }
|
||||
sp-keyring = { path = "../../../primitives/keyring", optional = true }
|
||||
sp-sesssion = { path = "../../../primitives/session", default-features = false }
|
||||
sp-session = { path = "../../../primitives/session", default-features = false }
|
||||
txpool-runtime-api = { package = "sp-transaction-pool-runtime-api", path = "../../../primitives/transaction-pool/runtime-api", default-features = false }
|
||||
version = { package = "sp-version", path = "../../../primitives/sr-version", default-features = false }
|
||||
|
||||
@@ -107,7 +107,7 @@ std = [
|
||||
"sp-staking/std",
|
||||
"staking/std",
|
||||
"sp-keyring",
|
||||
"sp-sesssion/std",
|
||||
"sp-session/std",
|
||||
"sudo/std",
|
||||
"support/std",
|
||||
"system-rpc-runtime-api/std",
|
||||
|
||||
@@ -711,7 +711,7 @@ impl_runtime_apis! {
|
||||
}
|
||||
}
|
||||
|
||||
impl sp_sesssion::SessionKeys<Block> for Runtime {
|
||||
impl sp_session::SessionKeys<Block> for Runtime {
|
||||
fn generate_session_keys(seed: Option<Vec<u8>>) -> Vec<u8> {
|
||||
SessionKeys::generate(seed)
|
||||
}
|
||||
|
||||
@@ -17,7 +17,7 @@ primitives = { package = "sp-core", path = "../../primitives/core" }
|
||||
rpc = { package = "jsonrpc-core", version = "14.0.3" }
|
||||
runtime_version = { package = "sp-version", path = "../../primitives/sr-version" }
|
||||
serde_json = "1.0.41"
|
||||
session = { package = "sp-sesssion", path = "../../primitives/session" }
|
||||
session = { package = "sp-session", path = "../../primitives/session" }
|
||||
sp-runtime = { path = "../../primitives/sr-primitives" }
|
||||
rpc-primitives = { package = "sp-rpc", path = "../../primitives/rpc" }
|
||||
state_machine = { package = "sp-state-machine", path = "../../primitives/state-machine" }
|
||||
|
||||
@@ -33,7 +33,7 @@ sp-io = { path = "../../primitives/sr-io" }
|
||||
sp-runtime = { path = "../../primitives/sr-primitives" }
|
||||
sp-blockchain = { path = "../../primitives/blockchain" }
|
||||
primitives = { package = "sp-core", path = "../../primitives/core" }
|
||||
session = { package = "sp-sesssion", path = "../../primitives/session" }
|
||||
session = { package = "sp-session", path = "../../primitives/session" }
|
||||
app-crypto = { package = "sc-application-crypto", path = "../../primitives/application-crypto" }
|
||||
consensus_common = { package = "sp-consensus", path = "../../primitives/consensus/common" }
|
||||
network = { package = "sc-network", path = "../network" }
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
[package]
|
||||
name = "sp-sesssion"
|
||||
name = "sp-session"
|
||||
version = "2.0.0"
|
||||
authors = ["Parity Technologies <admin@parity.io>"]
|
||||
edition = "2018"
|
||||
|
||||
@@ -25,7 +25,7 @@ runtime_io = { package = "sp-io", path = "../../../primitives/sr-io", default-fe
|
||||
runtime_support = { package = "frame-support", path = "../../../frame/support", default-features = false }
|
||||
runtime_version = { package = "sp-version", path = "../../../primitives/sr-version", default-features = false }
|
||||
serde = { version = "1.0.101", optional = true, features = ["derive"] }
|
||||
session = { package = "sp-sesssion", path = "../../../primitives/session", default-features = false }
|
||||
session = { package = "sp-session", path = "../../../primitives/session", default-features = false }
|
||||
sp-api = { path = "../../../primitives/sr-api", default-features = false }
|
||||
sp-runtime = { path = "../../../primitives/sr-primitives", default-features = false }
|
||||
pallet-babe = { path = "../../../frame/babe", default-features = false }
|
||||
|
||||
Reference in New Issue
Block a user