From b65af6934df2358b32271ab821ecb5cc950ad80c Mon Sep 17 00:00:00 2001 From: Thiago Coimbra Lemos Date: Fri, 15 Mar 2024 10:44:05 -0300 Subject: [PATCH] remove unnecessary eventlog call when estimating tx gas (#3457) --- state/transaction.go | 1 - 1 file changed, 1 deletion(-) diff --git a/state/transaction.go b/state/transaction.go index 2847a5e428..a80a097bff 100644 --- a/state/transaction.go +++ b/state/transaction.go @@ -1046,7 +1046,6 @@ func (s *State) internalTestGasEstimationTransactionV2(ctx context.Context, batc } if processBatchResponseV2.ErrorRom != executor.RomError_ROM_ERROR_NO_ERROR { err = executor.RomErr(processBatchResponseV2.ErrorRom) - s.eventLog.LogExecutorErrorV2(ctx, processBatchResponseV2.Error, processBatchRequestV2) return false, false, gasUsed, nil, err }