Skip to content

Commit

Permalink
fix: double calls to trace{Start,End}Transaction (#6247)
Browse files Browse the repository at this point in the history
Signed-off-by: Franklin Delehelle <[email protected]>
Signed-off-by: Justin Florentine <[email protected]>
  • Loading branch information
delehef authored and jflo committed Dec 6, 2023
1 parent 07aa60f commit bf9789a
Showing 1 changed file with 0 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,6 @@ private List<TransactionProcessingResult> trace(
.orElse(BlobGas.ZERO));

final WorldUpdater worldUpdater = chainUpdater.getNextUpdater();
tracer.traceStartTransaction(worldUpdater, transaction);
final TransactionProcessingResult result =
transactionProcessor.processTransaction(
blockchain,
Expand All @@ -225,16 +224,6 @@ private List<TransactionProcessingResult> trace(
false,
blobGasPrice);

long transactionGasUsed = transaction.getGasLimit() - result.getGasRemaining();
tracer.traceEndTransaction(
worldUpdater,
transaction,
result.isSuccessful(),
result.getOutput(),
result.getLogs(),
transactionGasUsed,
0);

results.add(result);
});

Expand Down

0 comments on commit bf9789a

Please sign in to comment.