Skip to content

event_watcher.sync_to advances cursor past failed blocks #175

@wmagev

Description

@wmagev

process_block (allways/validator/event_watcher.py:324-332) catches all exceptions and returns silently, then sync_to unconditionally sets cursor = end at :321.

A transient WebSocket hiccup on a single block → SwapCompleted / SwapTimedOut events permanently dropped → affected miner stays marked busy, scoring goes wrong with no recovery path.

Direction: track per-block success and don't advance the cursor past blocks that threw.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions