Skip to content

Commit

Permalink
Revert "Add back deprecated traceStartBlock methods to the tracer API (
Browse files Browse the repository at this point in the history
…hyperledger#8112)"

This reverts commit 1f67cb5.
  • Loading branch information
lu-pinto committed Jan 17, 2025
1 parent a98e950 commit 5235c5e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 22 deletions.
2 changes: 1 addition & 1 deletion plugin-api/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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')

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand All @@ -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
*
Expand Down

0 comments on commit 5235c5e

Please sign in to comment.