Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add certificates support in createCompatibleSignedTx. #691

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Add certs support in compatible Tx building

2bf3997
Select commit
Loading
Failed to load commit list.
Open

Add certificates support in createCompatibleSignedTx. #691

Add certs support in compatible Tx building
2bf3997
Select commit
Loading
Failed to load commit list.
Garnix CI / check ghc966:cardano-api:test:cardano-api-test [x86_64-linux] succeeded Jan 3, 2025 in 46m 4s

Run results

Build succeeded

Details

Last 100 lines of logs:

    valid & rountrip text chunks:                                                         OK (2.76s)
        ✓ <interactive> passed 100 tests.
          Empty chunks   3% ▌··················· ✓  1%
          Single chunks 25% █████··············· ✓  5%
          Many chunks   72% ██████████████▍····· ✓ 25%
    valid & rountrip bytes chunks:                                                        OK (1.42s)
        ✓ <interactive> passed 100 tests.
          Empty chunks   4% ▊··················· ✓  1%
          Single chunks 61% ████████████▏······· ✓  5%
          Many chunks   35% ███████············· ✓ 25%
  Test.Cardano.Api.Typed.Ord
    ord distributive TxId:                                                                OK (0.08s)
        ✓ <interactive> passed 100 tests.
    ord distributive TxIn:                                                                OK (0.17s)
        ✓ <interactive> passed 100 tests.
    ord distributive Address:                                                             OK (1.45s)
        ✓ <interactive> passed 100 tests.
    ord distributive StakeAddress:                                                        OK (1.44s)
        ✓ <interactive> passed 100 tests.
    ord distributive TxMetadata:                                                          OK (1.55s)
        ✓ <interactive> passed 100 tests.
    ord distributive ScriptData:                                                          OK (8.92s)
        ✓ <interactive> passed 100 tests.
  ProtocolParameter tests
    ToJSON instances produce the same
      ShelleyEra:                                                                         OK (3.18s)
          ✓ <interactive> passed 100 tests.
      AlonzoEra:                                                                          OK (8.50s)
          ✓ <interactive> passed 100 tests.
      BabbageEra:                                                                         OK (8.64s)
          ✓ <interactive> passed 100 tests.
    ProtocolParameters ToJSON can be read by PParams FromJSON
      ShelleyEra:                                                                         OK (1.97s)
          ✓ <interactive> passed 100 tests.
      AlonzoEra:                                                                          OK (7.45s)
          ✓ <interactive> passed 100 tests.
      BabbageEra:                                                                         OK (3.55s)
          ✓ <interactive> passed 100 tests.
    PParams roundtrip
      ShelleyEra:                                                                         OK (3.48s)
          ✓ <interactive> passed 100 tests.
      AlonzoEra:                                                                          OK (8.21s)
          ✓ <interactive> passed 100 tests.
      BabbageEra:                                                                         OK (6.64s)
          ✓ <interactive> passed 100 tests.
  Test.Cardano.Api.Typed.RawBytes
    roundtrip shelley address raw:                                                        OK (1.20s)
        ✓ <interactive> passed 100 tests.
    roundtrip byron address raw:                                                          OK (0.83s)
        ✓ <interactive> passed 100 tests.
    roundtrip stake address raw:                                                          OK (0.69s)
        ✓ <interactive> passed 100 tests.
    roundtrip script hash raw:                                                            OK (0.36s)
        ✓ <interactive> passed 100 tests.
    roundtrip verification ByronKey hash raw:                                             OK (0.55s)
        ✓ <interactive> passed 100 tests.
    roundtrip verification PaymentKey hash raw:                                           OK (0.94s)
        ✓ <interactive> passed 100 tests.
    roundtrip verification StakeKey hash raw:                                             OK (0.59s)
        ✓ <interactive> passed 100 tests.
    roundtrip verification StakePoolKey hash raw:                                         OK (1.04s)
        ✓ <interactive> passed 100 tests.
    roundtrip verification GenesisKey hash raw:                                           OK (0.85s)
        ✓ <interactive> passed 100 tests.
    roundtrip verification GenesisDelegateKey hash raw:                                   OK (1.08s)
        ✓ <interactive> passed 100 tests.
    roundtrip verification KesKey hash raw:                                               OK (4.80s)
        ✓ <interactive> passed 100 tests.
    roundtrip verification VrfKey hash raw:                                               OK (0.96s)
        ✓ <interactive> passed 100 tests.
    roundtrip verification GenesisUTxOKey hash raw:                                       OK (0.67s)
        ✓ <interactive> passed 100 tests.
  Test.Cardano.Api.Typed.TxBody
    makeTransactionBodyAutoBalance test correct fees when mutli-asset tx:                 OK (3.36s)
        ✓ <interactive> passed 1 test.
    makeTransactionBodyAutoBalance autobalances multi-asset collateral:                   OK (2.48s)
        ✓ <interactive> passed 1 test.
    calcReturnAndTotalCollateral constraints hold:                                        OK (57.07s)
        ✓ <interactive> passed 400 tests.
  Test.Cardano.Api.Typed.TxBody
    roundtrip txbodycontent txouts Babbage:                                               OK (16.67s)
        ✓ <interactive> passed 100 tests.
    roundtrip txbodycontent txouts Conway:                                                OK (34.14s)
        ✓ <interactive> passed 100 tests.
    roundtrip txbodycontent new conway fields:                                            OK (33.05s)
        ✓ <interactive> passed 100 tests.
  Test.Cardano.Api.Typed.Value
    roundtrip Value JSON:                                                                 OK (1.02s)
        ✓ <interactive> passed 100 tests.
    roundtrip Value flatten unflatten:                                                    OK (0.68s)
        ✓ <interactive> passed 100 tests.
    roundtrip Value unflatten flatten:                                                    OK (0.41s)
        ✓ <interactive> passed 100 tests.
    roundtrip AssetName JSON:                                                             OK (0.08s)
        ✓ <interactive> passed 100 tests.
    roundtrip AssetName JSONKey:                                                          OK (0.29s)
        ✓ <interactive> passed 100 tests.

All 169 tests passed (84.05s)
buildPhase completed in 1 minutes 24 seconds