Skip to content

Commit

Permalink
chore(taiko-client): remove an unused argument in `NewProofSubmitterP…
Browse files Browse the repository at this point in the history
…acaya` (#18890)
  • Loading branch information
davidtaikocha authored Feb 7, 2025
1 parent 645f0a0 commit 16d2817
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 5 deletions.
1 change: 0 additions & 1 deletion packages/taiko-client/prover/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,6 @@ func (p *Prover) initProofSubmitters(
p.aggregationNotify,
p.cfg.ProverSetAddress,
p.cfg.TaikoL2Address,
p.cfg.Graffiti,
p.cfg.ProveBlockGasLimit,
p.txmgr,
p.privateTxmgr,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ func (s *ProofSubmitterTestSuite) SetupTest() {
s.aggregationNotify,
rpc.ZeroAddress,
common.HexToAddress(os.Getenv("TAIKO_ANCHOR")),
"test",
0,
txMgr,
nil,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ func NewProofSubmitterPacaya(
aggregationNotify chan uint16,
proverSetAddress common.Address,
taikoAnchorAddress common.Address,
graffiti string,
gasLimit uint64,
txmgr txmgr.TxManager,
privateTxmgr txmgr.TxManager,
Expand Down
4 changes: 2 additions & 2 deletions packages/taiko-client/prover/prover.go
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ func (p *Prover) Start() error {
}
}

// 3. Start the guardian prover heartbeat sender if the current prover is a guardian prover.
// 2. Start the guardian prover heartbeat sender if the current prover is a guardian prover.
if p.IsGuardianProver() && p.cfg.GuardianProverHealthCheckServerEndpoint != nil {
// Send the startup message to the guardian prover health check server.
if err := p.guardianProverHeartbeater.SendStartupMessage(
Expand All @@ -265,7 +265,7 @@ func (p *Prover) Start() error {
go p.guardianProverHeartbeatLoop(p.ctx)
}

// 4. Start the main event loop of the prover.
// 3. Start the main event loop of the prover.
go p.eventLoop()

return nil
Expand Down

0 comments on commit 16d2817

Please sign in to comment.