mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 11:07:56 +00:00
Deprecate "paritydb-experimental" CLI in favour or "paritydb" (#10975)
* Deprecate paritydb-experimental * Updated comment
This commit is contained in:
@@ -222,6 +222,13 @@ pub trait CliConfiguration<DCV: DefaultConfigurationValues = ()>: Sized {
|
||||
Ok(match database {
|
||||
Database::RocksDb => DatabaseSource::RocksDb { path: rocksdb_path, cache_size },
|
||||
Database::ParityDb => DatabaseSource::ParityDb { path: paritydb_path },
|
||||
Database::ParityDbDeprecated => {
|
||||
eprintln!(
|
||||
"WARNING: \"paritydb-experimental\" database setting is deprecated and will be removed in future releases. \
|
||||
Please update your setup to use the new value: \"paritydb\"."
|
||||
);
|
||||
DatabaseSource::ParityDb { path: paritydb_path }
|
||||
},
|
||||
Database::Auto => DatabaseSource::Auto { paritydb_path, rocksdb_path, cache_size },
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user