Companion PR for storage changes (#949)

* Update for latests substrate & polkadot

* update substrate & polkadot
This commit is contained in:
Arkadiy Paronyan
2022-03-04 14:03:54 +01:00
committed by GitHub
parent 4be30e0175
commit 17729216e9
2 changed files with 385 additions and 295 deletions
+384 -293
View File
File diff suppressed because it is too large Load Diff
+1 -2
View File
@@ -49,7 +49,7 @@ use sc_network::{config::TransportConfig, multiaddr, NetworkService};
use sc_service::{ use sc_service::{
config::{ config::{
DatabaseSource, KeepBlocks, KeystoreConfig, MultiaddrWithPeerId, NetworkConfiguration, DatabaseSource, KeepBlocks, KeystoreConfig, MultiaddrWithPeerId, NetworkConfiguration,
OffchainWorkerConfig, PruningMode, TransactionStorageMode, WasmExecutionMethod, OffchainWorkerConfig, PruningMode, WasmExecutionMethod,
}, },
BasePath, ChainSpec, Configuration, Error as ServiceError, PartialComponents, Role, BasePath, ChainSpec, Configuration, Error as ServiceError, PartialComponents, Role,
RpcHandlers, TFullBackend, TFullClient, TaskManager, RpcHandlers, TFullBackend, TFullClient, TaskManager,
@@ -658,7 +658,6 @@ pub fn node_config(
state_cache_child_ratio: None, state_cache_child_ratio: None,
state_pruning: PruningMode::ArchiveAll, state_pruning: PruningMode::ArchiveAll,
keep_blocks: KeepBlocks::All, keep_blocks: KeepBlocks::All,
transaction_storage: TransactionStorageMode::BlockBody,
chain_spec: spec, chain_spec: spec,
wasm_method: WasmExecutionMethod::Interpreted, wasm_method: WasmExecutionMethod::Interpreted,
// NOTE: we enforce the use of the native runtime to make the errors more debuggable // NOTE: we enforce the use of the native runtime to make the errors more debuggable