|
|
@ -74,7 +74,6 @@ import org.hyperledger.besu.ethereum.api.jsonrpc.internal.methods.NetPeerCount; |
|
|
|
import org.hyperledger.besu.ethereum.api.jsonrpc.internal.methods.NetServices; |
|
|
|
import org.hyperledger.besu.ethereum.api.jsonrpc.internal.methods.NetServices; |
|
|
|
import org.hyperledger.besu.ethereum.api.jsonrpc.internal.methods.NetVersion; |
|
|
|
import org.hyperledger.besu.ethereum.api.jsonrpc.internal.methods.NetVersion; |
|
|
|
import org.hyperledger.besu.ethereum.api.jsonrpc.internal.methods.RpcModules; |
|
|
|
import org.hyperledger.besu.ethereum.api.jsonrpc.internal.methods.RpcModules; |
|
|
|
import org.hyperledger.besu.ethereum.api.jsonrpc.internal.methods.TraceReplayBlockTransactions; |
|
|
|
|
|
|
|
import org.hyperledger.besu.ethereum.api.jsonrpc.internal.methods.TxPoolBesuStatistics; |
|
|
|
import org.hyperledger.besu.ethereum.api.jsonrpc.internal.methods.TxPoolBesuStatistics; |
|
|
|
import org.hyperledger.besu.ethereum.api.jsonrpc.internal.methods.TxPoolBesuTransactions; |
|
|
|
import org.hyperledger.besu.ethereum.api.jsonrpc.internal.methods.TxPoolBesuTransactions; |
|
|
|
import org.hyperledger.besu.ethereum.api.jsonrpc.internal.methods.Web3ClientVersion; |
|
|
|
import org.hyperledger.besu.ethereum.api.jsonrpc.internal.methods.Web3ClientVersion; |
|
|
@ -338,19 +337,20 @@ public class JsonRpcMethodsFactory { |
|
|
|
new AdminChangeLogLevel(parameter)); |
|
|
|
new AdminChangeLogLevel(parameter)); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (rpcApis.contains(RpcApis.TRACE)) { |
|
|
|
// Disable TRACE functionality while under development
|
|
|
|
addMethods( |
|
|
|
// if (rpcApis.contains(RpcApis.TRACE)) {
|
|
|
|
enabledMethods, |
|
|
|
// addMethods(
|
|
|
|
new TraceReplayBlockTransactions( |
|
|
|
// enabledMethods,
|
|
|
|
parameter, |
|
|
|
// new TraceReplayBlockTransactions(
|
|
|
|
new BlockTracer( |
|
|
|
// parameter,
|
|
|
|
new BlockReplay( |
|
|
|
// new BlockTracer(
|
|
|
|
protocolSchedule, |
|
|
|
// new BlockReplay(
|
|
|
|
blockchainQueries.getBlockchain(), |
|
|
|
// protocolSchedule,
|
|
|
|
blockchainQueries.getWorldStateArchive())), |
|
|
|
// blockchainQueries.getBlockchain(),
|
|
|
|
blockchainQueries, |
|
|
|
// blockchainQueries.getWorldStateArchive())),
|
|
|
|
protocolSchedule)); |
|
|
|
// blockchainQueries,
|
|
|
|
} |
|
|
|
// protocolSchedule));
|
|
|
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
|
|
final boolean eea = rpcApis.contains(RpcApis.EEA); |
|
|
|
final boolean eea = rpcApis.contains(RpcApis.EEA); |
|
|
|
final boolean priv = rpcApis.contains(RpcApis.PRIV); |
|
|
|
final boolean priv = rpcApis.contains(RpcApis.PRIV); |
|
|
|