From 94e1141cc567fa0a26e0886067b8c03fa58740c7 Mon Sep 17 00:00:00 2001 From: Fabio Di Fabio Date: Fri, 3 Feb 2023 14:41:33 +0100 Subject: [PATCH] Fix getBloblsBundleV1 response (#5049) Signed-off-by: Fabio Di Fabio --- .../api/jsonrpc/internal/results/BlobsBundleV1.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ethereum/api/src/main/java/org/hyperledger/besu/ethereum/api/jsonrpc/internal/results/BlobsBundleV1.java b/ethereum/api/src/main/java/org/hyperledger/besu/ethereum/api/jsonrpc/internal/results/BlobsBundleV1.java index 71ca617227..efbe6a4755 100644 --- a/ethereum/api/src/main/java/org/hyperledger/besu/ethereum/api/jsonrpc/internal/results/BlobsBundleV1.java +++ b/ethereum/api/src/main/java/org/hyperledger/besu/ethereum/api/jsonrpc/internal/results/BlobsBundleV1.java @@ -26,20 +26,20 @@ import org.apache.tuweni.bytes.Bytes; @JsonPropertyOrder({"blockHash", "kzgs", "blobs"}) public class BlobsBundleV1 { - private final Hash blockHash; + private final String blockHash; private final List kzgs; private final List blobs; public BlobsBundleV1(final Hash blockHash, final List kzgs, final List blobs) { - this.blockHash = blockHash; + this.blockHash = blockHash.toString(); this.kzgs = kzgs; this.blobs = blobs; } @JsonGetter("blockHash") - public Hash getBlockHash() { + public String getBlockHash() { return blockHash; }