Skip to content

Commit

Permalink
chore: improve comments
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-savu committed Dec 2, 2024
1 parent 4d75c24 commit a1000d0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ethers-middleware/tests/gas_escalator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ async fn gas_escalator_legacy_works() {
let escalator = GeometricGasPrice::new(1.1, 2u64, Some(2_000_000_000_000u64));
let provider = GasEscalatorMiddleware::new(provider, escalator, Frequency::Duration(300));

// TODO: get this to work
// set the gas price to 10 gwei, so we need to escalate twice
// this works but the tx still goes through regardless of its gas price for some reason
// reqwest::Client::new()
Expand Down Expand Up @@ -80,6 +81,7 @@ async fn gas_escalator_1559_works() {
let escalator = GeometricGasPrice::new(1.1, 2u64, Some(2_000_000_000_000u64));
let provider = GasEscalatorMiddleware::new(provider, escalator, Frequency::Duration(300));

// TODO: get this to work
// set the gas price to 10 gwei, so we need to escalate twice
// this works but the tx still goes through regardless of its gas price for some reason
// reqwest::Client::new()
Expand Down

0 comments on commit a1000d0

Please sign in to comment.