txaty / go-merkletree

Go Merkle Tree. High performance, Supporting parallel run, OpenZeppelin sorting pairs.
https://pkg.go.dev/github.com/txaty/go-merkletree
MIT License
110 stars 17 forks source link

Add DoNotHashLeaves config #22

Closed alrevuelta closed 1 year ago

alrevuelta commented 1 year ago
alrevuelta commented 1 year ago

If you think this feature is relevant for the repo, I can add tests.

codecov[bot] commented 1 year ago

Codecov Report

Merging #22 (f2a5383) into main (2927e5b) will increase coverage by 0.10%. The diff coverage is 70.00%.

@@            Coverage Diff             @@
##             main      #22      +/-   ##
==========================================
+ Coverage   92.51%   92.62%   +0.10%     
==========================================
  Files           2        2              
  Lines         481      488       +7     
==========================================
+ Hits          445      452       +7     
  Misses         24       24              
  Partials       12       12              
Impacted Files Coverage Δ
merkle_tree.go 92.50% <70.00%> (+0.11%) :arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

txaty commented 1 year ago

Thanks for contributing. This is a very good feature to add. Would you please add some unit tests to it?

alrevuelta commented 1 year ago

@txaty Done!

txaty commented 1 year ago

LGTM