Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add debug log #16

Merged
merged 1 commit into from
Jul 31, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -16,7 +16,7 @@
use ethers_core::types::{
transaction::eip2718::TypedTransaction, BlockId, TransactionRequest, TxHash, U256,
};
use ethers_providers::{interval, FromErr, Middleware, PendingTransaction, StreamExt};

Check warning on line 19 in ethers-middleware/src/gas_escalator/mod.rs

View workflow job for this annotation

GitHub Actions / WASM

unused import: `interval`

#[cfg(not(target_arch = "wasm32"))]
use tokio::spawn;
Expand Down Expand Up @@ -251,6 +251,7 @@
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
Loading