Commit Graph

2 Commits

Author SHA1 Message Date
naiba 214d24dfd2
fix: wrong unit for gas_price (ether -> gwei) (#1316) 2022-06-02 08:58:03 -07:00
Remco Bloemen 18b4ef4e47
Robust gas oracles (#1222)
* Pass reqwest Client to constructors

* Add Median oracle aggregator

* DRY

* Weighted median

* Add cache layer

* Simplify lifetimes

* Add with_client constructors

* Update GasNow urls

* Add u256_from_f64_saturating

* Add polygon oracle

* Fixes

* Fix lints

* Remove dbg statements
2022-05-06 08:16:43 -07:00