Skip to content

Commit

Permalink
Merge pull request #14 from cowprotocol/tracing_spans
Browse files Browse the repository at this point in the history
Switch to tracing logs to allow for log spans per order
  • Loading branch information
charlesndalton authored Oct 22, 2023
2 parents 0dfd83e + 74155bd commit 5890436
Show file tree
Hide file tree
Showing 4 changed files with 192 additions and 106 deletions.
111 changes: 91 additions & 20 deletions 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 Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,11 @@ serde = "1.0"
serde_json = "1.0"
hex = "0.4.3"
log = "0.4"
env_logger = "0.8.4"
anyhow = "1.0.61"
ethers = { version = "0.17.0", features = ["abigen", "openssl"] }
url = { version = "2.2.2" }
tracing = "0.1.37"
tracing-subscriber = { version = "0.3.17", features = ["env-filter"] }

[dev-dependencies]
rand = { version = "0.8.4", features = ["min_const_gen"] }
2 changes: 1 addition & 1 deletion src/ethereum_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ mod tests {
.await
.expect("Unable to get requested swaps");

assert!(requested_swaps.len() > 0);
assert!(!requested_swaps.is_empty());
}

#[test]
Expand Down
Loading

0 comments on commit 5890436

Please sign in to comment.