From ddf4347fb9757042b62e2ed27b85069717685d9a Mon Sep 17 00:00:00 2001 From: Manav Aggarwal Date: Tue, 12 Sep 2023 00:16:48 -0400 Subject: [PATCH] Update Namespaced shares fields use snake_case in JSON --- types/share/share.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/share/share.go b/types/share/share.go index ab00c80..542a20a 100644 --- a/types/share/share.go +++ b/types/share/share.go @@ -18,8 +18,8 @@ type Root = core.DataAvailabilityHeader // NamespacedRow represents all shares with proofs within a specific namespace of a single EDS row. type NamespacedRow struct { - Shares []Share - Proof *nmt.Proof + Shares []Share `json:"shares"` + Proof *nmt.Proof `json:"proof"` } // NamespacedShares represents all shares with proofs within a specific namespace of an EDS.