From 2e2a83065ef17f304cace6f472772e40e854bb8f Mon Sep 17 00:00:00 2001 From: Jonathan Downing Date: Tue, 4 Jun 2024 16:58:27 -0500 Subject: [PATCH] Add debug print in state processor --- core/state_processor.go | 1 + 1 file changed, 1 insertion(+) diff --git a/core/state_processor.go b/core/state_processor.go index 68f80db0d4..1b0acd828e 100644 --- a/core/state_processor.go +++ b/core/state_processor.go @@ -538,6 +538,7 @@ func (p *StateProcessor) Process(block *types.WorkObject) (types.Receipts, []*ty etxAvailable = true } if (etxAvailable && totalEtxGas < minimumEtxGas) || totalEtxGas > maximumEtxGas { + p.logger.Errorf("prevInboundEtxs: %d, oldestIndex: %d, etxHash: %s", len(prevInboundEtxs), oldestIndex.Int64(), etx.Hash().Hex()) return nil, nil, nil, nil, 0, fmt.Errorf("total gas used by ETXs %d is not within the range %d to %d", totalEtxGas, minimumEtxGas, maximumEtxGas) }