Unverified Commit 462d15d2 authored by Arkadiy Paronyan's avatar Arkadiy Paronyan Committed by GitHub
Browse files

Companion for substrate #7868 (#2253)

* Update for new service config

* Naming

* "Update Substrate"

Co-authored-by: parity-processbot <>
parent 49207c02
Pipeline #120347 canceled with stages
in 29 minutes and 32 seconds
This diff is collapsed.
...@@ -45,7 +45,7 @@ use sc_network::{ ...@@ -45,7 +45,7 @@ use sc_network::{
}; };
use service::{ use service::{
config::{DatabaseConfig, KeystoreConfig, MultiaddrWithPeerId, WasmExecutionMethod}, config::{DatabaseConfig, KeystoreConfig, MultiaddrWithPeerId, WasmExecutionMethod},
RpcHandlers, TaskExecutor, TaskManager, RpcHandlers, TaskExecutor, TaskManager, KeepBlocks, TransactionStorageMode,
}; };
use service::{BasePath, Configuration, Role}; use service::{BasePath, Configuration, Role};
use sp_arithmetic::traits::SaturatedConversion; use sp_arithmetic::traits::SaturatedConversion;
...@@ -163,7 +163,9 @@ pub fn node_config( ...@@ -163,7 +163,9 @@ pub fn node_config(
}, },
state_cache_size: 16777216, state_cache_size: 16777216,
state_cache_child_ratio: None, state_cache_child_ratio: None,
pruning: Default::default(), state_pruning: Default::default(),
keep_blocks: KeepBlocks::All,
transaction_storage: TransactionStorageMode::BlockBody,
chain_spec: Box::new(spec), chain_spec: Box::new(spec),
wasm_method: WasmExecutionMethod::Interpreted, wasm_method: WasmExecutionMethod::Interpreted,
wasm_runtime_overrides: Default::default(), wasm_runtime_overrides: Default::default(),
......
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