Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

Commit

Permalink
feat(providers): add tracing
Browse files Browse the repository at this point in the history
  • Loading branch information
gakonst committed Dec 24, 2020
1 parent 65b50a7 commit 8c2a4fb
Show file tree
Hide file tree
Showing 6 changed files with 74 additions and 170 deletions.
14 changes: 14 additions & 0 deletions Cargo.lock

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

2 changes: 2 additions & 0 deletions ethers-providers/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ async-tls = { version = "0.7.0", optional = true }
# needed for parsing while deserialization in gas oracles
serde-aux = "0.6.1"
auto_impl = "0.4.1"
tracing = "0.1.22"
tracing-futures = "0.2.4"

[dev-dependencies]
ethers = { version = "0.1.3", path = "../ethers" }
Expand Down
2 changes: 1 addition & 1 deletion ethers-providers/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ pub trait Middleware: Sync + Send + Debug {
async fn get_filter_changes<T, R>(&self, id: T) -> Result<Vec<R>, Self::Error>
where
T: Into<U256> + Send + Sync,
R: DeserializeOwned + Send + Sync,
R: DeserializeOwned + Send + Sync + Debug,
{
self.inner()
.get_filter_changes(id)
Expand Down
Loading

0 comments on commit 8c2a4fb

Please sign in to comment.