1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-23 03:36:18 +02:00
metamask-extension/test/unit/app/controllers/transactions
Mark Stacey 92592fc905
Ensure tx has value before it's added (#8486)
Previously a transaction would get assigned a default value during the
`addTxGasDefaults` function, after the transaction was added and sent
to the UI.

Instead the transaction is assigned a default value before it gets
added. This flow is simpler to follow, and it avoids the race condition
where the transaction is assigned a value from the UI before this
default is set. In that situation, the UI-assigned value would be
overridden, which is obviously not desired.
2020-04-30 21:50:44 -03:00
..
pending-tx-tracker-test.js Mark PendingTransactionTracker#resubmitPendingTxs as async (#8399) 2020-04-27 13:24:39 -02:30
recipient-blacklist-checker-test.js Rename recipientBlacklistChecker function (#8365) 2020-04-20 16:29:41 -02:30
tx-controller-test.js Ensure tx has value before it's added (#8486) 2020-04-30 21:50:44 -03:00
tx-gas-util-test.js Tidy up transaction-related unit tests (#8362) 2020-04-20 12:31:00 -02:30
tx-helper-test.js Tidy up transaction-related unit tests (#8362) 2020-04-20 12:31:00 -02:30
tx-state-history-helpers-test.js Export individual fns from tx-state-history-helpers (#8370) 2020-04-20 13:00:51 -02:30
tx-state-manager-test.js Skip adding history entry for empty txMeta diffs (#8379) 2020-04-22 11:09:16 +08:00
tx-utils-test.js Tidy up transaction-related unit tests (#8362) 2020-04-20 12:31:00 -02:30