mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 21:41:12 +00:00
Add a browser-utils crate (#4394)
* Squash * Fix keystore on wasm * Update utils/browser/Cargo.toml Co-Authored-By: Benjamin Kampmann <ben@gnunicorn.org> * export console functions * Use an Option<PathBuf> in keystore instead of cfg flags * Add a KeystoreConfig * Update libp2p * Bump kvdb-web version * Fix cli * Upgrade versions * Update wasm-bindgen stuff Co-authored-by: Benjamin Kampmann <ben.kampmann@googlemail.com>
This commit is contained in:
@@ -29,7 +29,7 @@ use sc_service::{
|
||||
AbstractService,
|
||||
ChainSpec,
|
||||
Configuration,
|
||||
config::DatabaseConfig,
|
||||
config::{DatabaseConfig, KeystoreConfig},
|
||||
Roles,
|
||||
Error,
|
||||
};
|
||||
@@ -173,8 +173,10 @@ fn node_config<G, E: Clone> (
|
||||
roles: role,
|
||||
transaction_pool: Default::default(),
|
||||
network: network_config,
|
||||
keystore_path: Some(root.join("key")),
|
||||
keystore_password: None,
|
||||
keystore: KeystoreConfig::Path {
|
||||
path: Some(root.join("key")),
|
||||
password: None
|
||||
},
|
||||
config_dir: Some(root.clone()),
|
||||
database: DatabaseConfig::Path {
|
||||
path: root.join("db"),
|
||||
|
||||
Reference in New Issue
Block a user