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

Remove hydra-explorer from this repo #1736

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

noonio
Copy link
Contributor

@noonio noonio commented Nov 8, 2024

This removes the hydra-explorer from this repo; and needs to be merged in combination with cardano-scaling/hydra-explorer#5.

Note that there was one set of tests in the hydra-cluster tool that depended on the explorer; I've had to then remove those here, but am not yet sure if I can get them to work over on the other side.

Todo:

  • Update changelog
  • Check for references in the docs
  • ???

Copy link

github-actions bot commented Nov 8, 2024

Transaction cost differences

No cost or size differences found

Copy link

github-actions bot commented Nov 8, 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 19:49:19.571178882 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.69 2.83 0.76
2 11896 10.52 3.42 0.78
3 12095 12.20 3.97 0.81
5 12499 16.03 5.23 0.87
10 13503 24.51 7.96 1.00
24 16322 49.28 16.02 1.38

Commit transaction costs

This uses ada-only outputs for better comparability.

UTxO Tx size % max Mem % max CPU Min fee ₳
1 558 2.45 1.17 0.20
2 743 3.40 1.74 0.22
3 923 4.39 2.34 0.24
5 1280 6.46 3.61 0.28
10 2183 12.24 7.28 0.40
54 10059 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 112 671 32.58 9.46 0.51
3 170 782 41.49 12.00 0.61
4 225 893 52.83 15.12 0.73
5 282 1004 54.79 15.97 0.75
6 338 1116 66.90 19.31 0.88
7 393 1227 78.42 22.43 1.00
8 452 1338 90.59 25.85 1.13
9 505 1449 87.48 25.56 1.11

Cost of Decrement Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 654 22.54 7.29 0.41
2 763 23.75 8.30 0.44
3 961 26.22 9.67 0.47
5 1245 29.60 11.93 0.53
10 1978 38.01 17.62 0.67
43 7062 99.44 56.90 1.67

Close transaction costs

Parties Tx size % max Mem % max CPU Min fee ₳
1 679 24.31 8.01 0.43
2 742 25.22 8.86 0.45
3 925 27.43 10.32 0.49
5 1236 31.15 12.94 0.55
10 2034 40.33 19.49 0.71
45 7067 99.48 62.44 1.72

Contest transaction costs

Parties Tx size % max Mem % max CPU Min fee ₳
1 697 30.27 9.60 0.49
2 834 32.12 10.84 0.52
3 968 34.07 12.11 0.56
5 1341 39.01 15.17 0.63
10 1959 47.97 21.28 0.78
33 5493 96.71 52.68 1.55

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 11600 25.80 8.77 0.93
2 11774 34.79 11.90 1.04
3 11766 41.62 14.10 1.11
4 11961 48.75 16.59 1.19
5 12067 57.02 19.41 1.28
6 12271 69.86 23.87 1.43
7 12553 80.99 27.66 1.56
8 12537 83.22 28.40 1.58
9 12718 95.63 32.65 1.72

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 11692 16.61 5.67 0.84
10 1 57 11726 18.46 6.43 0.86
10 5 284 11861 26.60 9.74 0.96
10 10 569 12031 36.22 13.68 1.07
10 20 1138 12370 54.90 21.36 1.29
10 30 1707 12711 73.43 28.98 1.51
10 40 2277 13051 91.44 36.40 1.73
10 44 2507 13190 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 19:52:14.437277149 UTC

Baseline Scenario

Number of nodes 1
Number of txs 300
Avg. Confirmation Time (ms) 4.978239166
P99 10.39086902999999ms
P95 6.5867652ms
P50 4.7040185ms
Number of Invalid txs 0

Three local nodes

Number of nodes 3
Number of txs 900
Avg. Confirmation Time (ms) 25.555832243
P99 119.23957641999999ms
P95 35.334509899999986ms
P50 22.908421500000003ms
Number of Invalid txs 0

Copy link

github-actions bot commented Nov 8, 2024

Test Results

  5 files  ±0  161 suites   - 1   30m 55s ⏱️ + 1m 53s
551 tests  - 3  544 ✅  - 3  7 💤 ±0  0 ❌ ±0 
553 runs   - 3  546 ✅  - 3  7 💤 ±0  0 ❌ ±0 

Results for commit 1a28bf3. ± Comparison against base commit ea6f0da.

This pull request removes 3 tests.
Test.HydraExplorer ‑ can observe hydra transactions created by multiple hydra-nodes
Test.HydraExplorer ‑ can query for all hydra heads observed
Test.HydraExplorer ‑ can query for latest point in time observed on chain

♻️ This comment has been updated with latest results.

@noonio noonio force-pushed the remove-hydra-explorer-from-repo branch 2 times, most recently from 4dc77d8 to 76ee960 Compare November 13, 2024 10:07
@v0d1ch v0d1ch marked this pull request as ready for review November 14, 2024 10:57
@v0d1ch v0d1ch force-pushed the remove-hydra-explorer-from-repo branch from 76ee960 to 5d12347 Compare November 14, 2024 10:58
@locallycompact locallycompact added this pull request to the merge queue Nov 15, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Nov 15, 2024
@noonio noonio added this pull request to the merge queue Nov 18, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Nov 18, 2024
@noonio noonio added this pull request to the merge queue Nov 18, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Nov 18, 2024
@noonio noonio force-pushed the remove-hydra-explorer-from-repo branch from 5d12347 to b0a1906 Compare November 18, 2024 10:56
@noonio noonio force-pushed the remove-hydra-explorer-from-repo branch from b0a1906 to 1a28bf3 Compare November 18, 2024 19:48
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.

2 participants