MetaMask / MetaMask/metamask-extension

[Bug]: Clear activity tab does not clear pending transactions if network manager selection is All popular networks

Open
#39,174 0 comments 1 reaction 2 assignees Claimed by @matthewwalsh0 View on GitHub
INVALID-ISSUE-TEMPLATE network-manager regression-RC-13.14.0 Sev2-normal team-confirmations Transactions type-bug
Dominant language
TypeScript
Stars
13.2k
Forks
5.6k
Avg merge
2d 5h
Merged PRs (30d)
451

Description

**Describe the bug**

If the network manager selection is All popular networks, then clearing activity tab data does not clear the pending transactions from Activity.

The pending transaction is cleared only if the network manager selection is on one single network

**Expected behavior**

Clear Activity tab data to clear pending transactions on both All popular networks and single network selection

**Screenshots/Recordings**

https://github.com/user-attachments/assets/20fc3db0-f13b-4c42-8ceb-0b7406dd200e

**Steps to reproduce**

1. Trigger a pending transaction
2. Select All Popular networks in network manager
3. Go to Advanced Settings
4. Click Clear activity tab data
5. Go to Activity
6. Notice the pending transaction did not clear
7. Switch networks in network manager to the same network as the pending transaction
8. Repeat steps 3 and 4
9. Go to Activity
10. Notice the pending transaction is now cleared

**Error messages or log output**

```shell

```

**Where was this bug found?**

Internal release testing

**Version**

13.14.0

**Build type**

None

**Browser**

Chrome

**Operating system**

MacOS

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.