CrossChainArbitrageBot icon indicating copy to clipboard operation
CrossChainArbitrageBot copied to clipboard

Getting a 400 error when updating contract addresses

Open devdanio opened this issue 4 years ago • 0 comments

I've cloned the repo and left it 99% untouched aside from changing the contract addresses. I wanted to perform an arb between Chainlink/Matic.

I updated: Ethereum's chainlinks address to: 0x514910771af9ca656af840dff83e8264ecf986ca Polygon's chainlink address to: 0x53e0bca35ec356bd5dddfebbd1fc0fd03fabad39

I get the pricing information just fine, and it shows there is an arb opportunity. However when I try to run buildTransaction I get the following error: Error_CrossChainArbinator_alive: Error: Paraswap unable to buildTransaction 0x514910771af9ca656af840dff83e8264ecf986ca 0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0 1 Request failed with status code 400

Any idea if I'm doing something wrong or if this is an issue w/ the API ?

devdanio avatar Sep 23 '21 14:09 devdanio