Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: signTypedData using Coinbase Wallet not working #4414

Closed
1 task done
ceduarte25 opened this issue Nov 19, 2024 · 1 comment
Closed
1 task done

bug: signTypedData using Coinbase Wallet not working #4414

ceduarte25 opened this issue Nov 19, 2024 · 1 comment

Comments

@ceduarte25
Copy link

ceduarte25 commented Nov 19, 2024

Check existing issues

Describe the bug

I am doing signing of EIP 712 message using Metamask and Coinbase wallet. I connected both using wagmi connectors as well. The signTypedData is working fine when I am on Metamask so I was expecting it will work on Coinbase as well. But when I am trying to sign on Coinbase, its given me this error:

UnknownRpcError: An unknown RPC error occurred.

Details: hashFuncMap[method] is not a function

Link to Minimal Reproducible Example

https://stackblitz.com/edit/new-wagmi-hys7ma?file=src%2Fwagmi.ts,src%2FApp.tsx,src%2Fmain.tsx

Steps To Reproduce

  1. Click connect with metamask
  2. Click sign once connected, the metamask popup will show up with correct message data
  3. Disconnect with metamask and connect with coinbase
  4. Click sign once connected again, it will show the error

What Wagmi package(s) are you using?

wagmi, @wagmi/connectors, @wagmi/core

Wagmi Package(s) Version(s)

^2.12.31

Viem Version

2.x

TypeScript Version

No response

Anything else?

When I am creating the stackblitz, I noticed that it's working fine on wagmi v2.0.0 and viem v2.0.0. When I tried upgrading it to the versions I am using, it starts failing.

@tmm
Copy link
Member

tmm commented Nov 27, 2024

Not able to reproduce against latest Wagmi version. This is likely a Coinbase Wallet SDK bug and should be reported upstream if it occurs again.

@tmm tmm closed this as not planned Won't fix, can't repro, duplicate, stale Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants