|
|
@ -17,8 +17,8 @@ package org.hyperledger.besu.tests.acceptance.plugins; |
|
|
|
import org.hyperledger.besu.datatypes.Hash; |
|
|
|
import org.hyperledger.besu.datatypes.Hash; |
|
|
|
import org.hyperledger.besu.ethereum.api.jsonrpc.internal.parameters.JsonRpcParameter; |
|
|
|
import org.hyperledger.besu.ethereum.api.jsonrpc.internal.parameters.JsonRpcParameter; |
|
|
|
import org.hyperledger.besu.ethereum.api.jsonrpc.internal.response.RpcErrorType; |
|
|
|
import org.hyperledger.besu.ethereum.api.jsonrpc.internal.response.RpcErrorType; |
|
|
|
|
|
|
|
import org.hyperledger.besu.plugin.BesuContext; |
|
|
|
import org.hyperledger.besu.plugin.BesuPlugin; |
|
|
|
import org.hyperledger.besu.plugin.BesuPlugin; |
|
|
|
import org.hyperledger.besu.plugin.ServiceManager; |
|
|
|
|
|
|
|
import org.hyperledger.besu.plugin.data.BlockContext; |
|
|
|
import org.hyperledger.besu.plugin.data.BlockContext; |
|
|
|
import org.hyperledger.besu.plugin.services.BlockchainService; |
|
|
|
import org.hyperledger.besu.plugin.services.BlockchainService; |
|
|
|
import org.hyperledger.besu.plugin.services.RpcEndpointService; |
|
|
|
import org.hyperledger.besu.plugin.services.RpcEndpointService; |
|
|
@ -40,7 +40,8 @@ public class TestBlockchainServiceFinalizedPlugin implements BesuPlugin { |
|
|
|
private static final String RPC_METHOD_SAFE_BLOCK = "updateSafeBlockV1"; |
|
|
|
private static final String RPC_METHOD_SAFE_BLOCK = "updateSafeBlockV1"; |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public void register(final ServiceManager serviceManager) { |
|
|
|
@SuppressWarnings("removal") |
|
|
|
|
|
|
|
public void register(final BesuContext serviceManager) { |
|
|
|
LOG.trace("Registering plugin ..."); |
|
|
|
LOG.trace("Registering plugin ..."); |
|
|
|
|
|
|
|
|
|
|
|
final RpcEndpointService rpcEndpointService = |
|
|
|
final RpcEndpointService rpcEndpointService = |
|
|
|