GingerBread
GingerBread copied to clipboard
I got this issue, can you tell me how to fix it?
Error: call revert exception [ See: https://links.ethers.org/v5-errors-CALL_EXCEPTION ] (method="getPair(address,address)", errorArgs=null, errorName=null, errorSignature=null, reason=null, code=CALL_EXCEPTION, version=abi/5.6.0)
at Logger.makeError (H:\abr\GingerBread\node_modules@ethersproject\logger\lib\index.js:233:21)
at Logger.throwError (H:\abr\GingerBread\node_modules@ethersproject\logger\lib\index.js:242:20)
at Interface.decodeFunctionResult (H:\abr\GingerBread\node_modules@ethersproject\abi\lib\interface.js:382:23)
at Contract.
Sure man. So according to Ethers docs, "This error occurs when a call or transaction is used to interact with the blockchain reverts (via revert, require, et cetera)". So there needs to be proper handling of errors in the code. But if you view the tx hash logged on the console alongside this error, or you check the blockchain for the transactions, the error should be similar to Pangolin: insufficient_liquidity
. My hypothesis for this is that other bots are faster and take advantage of the opportunity before Gingerbread bakes.
execution reverted: Pangolin: INSUFFICIENT_LIQUIDITY yes, i tried the node from chainstack but still slower than other bot, by the way, your code so friendly and helped me to understand a lot.
Hope you can upgrade it with so we can launch with the speed of light! thanks