Skip to content
This repository has been archived by the owner on May 11, 2024. It is now read-only.

Commit

Permalink
fix(prover):fix Guardian prover waiting (#462)
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberhorsey authored Dec 3, 2023
1 parent 51fd8f9 commit 8266845
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions prover/prover.go
Original file line number Diff line number Diff line change
Expand Up @@ -1284,6 +1284,11 @@ func (p *Prover) signBlock(ctx context.Context, blockID *big.Int) error {
"eventBlockID", blockID.Uint64(),
)
time.Sleep(6 * time.Second)

latest, err = p.rpc.L2.BlockByNumber(ctx, nil)
if err != nil {
return err
}
}

log.Info("guardian prover block signing caught up",
Expand Down

0 comments on commit 8266845

Please sign in to comment.