Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Use provided usd-per-eth value if an endpoint is specified #11209

Merged
merged 6 commits into from
Oct 29, 2019
Merged

Use provided usd-per-eth value if an endpoint is specified #11209

merged 6 commits into from
Oct 29, 2019

Commits on Oct 27, 2019

  1. Configuration menu
    Copy the full SHA
    d8cb31c View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2019

  1. Setup Calibrated GasPriceConfig when usd-per-eth is an endpoint

    The change will try to check if the specified value is an endpoint.
    If the value of `auto` is specified, the default endpoint URL will be used
    otherwise, the user-provided value will be taken as-is for an endpoint.
    rakanalh committed Oct 29, 2019
    Configuration menu
    Copy the full SHA
    ef4083e View commit details
    Browse the repository at this point in the history
  2. Use if-let and check for usd-per-eth arg:

    1. auto = use etherscan
    2. value = use fixed pricer
    3. endpoint = use the provided endpoint as-is
    rakanalh committed Oct 29, 2019
    Configuration menu
    Copy the full SHA
    5e2395f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e4d149d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e695b7c View commit details
    Browse the repository at this point in the history
  5. Use arg_usd_per_eth directly

    rakanalh committed Oct 29, 2019
    Configuration menu
    Copy the full SHA
    00e24b5 View commit details
    Browse the repository at this point in the history