web3-flashbots icon indicating copy to clipboard operation
web3-flashbots copied to clipboard

Continuous Send Bundle Transactions, the simulate goes to failed by "nonce too high" error

Open UselessXiaoYao opened this issue 2 years ago • 0 comments

Hi, When I write some test case, for example, 1st step, swap ETH to UNI, 2nd step approve uniswap router, then the 3rd step swap UNI back to ETH. I always meet "nonce too high" error when I do simulation of the approve transaction, because the 1st step block number is same as the simulate block, and the nonce to the block has not increased yet, but new transaction's nonce has to increase. So, do I have to do a delay to stagger this block? Or this is just a bug?

UselessXiaoYao avatar Nov 07 '23 08:11 UselessXiaoYao