mirror of
https://github.com/vacp2p/status-linea-besu.git
synced 2026-01-08 21:38:15 -05:00
chore: add missing RPC method debug_accountRange (#8274)
* chore: add missing RPC method debug_accountRange Signed-off-by: Preeti <35308865+pr9t@users.noreply.github.com> * chore: Remove TODO from getName() method Signed-off-by: Preeti <35308865+pr9t@users.noreply.github.com> * chore: Remove TODO from getName() method and add entry to CHANGELOG.md Signed-off-by: Preeti <35308865+pr9t@users.noreply.github.com> * moved changelog entry to unreleased Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com> --------- Signed-off-by: Preeti <35308865+pr9t@users.noreply.github.com> Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com> Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
### Additions and Improvements
|
||||
### Bug fixes
|
||||
- Upgrade Netty to version 4.1.118 to fix CVE-2025-24970 [#8275](https://github.com/hyperledger/besu/pull/8275)
|
||||
- Added missing RPC method `debug_accountRange` to `RpcMethod.java` and implemented its handler. [#8153](https://github.com/hyperledger/besu/issues/8153)
|
||||
|
||||
## 25.2.0
|
||||
|
||||
|
||||
@@ -33,6 +33,7 @@ public enum RpcMethod {
|
||||
CLIQUE_PROPOSE("clique_propose"),
|
||||
CLIQUE_GET_SIGNER_METRICS("clique_getSignerMetrics"),
|
||||
DEBUG_ACCOUNT_AT("debug_accountAt"),
|
||||
DEBUG_ACCOUNT_RANGE("debug_accountRange"),
|
||||
DEBUG_METRICS("debug_metrics"),
|
||||
DEBUG_RESYNC_WORLDSTATE("debug_resyncWorldState"),
|
||||
DEBUG_SET_HEAD("debug_setHead"),
|
||||
|
||||
@@ -16,6 +16,7 @@ package org.hyperledger.besu.ethereum.api.jsonrpc.internal.methods;
|
||||
|
||||
import org.hyperledger.besu.datatypes.Address;
|
||||
import org.hyperledger.besu.datatypes.Hash;
|
||||
import org.hyperledger.besu.ethereum.api.jsonrpc.RpcMethod;
|
||||
import org.hyperledger.besu.ethereum.api.jsonrpc.internal.JsonRpcRequestContext;
|
||||
import org.hyperledger.besu.ethereum.api.jsonrpc.internal.exception.InvalidJsonRpcParameters;
|
||||
import org.hyperledger.besu.ethereum.api.jsonrpc.internal.parameters.BlockParameterOrBlockHash;
|
||||
@@ -52,9 +53,7 @@ public class DebugAccountRange implements JsonRpcMethod {
|
||||
|
||||
@Override
|
||||
public String getName() {
|
||||
// TODO(shemnon) 5229b899 is the last stable commit of retesteth, after this they rename the
|
||||
// method to just "debug_accountRange". Once the tool is stable we will support the new name.
|
||||
return "debug_accountRange";
|
||||
return RpcMethod.DEBUG_ACCOUNT_RANGE.getMethodName();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user