IntersectMBO / IntersectMBO/cardano-ledger

Test `TimeTranslationPastHorizon`

Open Beginner friendly
#5,994 0 comments 0 reactions 0 assignees View on GitHub
:detective: testing
Dominant language
Haskell
Stars
295
Forks
179
Avg merge
4d 7h
Merged PRs (30d)
29

Description

Add a test to exercise this translation error from Alonzo (raised by [`transValidityInterval`](https://github.com/IntersectMBO/cardano-ledger/blob/adcb341f236fd224f60577a79ffeb5fb138f051f/eras/alonzo/impl/src/Cardano/Ledger/Alonzo/Plutus/TxInfo.hs#L260).

Contributor guide

Open the contributing guide

Research direction

Start with eras/alonzo/impl/src/Cardano/Ledger/Alonzo/Plutus/TxInfo.hs at transValidityInterval and inspect the existing Alonzo translation tests. Run the relevant test suite to understand how translation errors are exercised. Done means a test reaches the TimeTranslationPastHorizon error path and passes.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
blockchain, testing
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
70/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.