Uniswap / Uniswap/interface

`Internal JSON-RPC error` when swapping > 0.51 SNX on Optimistic Uniswap

Open
#2,526 6 comments 0 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
5.5k
Forks
5.4k
PR merge metrics
No merged PRs in 30d

Description

Bug Description
Whenever a user tries to swap > 0.51 SNX for another token, they receive the following error:
Screen Shot 2021-10-11 at 3 44 56 PM

If the user is swapping < 0.51 SNX, this error does not appear.

Steps to Reproduce

  1. Go to https://app.uniswap.org
  2. Switch to Optimistic Ethereum network
  3. Swap 0.51 SNX for ETH
  4. Reject transaction
  5. Swap 0.52 SNX for ETH
  6. See error.

Expected Behavior
There shouldn't be a limit to how much SNX users can swap at any time.

Additional Context
Someone from Synthetix's discord reported this issue in Optimism's discord.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.