-
Notifications
You must be signed in to change notification settings - Fork 86
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
Improve hydra-node command line gen-hydra-key error handling #1077
Conversation
Node module contains what's needed to run a Hydra node. Utils module contains what's needed to run the hydra utils commands, the first one being generateHydraKeys.
bf6adb1
to
9463966
Compare
Transactions CostsSizes and execution budgets for Hydra protocol transactions. Note that unlisted parameters are currently using
Script summary
Cost of Init Transaction
Cost of Commit TransactionThis is using ada-only outputs for better comparability.
Cost of CollectCom Transaction
Cost of Close Transaction
Cost of Contest Transaction
Cost of Abort TransactionSome variation because of random mixture of still initial and already committed outputs.
Cost of FanOut TransactionInvolves spending head output and burning head tokens. Uses ada-only UTxO for better comparability.
|
cdb591e
to
992d0f3
Compare
Test Results346 tests - 12 341 ✔️ - 12 21m 49s ⏱️ - 5m 2s Results for commit e3a692a. ± Comparison against base commit b9864ac. This pull request removes 13 and adds 1 tests. Note that renamed tests count towards both.
♻️ This comment has been updated with latest results. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
- Simplify call site for genHydraKeys
992d0f3
to
e3a692a
Compare
hydra-node gen-hydra-key --output-file credentials/alice-hydra
will silently fail if credentials directory does not exist. This PR introduces an error message output and an error code so that user or scripts can figure out that the command failed.