[bug] Approve Transaction Modal - Sending Unlimited XYZ
Link to minimal reproducible example
N/A
Summary
Why does the Sending field say "Unlimited" instead of the amount the user is sending?
List of related npm package versions
"dependencies": {
"@reown/appkit": "^1.0.4",
"@reown/appkit-adapter-wagmi": "^1.0.4",
"@tanstack/react-query": "^5.40.1",
"@wagmi/core": "^2.13.4",
"next": "^14.2.9",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"viem": "^2.21.2",
"wagmi": "^2.12.8",
},
hi @0xonerb can you show me what are you approving ?
hi @0xonerb
can you show me what are you approving ?
In this case it's a regular ERC-20 Approve call.
On metamask it shows the amount correctly, but when testing wallet with authentication we are seeing "unlimited".
hi @0xonerb can you show me what are you approving ?
Hey @rtomas... as @0x33dm said, it's a regular ERC-20 Approve call.
Hey @rtomas, here are two transactions:
- Transaction using AppKit: https://optimistic.etherscan.io/tx/0x177cd5aa50ec82e59c774ebb2694ca77ded0f82530d25d5777b3e9f6f7699e61
As you can see, in our app we made a transaction with an amount of 5:
The AppKit modal shows Unlimited WETH??
- Transaction using MetaMask: https://optimistic.etherscan.io/tx/0x1d37ed2aadaae405bf1ddf7cdc7fd52571231d1e5fb06677903722c832b46558
@0x33dm @0xonerb sorry for the delay - it may have been fixed - checking with the team
https://linear.app/reown/issue/APKT-2688/[bug]-approve-transaction-modal-text-and-amount-are-wrong
Releasing in the next version.