Add module for UTxO type and operations #710
+96
−27
Open
Garnix CI / check ghc966-x86_64-w64-mingw32:cardano-api:test:cardano-api-test [x86_64-linux]
succeeded
Jan 7, 2025 in 4m 3s
Run results
Build succeeded
Details
Last 100 lines of logs:
valid & rountrip text chunks: OK (0.26s)
✓ <interactive> passed 100 tests.
Empty chunks 2% ▍··················· ✓ 1%
Single chunks 17% ███▍················ ✓ 5%
Many chunks 81% ████████████████▏··· ✓ 25%
valid & rountrip bytes chunks: OK (0.18s)
✓ <interactive> passed 100 tests.
Empty chunks 4% ▊··················· ✓ 1%
Single chunks 56% ███████████▏········ ✓ 5%
Many chunks 40% ████████············ ✓ 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.28s)
✓ <interactive> passed 100 tests.
ord distributive StakeAddress: OK (0.40s)
✓ <interactive> passed 100 tests.
ord distributive TxMetadata: OK (0.16s)
✓ <interactive> passed 100 tests.
ord distributive ScriptData: OK (1.05s)
✓ <interactive> passed 100 tests.
ProtocolParameter tests
ToJSON instances produce the same
ShelleyEra: OK (0.47s)
✓ <interactive> passed 100 tests.
AlonzoEra: OK (0.81s)
✓ <interactive> passed 100 tests.
BabbageEra: OK (0.79s)
✓ <interactive> passed 100 tests.
ProtocolParameters ToJSON can be read by PParams FromJSON
ShelleyEra: OK (0.32s)
✓ <interactive> passed 100 tests.
AlonzoEra: OK (0.97s)
✓ <interactive> passed 100 tests.
BabbageEra: OK (0.98s)
✓ <interactive> passed 100 tests.
PParams roundtrip
ShelleyEra: OK (0.49s)
✓ <interactive> passed 100 tests.
AlonzoEra: OK (1.03s)
✓ <interactive> passed 100 tests.
BabbageEra: OK (0.70s)
✓ <interactive> passed 100 tests.
Test.Cardano.Api.Typed.RawBytes
roundtrip shelley address raw: OK (0.28s)
✓ <interactive> passed 100 tests.
roundtrip byron address raw: OK (0.16s)
✓ <interactive> passed 100 tests.
roundtrip stake address raw: OK (0.20s)
✓ <interactive> passed 100 tests.
roundtrip script hash raw: OK (0.03s)
✓ <interactive> passed 100 tests.
roundtrip verification ByronKey hash raw: OK (0.13s)
✓ <interactive> passed 100 tests.
roundtrip verification PaymentKey hash raw: OK (0.17s)
✓ <interactive> passed 100 tests.
roundtrip verification StakeKey hash raw: OK (0.15s)
✓ <interactive> passed 100 tests.
roundtrip verification StakePoolKey hash raw: OK (0.16s)
✓ <interactive> passed 100 tests.
roundtrip verification GenesisKey hash raw: OK (0.18s)
✓ <interactive> passed 100 tests.
roundtrip verification GenesisDelegateKey hash raw: OK (0.15s)
✓ <interactive> passed 100 tests.
roundtrip verification KesKey hash raw: OK (2.06s)
✓ <interactive> passed 100 tests.
roundtrip verification VrfKey hash raw: OK (0.18s)
✓ <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.60s)
✓ <interactive> passed 1 test.
makeTransactionBodyAutoBalance autobalances multi-asset collateral: OK (0.58s)
✓ <interactive> passed 1 test.
calcReturnAndTotalCollateral constraints hold: OK (41.13s)
✓ <interactive> passed 400 tests.
Test.Cardano.Api.Typed.TxBody
roundtrip txbodycontent txouts Babbage: OK (6.18s)
✓ <interactive> passed 100 tests.
roundtrip txbodycontent txouts Conway: OK (16.81s)
✓ <interactive> passed 100 tests.
roundtrip txbodycontent new conway fields: OK (16.89s)
✓ <interactive> passed 100 tests.
Test.Cardano.Api.Typed.Value
roundtrip Value JSON: OK (0.16s)
✓ <interactive> passed 100 tests.
roundtrip Value flatten unflatten: OK (0.10s)
✓ <interactive> passed 100 tests.
roundtrip Value unflatten flatten: OK (0.11s)
✓ <interactive> passed 100 tests.
roundtrip AssetName JSON: OK (0.02s)
✓ <interactive> passed 100 tests.
roundtrip AssetName JSONKey: OK (0.03s)
✓ <interactive> passed 100 tests.
All 169 tests passed (59.95s)
buildPhase completed in 1 minutes 5 seconds
Loading