Skip to content

Commit

Permalink
fixed benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
Yashk767 committed Jul 22, 2022
1 parent c15d282 commit a43ac7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/reveal_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ func BenchmarkGenerateTreeRevealData(b *testing.B) {
utils2.MerkleInterface = merkleInterface

merkleInterface.On("GetProofPath", mock.Anything, mock.Anything).Return([][32]byte{[32]byte{1, 2, 3}, {4, 5, 6}})
merkleInterface.On("GetMerkleRoot", mock.Anything).Return([32]byte{100})
merkleInterface.On("GetMerkleRoot", mock.Anything).Return([32]byte{100}, nil)

ut := &UtilsStruct{}
seqAllottedCollections := getDummySeqAllottedCollection(v.numOfAllottedCollections)
Expand Down

0 comments on commit a43ac7f

Please sign in to comment.