From 328697df1cea8658ee5979d5decd3d08f517836a Mon Sep 17 00:00:00 2001 From: Pranay Valson Date: Tue, 26 Mar 2024 15:44:20 -0700 Subject: [PATCH] add null avro union type for blob sidecar Signed-off-by: Pranay Valson --- codec/block-ethereum.avsc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/codec/block-ethereum.avsc b/codec/block-ethereum.avsc index d3740139..8a3e60f0 100644 --- a/codec/block-ethereum.avsc +++ b/codec/block-ethereum.avsc @@ -336,7 +336,9 @@ }, { "name":"blobTxSidecar", - "type":{ + "type":[ + "null", + { "name":"blobTxSidecar", "type":"record", "fields":[ @@ -366,6 +368,8 @@ } ] } + ], + "default":"null" } ] }