Refactor witnesses indexing functions to have the indexing logic in one place #697
Garnix CI / check ghc966-x86_64-w64-mingw32:cardano-api:test:cardano-api-test [x86_64-linux]
succeeded
Dec 31, 2024 in 6m 7s
Run results
Build succeeded
Details
Last 100 lines of logs:
valid & rountrip text chunks: OK (0.16s)
✓ <interactive> passed 100 tests.
Empty chunks 4% ▊··················· ✓ 1%
Single chunks 25% █████··············· ✓ 5%
Many chunks 71% ██████████████▏····· ✓ 25%
valid & rountrip bytes chunks: OK (0.15s)
✓ <interactive> passed 100 tests.
Empty chunks 3% ▌··················· ✓ 1%
Single chunks 52% ██████████▍········· ✓ 5%
Many chunks 45% █████████··········· ✓ 25%
Test.Cardano.Api.Typed.Ord
ord distributive TxId: OK
✓ <interactive> passed 100 tests.
ord distributive TxIn: OK (0.02s)
✓ <interactive> passed 100 tests.
ord distributive Address: OK (0.29s)
✓ <interactive> passed 100 tests.
ord distributive StakeAddress: OK (0.34s)
✓ <interactive> passed 100 tests.
ord distributive TxMetadata: OK (0.17s)
✓ <interactive> passed 100 tests.
ord distributive ScriptData: OK (1.16s)
✓ <interactive> passed 100 tests.
ProtocolParameter tests
ToJSON instances produce the same
ShelleyEra: OK (0.30s)
✓ <interactive> passed 100 tests.
AlonzoEra: OK (1.27s)
✓ <interactive> passed 100 tests.
BabbageEra: OK (0.52s)
✓ <interactive> passed 100 tests.
ProtocolParameters ToJSON can be read by PParams FromJSON
ShelleyEra: OK (0.32s)
✓ <interactive> passed 100 tests.
AlonzoEra: OK (0.63s)
✓ <interactive> passed 100 tests.
BabbageEra: OK (0.88s)
✓ <interactive> passed 100 tests.
PParams roundtrip
ShelleyEra: OK (0.48s)
✓ <interactive> passed 100 tests.
AlonzoEra: OK (1.06s)
✓ <interactive> passed 100 tests.
BabbageEra: OK (0.87s)
✓ <interactive> passed 100 tests.
Test.Cardano.Api.Typed.RawBytes
roundtrip shelley address raw: OK (0.27s)
✓ <interactive> passed 100 tests.
roundtrip byron address raw: OK (0.11s)
✓ <interactive> passed 100 tests.
roundtrip stake address raw: OK (0.14s)
✓ <interactive> passed 100 tests.
roundtrip script hash raw: OK (0.04s)
✓ <interactive> passed 100 tests.
roundtrip verification ByronKey hash raw: OK (0.08s)
✓ <interactive> passed 100 tests.
roundtrip verification PaymentKey hash raw: OK (0.17s)
✓ <interactive> passed 100 tests.
roundtrip verification StakeKey hash raw: OK (0.18s)
✓ <interactive> passed 100 tests.
roundtrip verification StakePoolKey hash raw: OK (0.10s)
✓ <interactive> passed 100 tests.
roundtrip verification GenesisKey hash raw: OK (0.15s)
✓ <interactive> passed 100 tests.
roundtrip verification GenesisDelegateKey hash raw: OK (0.15s)
✓ <interactive> passed 100 tests.
roundtrip verification KesKey hash raw: OK (1.89s)
✓ <interactive> passed 100 tests.
roundtrip verification VrfKey hash raw: OK (0.21s)
✓ <interactive> passed 100 tests.
roundtrip verification GenesisUTxOKey hash raw: OK (0.17s)
✓ <interactive> passed 100 tests.
Test.Cardano.Api.Typed.TxBody
makeTransactionBodyAutoBalance test correct fees when mutli-asset tx: OK (0.49s)
✓ <interactive> passed 1 test.
makeTransactionBodyAutoBalance autobalances multi-asset collateral: OK (0.56s)
✓ <interactive> passed 1 test.
calcReturnAndTotalCollateral constraints hold: OK (48.86s)
✓ <interactive> passed 400 tests.
Test.Cardano.Api.Typed.TxBody
roundtrip txbodycontent txouts Babbage: OK (4.81s)
✓ <interactive> passed 100 tests.
roundtrip txbodycontent txouts Conway: OK (21.40s)
✓ <interactive> passed 100 tests.
roundtrip txbodycontent new conway fields: OK (18.88s)
✓ <interactive> passed 100 tests.
Test.Cardano.Api.Typed.Value
roundtrip Value JSON: OK (0.17s)
✓ <interactive> passed 100 tests.
roundtrip Value flatten unflatten: OK (0.11s)
✓ <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 (70.08s)
buildPhase completed in 1 minutes 13 seconds
Loading