From 74d22a082b6f01aa49f578c5d38be67c46862b24 Mon Sep 17 00:00:00 2001 From: Luis Pinto Date: Sat, 18 Jan 2025 01:25:00 +0000 Subject: [PATCH] Revert "Add back deprecated traceStartBlock methods to the tracer API (#8112)" (#8137) This reverts commit 1f67cb511ccf5c23e17dbca2598122804ffaca8d. Signed-off-by: Luis Pinto --- plugin-api/build.gradle | 2 +- .../tracer/BlockAwareOperationTracer.java | 21 ------------------- 2 files changed, 1 insertion(+), 22 deletions(-) diff --git a/plugin-api/build.gradle b/plugin-api/build.gradle index 77d918b2445..0ae3e942481 100644 --- a/plugin-api/build.gradle +++ b/plugin-api/build.gradle @@ -71,7 +71,7 @@ Calculated : ${currentHash} tasks.register('checkAPIChanges', FileStateChecker) { description = "Checks that the API for the Plugin-API project does not change without deliberate thought" files = sourceSets.main.allJava.files - knownHash = '2b6i9SVzINvYv2E4yHk10d6ad+pzA12xsMltKghnW+U=' + knownHash = 'V3YwoXiJjbbrtpr7DmbebhJwAcj40J/3gb6VZcoFlF8=' } check.dependsOn('checkAPIChanges') diff --git a/plugin-api/src/main/java/org/hyperledger/besu/plugin/services/tracer/BlockAwareOperationTracer.java b/plugin-api/src/main/java/org/hyperledger/besu/plugin/services/tracer/BlockAwareOperationTracer.java index 13414738606..9185d114370 100644 --- a/plugin-api/src/main/java/org/hyperledger/besu/plugin/services/tracer/BlockAwareOperationTracer.java +++ b/plugin-api/src/main/java/org/hyperledger/besu/plugin/services/tracer/BlockAwareOperationTracer.java @@ -33,17 +33,6 @@ public interface BlockAwareOperationTracer extends OperationTracer { */ BlockAwareOperationTracer NO_TRACING = new BlockAwareOperationTracer() {}; - /** - * Trace the start of a block. Notice: This method has been marked for removal and will be removed - * in a future version. Avoid using it and use {@link #traceStartBlock(BlockHeader, BlockBody, - * Address)} instead. - * - * @param blockHeader the header of the block which is traced - * @param blockBody the body of the block which is traced - */ - @Deprecated - default void traceStartBlock(final BlockHeader blockHeader, final BlockBody blockBody) {} - /** * Trace the start of a block. * @@ -62,16 +51,6 @@ default void traceStartBlock( */ default void traceEndBlock(final BlockHeader blockHeader, final BlockBody blockBody) {} - /** - * When building a block this API is called at the start of the process. Notice: This method has - * been marked for removal and will be removed in a future version. Avoid using it and use {@link - * #traceStartBlock(ProcessableBlockHeader, Address)} instead. - * - * @param processableBlockHeader the processable header - */ - @Deprecated - default void traceStartBlock(final ProcessableBlockHeader processableBlockHeader) {} - /** * When building a block this API is called at the start of the process *