IntersectMBO / IntersectMBO/ouroboros-consensus

Roundtrip tests for Ledger tables

Open
#1,754 0 comments 0 reactions 0 assignees View on GitHub
UTxO-HD
Dominant language
Haskell
Stars
67
Forks
43
Avg merge
5d 13h
Merged PRs (30d)
43

Description

In [this PR](https://github.com/IntersectMBO/ouroboros-consensus/pull/1577) we identified a bug in deserialization of tables that should not have happened. We have golden tests for the tables but we don't have roundtrip tests. We need to either:
- deserialize the golden files back
- have proper roundtrip tests for ledger tables too

Contributor guide

Open the contributing guide

Research direction

Start by reviewing PR #1577 and the existing golden tests for ledger tables; identify where their serialization and deserialization paths are exercised. Add coverage that deserializes the golden files or round-trips ledger tables, and confirm the tests catch the deserialization regression.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
blockchain, testing-qa
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.