IntersectMBO / IntersectMBO/cardano-ledger

Make Shelley test examples concrete

Open
#3,117 3 comments 0 reactions 0 assignees View on GitHub
:credit_card: technical-debt :detective: testing
Dominant language
Haskell
Stars
295
Forks
179
Avg merge
4d 7h
Merged PRs (30d)
29

Description

Currently the functions in [Shelley examples](https://github.com/input-output-hk/cardano-ledger/tree/master/eras/shelley/test-suite/test/Test/Cardano/Ledger/Shelley/Examples) are parametrized by era even though the only valid instantiation of these era parameters is `ShelleyEra C_Crypt`. We should make these signatures concrete so that we don't have to thread constraints through the test libraries like in #3045.

If there are functions that can be used across eras, then we should move those into generic tests in `cardano-ledger-test`.

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.