Add a minimumGasLimit to the gas customization modal in swaps#9600
Merged
Add a minimumGasLimit to the gas customization modal in swaps#9600
Conversation
Contributor
|
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. |
Collaborator
Builds ready [c8b6f9c]
Page Load Metrics (426 ± 57 ms)
|
Gudahtt
reviewed
Oct 14, 2020
Gudahtt
reviewed
Oct 14, 2020
ui/app/components/app/gas-customization/advanced-gas-inputs/advanced-gas-inputs.component.js
Outdated
Show resolved
Hide resolved
30320eb to
883b861
Compare
Collaborator
Builds ready [94d0734]
Page Load Metrics (530 ± 86 ms)
|
94d0734 to
ebd1607
Compare
e7d578d to
1f95d2f
Compare
ebd1607 to
eed9b46
Compare
Collaborator
Builds ready [eed9b46]
Page Load Metrics (370 ± 47 ms)
|
Member
|
I've just moved this into draft, since it appears to depend upon #9599 and is pointed at that branch. |
e7edabe to
64d27e8
Compare
d8c11ec to
d2af763
Compare
Collaborator
Builds ready [d2af763]
Page Load Metrics (441 ± 54 ms)
|
ae648eb to
b590270
Compare
d2af763 to
339aa3b
Compare
Collaborator
Builds ready [339aa3b]
Page Load Metrics (426 ± 59 ms)
|
0d43898 to
17decb1
Compare
339aa3b to
26c61ef
Compare
Collaborator
Builds ready [26c61ef]
Page Load Metrics (443 ± 64 ms)
|
17decb1 to
a417a68
Compare
a417a68 to
2630068
Compare
26c61ef to
6f751d1
Compare
Collaborator
Builds ready [6f751d1]
Page Load Metrics (443 ± 68 ms)
|
6f751d1 to
e17bbd0
Compare
Contributor
Author
|
@Gudahtt This has been rebased and moved out of draft |
Collaborator
Builds ready [e17bbd0]
Page Load Metrics (401 ± 54 ms)
|
Gudahtt
reviewed
Nov 9, 2020
ui/app/pages/swaps/swaps-gas-customization-modal/swaps-gas-customization-modal.container.js
Show resolved
Hide resolved
e17bbd0 to
6cede74
Compare
Collaborator
Builds ready [6cede74]
Page Load Metrics (361 ± 37 ms)
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR extends the functionality of the gas customization modal to accept a
minimumGasLimitand to prevent the user from setting the gas limit below that minimum. This is used in the swaps view-quote screen to ensure the gas limit is always set to an amount that will avoid 'Out of gas' errors.Demo