typst-agda-spec-4: Add the hydra-agda package (MAlonzo extraction) and CI gate - #2787
typst-agda-spec-4: Add the hydra-agda package (MAlonzo extraction) and CI gate#2787noonio wants to merge 1 commit into
Conversation
Transaction cost differencesNo cost or size differences found |
44ad8e8 to
6c5f1fb
Compare
End-to-end benchmark differencesComparing this PR ( Sustained load (3 nodes, 3x5000 txs)
Plateau 1000 UTxO (1 node, 4000 txs)
Round-trip latency (3 nodes, closed-loop, 3x250 txs)
|
f16c983 to
c998d82
Compare
6c5f1fb to
a9793ff
Compare
Transaction costsSizes and execution budgets for Hydra protocol transactions. Note that unlisted parameters are currently using
Script summary
|
| Parties | Tx size | % max Mem | % max CPU | Min fee ₳ |
|---|---|---|---|---|
| 1 | 5476 | 9.22 | 3.03 | 0.49 |
| 2 | 5571 | 10.27 | 3.38 | 0.50 |
| 3 | 5668 | 10.26 | 3.35 | 0.51 |
| 5 | 5858 | 11.52 | 3.77 | 0.53 |
| 10 | 6340 | 13.92 | 4.53 | 0.57 |
| 50 | 10186 | 35.63 | 11.34 | 0.97 |
| 100 | 14987 | 62.17 | 19.63 | 1.45 |
| 114 | 16326 | 69.86 | 22.03 | 1.59 |
Cost of Increment Transaction
| Parties | Tx size | % max Mem | % max CPU | Min fee ₳ |
|---|---|---|---|---|
| 1 | 2322 | 21.15 | 7.52 | 0.48 |
| 2 | 2450 | 22.13 | 8.50 | 0.50 |
| 3 | 2581 | 22.64 | 9.31 | 0.51 |
| 5 | 2846 | 24.65 | 11.29 | 0.56 |
| 10 | 3499 | 29.98 | 16.32 | 0.66 |
| 50 | 8742 | 71.11 | 55.85 | 1.51 |
| 75 | 12016 | 98.02 | 80.95 | 2.05 |
Cost of Decrement Transaction
| Parties | Tx size | % max Mem | % max CPU | Min fee ₳ |
|---|---|---|---|---|
| 1 | 642 | 18.46 | 6.68 | 0.38 |
| 2 | 772 | 19.43 | 7.65 | 0.40 |
| 3 | 904 | 20.39 | 8.62 | 0.42 |
| 5 | 1167 | 22.30 | 10.56 | 0.46 |
| 10 | 1821 | 27.12 | 15.43 | 0.56 |
| 50 | 7063 | 67.40 | 54.70 | 1.40 |
| 75 | 10338 | 92.77 | 79.29 | 1.93 |
Close transaction costs
| Parties | Tx size | % max Mem | % max CPU | Min fee ₳ |
|---|---|---|---|---|
| 1 | 670 | 17.78 | 11.67 | 0.41 |
| 2 | 800 | 18.74 | 12.64 | 0.43 |
| 3 | 927 | 19.72 | 13.62 | 0.45 |
| 5 | 1194 | 21.71 | 15.59 | 0.49 |
| 10 | 1849 | 26.57 | 20.47 | 0.59 |
| 50 | 7094 | 67.93 | 60.14 | 1.44 |
| 75 | 10365 | 93.60 | 84.87 | 1.97 |
Contest transaction costs
| Parties | Tx size | % max Mem | % max CPU | Min fee ₳ |
|---|---|---|---|---|
| 1 | 701 | 21.50 | 14.91 | 0.46 |
| 2 | 832 | 22.64 | 15.93 | 0.48 |
| 3 | 959 | 23.77 | 16.96 | 0.51 |
| 5 | 1226 | 26.05 | 19.01 | 0.55 |
| 10 | 1876 | 31.85 | 24.18 | 0.66 |
| 50 | 7126 | 79.43 | 65.70 | 1.58 |
| 66 | 9218 | 99.18 | 82.51 | 1.95 |
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 | 5644 | 23.29 | 42.87 | 0.90 |
| 10 | 1 | 57 | 5679 | 25.63 | 45.39 | 0.93 |
| 10 | 5 | 285 | 5815 | 35.88 | 55.71 | 1.10 |
| 10 | 10 | 569 | 5983 | 49.89 | 68.99 | 1.31 |
| 10 | 20 | 1140 | 6324 | 82.42 | 96.97 | 1.79 |
| 10 | 20 | 1137 | 6321 | 82.42 | 96.97 | 1.79 |
PartialFanOut transaction costs
Largest chunk of ada-only outputs that can be distributed in one partial fanout step, computed dynamically. The last row is the maximum total UTxO count where at least one output can still be distributed.
| Distributed | UTxO (bytes) | Tx size | % max Mem | % max CPU | Min fee ₳ |
|---|---|---|---|---|---|
| 11 | 569 | 986 | 34.91 | 66.33 | 0.95 |
| 25 | 1310 | 1429 | 68.24 | 99.40 | 1.48 |
| 30 | 1309 | 1424 | 68.24 | 99.40 | 1.48 |
| 40 | 1308 | 1427 | 68.24 | 99.40 | 1.48 |
| 50 | 1308 | 1427 | 68.24 | 99.40 | 1.48 |
| 100 | 1306 | 1425 | 68.24 | 99.40 | 1.48 |
| 150 | 1307 | 1426 | 68.24 | 99.40 | 1.48 |
| 200 | 1310 | 1429 | 68.24 | 99.40 | 1.48 |
| 200 | 1309 | 1428 | 68.24 | 99.40 | 1.48 |
PartialFanOut transaction costs (with native tokens)
Largest chunk of native-token outputs that can be distributed in one partial fanout step, computed dynamically. The last row is the maximum total UTxO count where at least one output can still be distributed.
| Distributed | UTxO (bytes) | Tx size | % max Mem | % max CPU | Min fee ₳ |
|---|---|---|---|---|---|
| 11 | 1220 | 1719 | 41.97 | 68.90 | 1.06 |
| 25 | 2436 | 2698 | 76.59 | 99.22 | 1.60 |
| 30 | 2205 | 2452 | 76.56 | 99.17 | 1.59 |
| 40 | 2184 | 2434 | 76.59 | 99.17 | 1.59 |
| 50 | 2562 | 2831 | 76.56 | 99.27 | 1.61 |
| 100 | 2478 | 2743 | 76.59 | 99.22 | 1.61 |
| 150 | 2415 | 2677 | 76.59 | 99.22 | 1.60 |
| 200 | 2478 | 2743 | 76.59 | 99.22 | 1.61 |
| 200 | 2100 | 2347 | 76.56 | 99.12 | 1.59 |
FinalPartialFanOut transaction costs (with native tokens)
Terminal partial fanout step (FanoutProgress → Final) with outputs carrying a native token. Burns all head tokens and proves accumulator exhaustion via BLS proof.
| Distributed | UTxO (bytes) | Tx size | % max Mem | % max CPU | Min fee ₳ |
|---|---|---|---|---|---|
| 1 | 122 | 5541 | 21.97 | 44.28 | 0.89 |
| 5 | 580 | 5916 | 35.70 | 55.84 | 1.10 |
| 10 | 1050 | 6281 | 53.78 | 70.59 | 1.37 |
| 10 | 1150 | 6380 | 53.78 | 70.62 | 1.37 |
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 2026-07-28 04:50:17.007063933 UTC
Baseline Scenario
| Number of nodes | 1 |
|---|---|
| Number of txs | 300 |
| Avg. Confirmation Time (ms) | 196.8 |
| P99 | 198.9ms |
| P95 | 198.6ms |
| P50 | 197.1ms |
| Tx validation time p50 (ms) | 140.7 |
| End-to-end TPS | 1482.61 tx/s |
| Backlog drain time (s) | 0.2 |
| Snapshots observed | 3 |
| Snapshots per second | 14.83 /s |
| Avg txs per snapshot | 100.0 |
| Peak node RSS (MB) | 129.5 |
| Number of Invalid txs | 0 |
| Fanout outputs | 2 |
Three local nodes
| Number of nodes | 3 |
|---|---|
| Number of txs | 900 |
| Avg. Confirmation Time (ms) | 1025.6 |
| P99 | 1039.8ms |
| P95 | 1039.3ms |
| P50 | 1025.1ms |
| Tx validation time p50 (ms) | 557.6 |
| End-to-end TPS | 860.25 tx/s |
| Backlog drain time (s) | 1.0 |
| Snapshots observed | 2 |
| Snapshots per second | 1.91 /s |
| Avg txs per snapshot | 450.0 |
| Peak node RSS (MB) | 148.2 |
| Number of Invalid txs | 0 |
| Fanout outputs | 4 |
Scenario benchmark results
This page collects results from the scenario matrix: every combination of cluster size, UTxO shape, and incremental-ops mode is exercised by CI from the latest master code and reported below.
Numbers are approximate. They come from cloud VMs rather than controlled hardware, so the useful signal is the relative change between cells and between commits, not the absolute throughput.
Generated at 2026-07-28 05:09:43.310580775 UTC
Summary across cells
TPS columns are rates (transactions per second); Wall clock (s) is the measured elapsed time from the first tx submission to the last confirmation. Times are rounded to one decimal.
| Scenario | Txs | Wall clock (s) | End-to-end TPS (tx/s) | Sustained TPS (tx/s) | Avg conf (ms) | P95 conf (ms) |
|---|---|---|---|---|---|---|
| Nodes=1, Constant, fire and forget | 30 | 0.0 | 897.22 | n/a | 32.4 | 33.1 |
| Nodes=1, Constant, wait for tx valid | 30 | 0.2 | 174.41 | 175.92 | 5.7 | 7.4 |
| Nodes=1, Growing, fire and forget | 30 | 0.0 | 962.92 | n/a | 30.3 | 30.9 |
| Nodes=1, Growing, wait for tx valid | 30 | 0.2 | 136.34 | 135.42 | 7.3 | 8.8 |
| Nodes=1, Mixed, fire and forget | 30 | 0.0 | 1084.90 | n/a | 26.8 | 27.4 |
| Nodes=1, Mixed, wait for tx valid | 30 | 0.2 | 145.00 | 139.32 | 6.8 | 9.2 |
| Nodes=2, Constant, fire and forget | 60 | 0.1 | 948.39 | n/a | 61.2 | 62.8 |
| Nodes=2, Constant, wait for tx valid | 60 | 0.5 | 112.67 | 113.74 | 17.6 | 23.3 |
| Nodes=2, Growing, fire and forget | 60 | 0.1 | 815.20 | n/a | 71.8 | 73.2 |
| Nodes=2, Growing, wait for tx valid | 60 | 0.7 | 82.48 | 80.97 | 24.0 | 30.6 |
| Nodes=2, Mixed, fire and forget | 60 | 0.1 | 901.52 | n/a | 64.3 | 66.1 |
| Nodes=2, Mixed, wait for tx valid | 60 | 0.7 | 87.83 | 85.40 | 22.6 | 29.7 |
| Nodes=3, Constant, fire and forget | 90 | 0.1 | 742.72 | n/a | 118.3 | 120.3 |
| Nodes=3, Constant, wait for tx valid | 90 | 1.0 | 92.67 | 90.91 | 31.4 | 45.8 |
| Nodes=3, Growing, fire and forget | 90 | 0.2 | 483.60 | n/a | 179.3 | 185.0 |
| Nodes=3, Growing, wait for tx valid | 90 | 1.3 | 66.95 | 67.07 | 43.3 | 61.1 |
| Nodes=3, Mixed, fire and forget | 90 | 0.2 | 564.05 | n/a | 157.1 | 159.2 |
| Nodes=3, Mixed, wait for tx valid | 90 | 1.2 | 77.38 | 73.55 | 38.4 | 50.6 |
Nodes=1, Constant, fire and forget
| Number of nodes | 1 |
|---|---|
| Number of txs | 30 |
| Avg. Confirmation Time (ms) | 32.4 |
| P99 | 33.2ms |
| P95 | 33.1ms |
| P50 | 32.7ms |
| Tx validation time p50 (ms) | 11.5 |
| End-to-end TPS | 897.22 tx/s |
| Backlog drain time (s) | 0.0 |
| Snapshots observed | 2 |
| Snapshots per second | 59.81 /s |
| Avg txs per snapshot | 15.0 |
| Peak node RSS (MB) | 142.8 |
| Number of Invalid txs | 0 |
| Fanout outputs | 2 |
Nodes=1, Constant, wait for tx valid
| Number of nodes | 1 |
|---|---|
| Number of txs | 30 |
| Avg. Confirmation Time (ms) | 5.7 |
| P99 | 8.0ms |
| P95 | 7.4ms |
| P50 | 5.4ms |
| Tx validation time p50 (ms) | 1.9 |
| End-to-end TPS | 174.41 tx/s |
| Sustained TPS | 175.92 tx/s |
| Backlog drain time (s) | 0.0 |
| Snapshots observed | 30 |
| Snapshots per second | 174.41 /s |
| Avg txs per snapshot | 1.0 |
| Peak node RSS (MB) | 143.9 |
| Number of Invalid txs | 0 |
| Fanout outputs | 2 |
Nodes=1, Growing, fire and forget
| Number of nodes | 1 |
|---|---|
| Number of txs | 30 |
| Avg. Confirmation Time (ms) | 30.3 |
| P99 | 30.9ms |
| P95 | 30.9ms |
| P50 | 30.6ms |
| Tx validation time p50 (ms) | 11.8 |
| End-to-end TPS | 962.92 tx/s |
| Backlog drain time (s) | 0.0 |
| Snapshots observed | 2 |
| Snapshots per second | 64.19 /s |
| Avg txs per snapshot | 15.0 |
| Peak node RSS (MB) | 144.3 |
| Number of Invalid txs | 0 |
| Fanout outputs | 31 |
Nodes=1, Growing, wait for tx valid
| Number of nodes | 1 |
|---|---|
| Number of txs | 30 |
| Avg. Confirmation Time (ms) | 7.3 |
| P99 | 8.9ms |
| P95 | 8.8ms |
| P50 | 7.2ms |
| Tx validation time p50 (ms) | 2.0 |
| End-to-end TPS | 136.34 tx/s |
| Sustained TPS | 135.42 tx/s |
| Backlog drain time (s) | 0.0 |
| Snapshots observed | 30 |
| Snapshots per second | 136.34 /s |
| Avg txs per snapshot | 1.0 |
| Peak node RSS (MB) | 143.7 |
| Number of Invalid txs | 0 |
| Fanout outputs | 31 |
Nodes=1, Mixed, fire and forget
Each client first grows its UTxO set (1-in to 2-out) for half of its tx budget, then contracts it back (2-in to 1-out) for the remainder.
| Number of nodes | 1 |
|---|---|
| Number of txs | 30 |
| Avg. Confirmation Time (ms) | 26.8 |
| P99 | 27.4ms |
| P95 | 27.4ms |
| P50 | 27.0ms |
| Tx validation time p50 (ms) | 17.1 |
| End-to-end TPS | 1084.90 tx/s |
| Backlog drain time (s) | 0.0 |
| Snapshots observed | 2 |
| Snapshots per second | 72.33 /s |
| Avg txs per snapshot | 15.0 |
| Peak node RSS (MB) | 143.8 |
| Number of Invalid txs | 0 |
| Fanout outputs | 2 |
Nodes=1, Mixed, wait for tx valid
Each client first grows its UTxO set (1-in to 2-out) for half of its tx budget, then contracts it back (2-in to 1-out) for the remainder.
| Number of nodes | 1 |
|---|---|
| Number of txs | 30 |
| Avg. Confirmation Time (ms) | 6.8 |
| P99 | 12.2ms |
| P95 | 9.2ms |
| P50 | 6.5ms |
| Tx validation time p50 (ms) | 2.1 |
| End-to-end TPS | 145.00 tx/s |
| Sustained TPS | 139.32 tx/s |
| Backlog drain time (s) | 0.0 |
| Snapshots observed | 30 |
| Snapshots per second | 145.00 /s |
| Avg txs per snapshot | 1.0 |
| Peak node RSS (MB) | 143.3 |
| Number of Invalid txs | 0 |
| Fanout outputs | 2 |
Nodes=2, Constant, fire and forget
| Number of nodes | 2 |
|---|---|
| Number of txs | 60 |
| Avg. Confirmation Time (ms) | 61.2 |
| P99 | 62.9ms |
| P95 | 62.8ms |
| P50 | 60.5ms |
| Tx validation time p50 (ms) | 29.7 |
| End-to-end TPS | 948.39 tx/s |
| Backlog drain time (s) | 0.1 |
| Snapshots observed | 2 |
| Snapshots per second | 31.61 /s |
| Avg txs per snapshot | 30.0 |
| Peak node RSS (MB) | 144.0 |
| Number of Invalid txs | 0 |
| Fanout outputs | 3 |
Nodes=2, Constant, wait for tx valid
| Number of nodes | 2 |
|---|---|
| Number of txs | 60 |
| Avg. Confirmation Time (ms) | 17.6 |
| P99 | 28.2ms |
| P95 | 23.3ms |
| P50 | 16.4ms |
| Tx validation time p50 (ms) | 4.4 |
| End-to-end TPS | 112.67 tx/s |
| Sustained TPS | 113.74 tx/s |
| Backlog drain time (s) | 0.0 |
| Snapshots observed | 60 |
| Snapshots per second | 112.67 /s |
| Avg txs per snapshot | 1.0 |
| Peak node RSS (MB) | 146.1 |
| Number of Invalid txs | 0 |
| Fanout outputs | 3 |
Nodes=2, Growing, fire and forget
| Number of nodes | 2 |
|---|---|
| Number of txs | 60 |
| Avg. Confirmation Time (ms) | 71.8 |
| P99 | 73.3ms |
| P95 | 73.2ms |
| P50 | 72.2ms |
| Tx validation time p50 (ms) | 26.2 |
| End-to-end TPS | 815.20 tx/s |
| Backlog drain time (s) | 0.1 |
| Snapshots observed | 2 |
| Snapshots per second | 27.17 /s |
| Avg txs per snapshot | 30.0 |
| Peak node RSS (MB) | 144.7 |
| Number of Invalid txs | 0 |
| Fanout outputs | 62 |
Nodes=2, Growing, wait for tx valid
| Number of nodes | 2 |
|---|---|
| Number of txs | 60 |
| Avg. Confirmation Time (ms) | 24.0 |
| P99 | 34.1ms |
| P95 | 30.6ms |
| P50 | 23.7ms |
| Tx validation time p50 (ms) | 7.2 |
| End-to-end TPS | 82.48 tx/s |
| Sustained TPS | 80.97 tx/s |
| Backlog drain time (s) | 0.0 |
| Snapshots observed | 60 |
| Snapshots per second | 82.48 /s |
| Avg txs per snapshot | 1.0 |
| Peak node RSS (MB) | 145.8 |
| Number of Invalid txs | 0 |
| Fanout outputs | 62 |
Nodes=2, Mixed, fire and forget
Each client first grows its UTxO set (1-in to 2-out) for half of its tx budget, then contracts it back (2-in to 1-out) for the remainder.
| Number of nodes | 2 |
|---|---|
| Number of txs | 60 |
| Avg. Confirmation Time (ms) | 64.3 |
| P99 | 66.2ms |
| P95 | 66.1ms |
| P50 | 64.7ms |
| Tx validation time p50 (ms) | 25.6 |
| End-to-end TPS | 901.52 tx/s |
| Backlog drain time (s) | 0.1 |
| Snapshots observed | 2 |
| Snapshots per second | 30.05 /s |
| Avg txs per snapshot | 30.0 |
| Peak node RSS (MB) | 144.2 |
| Number of Invalid txs | 0 |
| Fanout outputs | 3 |
Nodes=2, Mixed, wait for tx valid
Each client first grows its UTxO set (1-in to 2-out) for half of its tx budget, then contracts it back (2-in to 1-out) for the remainder.
| Number of nodes | 2 |
|---|---|
| Number of txs | 60 |
| Avg. Confirmation Time (ms) | 22.6 |
| P99 | 30.8ms |
| P95 | 29.7ms |
| P50 | 21.9ms |
| Tx validation time p50 (ms) | 7.7 |
| End-to-end TPS | 87.83 tx/s |
| Sustained TPS | 85.40 tx/s |
| Backlog drain time (s) | 0.0 |
| Snapshots observed | 60 |
| Snapshots per second | 87.83 /s |
| Avg txs per snapshot | 1.0 |
| Peak node RSS (MB) | 146.0 |
| Number of Invalid txs | 0 |
| Fanout outputs | 3 |
Nodes=3, Constant, fire and forget
| Number of nodes | 3 |
|---|---|
| Number of txs | 90 |
| Avg. Confirmation Time (ms) | 118.3 |
| P99 | 120.4ms |
| P95 | 120.3ms |
| P50 | 119.9ms |
| Tx validation time p50 (ms) | 40.8 |
| End-to-end TPS | 742.72 tx/s |
| Backlog drain time (s) | 0.1 |
| Snapshots observed | 2 |
| Snapshots per second | 16.50 /s |
| Avg txs per snapshot | 45.0 |
| Peak node RSS (MB) | 145.0 |
| Number of Invalid txs | 0 |
| Fanout outputs | 4 |
Nodes=3, Constant, wait for tx valid
| Number of nodes | 3 |
|---|---|
| Number of txs | 90 |
| Avg. Confirmation Time (ms) | 31.4 |
| P99 | 52.5ms |
| P95 | 45.8ms |
| P50 | 30.0ms |
| Tx validation time p50 (ms) | 7.7 |
| End-to-end TPS | 92.67 tx/s |
| Sustained TPS | 90.91 tx/s |
| Backlog drain time (s) | 0.0 |
| Snapshots observed | 63 |
| Snapshots per second | 64.87 /s |
| Avg txs per snapshot | 1.4 |
| Peak node RSS (MB) | 145.3 |
| Number of Invalid txs | 0 |
| Fanout outputs | 4 |
Nodes=3, Growing, fire and forget
| Number of nodes | 3 |
|---|---|
| Number of txs | 90 |
| Avg. Confirmation Time (ms) | 179.3 |
| P99 | 185.2ms |
| P95 | 185.0ms |
| P50 | 180.9ms |
| Tx validation time p50 (ms) | 46.3 |
| End-to-end TPS | 483.60 tx/s |
| Backlog drain time (s) | 0.2 |
| Snapshots observed | 2 |
| Snapshots per second | 10.75 /s |
| Avg txs per snapshot | 45.0 |
| Peak node RSS (MB) | 145.4 |
| Number of Invalid txs | 0 |
| Fanout outputs | 0 |
Nodes=3, Growing, wait for tx valid
| Number of nodes | 3 |
|---|---|
| Number of txs | 90 |
| Avg. Confirmation Time (ms) | 43.3 |
| P99 | 66.7ms |
| P95 | 61.1ms |
| P50 | 40.9ms |
| Tx validation time p50 (ms) | 11.4 |
| End-to-end TPS | 66.95 tx/s |
| Sustained TPS | 67.07 tx/s |
| Backlog drain time (s) | 0.0 |
| Snapshots observed | 62 |
| Snapshots per second | 46.12 /s |
| Avg txs per snapshot | 1.5 |
| Peak node RSS (MB) | 147.5 |
| Number of Invalid txs | 0 |
| Fanout outputs | 0 |
Nodes=3, Mixed, fire and forget
Each client first grows its UTxO set (1-in to 2-out) for half of its tx budget, then contracts it back (2-in to 1-out) for the remainder.
| Number of nodes | 3 |
|---|---|
| Number of txs | 90 |
| Avg. Confirmation Time (ms) | 157.1 |
| P99 | 159.3ms |
| P95 | 159.2ms |
| P50 | 157.4ms |
| Tx validation time p50 (ms) | 49.7 |
| End-to-end TPS | 564.05 tx/s |
| Backlog drain time (s) | 0.2 |
| Snapshots observed | 2 |
| Snapshots per second | 12.53 /s |
| Avg txs per snapshot | 45.0 |
| Peak node RSS (MB) | 146.1 |
| Number of Invalid txs | 0 |
| Fanout outputs | 4 |
Nodes=3, Mixed, wait for tx valid
Each client first grows its UTxO set (1-in to 2-out) for half of its tx budget, then contracts it back (2-in to 1-out) for the remainder.
| Number of nodes | 3 |
|---|---|
| Number of txs | 90 |
| Avg. Confirmation Time (ms) | 38.4 |
| P99 | 53.5ms |
| P95 | 50.6ms |
| P50 | 38.4ms |
| Tx validation time p50 (ms) | 9.8 |
| End-to-end TPS | 77.38 tx/s |
| Sustained TPS | 73.55 tx/s |
| Backlog drain time (s) | 0.0 |
| Snapshots observed | 61 |
| Snapshots per second | 52.45 /s |
| Avg txs per snapshot | 1.5 |
| Peak node RSS (MB) | 147.0 |
| Number of Invalid txs | 0 |
| Fanout outputs | 4 |
c998d82 to
9b8c98b
Compare
a9793ff to
c786336
Compare
9b8c98b to
0e92b08
Compare
c786336 to
2ffa5de
Compare
0e92b08 to
675ab4a
Compare
2ffa5de to
f016acd
Compare
675ab4a to
8d384ed
Compare
f016acd to
7803a7d
Compare
Package the decidable core of the Agda formalisation as Haskell so the node/tx test suites can differentially test against it: - hydra-agda: the committed MAlonzo extraction of Reference.agda / OffChainReference.agda plus the hand-written Hydra.Agda.* wrappers, with regenerate.sh to refresh it. - checks.hydra-agda-generated regenerates the extraction hermetically and fails on drift, so a semantic edit to the reference modules cannot leave the committed oracle stale. - Exclude hydra-agda/generated from treefmt (machine-generated) and add the CI job that builds the spec and the extraction check. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
8d384ed to
2c2ec36
Compare
7803a7d to
8b5575a
Compare
🧱 Stack (split of #2736)
👉 4. typst-agda-spec-4: Add the hydra-agda package (MAlonzo extraction) and CI gate #2787 — hydra-agda package + CI
Merge in order (1→5) into the
typst-agda-stackedintegration branch, then merge that branch intomasteras the final step.Stacked PR 4/5 — splits #2736.
Base:
typst-agda-spec-3· Next:typst-agda-spec-5.Package the decidable core of the Agda formalisation as Haskell so the node/tx
test suites can differentially test against it.
hydra-agda: the committed MAlonzo extraction ofReference.agda/OffChainReference.agdaplus the hand-writtenHydra.Agda.*wrappers, withregenerate.sh.checks.hydra-agda-generatedregenerates the extraction hermetically andfails on drift, so a semantic edit to the reference modules cannot leave the
committed oracle stale.
hydra-agda/generatedfrom treefmt (machine-generated) and add the CIjob that builds the spec and the extraction check.
Verified:
nix build .#checks.x86_64-linux.hydra-agda-generatedpasses;cabal build hydra-agdacompiles; treefmt-clean.🤖 Generated with Claude Code