IntersectMBO / IntersectMBO/cardano-ledger

There are no externally visible orphans `Cardano.Ledger.[Era].Rules` modules.

Open
#5,825 0 comments 0 reactions 0 assignees View on GitHub
:cake: good first issue :credit_card: technical-debt
Dominant language
Haskell
Stars
295
Forks
179
Avg merge
4d 7h
Merged PRs (30d)
29

Description

Such imports shouldn't be necessary, aside from top level `Cardano.Ledger.[Era]` module:
```haskell
import Cardano.Ledger.[Era].Rules ()
```
There are no externally visible orphans `Cardano.Ledger.[Era].Rules` modules.

We need to make sure these are removed and if removal causes issues we need to get to the bottom of what is the source of such issue

_Originally posted by @lehins in https://github.com/IntersectMBO/cardano-ledger/pull/5816#discussion_r3226335026_

Contributor guide

Open the contributing guide

Research direction

Search the repository for imports of Cardano.Ledger.[Era].Rules and inspect the top-level Cardano.Ledger.[Era] modules that are intended to remain. Remove the unnecessary Rules imports, then run the relevant project checks to identify any failures and determine whether they reveal a missing dependency. Done means those externally visible orphan-module imports are gone without breaking the checks.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
blockchain
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
64/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.