onflow / atree

Atree provides scalable arrays and scalable ordered maps.
https://onflow.org
Apache License 2.0
40 stars 16 forks source link

Update CircleHash to newer version #244

Closed fxamacker closed 2 years ago

fxamacker commented 2 years ago

Description

Closes #243


codecov-commenter commented 2 years ago

Codecov Report

Merging #244 (a300fa7) into main (0836f0e) will increase coverage by 0.04%. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #244      +/-   ##
==========================================
+ Coverage   68.93%   68.97%   +0.04%     
==========================================
  Files          14       14              
  Lines        7245     7245              
==========================================
+ Hits         4994     4997       +3     
+ Misses       1619     1617       -2     
+ Partials      632      631       -1     
Impacted Files Coverage Δ
map.go 71.41% <0.00%> (+0.10%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 0836f0e...a300fa7. Read the comment docs.

fxamacker commented 2 years ago

In case we do not already have some, maybe it would be great to have some regression tests here in atree that assert expected hash output for some values

@turbolent That's a great idea! I'm going to include that before merging this PR.

fxamacker commented 2 years ago

I opened PR https://github.com/onflow/atree/pull/247 to add regression/compatibility test. It's a subset of tests copied from circlehash.

turbolent commented 2 years ago

@fxamacker Please feel free to merge, I also approved #247