IntersectMBO / IntersectMBO/cardano-node-emulator

Update all dependencies

Open
#59 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
7
Forks
13
PR merge metrics
No merged PRs in 30d

Description

CNE is currently outdated with respect to:
* software dependencies (flake configuration)
* GHC version and associated tool (stuck to 9.6 to to plutus-tx requirements)
* cardano ecosystem libraries

Additionally, some other aspects are to be revamped:
* we no longer use fourmolu, replaced by ormolu, but there are remnants about it
* hpack should be used to get homogeneous .cabal files
* some pre-commit hooks need update (use of hpack, removal of cabal-fmt)
* some libraries, like freer-simple are no longer maintained and need to go

This entails the following initial tasks
- [x] update the flake.nix and flake.lock, using GHC 9.12 now supported by the plutus-tx plugin
- [x] add hpack in the dependencies, as a pre-commit hook, and create package.yaml files for each project
- [x] remove any reference to fourmolu
- [x] update cabal.project to account for new versions of dependencies, and align package.yaml files accordingly

From this initial update, more tasks will spawn, which will be set as sub-issues from this one.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing flake.nix, flake.lock, cabal.project, the package.yaml files, and the pre-commit configuration to identify which dependency and tooling tasks remain after the checked items. Check the related sub-issues for defined follow-up work, then verify that outdated libraries, hooks, and cabal files are addressed consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
build-system, tooling
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.