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

Hotfix for Sanchonet being unsupported in stable version of mithril #1743

Merged
merged 1 commit into from
Nov 18, 2024

Conversation

noonio
Copy link
Contributor

@noonio noonio commented Nov 18, 2024

Quick fix to disable this test until it is resolved by the Mithril team.

@noonio noonio requested a review from a team November 18, 2024 18:32
Copy link

Transaction cost differences

No cost or size differences found

Copy link

github-actions bot commented Nov 18, 2024

Transaction 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-11-18 18:41:38.645473018 UTC
Max. memory units 14000000
Max. CPU units 10000000000
Max. tx size (kB) 16384

Script summary

Name Hash Size (Bytes)
νInitial 00a6ddbc130ab92f5b7cb8d1ccd8d79eca5bfe25f6843c07b62841f0 2667
νCommit 3e5a776bcee213e3dfd15806952a10ac5590e3e97d09d62eb99266b2 690
νHead 00e0e6aceb51fcb4fcc5dc6032cc524a641163f0723b25d995de3ae8 12633
μHead 134f18365d53de72b07af2e703c96d8a6f0643c71d4c1a2050b8182a* 11111
νDeposit 2feb47889a4f658dc593cefcb0e37d584b9431944f08a687f3dab4af 4865
  • The minting policy hash is only usable for comparison. As the script is parameterized, the actual script is unique per head.

Init transaction costs

Parties Tx size % max Mem % max CPU Min fee ₳
1 11695 8.85 2.89 0.76
2 11896 10.78 3.52 0.79
3 12097 12.44 4.06 0.81
5 12499 15.79 5.14 0.86
10 13503 24.67 8.03 1.00
24 16322 49.26 16.01 1.38

Commit transaction costs

This uses ada-only outputs for better comparability.

UTxO Tx size % max Mem % max CPU Min fee ₳
1 561 2.45 1.17 0.20
2 740 3.40 1.74 0.22
3 920 4.39 2.34 0.24
5 1282 6.46 3.61 0.29
10 2173 12.24 7.28 0.40
54 10087 99.20 68.72 1.89

CollectCom transaction costs

Parties UTxO (bytes) Tx size % max Mem % max CPU Min fee ₳
1 57 560 24.69 7.19 0.43
2 114 675 33.53 9.69 0.52
3 170 782 43.19 12.45 0.62
4 227 893 51.42 14.78 0.71
5 282 1004 59.28 17.05 0.80
6 339 1116 68.27 19.60 0.89
7 393 1227 85.81 24.34 1.07
8 449 1338 81.19 23.48 1.03
9 505 1449 90.99 26.28 1.14

Cost of Decrement Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 636 22.26 7.22 0.41
2 782 23.75 8.31 0.44
3 898 25.40 9.42 0.46
5 1285 30.95 12.30 0.55
10 1913 36.86 17.29 0.66
41 6683 97.43 54.90 1.63

Close transaction costs

Parties Tx size % max Mem % max CPU Min fee ₳
1 672 24.31 8.01 0.43
2 785 25.87 9.16 0.46
3 968 27.88 10.57 0.49
5 1240 30.95 12.89 0.55
10 2034 40.94 19.71 0.71
43 6974 98.47 61.13 1.69

Contest transaction costs

Parties Tx size % max Mem % max CPU Min fee ₳
1 662 30.32 9.60 0.49
2 813 32.16 10.85 0.52
3 959 33.91 12.06 0.55
5 1310 38.81 15.11 0.63
10 2062 49.35 21.89 0.80
33 5621 97.71 53.28 1.57

Abort transaction costs

There is some variation due to the random mixture of initial and already committed outputs.

Parties Tx size % max Mem % max CPU Min fee ₳
1 11592 25.76 8.76 0.93
2 11781 35.04 11.97 1.04
3 11831 42.90 14.59 1.12
4 11884 48.07 16.27 1.18
5 12147 60.57 20.63 1.32
6 12216 69.19 23.52 1.42
7 12422 77.23 26.37 1.51
8 12605 87.00 29.70 1.62
9 12652 98.42 33.42 1.74

FanOut transaction costs

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 ₳
10 0 0 11693 17.71 6.07 0.85
10 1 57 11726 18.10 6.29 0.86
10 5 284 11862 26.97 9.88 0.96
10 10 570 12033 36.22 13.68 1.07
10 20 1138 12371 54.02 21.03 1.28
10 30 1707 12711 72.91 28.78 1.51
10 40 2281 13055 91.60 36.46 1.73
10 44 2506 13188 98.49 39.32 1.81

End-to-end benchmark results

This page is intended to collect the latest end-to-end benchmark results produced by Hydra's continuous integration (CI) system from the latest master code.

Please note that these results are approximate as they are currently produced from limited cloud VMs and not controlled hardware. Rather than focusing on the absolute results, the emphasis should be on relative results, such as how the timings for a scenario evolve as the code changes.

Generated at 2024-11-18 18:44:30.440454945 UTC

Baseline Scenario

Number of nodes 1
Number of txs 300
Avg. Confirmation Time (ms) 4.460188513
P99 14.030692819999988ms
P95 5.043667300000004ms
P50 4.039593ms
Number of Invalid txs 0

Three local nodes

Number of nodes 3
Number of txs 900
Avg. Confirmation Time (ms) 24.581921252
P99 116.67933664ms
P95 34.60089245ms
P50 21.792182500000003ms
Number of Invalid txs 0

@noonio noonio force-pushed the hotfix-sanchonet-broken branch from 53b56d5 to 7af3bef Compare November 18, 2024 18:40
Copy link

Test Results

  5 files  ±0  162 suites  ±0   28m 12s ⏱️ -17s
554 tests ±0  547 ✅  - 1  7 💤 +1  0 ❌ ±0 
556 runs  ±0  549 ✅  - 1  7 💤 +1  0 ❌ ±0 

Results for commit 7af3bef. ± Comparison against base commit 27fc223.

This pull request skips 1 test.
Test.Hydra.Cluster.Mithril/downloadLatestSnapshotTo ‑ invokes mithril-client correctly (Sanchonet)

@noonio noonio added this pull request to the merge queue Nov 18, 2024
Merged via the queue into master with commit ea6f0da Nov 18, 2024
26 checks passed
@noonio noonio deleted the hotfix-sanchonet-broken branch November 18, 2024 19:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants