Bug: Unable to use signTypedData_v4 in snapshot.org
Describe the bug
In the compiled version of snapshot, I see an error but it works fine when running locally in dev
Steps
FYI - This might be snapshot.org specific problem, however it affects a large number of users of snapshot.org
- Go to this URL https://snapshot-ztk9cr4q9-snapshot.vercel.app/#/pistachiodao.eth/proposal/0x08c3bd2960700525770a1d634f8599ba967e55fcc05b6c1649d984d88253769d
- Connect with Coinbase wallet and try to vote
- You will see an error in console

This only happens on build version and does not happen on development mode.
Here's how we create the provider (its inside @snapshot-labs/lock package)

Here's how we get the signer (its inside @snapshot-labs/snapshot.js package)

Expected behavior
It should open the confirmation in the mobile phone app.
Version
3.0.11
Additional info
FYI - I haven't tested this with the coinbase wallet chrome extension.
Desktop
- Browser - Chrome
Smartphone
- OS Android
Is this about me?
Bug
Any update on this?
You can reproduce the issue on this proposal https://snapshot-ztk9cr4q9-snapshot.vercel.app/#/pistachiodao.eth/proposal/0x08c3bd2960700525770a1d634f8599ba967e55fcc05b6c1649d984d88253769d just connect wallet select a choice and try to vote and you should see the error in the console
Coinbase Wallet supports both eth_signTypedData_v3 and eth_signTypedData_v4.
Can you please clarify -
- Are you testing using the Coinbase Wallet mobile app, or the browser extension?
- What version(s) are you using for testing?
@taycaldwell The issue occurs when you connect with the mobile app to a desktop running snapshot in chrome via QR code scan.
My app version is 28.2.17
hi. sorry for the belated response. we are marking stale issues closed for now. please try the latest CBWallet mobile app with version 28.23. feel free to open a new one if needed. thanks.