1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 18:00:18 +01:00
metamask-extension/ui/hooks/gasFeeInput
Olusegun Akintayo e2c4e93ab0
When gas fees suggested by dapp is too high, show warning color and icon (#19088)
* When gas fees suggested by dapp is too high, show warning color and icon

Signed-off-by: Olusegun Akintayo <akintayo.segun@gmail.com>

tests

Signed-off-by: Olusegun Akintayo <akintayo.segun@gmail.com>

Fix tests

Signed-off-by: Olusegun Akintayo <akintayo.segun@gmail.com>

set a default for high gas fees

Signed-off-by: Olusegun Akintayo <akintayo.segun@gmail.com>

Fix test cases where transaction is undefined.

Signed-off-by: Olusegun Akintayo <akintayo.segun@gmail.com>

Fix locale error

Signed-off-by: Olusegun Akintayo <akintayo.segun@gmail.com>

Fix error where dappSuggestedGasFees is null

Signed-off-by: Olusegun Akintayo <akintayo.segun@gmail.com>

Fix icon for site suggested

Signed-off-by: Olusegun Akintayo <akintayo.segun@gmail.com>

Fix unit tests snapshot

Signed-off-by: Olusegun Akintayo <akintayo.segun@gmail.com>

* Fix QA Comments

Signed-off-by: Olusegun Akintayo <akintayo.segun@gmail.com>

* lint:fix

Signed-off-by: Olusegun Akintayo <akintayo.segun@gmail.com>

* Fix unit tests

Signed-off-by: Olusegun Akintayo <akintayo.segun@gmail.com>

* Fix PR comments

Signed-off-by: Olusegun Akintayo <akintayo.segun@gmail.com>

* Lint fix

Signed-off-by: Olusegun Akintayo <akintayo.segun@gmail.com>

* Fix PR comment. - call setEstimateUsed only once.

Signed-off-by: Olusegun Akintayo <akintayo.segun@gmail.com>

* use constants for Priority levels.

Signed-off-by: Olusegun Akintayo <akintayo.segun@gmail.com>

---------

Signed-off-by: Olusegun Akintayo <akintayo.segun@gmail.com>
2023-06-08 13:26:18 +03:00
..
test-utils.js feature: convert level 32 files to typescript (#17390) 2023-01-27 18:28:03 +00:00
useGasEstimates.js feature: convert level 32 files to typescript (#17390) 2023-01-27 18:28:03 +00:00
useGasEstimates.test.js Relocate conversion utils to shared/modules/conversion.utils.js (#17319) 2023-01-20 11:04:37 -06:00
useGasFeeErrors.js feature: convert level 32 files to typescript (#17390) 2023-01-27 18:28:03 +00:00
useGasFeeErrors.test.js Removing flag for EIP1559 V2 support (#16446) 2022-12-09 00:07:06 +05:30
useGasFeeInputs.js When gas fees suggested by dapp is too high, show warning color and icon (#19088) 2023-06-08 13:26:18 +03:00
useGasFeeInputs.test.js feature: convert level 32 files to typescript (#17390) 2023-01-27 18:28:03 +00:00
useGasPriceInput.js feature: convert level 32 files to typescript (#17390) 2023-01-27 18:28:03 +00:00
useGasPriceInput.test.js feature: convert level 32 files to typescript (#17390) 2023-01-27 18:28:03 +00:00
useMaxFeePerGasInput.js Relocate conversion utils to shared/modules/conversion.utils.js (#17319) 2023-01-20 11:04:37 -06:00
useMaxFeePerGasInput.test.js feature: convert level 32 files to typescript (#17390) 2023-01-27 18:28:03 +00:00
useMaxPriorityFeePerGasInput.js Ensure the advanced gas modal displays a zero priority fee if that is how it is set in the transaction (#17559) 2023-02-03 12:30:49 -03:30
useMaxPriorityFeePerGasInput.test.js Ensure the advanced gas modal displays a zero priority fee if that is how it is set in the transaction (#17559) 2023-02-03 12:30:49 -03:30
useTransactionFunction.test.js Fix speed up of 0 max priority fee transactions (#17547) 2023-02-03 07:57:32 -03:30
useTransactionFunctions.js Fix speed up of 0 max priority fee transactions (#17547) 2023-02-03 07:57:32 -03:30
utils.js feature: convert level 32 files to typescript (#17390) 2023-01-27 18:28:03 +00:00