Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

mikhailUshakoff
Copy link
Collaborator

No description provided.

@mikhailUshakoff mikhailUshakoff linked an issue Jun 2, 2025 that may be closed by this pull request
Base automatically changed from mu/timestamp-too-large to master June 2, 2025 13:32
@mikhailUshakoff mikhailUshakoff force-pushed the mu/remove-batch-later branch from fb6b7da to 6200fd5 Compare June 4, 2025 13:25
coinbase: Address,
current_l1_slot_timestamp: u64,
) -> Result<(), Error> {
let sending_guard = match self.transaction_monitor.get_sending_guard().await {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We shouldn't get the guard outside the transaction monitor, that's easy way to have synchronization issues.

@mskrzypkows
Copy link
Collaborator

Maybe easier is to consume a batch by a transaction monitor when estimation passed? So it's removed from the batch queue and transaction monitor owns it, it can retry sending it if necessary.
This way we don't care about removing the batch after success, it will be already out of the queue. 🤔

@mikhailUshakoff mikhailUshakoff marked this pull request as draft June 5, 2025 11:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Delete batch after transaction success

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.