optimism
optimism copied to clipboard
have batcher submit appropriate cancellation transactions when mempool is blocked
Description
Extend batcher to submit appropriate cancellation transactions when the mempool is blocked by a transaction of incompatible type.
Also makes the txmgr use the geth-defined AlreadyReservedErr instead of redefining it, now that op-geth has caught up to the commit that exposes it.
Tests
Extended the E2E tests to submit incompatible pending transactions to the txpool to confirm the new functionality appropriately clears them.
Metadata
- Fixes #[ethereum-optimism/protocol-quest/issues/102]