1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/ui/helpers/utils
Dan J Miller 78f68b3dab 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 08:53:33 -07:00
..
optimism
build-types.js
common.util.js
common.util.test.js
confirm-tx.util.js
confirm-tx.util.test.js
conversions.util.js
conversions.util.test.js
fetch-with-cache.js
fetch-with-cache.test.js
formatters.js
gas.js Fix speed-up/cancel: don't update existing transaction data (#14355) 2022-04-14 08:53:33 -07:00
gas.test.js
hardware.js
i18n-helper.js
i18n-helper.test.js
icon-factory.js
is-mobile-view.js
metric.test.js
metrics.js
permission.js
settings-search.js
settings-search.test.js
storage-helpers.js
switch-direction.js
token-util.js
transactions.util.js
transactions.util.test.js
tx-helper.js
tx-helper.test.js
util.js
util.test.js
webcam-utils.js