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

adding extra delay to give web3 providers more time to synch and load…

Open mdigi14 opened this issue 2 years ago • 1 comments

Added an extra delay to the code that checks for bundle inclusion. I have encountered bugs where the TransactionNotFound error is raised even when my bundles land on chain.

This suggests that web3 providers sometimes update the value returned by 'w3.eth.block.number' before the 'w3.eth.get_transaction()' endpoint is aware of all transaction hashes from a recent block.

This may cause an issue where end-users send the same bundle twice because they do not receive proper confirmation.

mdigi14 avatar Oct 07 '22 15:10 mdigi14

Yo this is actually an interesting idea. I am wondering if it will have unintended adverse side effects in some areas. WDYT?

odysseus0 avatar Aug 01 '24 08:08 odysseus0