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 Hydraw docker image #769

Merged
merged 2 commits into from
Mar 10, 2023
Merged

Fix Hydraw docker image #769

merged 2 commits into from
Mar 10, 2023

Conversation

ch1bo
Copy link
Collaborator

@ch1bo ch1bo commented Mar 10, 2023

The static files have not been included because they were not included in the docker image and certainly not in the working directory.


  • CHANGELOG update not needed
  • Documentation update not needed
  • Added and/or updated haddocks
  • No new TODOs introduced or explained herafter

@github-actions
Copy link

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-03-10 12:09:05.297364451 UTC
Max. memory units 14000000
Max. CPU units 10000000000
Max. tx size (kB) 16384

Script summary

Name Hash Size (Bytes)
μHead N/A 4458
νInitial 9492414f8f96e8483a0b8ee268fc06a954641cb2cbaa9a8b093c2c9b 4621
νCommit 5d3f107aaa56d06188cf231941cf8163e777236a9cfdc48fd4bbfa23 2422
νHead 82f16b51e2d81c6f4d42dd7398b4713a445464902f63dfd86ffe754e 8954

Cost of Init Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 5055 15.37 6.09 0.54
2 5260 16.99 6.67 0.57
3 5464 19.96 7.81 0.61
5 5874 24.11 9.37 0.67
10 6899 35.24 13.54 0.84
36 12231 97.62 37.12 1.74

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 603 15.83 6.22 0.35

Cost of CollectCom Transaction

Parties UTxO (bytes) Tx size % max Mem % max CPU Min fee ₳
1 57 823 24.55 9.97 0.46
2 114 1139 40.66 16.63 0.65
3 170 1461 59.08 24.31 0.87
4 225 1780 80.42 33.24 1.12

Cost of Close Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 639 17.34 7.44 0.37
2 800 18.73 8.21 0.40
3 977 20.08 8.96 0.42
5 1300 23.00 10.55 0.47
10 2124 30.01 14.42 0.59
50 8725 86.18 45.37 1.56

Cost of Contest Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 675 21.73 9.11 0.42
2 841 23.88 10.16 0.45
3 1007 25.25 10.91 0.48
5 1343 29.11 12.84 0.54
10 2157 37.72 17.28 0.67
46 8102 99.45 49.08 1.66

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 5245 30.33 13.03 0.72
2 5492 48.08 20.77 0.93
3 5814 69.95 30.41 1.19
4 5998 89.89 39.05 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 5077 10.59 4.43 0.49
5 1 57 5114 12.12 5.31 0.51
5 5 285 5257 18.22 8.83 0.59
5 10 569 5440 25.85 13.24 0.69
5 20 1139 5796 41.11 22.05 0.90
5 30 1707 6156 56.37 30.86 1.10
5 40 2280 6519 71.64 39.68 1.30
5 50 2844 6875 86.92 48.50 1.50
5 58 3300 7161 99.14 55.56 1.67

@github-actions
Copy link

Test Results

285 tests   - 11   279 ✔️  - 11   20m 5s ⏱️ -18s
  95 suites  -   4       6 💤 ±  0 
    4 files    -   1       0 ±  0 

Results for commit 9304700. ± Comparison against base commit 32d02fe.

This pull request removes 11 tests.
Hydra.TUI.Options ‑ parses --cardano-signing-key option
Hydra.TUI.Options ‑ parses --connect option
Hydra.TUI.Options ‑ parses --node-socket option
Hydra.TUI.Options ‑ parses --testnet-magic option
Hydra.TUI/end-to-end smoke tests ‑ display feedback long enough
Hydra.TUI/end-to-end smoke tests ‑ doesn't allow multiple initializations
Hydra.TUI/end-to-end smoke tests ‑ starts & renders
Hydra.TUI/end-to-end smoke tests ‑ supports the full Head life cycle
Hydra.TUI/end-to-end smoke tests ‑ supports the init & abort Head life cycle
Hydra.TUI/text rendering errors ‑ should show not enough fuel message and suggestion
…

@v0d1ch v0d1ch merged commit 31c4cf6 into master Mar 10, 2023
@v0d1ch v0d1ch deleted the ch1bo/fix-hydraw branch March 10, 2023 15:26
@pgrange pgrange added this to the 0.10.0 milestone May 11, 2023
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.

3 participants