Skip to content

Commit

Permalink
feat: UT
Browse files Browse the repository at this point in the history
  • Loading branch information
goran-ethernal committed Dec 6, 2024
1 parent 1ed284c commit aece5f8
Show file tree
Hide file tree
Showing 2 changed files with 178 additions and 39 deletions.
2 changes: 1 addition & 1 deletion agglayer/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ type MerkleProof struct {
// MarshalJSON is the implementation of the json.Marshaler interface
func (m *MerkleProof) MarshalJSON() ([]byte, error) {
return json.Marshal(&struct {
Root [types.DefaultHeight]byte `json:"root"`
Root common.Hash `json:"root"`
Proof map[string][types.DefaultHeight]common.Hash `json:"proof"`
}{
Root: m.Root,
Expand Down
Loading

0 comments on commit aece5f8

Please sign in to comment.