[MINOR] (privacy deprecation) correct target to 24.12.0 (#7953)

This commit is contained in:
Sally MacFarlane
2024-11-29 14:43:30 +10:00
committed by GitHub
parent 0cbcd919eb
commit 979ea5de74
40 changed files with 40 additions and 40 deletions

View File

@@ -28,7 +28,7 @@ import org.apache.tuweni.bytes.Bytes;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@Deprecated(since = "24.11.0")
@Deprecated(since = "24.12.0")
public class TestPrivacyPluginPayloadProvider implements PrivacyPluginPayloadProvider {
private static final Logger LOG = LoggerFactory.getLogger(TestPrivacyPluginPayloadProvider.class);
private String prefix;

View File

@@ -17,7 +17,7 @@ package org.hyperledger.besu.cli.options;
import static picocli.CommandLine.Option;
/** The Privacy plugin Cli options. */
@Deprecated(since = "24.11.0")
@Deprecated(since = "24.12.0")
public class PrivacyPluginOptions {
/** Default Constructor. */
PrivacyPluginOptions() {}

View File

@@ -24,7 +24,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/** The Privacy plugin service implementation. */
@Deprecated(since = "24.11.0")
@Deprecated(since = "24.12.0")
public class PrivacyPluginServiceImpl implements PrivacyPluginService {
private static final Logger LOG = LoggerFactory.getLogger(PrivacyPluginServiceImpl.class);

View File

@@ -20,7 +20,7 @@ import org.hyperledger.besu.ethereum.api.jsonrpc.internal.response.JsonRpcErrorR
import org.hyperledger.besu.ethereum.api.jsonrpc.internal.response.JsonRpcResponse;
import org.hyperledger.besu.ethereum.api.jsonrpc.internal.response.RpcErrorType;
@Deprecated(since = "24.11.0")
@Deprecated(since = "24.12.0")
public class DisabledPrivacyRpcMethod implements JsonRpcMethod {
private final String methodName;

View File

@@ -27,7 +27,7 @@ import io.vertx.ext.auth.User;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@Deprecated(since = "24.11.0")
@Deprecated(since = "24.12.0")
public class MultiTenancyRpcMethodDecorator implements JsonRpcMethod {
private static final Logger LOG = LoggerFactory.getLogger(MultiTenancyRpcMethodDecorator.class);
private final JsonRpcMethod rpcMethod;

View File

@@ -18,7 +18,7 @@ import java.util.Optional;
import io.vertx.ext.auth.User;
@Deprecated(since = "24.11.0")
@Deprecated(since = "24.12.0")
public class MultiTenancyUserUtil {
private static final String PRIVACY_USER_ID_CLAIM = "privacyUserId";
private static final String ENCLAVE_PRIVACY_PUBLIC_KEY_CLAIM = "privacyPublicKey";

View File

@@ -31,7 +31,7 @@ import org.hyperledger.besu.ethereum.privacy.PrivacyController;
import java.util.List;
@Deprecated(since = "24.11.0")
@Deprecated(since = "24.12.0")
public class PrivGetFilterChanges implements JsonRpcMethod {
private final PrivacyController privacyController;

View File

@@ -31,7 +31,7 @@ import org.hyperledger.besu.ethereum.privacy.PrivacyController;
import java.util.List;
@Deprecated(since = "24.11.0")
@Deprecated(since = "24.12.0")
public class PrivGetFilterLogs implements JsonRpcMethod {
private final PrivacyController privacyController;

View File

@@ -26,7 +26,7 @@ import org.hyperledger.besu.ethereum.api.jsonrpc.internal.response.RpcErrorType;
import org.hyperledger.besu.ethereum.privacy.MultiTenancyPrivacyController;
import org.hyperledger.besu.ethereum.privacy.PrivacyController;
@Deprecated(since = "24.11.0")
@Deprecated(since = "24.12.0")
public class PrivUninstallFilter implements JsonRpcMethod {
private final FilterManager filterManager;

View File

@@ -23,7 +23,7 @@ import java.util.Optional;
import io.vertx.ext.auth.User;
@FunctionalInterface
@Deprecated(since = "24.11.0")
@Deprecated(since = "24.12.0")
public interface PrivacyIdProvider {
String getPrivacyUserId(Optional<User> user);

View File

@@ -48,7 +48,7 @@ import org.apache.tuweni.bytes.Bytes;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@Deprecated(since = "24.11.0")
@Deprecated(since = "24.12.0")
public abstract class AbstractEeaSendRawTransaction implements JsonRpcMethod {
private static final Logger LOG = LoggerFactory.getLogger(AbstractEeaSendRawTransaction.class);
private final TransactionPool transactionPool;

View File

@@ -16,7 +16,7 @@ package org.hyperledger.besu.ethereum.api.jsonrpc.internal.privacy.methods.eea;
import org.hyperledger.besu.ethereum.api.jsonrpc.internal.response.RpcErrorType;
@Deprecated(since = "24.11.0")
@Deprecated(since = "24.12.0")
public class JsonRpcErrorResponseException extends RuntimeException {
private final RpcErrorType jsonRpcError;

View File

@@ -33,7 +33,7 @@ import java.util.Optional;
import io.vertx.ext.auth.User;
import org.apache.tuweni.bytes.Bytes;
@Deprecated(since = "24.11.0")
@Deprecated(since = "24.12.0")
public class PluginEeaSendRawTransaction extends AbstractEeaSendRawTransaction {
private final PrivacyController privacyController;
private final PrivacyIdProvider privacyIdProvider;

View File

@@ -37,7 +37,7 @@ import java.util.Optional;
import io.vertx.ext.auth.User;
import org.apache.tuweni.bytes.Bytes;
@Deprecated(since = "24.11.0")
@Deprecated(since = "24.12.0")
public class RestrictedFlexibleEeaSendRawTransaction extends AbstractEeaSendRawTransaction {
private final PrivacyController privacyController;

View File

@@ -35,7 +35,7 @@ import java.util.Optional;
import io.vertx.ext.auth.User;
import org.apache.tuweni.bytes.Bytes;
@Deprecated(since = "24.11.0")
@Deprecated(since = "24.12.0")
public class RestrictedOffchainEeaSendRawTransaction extends AbstractEeaSendRawTransaction {
final PrivacyController privacyController;

View File

@@ -41,7 +41,7 @@ import java.util.Optional;
import java.util.function.Supplier;
import java.util.stream.Stream;
@Deprecated(since = "24.11.0")
@Deprecated(since = "24.12.0")
public abstract class AbstractPrivateTraceByHash implements JsonRpcMethod {
protected final Supplier<PrivateBlockTracer> blockTracerSupplier;

View File

@@ -33,7 +33,7 @@ import org.hyperledger.besu.ethereum.privacy.PrivacyController;
import org.hyperledger.besu.ethereum.processing.TransactionProcessingResult;
import org.hyperledger.besu.ethereum.transaction.TransactionInvalidReason;
@Deprecated(since = "24.11.0")
@Deprecated(since = "24.12.0")
public class PrivCall extends AbstractBlockParameterMethod {
private final PrivacyIdProvider privacyIdProvider;

View File

@@ -32,7 +32,7 @@ import org.hyperledger.besu.ethereum.privacy.PrivacyController;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@Deprecated(since = "24.11.0")
@Deprecated(since = "24.12.0")
public class PrivCreatePrivacyGroup implements JsonRpcMethod {
private static final Logger LOG = LoggerFactory.getLogger(PrivCreatePrivacyGroup.class);

View File

@@ -39,7 +39,7 @@ import java.util.regex.Pattern;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@Deprecated(since = "24.11.0")
@Deprecated(since = "24.12.0")
public class PrivDebugGetStateRoot extends AbstractBlockParameterMethod {
private static final Logger LOG = LoggerFactory.getLogger(PrivDebugGetStateRoot.class);

View File

@@ -32,7 +32,7 @@ import org.hyperledger.besu.ethereum.privacy.PrivacyController;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@Deprecated(since = "24.11.0")
@Deprecated(since = "24.12.0")
public class PrivDeletePrivacyGroup implements JsonRpcMethod {
private static final Logger LOG = LoggerFactory.getLogger(PrivDeletePrivacyGroup.class);

View File

@@ -48,7 +48,7 @@ import org.apache.tuweni.bytes.Bytes;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@Deprecated(since = "24.11.0")
@Deprecated(since = "24.12.0")
public class PrivDistributeRawTransaction implements JsonRpcMethod {
private static final Logger LOG = LoggerFactory.getLogger(PrivDistributeRawTransaction.class);

View File

@@ -37,7 +37,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings("MockNotUsedInProduction")
@Deprecated(since = "24.11.0")
@Deprecated(since = "24.12.0")
public class PrivFindPrivacyGroup implements JsonRpcMethod {
private static final Logger LOG = LoggerFactory.getLogger(PrivFindPrivacyGroup.class);

View File

@@ -28,7 +28,7 @@ import org.hyperledger.besu.ethereum.privacy.PrivacyController;
import org.apache.tuweni.bytes.Bytes;
@Deprecated(since = "24.11.0")
@Deprecated(since = "24.12.0")
public class PrivGetCode extends AbstractBlockParameterMethod {
private final PrivacyController privacyController;

View File

@@ -42,7 +42,7 @@ import org.apache.tuweni.bytes.Bytes32;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@Deprecated(since = "24.11.0")
@Deprecated(since = "24.12.0")
public class PrivGetEeaTransactionCount implements JsonRpcMethod {
private static final Logger LOG = LoggerFactory.getLogger(PrivGetEeaTransactionCount.class);

View File

@@ -38,7 +38,7 @@ import java.util.Collections;
import java.util.List;
import java.util.Optional;
@Deprecated(since = "24.11.0")
@Deprecated(since = "24.12.0")
public class PrivGetLogs implements JsonRpcMethod {
private final BlockchainQueries blockchainQueries;

View File

@@ -22,7 +22,7 @@ import org.hyperledger.besu.ethereum.api.jsonrpc.internal.response.JsonRpcRespon
import org.hyperledger.besu.ethereum.api.jsonrpc.internal.response.JsonRpcSuccessResponse;
import org.hyperledger.besu.ethereum.core.PrivacyParameters;
@Deprecated(since = "24.11.0")
@Deprecated(since = "24.12.0")
public class PrivGetPrivacyPrecompileAddress implements JsonRpcMethod {
private final Address privacyAddress;

View File

@@ -38,7 +38,7 @@ import java.util.Optional;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@Deprecated(since = "24.11.0")
@Deprecated(since = "24.12.0")
public class PrivGetPrivateTransaction implements JsonRpcMethod {
private static final Logger LOG = LoggerFactory.getLogger(PrivGetPrivateTransaction.class);

View File

@@ -34,7 +34,7 @@ import org.hyperledger.besu.ethereum.privacy.PrivacyController;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@Deprecated(since = "24.11.0")
@Deprecated(since = "24.12.0")
public class PrivGetTransactionCount implements JsonRpcMethod {
private static final Logger LOG = LoggerFactory.getLogger(PrivGetTransactionCount.class);

View File

@@ -43,7 +43,7 @@ import org.apache.tuweni.bytes.Bytes32;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@Deprecated(since = "24.11.0")
@Deprecated(since = "24.12.0")
public class PrivGetTransactionReceipt implements JsonRpcMethod {
private static final Logger LOG = LoggerFactory.getLogger(PrivGetTransactionReceipt.class);

View File

@@ -29,7 +29,7 @@ import org.hyperledger.besu.ethereum.api.jsonrpc.internal.response.RpcErrorType;
import org.hyperledger.besu.ethereum.privacy.MultiTenancyPrivacyController;
import org.hyperledger.besu.ethereum.privacy.PrivacyController;
@Deprecated(since = "24.11.0")
@Deprecated(since = "24.12.0")
public class PrivNewFilter implements JsonRpcMethod {
private final FilterManager filterManager;

View File

@@ -43,7 +43,7 @@ import com.fasterxml.jackson.databind.node.ArrayNode;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@Deprecated(since = "24.11.0")
@Deprecated(since = "24.12.0")
public class PrivTraceTransaction extends AbstractPrivateTraceByHash implements JsonRpcMethod {
private static final Logger LOG = LoggerFactory.getLogger(TraceTransaction.class);

View File

@@ -20,7 +20,7 @@ import org.hyperledger.besu.ethereum.privacy.PrivacyController;
import java.util.Optional;
@Deprecated(since = "24.11.0")
@Deprecated(since = "24.12.0")
public class PrivUtil {
public static void checkMembershipForAuthenticatedUser(

View File

@@ -36,7 +36,7 @@ import graphql.com.google.common.collect.Lists;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@Deprecated(since = "24.11.0")
@Deprecated(since = "24.12.0")
public class PrivxFindFlexiblePrivacyGroup implements JsonRpcMethod {
private static final Logger LOG = LoggerFactory.getLogger(PrivxFindFlexiblePrivacyGroup.class);

View File

@@ -20,7 +20,7 @@ import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
@Deprecated(since = "24.11.0")
@Deprecated(since = "24.12.0")
public class CreatePrivacyGroupParameter {
private final List<String> addresses;

View File

@@ -46,7 +46,7 @@ import org.hyperledger.besu.plugin.services.privacy.PrivateMarkerTransactionFact
import java.util.Map;
@Deprecated(since = "24.11.0")
@Deprecated(since = "24.12.0")
public class PrivJsonRpcMethods extends PrivacyApiGroupJsonRpcMethods {
private final FilterManager filterManager;

View File

@@ -42,7 +42,7 @@ import java.util.Map;
import java.util.Optional;
import java.util.stream.Collectors;
@Deprecated(since = "24.11.0")
@Deprecated(since = "24.12.0")
public abstract class PrivacyApiGroupJsonRpcMethods extends ApiGroupJsonRpcMethods {
private final BlockchainQueries blockchainQueries;

View File

@@ -34,7 +34,7 @@ import org.apache.tuweni.bytes.Bytes32;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@Deprecated(since = "24.11.0")
@Deprecated(since = "24.12.0")
public class PrivacyPluginPrecompiledContract extends PrivacyPrecompiledContract {
private static final Logger LOG = LoggerFactory.getLogger(PrivacyPluginPrecompiledContract.class);
private final PrivacyParameters privacyParameters;

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 = 'f6fi+lsYVZtFjmGOyiMPPCfNDie4SIPpj6HVgXRxF8Q='
knownHash = 'bULFOchupNjcCw+oZ4tykpgxzL4vsOTtDPimyiKGF98='
}
check.dependsOn('checkAPIChanges')

View File

@@ -26,7 +26,7 @@ import org.hyperledger.besu.plugin.services.privacy.PrivateMarkerTransactionFact
* optionally register a {@link PrivateMarkerTransactionFactory} and a {@link
* PrivacyGroupGenesisProvider}*
*/
@Deprecated(since = "24.11.0")
@Deprecated(since = "24.12.0")
public interface PrivacyPluginService extends BesuService {
/**

View File

@@ -25,7 +25,7 @@ import org.apache.tuweni.bytes.Bytes;
* Allows you to register a provider that will dictate how the payload of a privacy marker
* transaction is handled.
*/
@Deprecated(since = "24.11.0")
@Deprecated(since = "24.12.0")
public interface PrivacyPluginPayloadProvider {
/**