Skip to content

feat: track only a pending batches in the consolidation bus#1692

Open
mkurayan wants to merge 1 commit intofeat/staking-router-3.0from
feat/staking-router-3.0-consolidation-bus-improvement
Open

feat: track only a pending batches in the consolidation bus#1692
mkurayan wants to merge 1 commit intofeat/staking-router-3.0from
feat/staking-router-3.0-consolidation-bus-improvement

Conversation

@mkurayan
Copy link
Contributor

@mkurayan mkurayan commented Mar 5, 2026

Currently, batch hashes are stored to prevent duplicate submissions. If the same batch is submitted again, the transaction reverts because the hash already exists.

However, this approach is flawed.

Consider a batch containing a single request. If the request fails (e.g., the validator has not yet become active), it is rejected on the CL. Although ConsolidationMigrator verifies that a deposit was made, this does not guarantee the validator is already active.

If the same batch is then resubmitted, it fails immediately because its hash is already stored, making retry impossible even though the original request never succeeded.

@mkurayan mkurayan requested a review from a team as a code owner March 5, 2026 07:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant