Skip to content

Commit

Permalink
Fixes, I think?
Browse files Browse the repository at this point in the history
  • Loading branch information
Dennis Garcia committed Mar 10, 2025
1 parent 89e0540 commit 66f4212
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 8 deletions.
1 change: 0 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion crates/rust-client/src/authenticator/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
//! # crypto::{FeltRng, SecretKey}
//! # };
//! # use miden_objects::account::{AuthSecretKey, AccountStorageMode};
//! # use winter_maybe_async::maybe_await;
//! # async fn add_new_account_example(
//! # client: &mut miden_client::Client<impl FeltRng>,
//! # keystore: &mut FilesystemKeyStore,
Expand All @@ -32,7 +33,7 @@
//! .unwrap();
//!
//! // Add the secret key to the keystore so the account can sign transactions
//! keystore.add_key(&AuthSecretKey::RpoFalcon512(key_pair)).unwrap();
//! maybe_await!(keystore.add_key(&AuthSecretKey::RpoFalcon512(key_pair))).unwrap();
//!
//! // Add the account to the client. The account seed and authentication key are required
//! // for new accounts.
Expand Down
2 changes: 0 additions & 2 deletions crates/web-client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ testing = ["miden-client/testing"]
miden-client = { version = "0.8", path = "../rust-client", default-features = false, features = ["idxdb", "web-tonic"] }
miden-lib = { workspace = true }
miden-objects = { workspace = true }
miden-tx = { workspace = true }
rand = { workspace = true }
serde-wasm-bindgen = { version = "0.6" }
wasm-bindgen = { version = "0.2", features = ["serde-serialize"] }
Expand All @@ -36,7 +35,6 @@ console_error_panic_hook = "0.1"
miden-client = { path = "../rust-client", default-features = false, features = ["idxdb", "web-tonic", "testing"] }
miden-lib = { workspace = true, default-features = false, features = ["testing"] }
miden-objects = { workspace = true, default-features = false, features = ["testing"] }
miden-tx = { workspace = true, features = ["testing"] }
web-sys = { version = "0.3", features = ["console"]}

[package.metadata.cargo-machete]
Expand Down
5 changes: 1 addition & 4 deletions tests/integration/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,7 @@ pub async fn create_test_client() -> (TestClient, FilesystemKeyStore) {
}

pub fn get_client_config() -> (Endpoint, u64, PathBuf, PathBuf) {
let rpc_config_toml = std::fs::read_to_string(TEST_CLIENT_RPC_CONFIG_FILE)
.unwrap()
.parse::<Table>()
.unwrap();
let rpc_config_toml = TEST_CLIENT_RPC_CONFIG_FILE.parse::<Table>().unwrap();
let rpc_endpoint_toml = rpc_config_toml["endpoint"].as_table().unwrap();

let protocol = rpc_endpoint_toml["protocol"].as_str().unwrap().to_string();
Expand Down

0 comments on commit 66f4212

Please sign in to comment.