Unverified Commit d76421c8 authored by Marek Kotewicz's avatar Marek Kotewicz Committed by GitHub
Browse files

companion pr for substrate:auto_db (#3590)

* companion pr for substrate:auto_db

* update Substrate

Co-authored-by: parity-processbot <>
parent adfc160c
Pipeline #151954 passed with stages
in 37 minutes and 50 seconds
This diff is collapsed.
...@@ -66,7 +66,7 @@ tracing = "0.1.26" ...@@ -66,7 +66,7 @@ tracing = "0.1.26"
serde = { version = "1.0.123", features = ["derive"] } serde = { version = "1.0.123", features = ["derive"] }
thiserror = "1.0.26" thiserror = "1.0.26"
kvdb = "0.10.0" kvdb = "0.10.0"
kvdb-rocksdb = { version = "0.12.0", optional = true } kvdb-rocksdb = { version = "0.14.0", optional = true }
async-trait = "0.1.42" async-trait = "0.1.42"
# Polkadot # Polkadot
......
...@@ -94,7 +94,7 @@ pub use sc_client_api::{Backend, CallExecutor, ExecutionStrategy}; ...@@ -94,7 +94,7 @@ pub use sc_client_api::{Backend, CallExecutor, ExecutionStrategy};
pub use sc_consensus::{BlockImport, LongestChain}; pub use sc_consensus::{BlockImport, LongestChain};
pub use sc_executor::NativeExecutionDispatch; pub use sc_executor::NativeExecutionDispatch;
pub use service::{ pub use service::{
config::{DatabaseConfig, PrometheusConfig}, config::{DatabaseSource, PrometheusConfig},
ChainSpec, Configuration, Error as SubstrateServiceError, PruningMode, Role, RuntimeGenesis, ChainSpec, Configuration, Error as SubstrateServiceError, PruningMode, Role, RuntimeGenesis,
TFullBackend, TFullCallExecutor, TFullClient, TLightBackend, TLightCallExecutor, TLightClient, TFullBackend, TFullCallExecutor, TFullClient, TLightBackend, TLightCallExecutor, TLightClient,
TaskManager, TransactionPoolOptions, TaskManager, TransactionPoolOptions,
......
...@@ -41,7 +41,7 @@ use sc_network::{ ...@@ -41,7 +41,7 @@ use sc_network::{
multiaddr, multiaddr,
}; };
use service::{ use service::{
config::{DatabaseConfig, KeystoreConfig, MultiaddrWithPeerId, WasmExecutionMethod}, config::{DatabaseSource, KeystoreConfig, MultiaddrWithPeerId, WasmExecutionMethod},
BasePath, Configuration, KeepBlocks, Role, RpcHandlers, TaskExecutor, TaskManager, BasePath, Configuration, KeepBlocks, Role, RpcHandlers, TaskExecutor, TaskManager,
TransactionStorageMode, TransactionStorageMode,
}; };
...@@ -146,7 +146,7 @@ pub fn node_config( ...@@ -146,7 +146,7 @@ pub fn node_config(
network: network_config, network: network_config,
keystore: KeystoreConfig::InMemory, keystore: KeystoreConfig::InMemory,
keystore_remote: Default::default(), 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_size: 16777216,
state_cache_child_ratio: None, state_cache_child_ratio: None,
state_pruning: Default::default(), state_pruning: 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