flashbots / ethers-provider-flashbots-bundle

Flashbots provider for ethers.js
549 stars 215 forks source link

getConflictingBundle doesn't work properly : Error : Target bundle errors at top of block #85

Open polyphia opened 1 year ago

polyphia commented 1 year ago

I am trying to use getConflictingBundle endpoint and always get this error when my txs are 100% sure not reverting, doesn't make any sense .

when same tx sent to mainnet without any relevant state changes there are no reverts when simed in tenderly no reverts when siming with flashbots all good. With getConflictingBundle however, this error happening almost everytime , even for bundles which were included!

What's this all about ? There is nothing in the documentation providing insights into this but seems like some issue with the way flashbots is simulating the transaction ?

zeroXbrock commented 1 year ago

Thanks for flagging this. The issue is probably a bug in our backend. Looking into it.

Florian-S-A-W commented 1 year ago

Did you switch to a non-archive Node recently @zeroXbrock ? The demos all return "missing trie node" now, which was not the case 2 months ago. "Target bundle errors at top of block" is just what the script throws as a generic error message.