Skip to content

Commit

Permalink
chore(escalator): add inclusion log
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-savu committed Dec 3, 2024
1 parent d22cecc commit 76b3aa9
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 @@ -375,6 +375,7 @@ impl<M, E: Clone> EscalationTask<M, E> {

if receipt.is_some() {
// tx was already included, can drop from escalator
tracing::debug!(tx = ?monitored_tx, receipt = ?receipt, "transaction was included onchain, dropping from escalator");
continue;
}
let Some(new_tx) = monitored_tx.escalate_gas_price(self.escalator.clone()) else {
Expand Down

0 comments on commit 76b3aa9

Please sign in to comment.