From 239f559ca04b296a1b4cd1fc7588f29b125be565 Mon Sep 17 00:00:00 2001 From: Matthias Seitz Date: Thu, 16 Jun 2022 21:42:39 +0200 Subject: [PATCH] test: use default initial base fee (#1386) --- ethers-middleware/tests/gas_oracle.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ethers-middleware/tests/gas_oracle.rs b/ethers-middleware/tests/gas_oracle.rs index f8fe1f89..4e4270e8 100644 --- a/ethers-middleware/tests/gas_oracle.rs +++ b/ethers-middleware/tests/gas_oracle.rs @@ -38,8 +38,8 @@ async fn using_gas_oracle() { // connect to the network let provider = Provider::::try_from(anvil.endpoint()).unwrap(); - // this is set because anvil now sets 875000000 as the first block's base fee - let base_fee = 875000000; + // initial base fee + let base_fee = 1_000_000_000u64; // assign a gas oracle to use let gas_oracle = FakeGasOracle { gas_price: (base_fee + 1337).into() }; let expected_gas_price = gas_oracle.fetch().await.unwrap();