Added examples of transaction creation to Haddock #698
Garnix CI / check ghc966-x86_64-w64-mingw32:cardano-api:test:cardano-api-test [x86_64-linux]
succeeded
Jan 8, 2025 in 28m 25s
Run results
Build succeeded
Details
Last 100 lines of logs:
valid & rountrip text chunks: OK (3.43s)
✓ <interactive> passed 100 tests.
Empty chunks 2% ▍··················· ✓ 1%
Single chunks 26% █████▏·············· ✓ 5%
Many chunks 72% ██████████████▍····· ✓ 25%
valid & rountrip bytes chunks: OK (4.28s)
✓ <interactive> passed 100 tests.
Empty chunks 2% ▍··················· ✓ 1%
Single chunks 60% ████████████········ ✓ 5%
Many chunks 38% ███████▌············ ✓ 25%
Test.Cardano.Api.Typed.Ord
ord distributive TxId: OK (0.18s)
✓ <interactive> passed 100 tests.
ord distributive TxIn: OK (0.38s)
✓ <interactive> passed 100 tests.
ord distributive Address: OK (6.11s)
✓ <interactive> passed 100 tests.
ord distributive StakeAddress: OK (2.39s)
✓ <interactive> passed 100 tests.
ord distributive TxMetadata: OK (2.96s)
✓ <interactive> passed 100 tests.
ord distributive ScriptData: OK (10.86s)
✓ <interactive> passed 100 tests.
ProtocolParameter tests
ToJSON instances produce the same
ShelleyEra: OK (7.74s)
✓ <interactive> passed 100 tests.
AlonzoEra: OK (24.03s)
✓ <interactive> passed 100 tests.
BabbageEra: OK (8.78s)
✓ <interactive> passed 100 tests.
ProtocolParameters ToJSON can be read by PParams FromJSON
ShelleyEra: OK (2.44s)
✓ <interactive> passed 100 tests.
AlonzoEra: OK (12.79s)
✓ <interactive> passed 100 tests.
BabbageEra: OK (6.87s)
✓ <interactive> passed 100 tests.
PParams roundtrip
ShelleyEra: OK (6.73s)
✓ <interactive> passed 100 tests.
AlonzoEra: OK (11.78s)
✓ <interactive> passed 100 tests.
BabbageEra: OK (8.06s)
✓ <interactive> passed 100 tests.
Test.Cardano.Api.Typed.RawBytes
roundtrip shelley address raw: OK (0.95s)
✓ <interactive> passed 100 tests.
roundtrip byron address raw: OK (2.14s)
✓ <interactive> passed 100 tests.
roundtrip stake address raw: OK (0.73s)
✓ <interactive> passed 100 tests.
roundtrip script hash raw: OK (0.28s)
✓ <interactive> passed 100 tests.
roundtrip verification ByronKey hash raw: OK (2.75s)
✓ <interactive> passed 100 tests.
roundtrip verification PaymentKey hash raw: OK (1.94s)
✓ <interactive> passed 100 tests.
roundtrip verification StakeKey hash raw: OK (0.67s)
✓ <interactive> passed 100 tests.
roundtrip verification StakePoolKey hash raw: OK (0.62s)
✓ <interactive> passed 100 tests.
roundtrip verification GenesisKey hash raw: OK (1.05s)
✓ <interactive> passed 100 tests.
roundtrip verification GenesisDelegateKey hash raw: OK (1.19s)
✓ <interactive> passed 100 tests.
roundtrip verification KesKey hash raw: OK (13.05s)
✓ <interactive> passed 100 tests.
roundtrip verification VrfKey hash raw: OK (1.13s)
✓ <interactive> passed 100 tests.
roundtrip verification GenesisUTxOKey hash raw: OK (0.58s)
✓ <interactive> passed 100 tests.
Test.Cardano.Api.Typed.TxBody
makeTransactionBodyAutoBalance test correct fees when mutli-asset tx: OK (5.79s)
✓ <interactive> passed 1 test.
makeTransactionBodyAutoBalance autobalances multi-asset collateral: OK (5.09s)
✓ <interactive> passed 1 test.
calcReturnAndTotalCollateral constraints hold: OK (387.12s)
✓ <interactive> passed 400 tests.
Test.Cardano.Api.Typed.TxBody
roundtrip txbodycontent txouts Babbage: OK (73.80s)
✓ <interactive> passed 100 tests.
roundtrip txbodycontent txouts Conway: OK (172.52s)
✓ <interactive> passed 100 tests.
roundtrip txbodycontent new conway fields: OK (203.44s)
✓ <interactive> passed 100 tests.
Test.Cardano.Api.Typed.Value
roundtrip Value JSON: OK (2.13s)
✓ <interactive> passed 100 tests.
roundtrip Value flatten unflatten: OK (1.70s)
✓ <interactive> passed 100 tests.
roundtrip Value unflatten flatten: OK (0.64s)
✓ <interactive> passed 100 tests.
roundtrip AssetName JSON: OK (0.93s)
✓ <interactive> passed 100 tests.
roundtrip AssetName JSONKey: OK (0.12s)
✓ <interactive> passed 100 tests.
All 171 tests passed (466.00s)
buildPhase completed in 7 minutes 50 seconds
Loading