Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Commit 3f38218

Browse files
committed
Merge branch 'master' into td-signed-transactions
2 parents f85b890 + 368318c commit 3f38218

File tree

15 files changed

+106
-73
lines changed

15 files changed

+106
-73
lines changed

.gitlab-ci.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ stages:
1515

1616
variables:
1717
GIT_STRATEGY: fetch
18+
GIT_DEPTH: "3"
1819
CARGO_HOME: "/ci-cache/${CI_PROJECT_NAME}/cargo/${CI_JOB_NAME}"
1920
SCCACHE_DIR: "/ci-cache/${CI_PROJECT_NAME}/sccache"
2021
CARGO_INCREMENTAL: 0
@@ -55,6 +56,8 @@ variables:
5556
- runner_system_failure
5657
- unknown_failure
5758
- api_failure
59+
dependencies: []
60+
interruptible: true
5861
tags:
5962
- linux-docker
6063

@@ -79,6 +82,7 @@ check-runtime:
7982
GITHUB_API_PROJECT: "parity%2Finfrastructure%2Fgithub-api"
8083
script:
8184
- ./.maintain/gitlab/check_runtime.sh
85+
interruptible: true
8286
allow_failure: true
8387

8488

@@ -90,6 +94,7 @@ check-line-width:
9094
- /^[0-9]+$/
9195
script:
9296
- ./.maintain/gitlab/check_line_width.sh
97+
interruptible: true
9398
allow_failure: true
9499

95100

@@ -351,8 +356,6 @@ check_polkadot:
351356
stage: build
352357
<<: *docker-env
353358
allow_failure: true
354-
dependencies:
355-
- test-linux-stable
356359
script:
357360
- COMMIT_HASH=$(git rev-parse HEAD)
358361
- SUBSTRATE_PATH=$(pwd)

.maintain/rename-crates-for-2.0.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ function rename() {
2222
rename_gitlabci $old $new
2323
# and it appears, we have the same syntax in rust files
2424
rust_rename $old $new
25-
25+
2626
# but generally we have the snail case syntax in rust files
2727
old=$(echo $old | sed s/-/_/g );
2828
new=$(echo $new | sed s/-/_/g );
@@ -57,7 +57,7 @@ TO_RENAME=(
5757
"substrate-runtime-interface-proc-macro sp-runtime-interface-proc-macro"
5858
"substrate-runtime-interface-test-wasm sp-runtime-interface-test-wasm"
5959
"substrate-serializer sp-serializer"
60-
"substrate-session sp-sesssion"
60+
"substrate-session sp-session"
6161
"sr-api sp-api"
6262
"sr-api-proc-macro sp-api-proc-macro"
6363
"sr-api-test sp-api-test"
@@ -103,10 +103,10 @@ TO_RENAME=(
103103
"substrate-state-db sc-state-db"
104104
"substrate-telemetry sc-telemetry"
105105
"substrate-tracing sc-tracing"
106-
106+
107107
);
108108

109109
for rule in "${TO_RENAME[@]}"
110110
do
111111
rename "$rule";
112-
done
112+
done

Cargo.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bin/node-template/runtime/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ safe-mix = { version = "1.0.0", default-features = false }
2323
serde = { version = "1.0.101", optional = true, features = ["derive"] }
2424
sp-api = { path = "../../../primitives/sr-api", default-features = false }
2525
sp-runtime = { path = "../../../primitives/sr-primitives", default-features = false }
26-
sp-sesssion = { path = "../../../primitives/session", default-features = false }
26+
sp-session = { path = "../../../primitives/session", default-features = false }
2727
sudo = { package = "pallet-sudo", path = "../../../frame/sudo", default-features = false }
2828
support = { package = "frame-support", path = "../../../frame/support", default-features = false }
2929
system = { package = "frame-system", path = "../../../frame/system", default-features = false }
@@ -56,7 +56,7 @@ std = [
5656
"serde",
5757
"sp-api/std",
5858
"sp-runtime/std",
59-
"sp-sesssion/std",
59+
"sp-session/std",
6060
"sudo/std",
6161
"support/std",
6262
"system/std",

bin/node-template/runtime/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ impl_runtime_apis! {
350350
}
351351
}
352352

353-
impl sp_sesssion::SessionKeys<Block> for Runtime {
353+
impl sp_session::SessionKeys<Block> for Runtime {
354354
fn generate_session_keys(seed: Option<Vec<u8>>) -> Vec<u8> {
355355
opaque::SessionKeys::generate(seed)
356356
}

bin/node/runtime/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ sp-api = { path = "../../../primitives/sr-api", default-features = false }
2626
sp-runtime = { path = "../../../primitives/sr-primitives", default-features = false }
2727
sp-staking = { path = "../../../primitives/sr-staking-primitives", default-features = false }
2828
sp-keyring = { path = "../../../primitives/keyring", optional = true }
29-
sp-sesssion = { path = "../../../primitives/session", default-features = false }
29+
sp-session = { path = "../../../primitives/session", default-features = false }
3030
txpool-runtime-api = { package = "sp-transaction-pool-runtime-api", path = "../../../primitives/transaction-pool/runtime-api", default-features = false }
3131
version = { package = "sp-version", path = "../../../primitives/sr-version", default-features = false }
3232

@@ -107,7 +107,7 @@ std = [
107107
"sp-staking/std",
108108
"staking/std",
109109
"sp-keyring",
110-
"sp-sesssion/std",
110+
"sp-session/std",
111111
"sudo/std",
112112
"support/std",
113113
"system-rpc-runtime-api/std",

bin/node/runtime/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
7878
// and set impl_version to equal spec_version. If only runtime
7979
// implementation changes and behavior does not, then leave spec_version as
8080
// is and increment impl_version.
81-
spec_version: 197,
81+
spec_version: 198,
8282
impl_version: 198,
8383
apis: RUNTIME_API_VERSIONS,
8484
};
@@ -711,7 +711,7 @@ impl_runtime_apis! {
711711
}
712712
}
713713

714-
impl sp_sesssion::SessionKeys<Block> for Runtime {
714+
impl sp_session::SessionKeys<Block> for Runtime {
715715
fn generate_session_keys(seed: Option<Vec<u8>>) -> Vec<u8> {
716716
SessionKeys::generate(seed)
717717
}

client/rpc/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ primitives = { package = "sp-core", path = "../../primitives/core" }
1717
rpc = { package = "jsonrpc-core", version = "14.0.3" }
1818
runtime_version = { package = "sp-version", path = "../../primitives/sr-version" }
1919
serde_json = "1.0.41"
20-
session = { package = "sp-sesssion", path = "../../primitives/session" }
20+
session = { package = "sp-session", path = "../../primitives/session" }
2121
sp-runtime = { path = "../../primitives/sr-primitives" }
2222
rpc-primitives = { package = "sp-rpc", path = "../../primitives/rpc" }
2323
state_machine = { package = "sp-state-machine", path = "../../primitives/state-machine" }

client/service/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ sp-io = { path = "../../primitives/sr-io" }
3333
sp-runtime = { path = "../../primitives/sr-primitives" }
3434
sp-blockchain = { path = "../../primitives/blockchain" }
3535
primitives = { package = "sp-core", path = "../../primitives/core" }
36-
session = { package = "sp-sesssion", path = "../../primitives/session" }
36+
session = { package = "sp-session", path = "../../primitives/session" }
3737
app-crypto = { package = "sc-application-crypto", path = "../../primitives/application-crypto" }
3838
consensus_common = { package = "sp-consensus", path = "../../primitives/consensus/common" }
3939
network = { package = "sc-network", path = "../network" }

docs/CODEOWNERS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,3 +66,7 @@
6666

6767
# Support crates
6868
/frame/support/ @thiolliere @kianenigma
69+
70+
# Authority discovery
71+
/client/authority-discovery/ @mxinden
72+
/frame/authority-discovery/ @mxinden

0 commit comments

Comments
 (0)