code: -32603: execution reverted: Too little received
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 5.5k
- Forks
- 5.4k
- PR merge metrics
- No merged PRs in 30d
Description
Bug Description
When trying to swap BOOST for ETH (or WETH) I get stuck in a swap confirmation loop.
I can see the pool has liquidity (https://v2.info.uniswap.org/pair/0xbc6d37be25b06471d9e094dbb800c1d006e5a9ed)
I'm using metamask extension in Chrome. Latest of both at time of writing.
Steps to Reproduce
- Go to Uniswap BOOST/ETH
- Connect Metamask wallet containing BOOST and plenty of ETH
- Enter amount of BOOST to swap
- (Approve Uniswap to access BOOST and wait for transaction to be confirmed)
- Click SWAP
- In "Confirm Swap" dialogue click "Confirm Swap"
Expected Behavior
I'd expect swap to be actioned, likely asking me to confirm in Metamask, or and error message telling me when it hasn't been actioned.
Actual Behavior
"Confirm Swap" dialogue disappears for a few seconds showing a "Waiting for confirmation" dialog behind. Then confirm swap screen reappears. Clicking "Confirm Swap" again just loops back to the same screen. Metamask is not invoked.
Checking the console I can see the following error:
inpage.js:1 MetaMask - RPC Error: execution reverted: Too little received
{code: -32603, message: 'execution reverted: Too little received', data: {…}}
code: -32603
data:
originalError:
code: 3
data: "0x08c379a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000013546f6f206c6974746c6520726563656976656400000000000000000000000000"
message: "execution reverted: Too little received"
}
message: "execution reverted: Too little received"
[[Prototype]]: Object
Poking around in the properties didn't show up anything interesting.
Additional Context
N/A
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Begin with the Uniswap BOOST/ETH swap URL and reproduce the confirmation loop using the listed steps. Inspect the reported MetaMask console error, “execution reverted: Too little received,” and trace the swap flow until the failure point. Done means the swap is submitted for wallet confirmation or a clear error is shown without looping.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- blockchain, typescript
- Domain
- blockchain, frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100