Skip to content

Commit

Permalink
remove unnecessary eventlog call when estimating tx gas (#3457)
Browse files Browse the repository at this point in the history
  • Loading branch information
tclemos authored Mar 15, 2024
1 parent 8ffd1dc commit b65af69
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion state/transaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit b65af69

Please sign in to comment.