Unverified Commit 7754bea9 authored by Gavin Wood's avatar Gavin Wood Committed by GitHub
Browse files

Update Substrate (#649)

* Bump Substrate

* Bump version

* Reinstate wasmtime

* Fix warning.
parent e5138efc
Pipeline #70905 passed with stages
in 33 minutes and 49 seconds
This diff is collapsed.
...@@ -4,7 +4,7 @@ path = "src/main.rs" ...@@ -4,7 +4,7 @@ path = "src/main.rs"
[package] [package]
name = "polkadot" name = "polkadot"
version = "0.7.5" version = "0.7.6"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
build = "build.rs" build = "build.rs"
edition = "2018" edition = "2018"
......
[package] [package]
name = "polkadot-availability-store" name = "polkadot-availability-store"
description = "Persistent database for parachain data" description = "Persistent database for parachain data"
version = "0.7.5" version = "0.7.6"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
......
[package] [package]
name = "polkadot-cli" name = "polkadot-cli"
version = "0.7.5" version = "0.7.6"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
description = "Polkadot node implementation in Rust." description = "Polkadot node implementation in Rust."
edition = "2018" edition = "2018"
...@@ -15,6 +15,5 @@ cli = { package = "sc-cli", git = "https://github.com/paritytech/substrate", bra ...@@ -15,6 +15,5 @@ cli = { package = "sc-cli", git = "https://github.com/paritytech/substrate", bra
service = { package = "polkadot-service", path = "../service" } service = { package = "polkadot-service", path = "../service" }
[features] [features]
# default = [ "wasmtime" ] default = [ "wasmtime" ]
default = []
wasmtime = [ "cli/wasmtime" ] wasmtime = [ "cli/wasmtime" ]
[package] [package]
name = "polkadot-collator" name = "polkadot-collator"
version = "0.7.5" version = "0.7.6"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
description = "Collator node implementation" description = "Collator node implementation"
edition = "2018" edition = "2018"
......
[package] [package]
name = "polkadot-erasure-coding" name = "polkadot-erasure-coding"
version = "0.7.5" version = "0.7.6"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
......
[package] [package]
name = "polkadot-executor" name = "polkadot-executor"
version = "0.7.5" version = "0.7.6"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
description = "Polkadot node implementation in Rust." description = "Polkadot node implementation in Rust."
edition = "2018" edition = "2018"
......
[package] [package]
name = "polkadot-network" name = "polkadot-network"
version = "0.7.5" version = "0.7.6"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
description = "Polkadot-specific networking protocol" description = "Polkadot-specific networking protocol"
edition = "2018" edition = "2018"
......
[package] [package]
name = "polkadot-parachain" name = "polkadot-parachain"
version = "0.7.5" version = "0.7.6"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
description = "Types and utilities for creating and working with parachains" description = "Types and utilities for creating and working with parachains"
edition = "2018" edition = "2018"
......
[package] [package]
name = "polkadot-primitives" name = "polkadot-primitives"
version = "0.7.5" version = "0.7.6"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
......
[package] [package]
name = "polkadot-rpc" name = "polkadot-rpc"
version = "0.7.5" version = "0.7.6"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
......
[package] [package]
name = "polkadot-runtime" name = "polkadot-runtime"
version = "0.7.5" version = "0.7.6"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
build = "build.rs" build = "build.rs"
......
[package] [package]
name = "polkadot-service" name = "polkadot-service"
version = "0.7.5" version = "0.7.6"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
......
...@@ -255,7 +255,7 @@ pub fn get_authority_keys_from_seed(seed: &str) -> ( ...@@ -255,7 +255,7 @@ pub fn get_authority_keys_from_seed(seed: &str) -> (
/// Helper function to create GenesisConfig for testing /// Helper function to create GenesisConfig for testing
pub fn testnet_genesis( pub fn testnet_genesis(
initial_authorities: Vec<(AccountId, AccountId, BabeId, GrandpaId, ImOnlineId, ValidatorId, AuthorityDiscoveryId)>, initial_authorities: Vec<(AccountId, AccountId, BabeId, GrandpaId, ImOnlineId, ValidatorId, AuthorityDiscoveryId)>,
root_key: AccountId, _root_key: AccountId,
endowed_accounts: Option<Vec<AccountId>>, endowed_accounts: Option<Vec<AccountId>>,
) -> GenesisConfig { ) -> GenesisConfig {
let endowed_accounts: Vec<AccountId> = endowed_accounts.unwrap_or_else(|| { let endowed_accounts: Vec<AccountId> = endowed_accounts.unwrap_or_else(|| {
......
...@@ -169,6 +169,7 @@ pub fn new_full(config: Configuration<CustomConfiguration, GenesisConfig>) ...@@ -169,6 +169,7 @@ pub fn new_full(config: Configuration<CustomConfiguration, GenesisConfig>)
let disable_grandpa = config.disable_grandpa; let disable_grandpa = config.disable_grandpa;
let name = config.name.clone(); let name = config.name.clone();
let authority_discovery_enabled = config.custom.authority_discovery_enabled; let authority_discovery_enabled = config.custom.authority_discovery_enabled;
let sentry_nodes = config.network.sentry_nodes.clone();
// sentry nodes announce themselves as authorities to the network // sentry nodes announce themselves as authorities to the network
// and should run the same protocols authorities do, but it should // and should run the same protocols authorities do, but it should
...@@ -313,6 +314,7 @@ pub fn new_full(config: Configuration<CustomConfiguration, GenesisConfig>) ...@@ -313,6 +314,7 @@ pub fn new_full(config: Configuration<CustomConfiguration, GenesisConfig>)
let authority_discovery = authority_discovery::AuthorityDiscovery::new( let authority_discovery = authority_discovery::AuthorityDiscovery::new(
service.client(), service.client(),
service.network(), service.network(),
sentry_nodes,
service.keystore(), service.keystore(),
future03_dht_event_rx, future03_dht_event_rx,
); );
......
[package] [package]
name = "polkadot-statement-table" name = "polkadot-statement-table"
version = "0.7.5" version = "0.7.6"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
......
[package] [package]
name = "adder" name = "adder"
version = "0.7.5" version = "0.7.6"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
description = "Test parachain which adds to a number as its state transition" description = "Test parachain which adds to a number as its state transition"
edition = "2018" edition = "2018"
......
[package] [package]
name = "halt" name = "halt"
version = "0.7.5" version = "0.7.6"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
description = "Test parachain which executes forever" description = "Test parachain which executes forever"
edition = "2018" edition = "2018"
......
[package] [package]
name = "polkadot-validation" name = "polkadot-validation"
version = "0.7.5" version = "0.7.6"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018" edition = "2018"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment