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

cardano-node: 8.11.0 -> 9.0.0 #1481

Merged
merged 3 commits into from
Jul 17, 2024
Merged

cardano-node: 8.11.0 -> 9.0.0 #1481

merged 3 commits into from
Jul 17, 2024

Conversation

locallycompact
Copy link
Contributor

@locallycompact locallycompact commented Jul 3, 2024

Upgrading support for cardano-node 9.0.0 will prepare us for the upcoming hard-fork to Conway and later unlock #1178


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

@locallycompact locallycompact force-pushed the lc/cardano-node-9.0.0 branch 3 times, most recently from fafdd8a to 2d5c5d7 Compare July 3, 2024 19:19
@ch1bo ch1bo marked this pull request as draft July 8, 2024 08:13
@locallycompact locallycompact force-pushed the lc/cardano-node-9.0.0 branch 6 times, most recently from 54a61b1 to c3e9b92 Compare July 8, 2024 12:36
@locallycompact locallycompact force-pushed the lc/cardano-node-9.0.0 branch 7 times, most recently from 6b5f83f to 0f5304a Compare July 11, 2024 11:20
Copy link

github-actions bot commented Jul 12, 2024

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 2024-07-16 17:00:40.175837551 UTC
Max. memory units 14000000
Max. CPU units 10000000000
Max. tx size (kB) 16384

Script summary

Name Hash Size (Bytes)
νInitial e6685648e63ab510b49d2ce632c570d2ef53f44f3cbdf82ed553906c 4081
νCommit fce3b967fb72f4a3be8dfa30defe413258ff453e5d32d6752d83f9cf 2060
νHead 10a116037de398d6b0721152336d602f0ea653eb3dfe540d5da63fe4 9367
μHead 4f93fdfeda690e005d3f5a180208edd3f65ddd0892466ad7f4dd678b* 4236
  • 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 4817 5.69 2.25 0.42
2 5020 7.18 2.84 0.45
3 5217 8.56 3.39 0.47
5 5623 11.12 4.39 0.52
10 6628 18.02 7.12 0.64
58 16277 84.19 33.30 1.79

Cost of Commit Transaction

This is using ada-only outputs for better comparability.

UTxO Tx size % max Mem % max CPU Min fee ₳
1 559 9.25 3.68 0.28
2 748 11.94 4.93 0.32
3 928 14.70 6.20 0.35
5 1310 20.44 8.83 0.44
10 2247 36.05 15.86 0.65
26 5240 98.14 42.75 1.48

Cost of CollectCom Transaction

Parties UTxO (bytes) Tx size % max Mem % max CPU Min fee ₳
1 57 544 14.41 5.79 0.33
2 114 654 22.59 9.18 0.43
3 170 764 31.50 12.96 0.53
4 227 874 43.27 17.91 0.67
5 282 984 56.57 23.52 0.82
6 339 1099 72.72 30.30 1.00
7 393 1205 87.61 36.75 1.18

Cost of Close Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 613 8.08 4.54 0.28
2 739 8.95 5.73 0.30
3 964 10.34 7.33 0.33
5 1263 12.16 9.79 0.37
10 1986 15.68 15.28 0.47
50 8004 47.80 61.74 1.33

Cost of Contest Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 622 8.40 4.65 0.28
2 716 8.66 5.36 0.29
3 906 9.72 6.76 0.32
5 1326 12.53 9.97 0.38
10 2118 17.39 16.32 0.50
50 8445 53.66 65.42 1.43

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 4682 16.47 7.18 0.54
2 4876 27.90 12.34 0.68
3 4900 36.34 15.89 0.77
4 5029 50.73 22.31 0.94
5 5107 67.79 29.86 1.14
6 5382 94.75 42.11 1.46

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 4650 7.63 3.20 0.44
5 1 57 4685 8.94 3.99 0.46
5 5 284 4819 13.02 6.63 0.52
5 10 569 4990 18.61 10.14 0.59
5 20 1140 5330 29.99 17.24 0.75
5 30 1708 5670 41.37 24.35 0.91
5 40 2279 6012 52.56 31.38 1.07
5 50 2842 6345 63.36 38.24 1.22
5 82 4670 7436 99.82 61.02 1.72

End-To-End Benchmark Results

This page is intended to collect the latest end-to-end benchmarks results produced by Hydra's Continuous Integration system from the latest master code.

Please take those results with a grain of salt as they are currently produced from very limited cloud VMs and not controlled hardware. Instead of focusing on the absolute results, the emphasis should be on relative results, eg. how the timings for a scenario evolve as the code changes.

Generated at 2024-07-16 17:02:40.134888623 UTC

Baseline Scenario

Number of nodes 1
Number of txs 3000
Avg. Confirmation Time (ms) 4.436481510
P99 9.49421700999998ms
P95 6.197103649999997ms
P50 4.110028ms
Number of Invalid txs 0

Three local nodes

Number of nodes 3
Number of txs 9000
Avg. Confirmation Time (ms) 22.875512872
P99 78.88822268000018ms
P95 31.86925124999999ms
P50 20.4344155ms
Number of Invalid txs 0

@locallycompact locallycompact force-pushed the lc/cardano-node-9.0.0 branch 3 times, most recently from 641fdc9 to 76da28e Compare July 15, 2024 12:12
Copy link

github-actions bot commented Jul 15, 2024

Test Results

437 tests  ±0   425 ✅ ±0   15m 24s ⏱️ -5s
143 suites ±0    12 💤 ±0 
  5 files   ±0     0 ❌ ±0 

Results for commit 6ef17c5. ± Comparison against base commit 6b1ef6d.

♻️ This comment has been updated with latest results.

@locallycompact locallycompact force-pushed the lc/cardano-node-9.0.0 branch 3 times, most recently from e6ec124 to b4f5dd6 Compare July 15, 2024 14:10
@ch1bo ch1bo marked this pull request as ready for review July 16, 2024 07:59
@ch1bo ch1bo requested a review from a team July 16, 2024 08:48
Copy link
Collaborator

@ch1bo ch1bo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Must also update the tutorials and hydra-explorer to use the updated cardano-node version.

flake.nix Outdated Show resolved Hide resolved
@locallycompact
Copy link
Contributor Author

Must also update the tutorials and hydra-explorer to use the updated cardano-node version.

@ch1bo I think the tutorials are up to date, but where is hydra-explorer kept up to date?

@ch1bo
Copy link
Collaborator

ch1bo commented Jul 16, 2024

Must also update the tutorials and hydra-explorer to use the updated cardano-node version.

@ch1bo I think the tutorials are up to date, but where is hydra-explorer kept up to date?

The testnet tutorial is up-to-date. That's correct.

Getting started tutorial is outdated here: https://github.com/cardano-scaling/hydra/blob/lc/cardano-node-9.0.0/demo/docker-compose.yaml#L3

And the explorer deployment needs updating here: https://github.com/cardano-scaling/hydra/blob/lc/cardano-node-9.0.0/.github/workflows/explorer/docker-compose.yaml#L5

@locallycompact locallycompact enabled auto-merge (squash) July 16, 2024 15:54
@locallycompact locallycompact enabled auto-merge (squash) July 16, 2024 15:55
@locallycompact locallycompact enabled auto-merge (squash) July 16, 2024 16:33
@locallycompact locallycompact merged commit 209de1d into master Jul 17, 2024
21 checks passed
@locallycompact locallycompact deleted the lc/cardano-node-9.0.0 branch July 17, 2024 07:08
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.

None yet

3 participants