From b763d96c75913d79d4344e0cafefe8410935c222 Mon Sep 17 00:00:00 2001 From: Lucas Saldanha Date: Thu, 5 Sep 2024 13:33:30 +1200 Subject: [PATCH] Fix consolidation request json (#7577) Signed-off-by: Lucas Saldanha --- .../engine/prague/test-cases/16_prague_getPayloadV4.json | 4 ++-- .../internal/parameters/ConsolidationRequestParameter.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/acceptance-tests/tests/src/test/resources/jsonrpc/engine/prague/test-cases/16_prague_getPayloadV4.json b/acceptance-tests/tests/src/test/resources/jsonrpc/engine/prague/test-cases/16_prague_getPayloadV4.json index c3fdd33adae..51843931e7d 100644 --- a/acceptance-tests/tests/src/test/resources/jsonrpc/engine/prague/test-cases/16_prague_getPayloadV4.json +++ b/acceptance-tests/tests/src/test/resources/jsonrpc/engine/prague/test-cases/16_prague_getPayloadV4.json @@ -40,8 +40,8 @@ "consolidationRequests": [ { "sourceAddress": "0x23618e81e3f5cdf7f54c3d65f7fbc0abf5b21e8f", - "sourcePubKey": "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff", - "targetPubKey": "0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe" + "sourcePubkey": "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff", + "targetPubkey": "0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe" } ], "blockNumber": "0x4", diff --git a/ethereum/api/src/main/java/org/hyperledger/besu/ethereum/api/jsonrpc/internal/parameters/ConsolidationRequestParameter.java b/ethereum/api/src/main/java/org/hyperledger/besu/ethereum/api/jsonrpc/internal/parameters/ConsolidationRequestParameter.java index d33b12c6a7b..c6c600329d2 100644 --- a/ethereum/api/src/main/java/org/hyperledger/besu/ethereum/api/jsonrpc/internal/parameters/ConsolidationRequestParameter.java +++ b/ethereum/api/src/main/java/org/hyperledger/besu/ethereum/api/jsonrpc/internal/parameters/ConsolidationRequestParameter.java @@ -61,12 +61,12 @@ public String getSourceAddress() { } @JsonGetter - public String getSourcePubKey() { + public String getSourcePubkey() { return sourcePubkey; } @JsonGetter - public String getTargetPubKey() { + public String getTargetPubkey() { return targetPubkey; }