Skip to content

Commit

Permalink
fix(#251): better error logging for RPC lookup errors against service…
Browse files Browse the repository at this point in the history
… manager (#254)
  • Loading branch information
ethenotethan authored Jan 23, 2025
1 parent d5d7fc3 commit 075b283
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion verify/cert.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func (cv *CertVerifier) verifyBatchConfirmedOnChain(
confirmationBlockNumberBigInt := big.NewInt(0).SetInt64(int64(confirmationBlockNumber))
_, err := cv.retrieveBatchMetadataHash(ctx, batchID, confirmationBlockNumberBigInt)
if err != nil {
return fmt.Errorf("batch not found onchain at supposedly confirmed block %d: %w", confirmationBlockNumber, err)
return fmt.Errorf("failed to reference batch from service manager @ block %d: %w", confirmationBlockNumber, err)
}

// 2. Verify that the confirmation status has been reached.
Expand Down

0 comments on commit 075b283

Please sign in to comment.