Commit ebca61c
committed
Add property tests for Alonzo, Babbage and Conway Plutus TxInfo translation
Add `Test.Cardano.Ledger.Alonzo.TxInfoSpec` with three property tests
for Alonzo TxInfo translation:
* correctly translate tx with alonzo-era features
* translation fails when input not in UTxO
* translation fails for slot past horizon
Extend `Test.Cardano.Ledger.Babbage.TxInfoSpec` with a property test for
Babbage TxInfo translation across PlutusV1/V2/V3/V4:
* correctly translate tx with babbage-era features1 parent f51f4e4 commit ebca61c
6 files changed
Lines changed: 914 additions & 153 deletions
File tree
- eras
- alonzo/impl
- testlib/Test/Cardano/Ledger/Alonzo
- test
- babbage/impl/testlib/Test/Cardano/Ledger/Babbage
- conway/impl/testlib/Test/Cardano/Ledger/Conway
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
| 182 | + | |
182 | 183 | | |
183 | 184 | | |
184 | 185 | | |
| |||
223 | 224 | | |
224 | 225 | | |
225 | 226 | | |
| 227 | + | |
226 | 228 | | |
227 | 229 | | |
228 | 230 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
| 39 | + | |
0 commit comments