mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-23 18:41:38 +01:00
95a95ee4bc
The transaction list now filters by token in the `TransactionList` component instead of in the transaction selector. This was done in preparation for the asset page work. Technically this approach is slightly less efficient than before, as we're now filtering the transactions after they've been grouped together rather than beforehand. The difference is minimal though, and this method is more correct. The old filtering was broken because it inappropriately filtered out cancel transactions. Cancel transactions always have the `to` address set to the same as the `from` address, and the token filter only returned transactions where the `to` address was set to the token address. Now that we're only filtering by the `to` address of the initial transaction, token transaction groups will be included in their entirety, including any cancel transactions. |
||
---|---|---|
.. | ||
confirm-transaction.test.js | ||
custom-gas.test.js | ||
permissions.test.js | ||
selectors.test.js | ||
send-selectors-test-data.js | ||
send.test.js | ||
tokens.test.js | ||
transactions.test.js |