From bd51e842777fa5e61f7f41e90644b63ce28d35d0 Mon Sep 17 00:00:00 2001 From: Pranay Valson Date: Tue, 26 Mar 2024 16:59:54 -0700 Subject: [PATCH] fix blobFeeCap type lens path Signed-off-by: Pranay Valson --- internal/utils/utils.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/utils/utils.go b/internal/utils/utils.go index 2c21aebd..55e70f9e 100644 --- a/internal/utils/utils.go +++ b/internal/utils/utils.go @@ -238,7 +238,7 @@ func UnwrapAvroUnion(data map[string]interface{}) map[string]interface{} { unwrapType(data, blobGasUsedLens, "int") unwrapType(data, excessBlobGasLens, "int") unwrapType(data, parentBeaconRootLens, "string") - unwrapType(data, blobFeeCapLens, "int") + unwrapType(data, blobFeeCapLens, "bytes") unwrapType(data, blobHashesLens, "array") unwrapType(data, blobGasLens, "int") unwrapType(data, blobTxSidecarLens, "array") @@ -275,7 +275,7 @@ func MapToAvroUnion(data map[string]interface{}) map[string]interface{} { wrapType(data, blobGasUsedLens, "int") wrapType(data, excessBlobGasLens, "int") wrapType(data, parentBeaconRootLens, "string") - wrapType(data, blobFeeCapLens, "int") + wrapType(data, blobFeeCapLens, "bytes") wrapType(data, blobHashesLens, "array") wrapType(data, blobGasLens, "int") wrapType(data, blobTxSidecarLens, "array")