1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-26 20:39:08 +01:00
metamask-extension/ui/hooks/gasFeeInput
Dan J Miller b7b041c43b
Fix speed-up/cancel: don't update existing transaction data (#14355)
* Fix speed-up/cancel: don't update existing transaction data

* Move retryTxMeta state management to useGasFeeInputs.js

* Handle initial retryTxMeta set if no transaction is passed to useGasFeeInputs

* Ensure previousGas is use on retry transaction if it is available in useGasFeeInputs

* Remove update transaction mock and correctly test gas fee increase scenarios now that updateTransaction used in cancel-speedup is defined on the front end
2022-04-14 13:20:48 -02:30
..
test-utils.js
useGasEstimates.js
useGasEstimates.test.js
useGasFeeErrors.js
useGasFeeErrors.test.js
useGasFeeInputs.js
useGasFeeInputs.test.js
useGasPriceInput.js
useGasPriceInput.test.js
useMaxFeePerGasInput.js
useMaxFeePerGasInput.test.js
useMaxPriorityFeePerGasInput.js
useMaxPriorityFeePerGasInput.test.js
useTransactionFunction.test.js
useTransactionFunctions.js
utils.js