Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for oracle gas price values not expressed in gwei #142

Merged
merged 16 commits into from
Jul 12, 2019

Conversation

patitonar
Copy link
Contributor

Closes #105

Env variables HOME_GAS_PRICE_FACTOR and FOREIGN_GAS_PRICE_FACTOR were added, also in Monitor some other env variables were added too to properly specify values for home and foreign sides.

Now other gas price oracles as https://ethgasstation.info/json/ethgasAPI.json are supported on Oracle, UI and Monitor. (For example using *_FACTOR=0.1)

The implementation to fetch the values from the oracle is similar in all the bridge components, it could be extracted in the future once #8 is completed.

@phahulin Please check that the new env variables are correctly set on deployment files

@patitonar patitonar added oracle related to TokenBridge oracle UI related to TokenBridge UI monitor related to TokenBridge monitor labels Jul 10, 2019
@patitonar patitonar requested review from phahulin and akolotov July 10, 2019 15:39
@patitonar patitonar self-assigned this Jul 10, 2019
@akolotov akolotov merged commit 811e8da into master Jul 12, 2019
@akolotov akolotov deleted the 105-support-ethgasstation branch July 12, 2019 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
monitor related to TokenBridge monitor oracle related to TokenBridge oracle UI related to TokenBridge UI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support ethgasstation as gasprice oracle
2 participants