nim-codex/tests/codex/stores
Michael Bradley, Jr 3d823dcbc6 [stores] update getBlock return type
change return type for `method getBlock` from `Future[?!(?Block)]` to
`Future[?!Block]`

use `type BlockNotFoundError = object of CodexError` to differentiate between
"block not found in the store" and other errors

also make some logic and error handling/messages more consistent across
BlockStore implementations

closes #177
closes #182
closes #210

alternative to #205, #209
2022-08-22 20:52:51 -05:00
..
testcachestore.nim [stores] update getBlock return type 2022-08-22 20:52:51 -05:00
testfsstore.nim [stores] update getBlock return type 2022-08-22 20:52:51 -05:00
testsqlitestore.nim [stores] update getBlock return type 2022-08-22 20:52:51 -05:00