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

Add ncurses-terminfo to hydra-tui image #562

Merged
merged 2 commits into from
Oct 19, 2022
Merged

Conversation

ch1bo
Copy link
Member

@ch1bo ch1bo commented Oct 18, 2022

Terminfo is a runtime dependency for the hydra-tui.

@ch1bo ch1bo marked this pull request as ready for review October 18, 2022 09:11
@ch1bo ch1bo force-pushed the ch1bo/fix-hydra-tui-image branch from 5113c6c to e48e661 Compare October 18, 2022 09:23
@github-actions
Copy link

github-actions bot commented Oct 18, 2022

Transactions Costs

Sizes and execution budgets for Hydra protocol transactions. Note that unlisted parameters are currently using arbitrary values and results are not fully deterministic and comparable to previous runs.

Metadata
Generated at 2022-10-19 09:05:33.347544599 UTC
Max. memory units 14000000
Max. CPU units 10000000000
Max. tx size (kB) 16384

Cost of Init Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 4837 12.15 4.84 0.50
2 5038 12.97 5.13 0.51
3 5241 14.87 5.85 0.54
5 5653 18.53 7.26 0.60
10 6676 27.93 10.87 0.75
46 14058 99.39 38.40 1.85

Cost of Commit Transaction

Currently only one UTxO per commit allowed (this is about to change soon)

UTxO Tx size % max Mem % max CPU Min fee ₳
1 5771 19.83 8.01 0.62

Cost of CollectCom Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 13058 20.77 8.32 0.95
2 13460 37.14 15.05 1.15
3 13701 55.12 22.49 1.36
4 14094 77.98 31.98 1.63

Cost of Close Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 9327 8.19 3.36 0.65
2 9492 8.97 3.81 0.67
3 9684 10.14 4.42 0.69
5 10016 11.70 5.32 0.72
10 10879 16.09 7.77 0.81
30 14189 32.00 16.92 1.16
68 16008 40.57 15.36 1.29

Cost of Contest Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 9331 8.16 3.34 0.65
2 9495 8.94 3.79 0.67
3 9695 10.16 4.42 0.69
5 9988 11.28 5.15 0.72
10 10882 16.01 7.73 0.81
30 14186 31.79 16.83 1.15
43 16334 42.16 22.78 1.37

Cost of Abort Transaction

Some variation because of random mixture of still initial and already committed outputs.

Parties Tx size % max Mem % max CPU Min fee ₳
1 13494 22.50 9.35 0.99
2 13889 39.46 16.85 1.20
3 14001 54.06 23.14 1.37
4 14110 70.75 30.36 1.56

Cost of FanOut Transaction

Involves spending head output and burning head tokens. Uses ada-only UTxO for better comparability.

UTxO Tx size % max Mem % max CPU Min fee ₳
1 13545 10.89 4.71 0.87
2 13456 11.40 5.19 0.87
3 13621 14.27 6.61 0.91
5 13694 16.72 8.12 0.95
10 13802 23.95 12.37 1.04
50 15311 85.26 47.74 1.86
59 15636 98.98 55.68 2.04

@github-actions
Copy link

github-actions bot commented Oct 18, 2022

Test Results

261 tests  ±0   255 ✔️ ±0   16m 45s ⏱️ - 1m 50s
  93 suites ±0       6 💤 ±0 
    5 files   ±0       0 ±0 

Results for commit 87d94d2. ± Comparison against base commit 4078da7.

♻️ This comment has been updated with latest results.

@ch1bo ch1bo force-pushed the ch1bo/fix-hydra-tui-image branch from e48e661 to 1c3fe13 Compare October 19, 2022 05:16
@pgrange pgrange self-requested a review October 19, 2022 07:11
@ch1bo ch1bo force-pushed the ch1bo/fix-hydra-tui-image branch from 1c3fe13 to 87d94d2 Compare October 19, 2022 08:54
@ch1bo ch1bo merged commit 7bdb54c into master Oct 19, 2022
@ch1bo ch1bo deleted the ch1bo/fix-hydra-tui-image branch October 19, 2022 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants