Skip to content
This repository was archived by the owner on Feb 17, 2025. It is now read-only.

Commit b65af69

Browse files
authored
remove unnecessary eventlog call when estimating tx gas (#3457)
1 parent 8ffd1dc commit b65af69

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

state/transaction.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1046,7 +1046,6 @@ func (s *State) internalTestGasEstimationTransactionV2(ctx context.Context, batc
10461046
}
10471047
if processBatchResponseV2.ErrorRom != executor.RomError_ROM_ERROR_NO_ERROR {
10481048
err = executor.RomErr(processBatchResponseV2.ErrorRom)
1049-
s.eventLog.LogExecutorErrorV2(ctx, processBatchResponseV2.Error, processBatchRequestV2)
10501049
return false, false, gasUsed, nil, err
10511050
}
10521051

0 commit comments

Comments
 (0)