Android DApp sends an approve request to MetaMask via WalletConnect V2, and the received approve quantity will change

Android WalletConnect V2 connect MetaMask。
DApp sends approve request to MetaMask , and the MetaMask received approve quantity will change

dapp send data:
0x095ea7b300000000000000000000000080d225d3125de96b4799267557316d59530e23b700000000000000000000000000000000000000000000142ef487396f1a560000

MetaMask received data:
0x095ea7b300000000000000000000000080d225d3125de96b4799267557316d59530e23b700000000000000000000000000000000000000000000142ef487396f1a000000

dapp send approveNum:
hex:0x142ef487396f1a560000

MetaMask received approveNum:
hex:0x142ef487396f1a000000

Hi!

Is this your GH ticket? Is this for MetaMask SDK?

2 Likes

Hi @carl I experience the same issue on iOS and Android with WalletConnect v2 (native apps and mobile webapp with deeplinks using wagmi)

Did you find a workaround ?

I have a different behaviour between iOS/Chrome extension app for the same Approval request

My data is in both cases :
0x095ea7b3000000000000000000000000654d0cc27b31810d38fd0f02f4e4bb8055a8a56700000000000000000000000000000000000000000000000025b8b79e27a92ca4

On iOS, it’s showing :
2.718124265016208384

On Desktop :
2.718124265016208548 (correct amount)

This is one transaction hash executed from the iOS app : 0x47e1893e9728e082613b8237127e54f1253046a05908a213a57c88f6aa5fa454?trace=0


Why the iOS app is trying to change the amount with a lower amount than request in the transaction data ?
Thanks for your support !

Hi @selenium79 did you open a support ticket about it if not please do: https://support.metamask.io/hc/en-us/requests/new?ticket_form_id=15901411323931

I am not sure I can
I get for MetaMask wallet:

Is there a way to open a github issue ?

also this discussion look similar
/t/android-dapp-sends-an-approve-request-to-MetaMask-via-walletconnect-v2-and-the-received-approve-quantity-will-change/26909

@0xroo

Yes it looks similar would you mind commenting here, adding more details about your case: Android DApp sends an approve request to MetaMask via WalletConnect V2, and the received approve quantity will change. · Issue #7148 · MetaMask/metamask-mobile · GitHub Are you using walletconnect too? Thanks

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.