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
114 stars 18 forks source link

Add support for OpenZeppelin sort-pair verifcation #21

Closed txaty closed 1 year ago

txaty commented 1 year ago

Add SortSiblingPair parameter in Config for OpenZeppelin support:

This PR is originated from https://github.com/txaty/go-merkletree/pull/20 by user dev-ubq.

codecov[bot] commented 1 year ago

Codecov Report

Merging #21 (413e634) into main (6ccb37a) will increase coverage by 0.39%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #21      +/-   ##
==========================================
+ Coverage   92.12%   92.51%   +0.39%     
==========================================
  Files           2        2              
  Lines         457      481      +24     
==========================================
+ Hits          421      445      +24     
  Misses         24       24              
  Partials       12       12              
Impacted Files Coverage Δ
merkle_tree.go 92.38% <100.00%> (+0.40%) :arrow_up:

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