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

Fix references in the hydra specification #893

Merged
1 commit merged into from
Jun 1, 2023
Merged

Fix references in the hydra specification #893

1 commit merged into from
Jun 1, 2023

Conversation

ch1bo
Copy link
Member

@ch1bo ch1bo commented May 29, 2023

Multiple invocation of pdflatex is needed. Using latexmk we can automate all the needed steps for generating a properly linked PDF


  • CHANGELOG updated or not needed
  • Documentation updated or not needed
  • Haddocks updated or not needed
  • No new TODOs introduced or explained herafter

@github-actions
Copy link

github-actions bot commented May 29, 2023

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 2023-06-01 05:02:20.869494923 UTC
Max. memory units 14000000
Max. CPU units 10000000000
Max. tx size (kB) 16384

Script summary

Name Hash Size (Bytes)
νInitial 2212a4ee618434b9b2f366d7c330dbdfb5c7072e793a850fd0de6ddd 4294
νCommit 69e1ccf9ad73dc6d37a5bc8de5aec86f3c4c1710fe5fd334e0e16b18 2124
νHead 8ae095dca4d14a1b8edffb37faa6c84ec60340fbf389a62f027e0b76 9355
μHead 33642a45c7fbb955ce1704ef09229bb211bf9af9980530db28c6aafe* 4148
  • The minting policy hash is only usable for comparison. As the script is parameterized, the actual script is unique per Head.

Cost of Init Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 4742 12.97 5.08 0.50
2 4950 15.59 6.07 0.54
3 5152 17.25 6.67 0.56
5 5562 24.09 9.33 0.66
10 6586 33.33 12.72 0.80
38 12329 99.99 37.88 1.77

Cost of Commit Transaction

This is using ada-only outputs for better comparability.

UTxO Tx size % max Mem % max CPU Min fee ₳
1 596 14.89 5.70 0.34
2 787 19.57 7.70 0.40
3 975 24.66 9.84 0.46
5 1349 36.15 14.59 0.61
10 2282 71.81 28.88 1.04
13 2835 98.11 39.18 1.35

Cost of CollectCom Transaction

Parties UTxO (bytes) Tx size % max Mem % max CPU Min fee ₳
1 57 814 27.81 10.80 0.49
2 114 1144 43.42 16.99 0.67
3 170 1456 61.63 24.28 0.89
4 227 1774 82.71 32.73 1.13

Cost of Close Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 640 18.58 8.31 0.39
2 804 19.97 9.56 0.42
3 970 21.37 10.82 0.44
5 1299 24.46 13.45 0.50
10 1463 25.68 11.14 0.50
50 8726 87.17 69.99 1.74

Cost of Contest Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 677 24.34 10.47 0.45
2 834 26.06 11.84 0.48
3 1006 27.77 13.21 0.51
5 1336 31.20 15.95 0.58
10 2162 40.20 22.97 0.74
45 7938 99.74 70.74 1.82

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 4854 22.40 9.38 0.61
2 5176 36.67 15.56 0.79
3 5496 53.73 22.99 0.99
4 5815 73.64 31.66 1.23
5 5998 90.36 38.79 1.42

Cost of FanOut Transaction

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

Parties UTxO UTxO (bytes) Tx size % max Mem % max CPU Min fee ₳
5 0 0 4765 8.66 3.57 0.46
5 1 57 4796 10.06 4.39 0.47
5 5 285 4940 15.64 7.69 0.55
5 10 570 5121 22.61 11.82 0.64
5 20 1138 5479 36.56 20.07 0.83
5 30 1708 5848 50.52 28.33 1.02
5 40 2275 6205 64.49 36.60 1.21
5 50 2845 6561 78.46 44.87 1.40
5 65 3703 7104 99.42 57.28 1.68

@github-actions
Copy link

github-actions bot commented May 29, 2023

Test Results

308 tests   302 ✔️  23m 40s ⏱️
104 suites      6 💤
    5 files        0

Results for commit 3cf8558.

♻️ This comment has been updated with latest results.

Multiple invocation of pdflatex is needed. Using latexmk we can automate
all the needed steps for generating a properly linked PDF
@ghost ghost force-pushed the ch1bo/fix-spec-pdf branch from 4e37031 to 3cf8558 Compare June 1, 2023 04:50
@ghost ghost merged commit ededfc8 into master Jun 1, 2023
@ghost ghost deleted the ch1bo/fix-spec-pdf branch June 1, 2023 06:38
This pull request was closed.
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.

1 participant