-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Feature/high gas warn #2306
Feature/high gas warn #2306
Conversation
app/components/UI/TransactionReview/TransactionReviewInformation/index.js
Show resolved
Hide resolved
Are we showing the warning if the user chooses 1.5 times the 'Fast' gas setting? |
@omnat We are showing the warning if it is anything over the "Fast" value. Does it need to be changed to 1.5x? |
…ced padding to make sure details are visisble
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixes look good, QA Passed 👍🏽
* added high fee error warning to custom gas view * updated text layout to wrap and center error text * updated strings for high gas message * adding high gas warning to dapp flow * minor ui tweaks and dapp flow updates and reducer modification * remove console log statements * updated jest snapshots * bug fix when swap merged into branch * updated snapshots * PR comments and feedback * unit test snapshot updated * added color to gasInput style * updated snapshot and removed console log * fixed spelling error in high_gas_price warning * added high gas warning to swaps views * added gas warning into ApproveTransactionReview from deeplink * remove console logs * moved the position of errors int he ApproveTransactionReview and reduced padding to make sure details are visisble * PR feedback on location of warning * set the gas warning threshold to 1.5x the fast price * reset gas warning when preset slow to fast toggles are selected
Description
This feature will warn users if they have entered a gas price that is higher than the recommend "Fast" price during the entire transaction flow.
Checklist