status-im / status-desktop

Status Desktop client made in Nim & QML
https://status.app
Mozilla Public License 2.0
287 stars 78 forks source link

[Wallet Connect] Failed to buy collectible on OpenSea when swap is involved #16117

Open alexjba opened 1 month ago

alexjba commented 1 month ago

Bug Report

Used dapp: OpenSea

Buying this collectible on optimism: https://opensea.io/assets/optimism/0x0deaac29d8a3d4ebbaaa3ecd3cc97c9def00f720/5681

at the end (after offering and converting eth to reth) tx failed with:

status-go - hashTypedDataV4 failed topics="wallet-connect-service" tid=34581919 file=service.nim:208 err="there is extra data provided in the message (11 < 12)"

ERR 2024-08-13 23:21:25.235+02:00 safeSignTypedData failed: topics="wallet-connect-controller" tid=34581919 file=controller.nim:162 msg="hashTypedData failed"

It could be up to the dapp! We have to check.

Issue identified by @saledjenic in https://docs.google.com/spreadsheets/d/1QkV08jm0ECV01x3yWTLnVGCjTluKQ-IBDJXsHjNeAQg/edit?gid=0#gid=0

virginiabalducci commented 1 week ago

I was able to purchase a collectible on Open Sea via Optimism Network

https://github.com/user-attachments/assets/f3a9493f-ad54-4a3e-9a89-3aa6d4edaee1 Attaching console log for reference app_20240905_105554.log