rundler icon indicating copy to clipboard operation
rundler copied to clipboard

builder: Handle senders without pending transaction support

Open dancoombs opened this issue 1 year ago • 0 comments

Describe the feature Not all senders have the ability to check the status of a pending transaction.

Examples:

  • Optimism
  • Arbitrum
  • Flashbots (when using non-Flashbots builders)

The builder should be able to handle this case, and instead of logging the transaction as dropped, it should resend after N blocks with a higher fee.

We can view senders that support pending transactions as a special case that lets us resend after < N blocks if we notice the transaction has specifically been dropped. If the sender does not support pending transactions, we will always wait N blocks. We will likely set N to 2 on most networks, Arbitrum being the special case.

dancoombs avatar Aug 13 '23 18:08 dancoombs