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

Use actual cabal index for chap #853

Closed
wants to merge 0 commits into from
Closed

Use actual cabal index for chap #853

wants to merge 0 commits into from

Conversation

pgrange
Copy link
Contributor

@pgrange pgrange commented May 9, 2023

That will remove the following warning when compiling:

Warning: Requested index-state 2023-03-22T09:20:07Z is newer than 'cardano-haskell-packages'! Falling back to older state (2023-03-21T14:44:35Z).

@github-actions
Copy link

github-actions bot commented May 9, 2023

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-05-09 08:34:17.891706747 UTC
Max. memory units 14000000
Max. CPU units 10000000000
Max. tx size (kB) 16384

Script summary

Name Hash Size (Bytes)
νInitial e5cc20df4a2216e706b3d00b59fbb15a7cf12dbd28d271d4a8cf6d04 4336
νCommit 47c102d5f95a0648b4065f2b8bff59d3e34536a82ee7b0d42df73123 2124
νHead 9fe3a5c4d826f9475368e1e24c15bf22f4df19893cce2689d3c0564a 9492
μHead 7bec671467e923281c92e94257931913be106e217270a7b97076cb9b* 4148
  • 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 4742 15.21 6.00 0.53
2 4944 16.54 6.46 0.55
3 5152 19.79 7.73 0.59
5 5559 21.57 8.29 0.63
10 6584 34.37 13.15 0.81
37 12125 98.21 37.23 1.75

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.41 5.98 0.34

Cost of CollectCom Transaction

Parties UTxO (bytes) Tx size % max Mem % max CPU Min fee ₳
1 57 817 27.46 10.70 0.49
2 114 1139 43.16 16.96 0.67
3 169 1459 61.08 24.16 0.88
4 227 1782 81.40 32.35 1.12

Cost of Close Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 640 18.88 8.43 0.39
2 805 20.28 9.68 0.42
3 977 21.67 10.94 0.45
5 1299 24.16 13.33 0.50
10 2125 31.43 19.73 0.64
50 8725 87.17 69.99 1.74

Cost of Contest Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 676 24.35 10.47 0.45
2 849 26.06 11.84 0.48
3 1006 28.20 13.38 0.52
5 1335 31.63 16.12 0.58
10 2162 39.77 22.80 0.73
45 7944 99.74 70.74 1.82

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 4858 22.19 9.33 0.61
2 5181 36.24 15.44 0.78
3 5504 53.26 22.88 0.99
4 5825 72.84 31.45 1.22
5 5863 84.07 35.99 1.35

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 4764 8.67 3.57 0.46
5 1 57 4796 10.06 4.39 0.47
5 5 285 4945 15.64 7.69 0.55
5 10 569 5124 22.61 11.82 0.64
5 20 1140 5484 36.57 20.08 0.83
5 30 1708 5844 50.53 28.34 1.02
5 40 2275 6201 64.49 36.60 1.21
5 50 2850 6566 78.46 44.87 1.40
5 65 3702 7104 99.42 57.28 1.68

@github-actions
Copy link

github-actions bot commented May 9, 2023

Test Results

303 tests   - 11   297 ✔️  - 11   19m 28s ⏱️ + 1m 7s
100 suites  -   4       6 💤 ±  0 
    5 files    -   1       0 ±  0 

Results for commit f868fd0. ± Comparison against base commit dc0f2d6.

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
…

@pgrange
Copy link
Contributor Author

pgrange commented May 9, 2023

Setting the P.R. back to draft as it broke something in the nix build:

in job ‘devShells.default’:
error: 1 dependencies of derivation '/nix/store/a8pslf2sd8i06cp1lncqpys39azcv905-haskell-project-plan-to-nix-pkgs.drv' failed to build

in job ‘packages.hydraw’:
error: 1 dependencies of derivation '/nix/store/a8pslf2sd8i06cp1lncqpys39azcv905-haskell-project-plan-to-nix-pkgs.drv' failed to build

in job ‘packages.hydra-node’:
error: 1 dependencies of derivation '/nix/store/a8pslf2sd8i06cp1lncqpys39azcv905-haskell-project-plan-to-nix-pkgs.drv' failed to build

in job ‘devShells.ci’:
error: 1 dependencies of derivation '/nix/store/a8pslf2sd8i06cp1lncqpys39azcv905-haskell-project-plan-to-nix-pkgs.drv' failed to build

in job ‘packages.hydra-tui’:
error: 1 dependencies of derivation '/nix/store/a8pslf2sd8i06cp1lncqpys39azcv905-haskell-project-plan-to-nix-pkgs.drv' failed to build

@pgrange pgrange marked this pull request as draft May 9, 2023 08:51
@pgrange pgrange marked this pull request as ready for review May 9, 2023 13:28
@pgrange pgrange closed this May 9, 2023
@angerman angerman deleted the fix_warning branch May 10, 2023 00:25
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