IntersectMBO / IntersectMBO/ouroboros-consensus

Chain DB: property tests for the model

Open
#779 0 comments 0 reactions 0 assignees View on GitHub
:wastebasket: :question: possibly stale better-tests
Dominant language
Haskell
Stars
67
Forks
43
Avg merge
5d 13h
Merged PRs (30d)
43

Description

As the ChainDB is a complex beast, even the model implementation is non-trivial. Some things are easy to get wrong, e.g., the iterator implementation.

Also see https://github.com/input-output-hk/ouroboros-network/pull/689#discussion_r298766177.

We need some (more) property tests in `Test.Ouroboros.Storage.ChainDB.Model` to make sure we have a correct model. If the model is incorrect, then the real implementation will probably be also incorrect.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.