Skip to content

[Bug]: PPOM - Storage is not cleaned up when disabling the Blockaid feature #22776

@seaona

Description

@seaona

Describe the bug

Problem: whenever we disable Blockaid from settings, I see that the storage is not cleaned up and all the files which were already downloaded for each network remain there.

Expected behavior

We should clean up the storage when the feature is disabled

Screenshots/Recordings

storage-extension.mp4

Steps to reproduce

  1. Open the background console in the Application tab
  2. Select Mainnet, Linea, Optimism (any supported Blockaid network)
  3. Refresh the storage
  4. See how the data for each network are save in storage
  5. Now disable Blockaid from settings
  6. Refresh the storage
  7. See how the data is still there

Error messages or log output

No response

Version

11.7.5 onwards

Build type

None

Browser

Chrome, Firefox

Operating system

Linux

Hardware wallet

No response

Additional context

No response

Severity

No response

Metadata

Metadata

Assignees

Labels

Sev2-normalNormal severity; minor loss of service or inconvenience.team-confirmationsPush issues to confirmations teamteam-confirmations-secure-ux-deprecatedDEPRECATED: please use "team-confirmations" insteadtype-bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions