Revert "Add back deprecated traceStartBlock methods to the tracer API (#8112)" (#8137)

This reverts commit 1f67cb511c.

Signed-off-by: Luis Pinto <luis.pinto@consensys.net>
This commit is contained in:
Luis Pinto
2025-01-18 01:25:00 +00:00
committed by GitHub
parent a98e950eac
commit 74d22a082b
2 changed files with 1 additions and 22 deletions

View File

@@ -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')

View File

@@ -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 @@ public interface BlockAwareOperationTracer extends OperationTracer {
*/
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
*