test: use default initial base fee (#1386)
This commit is contained in:
parent
cced79f22b
commit
239f559ca0
|
@ -38,8 +38,8 @@ async fn using_gas_oracle() {
|
||||||
// connect to the network
|
// connect to the network
|
||||||
let provider = Provider::<Http>::try_from(anvil.endpoint()).unwrap();
|
let provider = Provider::<Http>::try_from(anvil.endpoint()).unwrap();
|
||||||
|
|
||||||
// this is set because anvil now sets 875000000 as the first block's base fee
|
// initial base fee
|
||||||
let base_fee = 875000000;
|
let base_fee = 1_000_000_000u64;
|
||||||
// assign a gas oracle to use
|
// assign a gas oracle to use
|
||||||
let gas_oracle = FakeGasOracle { gas_price: (base_fee + 1337).into() };
|
let gas_oracle = FakeGasOracle { gas_price: (base_fee + 1337).into() };
|
||||||
let expected_gas_price = gas_oracle.fetch().await.unwrap();
|
let expected_gas_price = gas_oracle.fetch().await.unwrap();
|
||||||
|
|
Loading…
Reference in New Issue