cardano-scaling / hydra

Implementation of the Hydra Head protocol
https://hydra.family/head-protocol/
Apache License 2.0
281 stars 86 forks source link

The smoke tests can run on mainnet #761

Closed v0d1ch closed 1 year ago

v0d1ch commented 1 year ago

Why

We want to be able to run our smoke tests on mainnet in order to assure ourselves everything runs smoothly.

What

We would use the same mechanism as currently for preview and preprod but be executable on mainnet. Noticeable differences:

How

Manage funds

Implement descent protection of our Hydra faucet funds. We plan to always keep the funds under 100Ada so that it's not a big deal.

Some process let us move funds from somewhere to the faucet so that these smoke tests could run.

We can run the smoke tests on mainnet the same way as we run them on preview and preprod today, manually with GitHub C.I.

Out of scope: Not directly related but we should probably run the smoke tests on preview and preprod nightly.

Manage cardano node


Discussed options:

How to actually manage Cardano-node synchronization requirements?

How can we connect the CI hydra-node with the persistent Cardano-node? No unix socket possibility.

abailly-iohk commented 1 year ago

We might want to tweak the scripts to consume less ADAs, in the spirit of limiting the amount of exposed ADAs.