Skip to content

Commit bf9789a

Browse files
delehefjflo
authored andcommitted
fix: double calls to trace{Start,End}Transaction (besu-eth#6247)
Signed-off-by: Franklin Delehelle <franklin.delehelle@odena.eu> Signed-off-by: Justin Florentine <justin+github@florentine.us>
1 parent 07aa60f commit bf9789a

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

besu/src/main/java/org/hyperledger/besu/services/TraceServiceImpl.java

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,6 @@ private List<TransactionProcessingResult> trace(
212212
.orElse(BlobGas.ZERO));
213213

214214
final WorldUpdater worldUpdater = chainUpdater.getNextUpdater();
215-
tracer.traceStartTransaction(worldUpdater, transaction);
216215
final TransactionProcessingResult result =
217216
transactionProcessor.processTransaction(
218217
blockchain,
@@ -225,16 +224,6 @@ private List<TransactionProcessingResult> trace(
225224
false,
226225
blobGasPrice);
227226

228-
long transactionGasUsed = transaction.getGasLimit() - result.getGasRemaining();
229-
tracer.traceEndTransaction(
230-
worldUpdater,
231-
transaction,
232-
result.isSuccessful(),
233-
result.getOutput(),
234-
result.getLogs(),
235-
transactionGasUsed,
236-
0);
237-
238227
results.add(result);
239228
});
240229

0 commit comments

Comments
 (0)