EatTheBlocks Forum

Uniswap price rates stay the same every block?

After deploying the flashloan contract I ran the run-arbitrage.js now for over 1h and noticed that Uniswap buy & sell prices do not update and stay the same every block ? Kyber buy & sell prices on the other hand update fine… What could cause this issue ?

That’s very strange :frowning:
Maybe an issue with the Uniswap SDK.
I’ll take a look.

Yes, I am also having that problem, I tried changing the version of the sdk but that did not seem to work.

I have fixed it with the latest correction of the script.