go-algorand icon indicating copy to clipboard operation
go-algorand copied to clipboard

State Proof Recoverability: state proof verification tracking

Open almog-t opened this issue 2 years ago • 1 comments

Summary

Created a tracker to track the data required for state proof verification, until such a time as the expected state proof is agreed upon. Includes unit tests and a sanity ledger test.

almog-t avatar Sep 22 '22 14:09 almog-t

Codecov Report

Merging #4570 (32111e2) into feature/stateproofs-recoverability (4e4ee2c) will increase coverage by 0.04%. The diff coverage is 85.16%.

@@                          Coverage Diff                           @@
##           feature/stateproofs-recoverability    #4570      +/-   ##
======================================================================
+ Coverage                               54.17%   54.21%   +0.04%     
======================================================================
  Files                                     401      402       +1     
  Lines                                   51642    51790     +148     
======================================================================
+ Hits                                    27978    28079     +101     
- Misses                                  21319    21351      +32     
- Partials                                 2345     2360      +15     
Impacted Files Coverage Δ
ledger/tracker.go 74.04% <ø> (-5.54%) :arrow_down:
ledger/trackerdb.go 46.66% <44.44%> (-0.08%) :arrow_down:
ledger/ledger.go 65.82% <72.72%> (-0.53%) :arrow_down:
ledger/accountdb.go 72.95% <78.37%> (-0.08%) :arrow_down:
ledger/stateproofverificationtracker.go 92.85% <92.85%> (ø)
ledger/roundlru.go 90.56% <0.00%> (-5.67%) :arrow_down:
catchup/service.go 68.39% <0.00%> (-0.99%) :arrow_down:
data/transactions/verify/txn.go 43.75% <0.00%> (-0.90%) :arrow_down:
ledger/acctonline.go 78.12% <0.00%> (-0.53%) :arrow_down:
... and 3 more

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

codecov[bot] avatar Sep 28 '22 12:09 codecov[bot]