pokt-network / pocket

Official implementation of the Pocket Network Protocol v1
https://pokt.network
MIT License
61 stars 33 forks source link

[WIP] [Persistence] TreeStore Module Tests #836

Closed dylanlott closed 1 year ago

dylanlott commented 1 year ago

Description

Adds tests for the TreeStore module

Summary generated by Reviewpad on 21 Jun 23 23:39 UTC

This pull request includes changes that affect multiple packages in the persistence module.

In addition, changes have been made to individual files that add new methods, implement unit tests, and remove unused variables.

Issue

Relates to #756

Type of change

Please mark the relevant option(s):

List of changes

Testing

Required Checklist

If Applicable Checklist

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 70.00% and project coverage change: +1.06 :tada:

Comparison is base (113e3be) 30.80% compared to head (9a88f1b) 31.87%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## tree-store-module #836 +/- ## ===================================================== + Coverage 30.80% 31.87% +1.06% ===================================================== Files 109 109 Lines 9245 9253 +8 ===================================================== + Hits 2848 2949 +101 + Misses 6057 5932 -125 - Partials 340 372 +32 ``` | [Impacted Files](https://app.codecov.io/gh/pokt-network/pocket/pull/836?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pokt-network) | Coverage Δ | | |---|---|---| | [persistence/trees/module.go](https://app.codecov.io/gh/pokt-network/pocket/pull/836?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pokt-network#diff-cGVyc2lzdGVuY2UvdHJlZXMvbW9kdWxlLmdv) | `68.51% <66.66%> (+68.51%)` | :arrow_up: | | [persistence/trees/trees.go](https://app.codecov.io/gh/pokt-network/pocket/pull/836?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pokt-network#diff-cGVyc2lzdGVuY2UvdHJlZXMvdHJlZXMuZ28=) | `38.78% <100.00%> (+38.78%)` | :arrow_up: |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

dylanlott commented 1 year ago

Superseded by #861