mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-07 16:38:01 +00:00
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:
Generated
+236
-188
File diff suppressed because it is too large
Load Diff
@@ -66,7 +66,7 @@ tracing = "0.1.26"
|
||||
serde = { version = "1.0.123", features = ["derive"] }
|
||||
thiserror = "1.0.26"
|
||||
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"
|
||||
|
||||
# Polkadot
|
||||
|
||||
@@ -94,7 +94,7 @@ pub use sc_client_api::{Backend, CallExecutor, ExecutionStrategy};
|
||||
pub use sc_consensus::{BlockImport, LongestChain};
|
||||
pub use sc_executor::NativeExecutionDispatch;
|
||||
pub use service::{
|
||||
config::{DatabaseConfig, PrometheusConfig},
|
||||
config::{DatabaseSource, PrometheusConfig},
|
||||
ChainSpec, Configuration, Error as SubstrateServiceError, PruningMode, Role, RuntimeGenesis,
|
||||
TFullBackend, TFullCallExecutor, TFullClient, TLightBackend, TLightCallExecutor, TLightClient,
|
||||
TaskManager, TransactionPoolOptions,
|
||||
|
||||
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user