Remove use of ethgasstation; use metaswap /gasPrices api for gas price estimates#9867
Remove use of ethgasstation; use metaswap /gasPrices api for gas price estimates#9867
Conversation
|
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
253fef0 to
9d45175
Compare
9d45175 to
67303b7
Compare
Builds ready [ccb3c62]
Page Load Metrics (618 ± 116 ms)
|
|
sad to see the price/time chart gone |
...ponents/app/gas-customization/gas-modal-page-container/gas-modal-page-container.container.js
Show resolved
Hide resolved
There was a problem hiding this comment.
Great job getting this in. I left a handful of inline comments.
I agree that getting rid of the chart and times is worth it to get this feature in, and the reason we have to do that is because the MetaSwap API doesn't have time estimates yet?
Edit: Left one question here, too: #9867 (comment)
Builds ready [8ab0573]
Page Load Metrics (372 ± 54 ms)
|
|
For future reference: #9870 |
Builds ready [b185603]
Page Load Metrics (319 ± 24 ms)
|
|
The gas price chart appears to now be unused, but it hasn't been deleted |
brad-decker
left a comment
There was a problem hiding this comment.
LGTM. So long time estimates 👋 😢
...ustomization/gas-modal-page-container/advanced-tab-content/advanced-tab-content.component.js
Show resolved
Hide resolved
Builds ready [26ce08c]
Page Load Metrics (371 ± 56 ms)
|
Builds ready [394f93b]
Page Load Metrics (325 ± 35 ms)
|
...ponents/app/gas-customization/gas-modal-page-container/gas-modal-page-container.component.js
Outdated
Show resolved
Hide resolved
...n/gas-modal-page-container/advanced-tab-content/tests/advanced-tab-content-component.test.js
Show resolved
Hide resolved
...ponents/app/gas-customization/gas-modal-page-container/gas-modal-page-container.container.js
Outdated
Show resolved
Hide resolved
.../gas-customization/gas-modal-page-container/tests/gas-modal-page-container-component.test.js
Show resolved
Hide resolved
.../gas-customization/gas-modal-page-container/tests/gas-modal-page-container-container.test.js
Outdated
Show resolved
Hide resolved
ui/app/components/app/gas-customization/gas-price-chart/gas-price-chart.utils.js
Show resolved
Hide resolved
394f93b to
0064827
Compare
|
@Gudahtt I believe I have addressed all your latest comments, and removed other code as well, in the latest commit |
0064827 to
d2c5c52
Compare
|
The d3/c3 removal requires build script changes, as they are explicitly pulled into a |
Builds ready [cfa2657]
Page Load Metrics (385 ± 61 ms)
|
cfa2657 to
60b820f
Compare
|
@Gudahtt this should be good to go now |
Builds ready [60b820f]
Page Load Metrics (359 ± 44 ms)
|
Gudahtt
left a comment
There was a problem hiding this comment.
LGTM, but needs a rebase to resolve the lockfile conflict
Co-authored-by: Erik Marks <25517051+rekmarks@users.noreply.github.com>
60b820f to
3ad445a
Compare
|
@Gudahtt this has been rebased |
Builds ready [3ad445a]
Page Load Metrics (388 ± 38 ms)
|
This PR removes our reliance on ethgasstation in favour of the metaswap /gasPrices api.
For now, to make this change, we have to remove our time estimate functionality. Most of the PR is deletion of code.