Skip to content

Commit

Permalink
Update bin/sozo/src/commands/options/starknet.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Ammar Arif <evergreenkary@gmail.com>
  • Loading branch information
glihm and kariy authored Oct 31, 2024
1 parent 9d28be8 commit ab9be68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/sozo/src/commands/options/starknet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ impl StarknetOptions {
request_timeout_ms: Option<u64>,

Check warning on line 30 in bin/sozo/src/commands/options/starknet.rs

View check run for this annotation

Codecov / codecov/patch

bin/sozo/src/commands/options/starknet.rs#L30

Added line #L30 was not covered by tests
) -> Result<(JsonRpcClient<HttpTransport>, String)> {
let url = self.url(env_metadata)?;
trace!(?url, "Creating JsonRpcClient with given RPC URL and timeout.");
trace!(?url, timeout = ?request_timeout_ms, "Creating JsonRpcClient.");

Check warning on line 33 in bin/sozo/src/commands/options/starknet.rs

View check run for this annotation

Codecov / codecov/patch

bin/sozo/src/commands/options/starknet.rs#L33

Added line #L33 was not covered by tests

let client = if let Some(request_timeout_ms) = request_timeout_ms {
ClientBuilder::default()
Expand Down

0 comments on commit ab9be68

Please sign in to comment.