Skip to main content

Test Results for hydra-cluster

Test.LogFilter​

  • keeps basic structure of entry

  • replaces transactions by their ids in ReqSn

  • significantly reduces standard log messages size

    Details
    +++ OK, passed 400 tests (61.5% reduces size by 90%).

    Ratios (400 in total):
    61.5% 0 %
    13.0% 90 %
    6.5% 10 %
    4.2% 80 %
    3.0% 20 %
    2.8% 30 %
    2.8% 60 %
    2.8% 70 %
    1.8% 40 %
    1.8% 50 %

Test.Ledger.Cardano.Configuration​

ShelleyGenesis​

  • can be read from JSON

ProtocolParameters​

  • can be read from JSON

Test.Hydra.Cluster.Faucet​

seedFromFaucet​

  • should work concurrently

Test.Generator​

JSON encoding of Dataset​

  • allows to encode values with aeson and read them back

    Details
    +++ OK, passed 100 tests.
  • generates a Dataset that keeps UTXO constant

    Details
    +++ OK, passed 100 tests.

Test.EndToEnd​

End-to-end on Cardano devnet​

hydra-node executable​

  • display proper semantic version given it is passed --version argument
  • logs its command line arguments

Monitoring​

  • Node exposes Prometheus metrics on port 6001

two hydra heads scenario​

  • two heads on the same network do not conflict
  • bob cannot abort alice's head

restarting nodes​

  • can abort head after restart
  • can observe a commit tx after a restart, even when a tx happened while down
  • can start chain from the past and replay on-chain events
  • close of an initial snapshot from re-initialized node is contested

three hydra nodes scenario​

  • inits a Head, processes a single Cardano transaction and closes it again
  • inits a Head and closes it immediately

single party hydra head​

  • full head life-cycle

Test.DirectChain​

  • can init and abort a head given nothing has been committed
  • can init and abort a 2-parties head after one party has committed
  • cannot abort a non-participating head
  • can commit
  • can commit empty UTxO
  • can open, close & fanout a Head
  • can restart head to point in the past and replay on-chain events
  • cannot restart head to an unknown point
  • can publish and query reference scripts in a timely manner

Test.CardanoNode​

  • has expected cardano-node version available
  • withCardanoNodeDevnet does start a block-producing devnet within 5 seconds