Skip to content

feat(sequencer): (A-526) rotate publishers when send fails (backport #20888)#20968

Draft
AztecBot wants to merge 2 commits intov4from
claudebox/cfac9bcd6262b67d-1
Draft

feat(sequencer): (A-526) rotate publishers when send fails (backport #20888)#20968
AztecBot wants to merge 2 commits intov4from
claudebox/cfac9bcd6262b67d-1

Conversation

@AztecBot
Copy link
Collaborator

Backport of #20888 to v4.

When Multicall3.forward() throws a send-level error, retry with the next available publisher instead of returning undefined. On-chain reverts and simulation errors are not retried.

Conflict resolution

The cherry-pick had a conflict in sequencer-publisher.ts because v4 doesn't have the txContext (failed tx backup) feature that exists on next. The resolution:

  • Kept the forwardWithPublisherRotation method and its integration
  • Called callbackBundledTransactions without the txContext parameter (not available on v4)
  • Removed the txContext context-capturing block that was part of the incoming changes but depends on next-only code

ClaudeBox log

@AztecBot AztecBot added the claudebox Owned by claudebox. it can push to this PR. label Feb 27, 2026
@PhilWindle PhilWindle changed the base branch from v4 to backport-to-v4-staging February 27, 2026 18:02
Base automatically changed from backport-to-v4-staging to v4 February 27, 2026 18:03
danielntmd and others added 2 commits February 27, 2026 18:15
When Multicall3.forward() throws a send-level error, retry with the next
available publisher instead of returning undefined.
On-chain reverts and simulation errors are not retried.

Co-authored-by: danielntmd <danielntmd@nethermind.io>
The cherry-pick from next had conflicts because v4 lacks the txContext
(failed tx backup) feature. This commit:
- Replaces direct Multicall3.forward call with forwardWithPublisherRotation
- Calls callbackBundledTransactions without txContext param (not on v4)
@AztecBot AztecBot force-pushed the claudebox/cfac9bcd6262b67d-1 branch from d56a84b to 7275789 Compare February 27, 2026 18:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

claudebox Owned by claudebox. it can push to this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants