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

Mainnet compatibility #713

Closed
4 tasks done
pgrange opened this issue Feb 8, 2023 · 2 comments
Closed
4 tasks done

Mainnet compatibility #713

pgrange opened this issue Feb 8, 2023 · 2 comments
Labels
green 💚 Low complexity or well understood feature 💬 feature A feature on our roadmap
Milestone

Comments

@pgrange
Copy link
Contributor

pgrange commented Feb 8, 2023

Why

As a user of Hydra I would like to use real Ada in a Hydra head.

As the Hydra team it would demonstrate the maturity of the product. It would be an opportunity to get feedback from users using it for real.

This could (or not) unleash potential adoption and experiments.
It could also raise interest into people wanting to assess actual mainnet Hydra heads security (it's not a hack, it's a pentest).

Anyway, let's see what surprises it could bring.

What

Currently, Hydra software would only run on preview network. It prevents testers from shooting themselves in the foot in case of problematic situation at this stage of development. Which made sense while this project was still named hydra-poc.

We should keep in mind the idea of limiting the risk for people to shoot themselves in the foot. In the meantime, we should not prevent people to make experiments with Hydra on main net once they're happy with what they've seen on preview.

Make it technically feasible to run on mainnet

  • Hydra node can connect to a cardano node running on mainnet
  • The smoke tests can run on mainnet
  • The documentation explains how to run a hydra-node on mainnet
  • Move the Hydraw team's instance to mainnet

Risk limitation features

In the same way lightning used to have a hard-coded limit of 4,390,000 satoshis, we might consider introducing a hard-coded limit for the amount of Ada one can lock with a commit transaction. Today we are only limiting the number of UTxO allowed in a commit. We could consider adding a hard-coded limit on the quantity of Ada in this UTxO. We don't need to enforce that on-chain. Enforcing that in the hydra-node software would be good enough. If one wants to change this limit, recompile and run it, they take their chances.

  • Implement a 100 Ada hard-coded commit limit in the hydra-node (off-chain code)

Known issues we're ok with

There will be a set of known issues/out of scope items. We make sure that the issues are documented, explained why we are okay with these known issues and in general that users are informed we are releasing a beta product, that we will be continuously fixing them (until it's not beta anymore?). We should try to turn the argumentation on it's had that we are happy to be exploited as we can learn from any successful hacks.

Known issues and a list of things we likely see not part of the first mainnet beta release:

How

@pgrange pgrange added the 💭 idea An idea or feature request label Feb 8, 2023
@ch1bo ch1bo mentioned this issue Feb 8, 2023
2 tasks
@ch1bo ch1bo added this to the Mainnet milestone Feb 9, 2023
@ch1bo ch1bo changed the title Put something on main net Mainnet compatibility Feb 14, 2023
@pgrange pgrange added 💬 feature A feature on our roadmap green 💚 Low complexity or well understood feature amber ⚠️ Medium complexity or partly unclear feature and removed 💭 idea An idea or feature request green 💚 Low complexity or well understood feature labels Feb 21, 2023
@ch1bo ch1bo assigned v0d1ch and unassigned v0d1ch Mar 2, 2023
@pgrange pgrange modified the milestone: 0.10.0 Mar 21, 2023
@ch1bo ch1bo assigned ghost Mar 31, 2023
@ch1bo
Copy link
Collaborator

ch1bo commented Mar 31, 2023

The documentation of known issues should be more present and compliant legal. Also, we need to ensure to revert an accidentally removed known issue/workaround: https://github.com/input-output-hk/hydra/pull/795/files#r1152936796

@ghost ghost removed their assignment Apr 7, 2023
@cardano-scaling cardano-scaling deleted a comment Apr 7, 2023
@ch1bo ch1bo assigned ghost and unassigned ghost Apr 12, 2023
@ghost ghost added green 💚 Low complexity or well understood feature and removed amber ⚠️ Medium complexity or partly unclear feature labels Apr 25, 2023
@ghost
Copy link

ghost commented Apr 26, 2023

Internal review of known issues in progress

@ch1bo ch1bo closed this as completed May 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
green 💚 Low complexity or well understood feature 💬 feature A feature on our roadmap
Projects
None yet
Development

No branches or pull requests

3 participants