From 3375ce84e64530b95cea1f376e3afc99f3b7677f Mon Sep 17 00:00:00 2001 From: NagyZoltanPeter <113987313+NagyZoltanPeter@users.noreply.github.com> Date: Thu, 25 Jun 2026 19:39:20 +0200 Subject: [PATCH] Dedup EventConnectionStatusChange (re-export from health_events) 9th duplicate EventBroker type: defined in both logos_delivery_api.nim and the decomposed waku/api/events/health_events.nim. The interface file now re-exports it. liblogosdelivery builds clean. Co-Authored-By: Claude Opus 4.8 --- logos_delivery/api/logos_delivery_api.nim | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/logos_delivery/api/logos_delivery_api.nim b/logos_delivery/api/logos_delivery_api.nim index 162159d8e..acdd3725b 100644 --- a/logos_delivery/api/logos_delivery_api.nim +++ b/logos_delivery/api/logos_delivery_api.nim @@ -13,16 +13,17 @@ import results, chronos import brokers/event_broker import types as api_types +# `EventConnectionStatusChange` lives in the decomposed health-events module. +# Re-export it here so the orchestrator surfaces it without duplicating the type. +import logos_delivery/waku/api/events/health_events as health_events + export api_types, event_broker +export health_events type ## Entry point. Holds one instance of each API layer. ILogosDelivery* = ref object of RootObj -EventBroker: - type EventConnectionStatusChange* = object - connectionStatus*: ConnectionStatus - method start*(self: ILogosDelivery): Future[Result[void, string]] {.async, base.} = return err("ILogosDelivery.start not implemented")