bump a bunch of deps in parity-common (#9263)

* bump a bunch of deps in parity-common

* primitive-types 0.10.0

* update Cargo.lock

* downgrade a few more

* this is unlikely to help

* try something

* Checkmate, Atheists!
This commit is contained in:
Andronik Ordian
2021-07-05 20:37:19 +02:00
committed by GitHub
parent e7e55475f2
commit b61dd3e8c5
26 changed files with 89 additions and 90 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ console_error_panic_hook = "0.1.6"
js-sys = "0.3.34"
wasm-bindgen = "0.2.73"
wasm-bindgen-futures = "0.4.18"
kvdb-web = "0.9.0"
kvdb-memorydb = "0.10.0"
sp-database = { version = "3.0.0", path = "../../primitives/database" }
sc-informant = { version = "0.9.0", path = "../../client/informant" }
sc-service = { version = "0.9.0", path = "../../client/service", default-features = false }
+2 -2
View File
@@ -43,7 +43,7 @@ pub fn init_logging(pattern: &str) -> Result<(), sc_tracing::logging::Error> {
/// Create a service configuration from a chain spec.
///
/// This configuration contains good defaults for a browser light client.
pub async fn browser_configuration<G, E>(
pub fn browser_configuration<G, E>(
chain_spec: GenericChainSpec<G, E>,
) -> Result<Configuration, Box<dyn std::error::Error>>
where
@@ -78,7 +78,7 @@ where
role: Role::Light,
database: {
info!("Opening Indexed DB database '{}'...", name);
let db = kvdb_web::Database::open(name, 10).await?;
let db = kvdb_memorydb::create(10);
DatabaseConfig::Custom(sp_database::as_database(db))
},