Skip to content

Commit

Permalink
feat(input-reader): add input reader to node supervisor
Browse files Browse the repository at this point in the history
  • Loading branch information
fmoura committed Jun 21, 2024
1 parent 755dbf5 commit c4abc15
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions internal/node/services.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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),
// )

// }

0 comments on commit c4abc15

Please sign in to comment.