From 4912829b618ec971f76f06b50a50ba05c61787ff Mon Sep 17 00:00:00 2001 From: Jian Xiao Date: Tue, 23 Apr 2024 16:58:51 +0000 Subject: [PATCH] Log the reference block at which the batch is validated --- node/node.go | 1 + 1 file changed, 1 insertion(+) diff --git a/node/node.go b/node/node.go index 1356e7d41e..5f6795b716 100644 --- a/node/node.go +++ b/node/node.go @@ -369,6 +369,7 @@ func (n *Node) ProcessBatch(ctx context.Context, header *core.BatchHeader, blobs } func (n *Node) ValidateBatch(ctx context.Context, header *core.BatchHeader, blobs []*core.BlobMessage) error { + n.Logger.Info("Validating batch", "reference block", header.ReferenceBlockNumber, "operatorId", n.Config.ID) operatorState, err := n.ChainState.GetOperatorStateByOperator(ctx, header.ReferenceBlockNumber, n.Config.ID) if err != nil { return err