mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 11:41:02 +00:00
Backport all v0.6 changes to master... (#552)
* Bump Substrate and versions (#531) * Bump versions * Build fix. * Enable governance (#536) * Enable governance * Tweak a few parameters * Bump substrate, versions. (#538) * Bump substrate, versions. * Build fix * Bump rpc deps (#537) * Update to latest sub * Revert branch update * Update. * Update tests. * Ignore warnings in tests. * Revert substrate (#540) * Version bump * Bump Substrate, versions. (#542) * Bump Substrate, versions. Also revert the enabling of democracy * Build fix * Bump Substrate (#544) * Bump Substrate * Fix * A few tidyups * Bump Substrate (#547) * Bump Substrate * Another bump * Fixed build for new block_import API * Enable grandpa migration. (#549) * Enable grandpa migration. * Bump runtime version
This commit is contained in:
committed by
Bastian Köcher
parent
88150e83d2
commit
bd79b34bb3
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "polkadot-service"
|
||||
version = "0.6.6"
|
||||
version = "0.6.10"
|
||||
authors = ["Parity Technologies <admin@parity.io>"]
|
||||
edition = "2018"
|
||||
|
||||
|
||||
@@ -91,7 +91,7 @@ macro_rules! new_full_start {
|
||||
let select_chain = select_chain.take()
|
||||
.ok_or_else(|| service::Error::SelectChainRequired)?;
|
||||
let (grandpa_block_import, grandpa_link) =
|
||||
grandpa::block_import::<_, _, _, RuntimeApi, _, _>(
|
||||
grandpa::block_import::<_, _, _, RuntimeApi, _>(
|
||||
client.clone(), &*client, select_chain
|
||||
)?;
|
||||
let justification_import = grandpa_block_import.clone();
|
||||
@@ -342,8 +342,8 @@ pub fn new_light(config: Configuration<CustomConfiguration, GenesisConfig>)
|
||||
let fetch_checker = fetcher
|
||||
.map(|fetcher| fetcher.checker().clone())
|
||||
.ok_or_else(|| "Trying to start light import queue without active fetch checker")?;
|
||||
let grandpa_block_import = grandpa::light_block_import::<_, _, _, RuntimeApi, _>(
|
||||
client.clone(), backend, Arc::new(fetch_checker), client.clone()
|
||||
let grandpa_block_import = grandpa::light_block_import::<_, _, _, RuntimeApi>(
|
||||
client.clone(), backend, &*client, Arc::new(fetch_checker)
|
||||
)?;
|
||||
|
||||
let finality_proof_import = grandpa_block_import.clone();
|
||||
|
||||
Reference in New Issue
Block a user