anoma / namada

Rust implementation of Namada, a Proof-of-Stake L1 for interchain asset-agnostic privacy
https://namada.net
GNU General Public License v3.0
2.39k stars 948 forks source link

Increase code coverage for shell/queries #76

Closed batconjurer closed 1 year ago

batconjurer commented 2 years ago

Based on a partial code coverage report for tarpaulin, we should increase the code coverage of apps/src/lib/node/ledger/shell/queries.rs. This following code paths should be covered

cwgoes commented 1 year ago

@yito88 can you take this on in conjunction with the rocksdb work?

yito88 commented 1 year ago

They are covered now.

https://github.com/anoma/namada/blob/d425dd59ef2c0227fac3ec11211502cff32564b4/shared/src/ledger/queries/shell.rs#L448

https://github.com/anoma/namada/blob/d425dd59ef2c0227fac3ec11211502cff32564b4/shared/src/ledger/queries/shell.rs#L460