Skip to content

tests/observer_tests.rs references the removed propchain_traits::observer module and is never compiled #1210

Description

@nanaf6203-bit

Context: tests/observer_tests.rs (in the tests/ crate) does use propchain_traits::observer::{EventBus, EventKind, EventObserver}; contracts/traits/src/lib.rs now ships event_bus and dropped observer, and no tests/lib.rs mod pulls observer_tests in - so the file is both stale and dead.

Problem: The EventBus abstraction the tests describe is gone (or renamed), so a future fix the compile attempt will fail; meanwhile the test suite covers nothing about event fan-out, leaving the event_bus replacement untested.

Proposed approach: Either rewire observer_tests.rs to the traits::event_bus implementation and register it in tests/lib.rs, or delete it and add equivalents testing the new bus.

Acceptance criteria: tests crate compiles with the file wired (or file removed); event_bus fan-out has its own tests.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Medium ComplexityStellar WaveIssues in the Stellar wave programbugSomething isn't workingtestingtesting related issues

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions