Skip to content

Commit

Permalink
add debug log (#16)
Browse files Browse the repository at this point in the history
<!--
Thank you for your Pull Request. Please provide a description above and
review
the requirements below.

Bug fixes and new features should include tests.

Contributors guide:
https://github.com/gakonst/ethers-rs/blob/master/CONTRIBUTING.md

The contributors guide includes instructions for running rustfmt and
building the
documentation.
-->

## Motivation

<!--
Explain the context and why you're making that change. What is the
problem
you're trying to solve? In some cases there is not a problem and this
can be
thought of as being the motivation for your change.
-->

## Solution

<!--
Summarize the solution and provide any necessary context needed to
understand
the code change.
-->

## PR Checklist

-   [ ] Added Tests
-   [ ] Added Documentation
-   [ ] Updated the changelog
  • Loading branch information
daniel-savu authored Jul 31, 2024
1 parent df3510c commit b2d58a3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ethers-middleware/src/gas_escalator/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,7 @@ impl<M, E> EscalationTask<M, E> {
std::mem::take(&mut (*txs))
// Lock scope ends
};
println!("In the escalator watcher loop. Monitored txs: {:?}", txs);

let len = txs.len();
// Pop all transactions and re-insert those that have not been included yet
Expand Down

0 comments on commit b2d58a3

Please sign in to comment.