mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 16:21:02 +00:00
Bump Substrate master (#522)
* Bump substrate * Bump runtime version * Fix Configuration stuff * fix extract_proof return type * add ImOnline module as Authorship event handler
This commit is contained in:
@@ -32,7 +32,7 @@ use inherents::InherentDataProviders;
|
||||
use log::info;
|
||||
pub use service::{AbstractService, Roles, PruningMode, TransactionPoolOptions, Error};
|
||||
pub use service::{ServiceBuilderExport, ServiceBuilderImport, ServiceBuilderRevert};
|
||||
pub use service::config::full_version_from_strs;
|
||||
pub use service::config::{DatabaseConfig, full_version_from_strs};
|
||||
pub use client::{backend::Backend, runtime_api::{Core as CoreApi, ConstructRuntimeApi}, ExecutionStrategy, CallExecutor};
|
||||
pub use consensus_common::SelectChain;
|
||||
pub use polkadot_network::{PolkadotProtocol};
|
||||
@@ -146,7 +146,11 @@ pub fn new_full(config: Configuration<CustomConfiguration, GenesisConfig>)
|
||||
let is_authority = config.roles.is_authority() && !is_collator;
|
||||
let force_authoring = config.force_authoring;
|
||||
let max_block_data_size = config.custom.max_block_data_size;
|
||||
let db_path = config.database_path.clone();
|
||||
let db_path = if let DatabaseConfig::Path { ref path, .. } = config.database {
|
||||
path.clone()
|
||||
} else {
|
||||
return Err("Starting a Polkadot service with a custom database isn't supported".to_string().into());
|
||||
};
|
||||
let disable_grandpa = config.disable_grandpa;
|
||||
let name = config.name.clone();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user