From 95a3948752a1d6b8e9f3b9bdd8e316acd1020392 Mon Sep 17 00:00:00 2001 From: Bryan White Date: Thu, 29 Jun 2023 08:51:18 +0200 Subject: [PATCH] chore: add TECHDEBT comment --- p2p/module.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/p2p/module.go b/p2p/module.go index a05099a77..01e475d1b 100644 --- a/p2p/module.go +++ b/p2p/module.go @@ -333,6 +333,9 @@ func (m *p2pModule) setupCurrentHeightProvider() error { m.logger.Debug().Msg("setupCurrentHeightProvider") currentHeightProviderModule, err := m.GetBus().GetModulesRegistry().GetModule(current_height_provider.ModuleName) if err != nil { + // TECHDEBT(#810): add a `consensusCurrentHeightProvider` submodule to wrap + // the consensus module usage (similar to how `persistencePeerstoreProvider` + // wraps persistence). currentHeightProviderModule = m.GetBus().GetConsensusModule() }