rundler
rundler copied to clipboard
builder: Handle senders without pending transaction support
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.