0

I created this basic smart contract on Rinkeby (uses OpenZeppelin ERC20PresetMinterPauser preset), minted 1m FOO, then added liquidity on Uniswap v2 with 10 ETH and 1m FOO. I then swapped 1 ETH for 90,661 FOO.

However, if I try to swap back, it says "Price Impact Too High", no matter how little amount of FOO I specify:

enter image description here

In fact, the info balloon says 0% price impact, so this makes it even more odd:

enter image description here

Any help appreciated. Of course, I set my price slippage to 30% to make sure, but there's clearly something else going on here.

2
  • Hi, did you check the gas price or gas amount you've sending ? – defikintaro May 28 at 21:36
  • @defikintaro You didn't read the question properly. This is way before that stage. – Neo May 29 at 0:45
0

I contacted Uniswap support on Discord, and they said it's a known issue on testnets due to them using "fake dollar prices", and it can be worked around by enabling Expert Mode, which I did, and it allowed me to 'Swap Anyway'. The issue is described in this GitHub issue - slightly different issue, but same root cause.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.