feat(flashblocks): shift atomic gossip op, wspub on seq after p2p gossip#210
feat(flashblocks): shift atomic gossip op, wspub on seq after p2p gossip#210
Conversation
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
@claude review this PR |
|
Claude finished @sieniven's task in 3m 31s —— View job PR Review: feat(flashblocks): shift atomic gossip op, wspub on seq after p2p gossip
SummaryGood architectural direction — removing 🔴 Critical: WS publishes before p2p gossip in
|
Summary
Fixes the websocket publishing logic on the flashblocks builder into the p2p node service instead. This ensures zero re-org on subscribed flashblocks RPC nodes by ensuring p2p gossip to follower sequencers is a blocking successful operation first before gossiping the flashblocks to RPC nodes.
This allows for atomicity on flashblocks replay during sequencer switches / failures of the leader sequencer, to replay consistent gossiped flashblocks across RPC nodes. This ensures flashblocks re-org is guaranteed protected on RPC nodes.