Refactor witnesses indexing functions to have the indexing logic in one place #697
Garnix CI / check ghc966:cardano-api:test:cardano-api-test [x86_64-linux]
succeeded
Dec 31, 2024 in 7m 3s
Run results
Build succeeded
Details
Last 100 lines of logs:
valid & rountrip text chunks: OK (0.18s)
✓ <interactive> passed 100 tests.
Empty chunks 3% ▌··················· ✓ 1%
Single chunks 20% ████················ ✓ 5%
Many chunks 77% ███████████████▍···· ✓ 25%
valid & rountrip bytes chunks: OK (0.13s)
✓ <interactive> passed 100 tests.
Empty chunks 2% ▍··················· ✓ 1%
Single chunks 56% ███████████▏········ ✓ 5%
Many chunks 42% ████████▍··········· ✓ 25%
Test.Cardano.Api.Typed.Ord
ord distributive TxId: OK
✓ <interactive> passed 100 tests.
ord distributive TxIn: OK
✓ <interactive> passed 100 tests.
ord distributive Address: OK (0.25s)
✓ <interactive> passed 100 tests.
ord distributive StakeAddress: OK (0.17s)
✓ <interactive> passed 100 tests.
ord distributive TxMetadata: OK (0.16s)
✓ <interactive> passed 100 tests.
ord distributive ScriptData: OK (1.07s)
✓ <interactive> passed 100 tests.
ProtocolParameter tests
ToJSON instances produce the same
ShelleyEra: OK (0.37s)
✓ <interactive> passed 100 tests.
AlonzoEra: OK (1.14s)
✓ <interactive> passed 100 tests.
BabbageEra: OK (0.54s)
✓ <interactive> passed 100 tests.
ProtocolParameters ToJSON can be read by PParams FromJSON
ShelleyEra: OK (0.27s)
✓ <interactive> passed 100 tests.
AlonzoEra: OK (1.10s)
✓ <interactive> passed 100 tests.
BabbageEra: OK (0.64s)
✓ <interactive> passed 100 tests.
PParams roundtrip
ShelleyEra: OK (0.44s)
✓ <interactive> passed 100 tests.
AlonzoEra: OK (0.80s)
✓ <interactive> passed 100 tests.
BabbageEra: OK (0.83s)
✓ <interactive> passed 100 tests.
Test.Cardano.Api.Typed.RawBytes
roundtrip shelley address raw: OK (0.12s)
✓ <interactive> passed 100 tests.
roundtrip byron address raw: OK (0.13s)
✓ <interactive> passed 100 tests.
roundtrip stake address raw: OK (0.07s)
✓ <interactive> passed 100 tests.
roundtrip script hash raw: OK (0.04s)
✓ <interactive> passed 100 tests.
roundtrip verification ByronKey hash raw: OK (0.11s)
✓ <interactive> passed 100 tests.
roundtrip verification PaymentKey hash raw: OK (0.09s)
✓ <interactive> passed 100 tests.
roundtrip verification StakeKey hash raw: OK (0.10s)
✓ <interactive> passed 100 tests.
roundtrip verification StakePoolKey hash raw: OK (0.09s)
✓ <interactive> passed 100 tests.
roundtrip verification GenesisKey hash raw: OK (0.10s)
✓ <interactive> passed 100 tests.
roundtrip verification GenesisDelegateKey hash raw: OK (0.09s)
✓ <interactive> passed 100 tests.
roundtrip verification KesKey hash raw: OK (0.95s)
✓ <interactive> passed 100 tests.
roundtrip verification VrfKey hash raw: OK (0.10s)
✓ <interactive> passed 100 tests.
roundtrip verification GenesisUTxOKey hash raw: OK (0.11s)
✓ <interactive> passed 100 tests.
Test.Cardano.Api.Typed.TxBody
makeTransactionBodyAutoBalance test correct fees when mutli-asset tx: OK (0.58s)
✓ <interactive> passed 1 test.
makeTransactionBodyAutoBalance autobalances multi-asset collateral: OK (0.58s)
✓ <interactive> passed 1 test.
calcReturnAndTotalCollateral constraints hold: OK (32.97s)
✓ <interactive> passed 400 tests.
Test.Cardano.Api.Typed.TxBody
roundtrip txbodycontent txouts Babbage: OK (4.63s)
✓ <interactive> passed 100 tests.
roundtrip txbodycontent txouts Conway: OK (16.43s)
✓ <interactive> passed 100 tests.
roundtrip txbodycontent new conway fields: OK (18.20s)
✓ <interactive> passed 100 tests.
Test.Cardano.Api.Typed.Value
roundtrip Value JSON: OK (0.18s)
✓ <interactive> passed 100 tests.
roundtrip Value flatten unflatten: OK (0.17s)
✓ <interactive> passed 100 tests.
roundtrip Value unflatten flatten: OK (0.14s)
✓ <interactive> passed 100 tests.
roundtrip AssetName JSON: OK (0.02s)
✓ <interactive> passed 100 tests.
roundtrip AssetName JSONKey: OK (0.02s)
✓ <interactive> passed 100 tests.
All 169 tests passed (65.05s)
buildPhase completed in 1 minutes 5 seconds
Loading