-
Notifications
You must be signed in to change notification settings - Fork 173
Open
Description
Currently, state root assertions are disabled in test_proof_generation_doesnt_break_sequencer. To re-enable those assertions, we need to fix the following issues:
- Proofs are excluded from replay planning.
executor_events.rs:289 explicitly ignores ReadBlob::Proof in fetch_completed_blobs_by_sequence.
This feeds resync/replay decisions via inner.rs:309, sync_state.rs:418, and sync_state.rs:467. - Proof events are no-op during catchup/replay.
update_state.rs:349 handles DbEvent::ProofBlobAccepted(_) by doing nothing.
That path is used in replay and final catchup loops from mod.rs update-state flow. - Proof ingestion path still has explicit TODO instead of executor processing.
sync_state.rs:803 says TODO: Process proof blob in the executor; currently it only publishes side effects. - Replica path for proofs is unimplemented.
replica/event_handler.rs:64 has DbData::NewProof { .. } => todo!(). - Resync condition logic is batch-centric, so proof-only pending work is invisible.
sync_state.rs:534 uses are_there_batches_to_replay.
sync_state.rs:509 derives oldest unfinalized from batch list only.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels