Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

fix(etherscan)!: change the GasOracle fields to be f64 #2325

Merged
merged 3 commits into from
Apr 5, 2023
Merged

fix(etherscan)!: change the GasOracle fields to be f64 #2325

merged 3 commits into from
Apr 5, 2023

Commits on Apr 5, 2023

  1. fix(etherscan)!: change the GasOracle fields to be f64

    This updates the `GasOracle`'s {safe_gase_price,propose_gas_price,fast_gas_price} from `u64` to `f64` to fix [BUG] Failed to deserialize etherscan response: data did not match any variant of untagged enum ResponseData #2324
    
    BREAKING CHANGE: This considered a public api breaking change, since `f64` and `u64` is not compatible with each other.
    shekohex authored Apr 5, 2023
    Configuration menu
    Copy the full SHA
    e4a21b3 View commit details
    Browse the repository at this point in the history
  2. fix(ethers-middleware): update etherscan oracle

    This a required change after chaning the gas prices to be `f64`
    shekohex committed Apr 5, 2023
    Configuration menu
    Copy the full SHA
    7be8ba0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4cca52f View commit details
    Browse the repository at this point in the history