companion pr for substrate:auto_db (#3590)

* companion pr for substrate:auto_db

* update Substrate

Co-authored-by: parity-processbot <>
This commit is contained in:
Marek Kotewiczandparity-processbot authored and GitHub committed 2021-08-09 13:59:48 +00:00
1 parent 2574398d00
commit 276dc1981e
4 files changed
+240 -192

No files matched your search

+2 -2
View File
@@ -41,7 +41,7 @@ use sc_network::{
multiaddr,
};
use service::{
config::{DatabaseConfig, KeystoreConfig, MultiaddrWithPeerId, WasmExecutionMethod},
config::{DatabaseSource, KeystoreConfig, MultiaddrWithPeerId, WasmExecutionMethod},
BasePath, Configuration, KeepBlocks, Role, RpcHandlers, TaskExecutor, TaskManager,
TransactionStorageMode,
};
@@ -146,7 +146,7 @@ pub fn node_config(
network: network_config,
keystore: KeystoreConfig::InMemory,
keystore_remote: Default::default(),
database: DatabaseConfig::RocksDb { path: root.join("db"), cache_size: 128 },
database: DatabaseSource::RocksDb { path: root.join("db"), cache_size: 128 },
state_cache_size: 16777216,
state_cache_child_ratio: None,
state_pruning: Default::default(),