From 64a5d7421af99ebd93e73fba08e23bb3d2dddc2a Mon Sep 17 00:00:00 2001 From: Gabriel-Trintinalia Date: Tue, 6 Dec 2022 15:18:27 +1100 Subject: [PATCH] Fix storage key format for eth_getProof (#4564) --- .../api/jsonrpc/internal/results/proof/StorageEntryProof.java | 2 +- .../ethereum/api/jsonrpc/internal/methods/EthGetProofTest.java | 3 ++- .../besu/ethereum/api/jsonrpc/eth/eth_getProof_blockHash.json | 2 +- .../ethereum/api/jsonrpc/eth/eth_getProof_blockHashObject.json | 2 +- .../api/jsonrpc/eth/eth_getProof_blockHashObjectCanonical.json | 2 +- .../eth/eth_getProof_blockHashObjectCanonicalFalse.json | 2 +- .../ethereum/api/jsonrpc/eth/eth_getProof_blockNumber.json | 2 +- .../api/jsonrpc/eth/eth_getProof_blockNumberObject.json | 2 +- .../besu/ethereum/api/jsonrpc/eth/eth_getProof_latest.json | 2 +- .../besu/ethereum/api/jsonrpc/eth/eth_getProof_pending.json | 2 +- 10 files changed, 11 insertions(+), 10 deletions(-) diff --git a/ethereum/api/src/main/java/org/hyperledger/besu/ethereum/api/jsonrpc/internal/results/proof/StorageEntryProof.java b/ethereum/api/src/main/java/org/hyperledger/besu/ethereum/api/jsonrpc/internal/results/proof/StorageEntryProof.java index b01e83485fe..3939906520e 100644 --- a/ethereum/api/src/main/java/org/hyperledger/besu/ethereum/api/jsonrpc/internal/results/proof/StorageEntryProof.java +++ b/ethereum/api/src/main/java/org/hyperledger/besu/ethereum/api/jsonrpc/internal/results/proof/StorageEntryProof.java @@ -39,7 +39,7 @@ public StorageEntryProof(final UInt256 key, final UInt256 value, final List