Skip to content

[Bug]: PPOM - Origin normalization error with WC transactions/signatures Can not convert wc:https://metamask... origin to URL [TypeError: Invalid URL https://wc::https://... #9158

@seaona

Description

@seaona

Describe the bug

Whenever triggering a transaction from Wallet Connect, I see the error MetaMask DEBUG]: Can not convert wc::https://metamask.github.io/test-dapp/ origin to URL [TypeError: Invalid URL: https://wc::https://metamask.github.io/test-dapp/] and Non-serializable values were found in the navigation state. Check:

Expected behavior

We should normalize the origin correctly

Screenshots/Recordings

Screenshot from 2024-04-08 09-19-18

wc-normalization-error.mp4

Steps to reproduce

  1. Go to the test dapp on your computer
  2. Click Wallet Connect
  3. Scan QR code from your phone
  4. Trigger a transaction from the test dapp
  5. See error

Error messages or log output

No response

Version

7.20.0

Build type

None

Device

Pixel 6

Operating system

Android

Additional context

No response

Severity

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Sev3-lowA possible confusion or deception that is only hypothetical & has no known instances in the wildregression-prod-7.20.0Regression bug that was found in production in release 7.20.0staleIssues that have not had activity in the last 90 daysteam-confirmationsPush issues to confirmations teamtype-bugSomething isn't working

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions