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 ? May 28, 2021 at 21:36
  • @defikintaro You didn't read the question properly. This is way before that stage.
    – Neo
    May 29, 2021 at 0:45

2 Answers 2

2

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.

0

I have been looking for something like what you are searching for until I found these useful links, I hope I could help you guys!

https://adaascapital.com/price-impact-too-high-uniswap-fix/

https://adaascapital.com/price-impact-too-high-pancakeswap-solution/

Regards.

1
  • Link only answer are discouraged. Please write the answer and only use the link to expand the details.
    – Ismael
    Jan 2, 2022 at 17:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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