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

Upgrade GCP configuration to run latest nodes #476

Merged
merged 19 commits into from
Sep 13, 2022

Conversation

abailly-iohk
Copy link
Contributor

This PR results from my experiments setting up a node that could host Hydraw to play with the rest of the team members.
It reuses some of the stuff from testnets/ directory which seems to imply some consolidation is in order.

@abailly-iohk
Copy link
Contributor Author

abailly-iohk commented Sep 1, 2022

Current dependencies on/for this PR:

This comment was auto-generated by Graphite.

@github-actions
Copy link

github-actions bot commented Sep 1, 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-09-13 14:34:50.641375136 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 4833 11.98 4.77 0.49
2 5037 12.84 5.07 0.51
3 5242 13.85 5.43 0.53
5 5655 18.85 7.39 0.60
10 6680 29.52 11.53 0.77
46 14058 98.52 38.04 1.84

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.70 7.94 0.62

Cost of CollectCom Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 13058 20.77 8.32 0.95
2 13378 36.59 14.81 1.14
3 13702 55.02 22.45 1.36
4 13988 75.65 31.03 1.60

Cost of Close Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 9327 8.19 3.36 0.65
2 9530 9.41 3.98 0.67
3 9653 9.75 4.27 0.68
5 10055 12.14 5.49 0.73
10 10849 15.65 7.60 0.81
30 14216 32.26 17.02 1.16
55 14717 34.04 12.91 1.17

Cost of Contest Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 9361 8.60 3.51 0.66
2 9560 9.78 4.12 0.68
3 9691 10.12 4.40 0.69
5 10024 11.68 5.30 0.72
10 10848 15.62 7.57 0.81
30 14223 32.60 17.14 1.16
43 16362 42.37 22.86 1.38

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 13704 25.78 10.93 1.04
2 13817 38.29 16.29 1.18
3 13927 52.63 22.47 1.35
4 14535 84.80 38.10 1.75
5 14432 97.45 42.55 1.88

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 13415 10.17 4.43 0.85
2 13587 12.16 5.49 0.89
3 13622 13.98 6.49 0.91
5 13565 16.21 7.93 0.94
10 13807 23.95 12.37 1.04
50 15178 84.50 47.45 1.84
60 15537 99.74 56.26 2.05

@abailly-iohk abailly-iohk force-pushed the 09-01-GCP_Sample_node_configuration branch from 15014b9 to 9269e01 Compare September 3, 2022 09:52
@github-actions
Copy link

github-actions bot commented Sep 3, 2022

Unit Test Results

248 tests  ±0   242 ✔️ ±0   15m 43s ⏱️ + 2m 22s
  89 suites ±0       6 💤 ±0 
    5 files   ±0       0 ±0 

Results for commit 41088ff. ± Comparison against base commit 93b6daf.

♻️ This comment has been updated with latest results.

Base automatically changed from abailly-iohk/generate-hydra-key to master September 5, 2022 09:41
@ch1bo ch1bo force-pushed the 09-01-GCP_Sample_node_configuration branch from c8ba3b7 to 9463603 Compare September 5, 2022 16:21
Dockerfile Show resolved Hide resolved
hydraw/src/Hydra/Painter.hs Show resolved Hide resolved
release.nix Show resolved Hide resolved
@abailly-iohk
Copy link
Contributor Author

Not mergeable yet, will address other points and fix #189

abailly-iohk and others added 2 commits September 13, 2022 10:05
This was a CLI utility to submit transactions to the hydraw server,
probably not useful and anyhow super-easy to recreate.
@abailly-iohk abailly-iohk merged commit c552ac2 into master Sep 13, 2022
@abailly-iohk abailly-iohk deleted the 09-01-GCP_Sample_node_configuration branch September 13, 2022 16:28
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.

4 participants