-
Notifications
You must be signed in to change notification settings - Fork 97
Labels
bugSomething isn't workingSomething isn't workingignore-staleOverride for issues or PRs which should not be removed if stale.Override for issues or PRs which should not be removed if stale.sequencer-relayerpertaining to the astria-sequencer-relayer cratepertaining to the astria-sequencer-relayer crate
Description
Description
The relayer becomes stuck when a transaction is evicted from the Celestia mempool. Instead of handling the eviction and attempting to resubmit or recover, it enters an infinite loop trying to check the transaction status.
Current Behavior
When a transaction is evicted:
- The relayer continues to use
get txto check the block height where the transaction landed - Since the transaction was evicted, this endpoint never returns a result
- The relayer enters an infinite loop with the warning:
WARN submit_blobs: astria_sequencer_relayer::relayer::celestia_client: waiting to confirm blob submission reason={"0": "transaction still pending"} tx_hash="2EEACE2C73108772A50EC38658C0B814CA23044F1A3B5F3FD168034E2AF097CB"
- The only current solution is to manually restart the relayer
Expected Behavior
The relayer should:
- Detect when a transaction has been evicted
- Handle the eviction appropriately (e.g., resubmit the transaction or log an error)
- Continue processing new submissions
Impact
- Relayer becomes stuck and requires manual intervention
- Firm/Soft drift on rollup that could potentially lead to a rollup halt
- Triggers monitoring alerts for finalized block sync
Additional Context
- Celestia core exposes a
TxStatusendpoint which could be used to gather better status updates on a transaction- e.g, Comitted tx, Evicted tx
┆Issue Number: ENG-1080
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingignore-staleOverride for issues or PRs which should not be removed if stale.Override for issues or PRs which should not be removed if stale.sequencer-relayerpertaining to the astria-sequencer-relayer cratepertaining to the astria-sequencer-relayer crate