From c4abc15cacaf03821fae01cf8ef8229a019a222e Mon Sep 17 00:00:00 2001 From: Francisco Moura Date: Fri, 21 Jun 2024 11:01:52 -0300 Subject: [PATCH] feat(input-reader): add input reader to node supervisor --- internal/node/services.go | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/internal/node/services.go b/internal/node/services.go index cd5cd46af..e3a0b61e6 100644 --- a/internal/node/services.go +++ b/internal/node/services.go @@ -125,6 +125,7 @@ func newSupervisorService(c config.NodeConfig, workDir string) services.Supervis s = append(s, newHttpService(c)) s = append(s, newPostgraphileService(c, workDir)) + //s = append(s, newInputReaderService(c, client, source, repo)) supervisor := services.SupervisorService{ Name: "rollups-node", @@ -164,3 +165,16 @@ func newPostgraphileService(c config.NodeConfig, workDir string) services.Comman s.WorkDir = workDir return s } + +// func newInputReaderService(c config.NodeConfig, client inputreader.EthClient, inputSource inputreader.InputSource, repo inputreader.InputReaderRepository) services.Service { + +// return inputreader.NewInputReader( +// client, +// inputSource, +// repo, +// common.HexToAddress(c.ContractsInputBoxAddress), +// uint64(c.ContractsInputBoxDeploymentBlockNumber), +// common.HexToAddress(c.ContractsApplicationAddress), +// ) + +// }