Update Substrate (#649)

* Bump Substrate

* Bump version

* Reinstate wasmtime

* Fix warning.
This commit is contained in:
Gavin Wood
2019-12-03 19:05:24 +01:00
committed by GitHub
parent 99d164b5e7
commit d80adceea8
19 changed files with 177 additions and 176 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "polkadot-service"
version = "0.7.5"
version = "0.7.6"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"
+1 -1
View File
@@ -255,7 +255,7 @@ pub fn get_authority_keys_from_seed(seed: &str) -> (
/// Helper function to create GenesisConfig for testing
pub fn testnet_genesis(
initial_authorities: Vec<(AccountId, AccountId, BabeId, GrandpaId, ImOnlineId, ValidatorId, AuthorityDiscoveryId)>,
root_key: AccountId,
_root_key: AccountId,
endowed_accounts: Option<Vec<AccountId>>,
) -> GenesisConfig {
let endowed_accounts: Vec<AccountId> = endowed_accounts.unwrap_or_else(|| {
+2
View File
@@ -169,6 +169,7 @@ pub fn new_full(config: Configuration<CustomConfiguration, GenesisConfig>)
let disable_grandpa = config.disable_grandpa;
let name = config.name.clone();
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
// and should run the same protocols authorities do, but it should
@@ -313,6 +314,7 @@ pub fn new_full(config: Configuration<CustomConfiguration, GenesisConfig>)
let authority_discovery = authority_discovery::AuthorityDiscovery::new(
service.client(),
service.network(),
sentry_nodes,
service.keystore(),
future03_dht_event_rx,
);