1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 01:39:44 +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 Fix speed-up/cancel: don't update existing transaction data (#14355) 2022-04-14 13:20:48 -02:30
useGasFeeInputs.test.js
useGasPriceInput.js
useGasPriceInput.test.js
useMaxFeePerGasInput.js
useMaxFeePerGasInput.test.js
useMaxPriorityFeePerGasInput.js
useMaxPriorityFeePerGasInput.test.js
useTransactionFunction.test.js update gas fees (#13646) 2022-03-25 21:11:04 +04:00
useTransactionFunctions.js Fix speed-up/cancel: don't update existing transaction data (#14355) 2022-04-14 13:20:48 -02:30
utils.js