celestiaorg / nmt

Namespaced Merkle Tree
Apache License 2.0
107 stars 39 forks source link

test: incorporates tests for short absence proof verification #217

Closed staheri14 closed 1 year ago

staheri14 commented 1 year ago

Overview

After investigating the current implementation, verified that the nmt library is capable of verifying short absence proofs. This PR contains the necessary tests to demonstrate and test this capability.

In line with #210

Checklist

codecov[bot] commented 1 year ago

Codecov Report

Merging #217 (1e56c61) into master (48b8f96) will not change coverage. The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #217   +/-   ##
=======================================
  Coverage   93.67%   93.67%           
=======================================
  Files           5        5           
  Lines         601      601           
=======================================
  Hits          563      563           
  Misses         21       21           
  Partials       17       17           
Impacted Files Coverage Δ
proof.go 88.48% <ø> (ø)