Skip to content

Commit

Permalink
Update Namespaced shares fields use snake_case in JSON
Browse files Browse the repository at this point in the history
  • Loading branch information
Manav-Aggarwal committed Sep 12, 2023
1 parent 725c09a commit ddf4347
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions types/share/share.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit ddf4347

Please sign in to comment.