mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 22:11:06 +00:00
Renaming CLI prunning and keep-blocks flags (#1514)
* Rename keep blocksflag
* Add correct use of BlocksPruning
* update lockfile for {"polkadot", "substrate"}
Co-authored-by: parity-processbot <>
This commit is contained in:
Generated
+249
-247
File diff suppressed because it is too large
Load Diff
@@ -48,7 +48,7 @@ use sc_client_api::execution_extensions::ExecutionStrategies;
|
|||||||
use sc_network::{config::TransportConfig, multiaddr, NetworkService};
|
use sc_network::{config::TransportConfig, multiaddr, NetworkService};
|
||||||
use sc_service::{
|
use sc_service::{
|
||||||
config::{
|
config::{
|
||||||
DatabaseSource, KeepBlocks, KeystoreConfig, MultiaddrWithPeerId, NetworkConfiguration,
|
BlocksPruning, DatabaseSource, KeystoreConfig, MultiaddrWithPeerId, NetworkConfiguration,
|
||||||
OffchainWorkerConfig, PruningMode, WasmExecutionMethod,
|
OffchainWorkerConfig, PruningMode, WasmExecutionMethod,
|
||||||
},
|
},
|
||||||
BasePath, ChainSpec, Configuration, Error as ServiceError, PartialComponents, Role,
|
BasePath, ChainSpec, Configuration, Error as ServiceError, PartialComponents, Role,
|
||||||
@@ -653,7 +653,7 @@ pub fn node_config(
|
|||||||
state_cache_size: 67108864,
|
state_cache_size: 67108864,
|
||||||
state_cache_child_ratio: None,
|
state_cache_child_ratio: None,
|
||||||
state_pruning: Some(PruningMode::ArchiveAll),
|
state_pruning: Some(PruningMode::ArchiveAll),
|
||||||
keep_blocks: KeepBlocks::All,
|
blocks_pruning: BlocksPruning::All,
|
||||||
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
|
||||||
|
|||||||
Reference in New Issue
Block a user