From 2513088db5d648ceff5c9ed90a041afe95076ba5 Mon Sep 17 00:00:00 2001 From: delehef Date: Wed, 6 Dec 2023 13:06:17 +0100 Subject: [PATCH] fix: double calls to trace{Start,End}Transaction (#6247) Signed-off-by: Franklin Delehelle --- .../hyperledger/besu/services/TraceServiceImpl.java | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/besu/src/main/java/org/hyperledger/besu/services/TraceServiceImpl.java b/besu/src/main/java/org/hyperledger/besu/services/TraceServiceImpl.java index 98c233197f3..02fff10d2fb 100644 --- a/besu/src/main/java/org/hyperledger/besu/services/TraceServiceImpl.java +++ b/besu/src/main/java/org/hyperledger/besu/services/TraceServiceImpl.java @@ -212,7 +212,6 @@ private List trace( .orElse(BlobGas.ZERO)); final WorldUpdater worldUpdater = chainUpdater.getNextUpdater(); - tracer.traceStartTransaction(worldUpdater, transaction); final TransactionProcessingResult result = transactionProcessor.processTransaction( blockchain, @@ -225,16 +224,6 @@ private List trace( false, blobGasPrice); - long transactionGasUsed = transaction.getGasLimit() - result.getGasRemaining(); - tracer.traceEndTransaction( - worldUpdater, - transaction, - result.isSuccessful(), - result.getOutput(), - result.getLogs(), - transactionGasUsed, - 0); - results.add(result); });