IntersectMBO / IntersectMBO/cardano-ledger
Test `TimeTranslationPastHorizon`
Open
Beginner friendly
: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
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