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

Implement a 100 Ada hard-coded commit limit in the hydra-node #762

Closed
Tracked by #713
v0d1ch opened this issue Mar 3, 2023 · 0 comments · Fixed by #763 or #771
Closed
Tracked by #713

Implement a 100 Ada hard-coded commit limit in the hydra-node #762

v0d1ch opened this issue Mar 3, 2023 · 0 comments · Fixed by #763 or #771
Assignees
Labels
task Subtask of a bigger feature.
Milestone

Comments

@v0d1ch
Copy link
Contributor

v0d1ch commented Mar 3, 2023

Why

In the light of our goal of getting Hydra to Mainnet we would also like to prevent our users to shoot themselves in the foot with a mannet gun ™️ .

To acomodate this we want to impose a limit on the number of Ada you can commit to a hydra head on mainnet so if anything doesn't go as planned at least we are not loosing too much crypto.

What

Introduce a hardcoded limit of 100 Ada when constructing a commit tx IF the network is mainnet.

Additionally we might want to also have a log (or error) for this case when someone wants to commit more than 100 ada just to keep users aware of this limit.

@v0d1ch v0d1ch added this to the 0.10.0 milestone Mar 3, 2023
@v0d1ch v0d1ch self-assigned this Mar 3, 2023
@ch1bo ch1bo added the task Subtask of a bigger feature. label Mar 3, 2023
@ch1bo ch1bo modified the milestone: 0.10.0 Mar 3, 2023
@v0d1ch v0d1ch mentioned this issue Mar 14, 2023
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
task Subtask of a bigger feature.
Projects
None yet
2 participants