Skip to content

event_watcher.apply_event keys events by name strings #170

@atoz96

Description

@atoz96

allways/validator/event_watcher.py:382-413 routes events with if name == 'MinerActivated': .... Renaming an event in the contract metadata would silently route to the default branch. Materialise the event names as an enum (or constants module) so a missing import surfaces as an ImportError rather than a runtime no-op.

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