forked from paritytech/polkadot
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch to edition 2021 (paritytech#4976)
* Switch to edition 2021 * Reset bridges * Fix compilation * Fix test-runtime * Fix malus
- Loading branch information
Showing
81 changed files
with
86 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ description = "Implementation of a `https://polkadot.network` node in Rust based | |
license = "GPL-3.0-only" | ||
version = "0.9.17" | ||
authors = ["Parity Technologies <[email protected]>"] | ||
edition = "2018" | ||
edition = "2021" | ||
rust-version = "1.57.0" # custom profiles | ||
readme = "README.md" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ name = "polkadot-cli" | |
version = "0.9.17" | ||
authors = ["Parity Technologies <[email protected]>"] | ||
description = "Polkadot Relay-chain Client Node" | ||
edition = "2018" | ||
edition = "2021" | ||
|
||
[package.metadata.wasm-pack.profile.release] | ||
# `wasm-opt` has some problems on Linux, see | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
name = "polkadot-core-primitives" | ||
version = "0.9.17" | ||
authors = ["Parity Technologies <[email protected]>"] | ||
edition = "2018" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
name = "polkadot-erasure-coding" | ||
version = "0.9.17" | ||
authors = ["Parity Technologies <[email protected]>"] | ||
edition = "2018" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
polkadot-primitives = { path = "../primitives" } | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
name = "erasure_coding_fuzzer" | ||
version = "0.9.17" | ||
authors = ["Parity Technologies <[email protected]>"] | ||
edition = "2018" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
polkadot-erasure-coding = { path = ".." } | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
name = "polkadot-client" | ||
version = "0.9.17" | ||
authors = ["Parity Technologies <[email protected]>"] | ||
edition = "2018" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master" } | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
name = "polkadot-node-collation-generation" | ||
version = "0.9.17" | ||
authors = ["Parity Technologies <[email protected]>"] | ||
edition = "2018" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
futures = "0.3.21" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
name = "polkadot-node-core-approval-voting" | ||
version = "0.9.17" | ||
authors = ["Parity Technologies <[email protected]>"] | ||
edition = "2018" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
futures = "0.3.21" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
name = "polkadot-node-core-av-store" | ||
version = "0.9.17" | ||
authors = ["Parity Technologies <[email protected]>"] | ||
edition = "2018" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
futures = "0.3.21" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
name = "polkadot-node-core-backing" | ||
version = "0.9.17" | ||
authors = ["Parity Technologies <[email protected]>"] | ||
edition = "2018" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
futures = "0.3.21" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
name = "polkadot-node-core-bitfield-signing" | ||
version = "0.9.17" | ||
authors = ["Parity Technologies <[email protected]>"] | ||
edition = "2018" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
futures = "0.3.21" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
name = "polkadot-node-core-candidate-validation" | ||
version = "0.9.17" | ||
authors = ["Parity Technologies <[email protected]>"] | ||
edition = "2018" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
async-trait = "0.1.52" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
name = "polkadot-node-core-chain-api" | ||
version = "0.9.17" | ||
authors = ["Parity Technologies <[email protected]>"] | ||
edition = "2018" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
futures = "0.3.21" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ name = "polkadot-node-core-chain-selection" | |
description = "Chain Selection Subsystem" | ||
version = "0.9.17" | ||
authors = ["Parity Technologies <[email protected]>"] | ||
edition = "2018" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
futures = "0.3.21" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
name = "polkadot-node-core-dispute-coordinator" | ||
version = "0.9.17" | ||
authors = ["Parity Technologies <[email protected]>"] | ||
edition = "2018" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
futures = "0.3.21" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
name = "polkadot-node-core-parachains-inherent" | ||
version = "0.9.17" | ||
authors = ["Parity Technologies <[email protected]>"] | ||
edition = "2018" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
futures = "0.3.21" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
name = "polkadot-node-core-provisioner" | ||
version = "0.9.17" | ||
authors = ["Parity Technologies <[email protected]>"] | ||
edition = "2018" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
bitvec = { version = "0.20.1", default-features = false, features = ["alloc"] } | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
name = "polkadot-node-core-pvf-checker" | ||
version = "0.9.17" | ||
authors = ["Parity Technologies <[email protected]>"] | ||
edition = "2018" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
futures = "0.3.21" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
name = "polkadot-node-core-pvf" | ||
version = "0.9.17" | ||
authors = ["Parity Technologies <[email protected]>"] | ||
edition = "2018" | ||
edition = "2021" | ||
|
||
[[bin]] | ||
name = "puppet_worker" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
name = "polkadot-node-core-runtime-api" | ||
version = "0.9.17" | ||
authors = ["Parity Technologies <[email protected]>"] | ||
edition = "2018" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
futures = "0.3.21" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
name = "polkadot-node-jaeger" | ||
version = "0.9.17" | ||
authors = ["Parity Technologies <[email protected]>"] | ||
edition = "2018" | ||
edition = "2021" | ||
description = "Polkadot Jaeger primitives" | ||
|
||
[dependencies] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ description = "Misbehaving nodes for local testnets, system and Simnet tests." | |
license = "GPL-3.0-only" | ||
version = "0.9.17" | ||
authors = ["Parity Technologies <[email protected]>"] | ||
edition = "2018" | ||
edition = "2021" | ||
readme = "README.md" | ||
publish = false | ||
|
||
|
@@ -13,7 +13,7 @@ name = "malus" | |
path = "src/malus.rs" | ||
|
||
[dependencies] | ||
polkadot-cli = { path = "../../cli", default-features = false, features = ["cli", "malus"] } | ||
polkadot-cli = { path = "../../cli", default-features = false, features = ["cli", "malus", "polkadot-native"] } | ||
polkadot-node-subsystem = { path = "../subsystem" } | ||
polkadot-node-subsystem-util = { path = "../subsystem-util" } | ||
polkadot-node-subsystem-types = { path = "../subsystem-types" } | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
name = "metered-channel" | ||
version = "0.9.17" | ||
authors = ["Parity Technologies <[email protected]>"] | ||
edition = "2018" | ||
edition = "2021" | ||
description = "Channels with attached Meters" | ||
|
||
[dependencies] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
name = "polkadot-node-metrics" | ||
version = "0.9.17" | ||
authors = ["Parity Technologies <[email protected]>"] | ||
edition = "2018" | ||
edition = "2021" | ||
description = "Subsystem metric helpers" | ||
|
||
[dependencies] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
name = "polkadot-approval-distribution" | ||
version = "0.9.17" | ||
authors = ["Parity Technologies <[email protected]>"] | ||
edition = "2018" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
polkadot-node-primitives = { path = "../../primitives" } | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
name = "polkadot-availability-distribution" | ||
version = "0.9.17" | ||
authors = ["Parity Technologies <[email protected]>"] | ||
edition = "2018" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
futures = "0.3.21" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
name = "polkadot-availability-recovery" | ||
version = "0.9.17" | ||
authors = ["Parity Technologies <[email protected]>"] | ||
edition = "2018" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
futures = "0.3.21" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
name = "polkadot-availability-bitfield-distribution" | ||
version = "0.9.17" | ||
authors = ["Parity Technologies <[email protected]>"] | ||
edition = "2018" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
futures = "0.3.21" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
name = "polkadot-network-bridge" | ||
version = "0.9.17" | ||
authors = ["Parity Technologies <[email protected]>"] | ||
edition = "2018" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
async-trait = "0.1.52" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
name = "polkadot-collator-protocol" | ||
version = "0.9.17" | ||
authors = ["Parity Technologies <[email protected]>"] | ||
edition = "2018" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
always-assert = "0.1.2" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
name = "polkadot-dispute-distribution" | ||
version = "0.9.17" | ||
authors = ["Parity Technologies <[email protected]>"] | ||
edition = "2018" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
futures = "0.3.21" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
name = "polkadot-gossip-support" | ||
version = "0.9.17" | ||
authors = ["Parity Technologies <[email protected]>"] | ||
edition = "2018" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "master" } | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
name = "polkadot-node-network-protocol" | ||
version = "0.9.17" | ||
authors = ["Parity Technologies <[email protected]>"] | ||
edition = "2018" | ||
edition = "2021" | ||
description = "Primitives types for the Node-side" | ||
|
||
[dependencies] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ name = "polkadot-statement-distribution" | |
version = "0.9.17" | ||
authors = ["Parity Technologies <[email protected]>"] | ||
description = "Statement Distribution Subsystem" | ||
edition = "2018" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
futures = "0.3.21" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
name = "polkadot-overseer" | ||
version = "0.9.17" | ||
authors = ["Parity Technologies <[email protected]>"] | ||
edition = "2018" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
client = { package = "sc-client-api", git = "https://github.com/paritytech/substrate", branch = "master" } | ||
|
Oops, something went wrong.