MetaMask / metamask-extension

:globe_with_meridians: :electric_plug: The MetaMask browser extension enables browsing Ethereum blockchain enabled websites
https://metamask.io
Other
12.07k stars 4.93k forks source link

[Bug]: Error Failed to update OnChain triggers User Storage does not exist - #28330

Open Unik0rnMaggie opened 2 weeks ago

Unik0rnMaggie commented 2 weeks ago

Describe the bug

Unable to toggle ON Notifications for Account 1

Expected behavior

Be able to Toggle ON Notifications for Account 1

Screenshots/Recordings

https://github.com/user-attachments/assets/555645da-7ebb-44bb-adbe-74cce55335ee

Screenshot 2024-11-06 at 18 26 15 Screenshot 2024-11-06 at 18 27 39

Steps to reproduce

  1. Create a new SRP using v 12.5.1.
  2. Use the new SRP on v 12.7.0 RC
  3. Go to Notifications
  4. Turn ON Account 1 Toggle
  5. Notice error: Something went wrong. Please try again.

Error messages or log output

User Storage does not exist
Failed to update OnChain triggers

{error: "key not found", message: "cannot get key"}
error: "key not found"
message: "cannot get key"

Detection stage

During release testing

Version

12.7.0

Build type

Other (please specify exactly where you obtained this build in "Additional Context" section)

Browser

Chrome

Operating system

MacOS

Hardware wallet

No response

Additional context

I obtained the build from here

State logs: MetaMask state logs.json

Severity

No response

Unik0rnMaggie commented 2 weeks ago

Possibly related to this bug

Or this one

benjisclowder commented 2 days ago

Hi @Unik0rnMaggie . Can you retry these steps again with Cloudfare disabled and let me know if you see the same behavior?

Unik0rnMaggie commented 1 day ago

Hi @benjisclowder! I am unable to reproduce the error again, with Cloudfare enabled and disabled.

The Account 1 toggle seems to be always ON now, when turning ON Notifications toggle.

https://github.com/user-attachments/assets/93befc40-fd11-4f61-8acf-a4dbacbc7056