What: Add unit tests that verify all events are emitted with correct data.
Why: Events are critical for indexers. Tests must verify events are emitted correctly.
Scope: Create test that: triggers each event-emitting function, captures events, verifies event topics and data match expected values.
Acceptance criteria:
- All events are emitted
- Event data is correct
- Event topics are correct
- Events are indexed
Technical context: tests/unit/ — existing unit tests.
What: Add unit tests that verify all events are emitted with correct data.
Why: Events are critical for indexers. Tests must verify events are emitted correctly.
Scope: Create test that: triggers each event-emitting function, captures events, verifies event topics and data match expected values.
Acceptance criteria:
Technical context:
tests/unit/— existing unit tests.