Commit 4188e27
authored
docs: fix stale content across 9 pages (round 2) (#645)
* fix(ledger): use per-pool deposit map for deposits_stake in epoch-state dump
`epoch_state_debug::capture` was computing the pool-deposit component of
`deposited` as `pool_params.len() × curPParams.pool_deposit`. This breaks
when `pool_deposit` changes via PPUP after some pools are already registered:
pools registered before the change paid the old deposit, so the approximation
drifts from the actual locked amount.
`certs.pool_deposits` already tracks the exact deposit paid at registration
time for each pool (same map used by shelley.rs and conway.rs for obligation
calc). Switch the dump to sum that map instead.
Ref: issue #615 (deposits_stake divergence sub-item).
* style: rustfmt epoch_state_debug.rs
* chore(docs): update crate count 14→15 in CLAUDE.md, add dugite-uplc and dugite-lsm
* chore(conformance): update corpus to v20260524-075059; fix mithril stub check
Mithril area now has 20 real fixture files at the pinned SHA, so the
verification step's "mithril must be stub" assertion is no longer correct.
Remove that check (it was based on an outdated observation).
New corpus stats:
ouroboros-consensus: 277 files
cardano-ledger: 17 files
cardano-node: 14 files
plutus: 3001 files
ledger-rules: 28295 files ← ImpSpec Haskell ledger-rules corpus
cardano-base: 14 files
mithril: 20 files ← now real (was stub)
* fix(conformance): expand DELEG decoder to accept tags 2 and 13
The new ImpSpec corpus (conformance-corpus-v20260524-075059) includes
DELEG vectors with:
- tag 2: Shelley `StakeDelegation` (backwards-compat delegation in Conway)
- tag 13: `ConwayRegDelegCert DelegStakeVote` (register + pool + DRep)
The decoder previously only accepted tags 7–12. Extend to:
tag == 2 || 7..=13 (matching the full Conway TxCert spec)
Reference: cardano-ledger TxCert.hs ConwayTxCert encoding.
* test(ledger): update capture_combines_stake_key_and_pool_deposits to use pool_deposits map
The test was inserting pools into pool_params but not pool_deposits, so
the new implementation (pool_deposits.values().sum()) returned 0 pool
deposits. Update the test to:
- populate pool_deposits with per-pool historical deposit amounts
- demonstrate the key property: dumps use historical values even when
pool_deposit has changed via PPUP (pool 0xaa at 400 ADA, pools 0x10/0x11
at 500 ADA, current param 600 ADA; expected total uses historical values)
* docs: fix stale content across 9 pages (round 2)
- quickstart.md: remove unpublished Docker image examples (#507)
- running/configuration.md: fix peer target defaults (EstablishedPeers 40→30,
ActivePeers 15→20, KnownPeers 85→150 to match code defaults)
- running/config-editor.md: fix EstablishedPeers example 40→30
- running/relay.md: add dugite_ prefix to metric names in monitoring table
- running/block-producer.md: add dugite_ prefix + _total suffix to metrics
in deployment checklist
- running/kubernetes.md: add "image not yet published" note (#507)
- reference/upgrading.md: remove Docker pull example (image not published)
- reference/mini-protocols.md: remove N2N V16/perasSupport (not implemented;
Dugite supports V14/V15 only — #607)
- architecture/networking.md: fix EstablishedPeers default 30→"40 (30 on preview)"
to correctly reflect mainnet/preprod vs preview config difference1 parent 3643abc commit 4188e27
9 files changed
Lines changed: 19 additions & 38 deletions
File tree
- docs/src
- architecture
- reference
- running
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
314 | 314 | | |
315 | 315 | | |
316 | 316 | | |
317 | | - | |
| 317 | + | |
318 | 318 | | |
319 | 319 | | |
320 | 320 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
| 15 | + | |
20 | 16 | | |
21 | 17 | | |
22 | 18 | | |
| |||
58 | 54 | | |
59 | 55 | | |
60 | 56 | | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | 57 | | |
73 | 58 | | |
74 | 59 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
176 | | - | |
| 176 | + | |
177 | 177 | | |
178 | | - | |
| 178 | + | |
| 179 | + | |
179 | 180 | | |
180 | 181 | | |
181 | 182 | | |
182 | | - | |
183 | | - | |
184 | 183 | | |
185 | 184 | | |
186 | 185 | | |
187 | 186 | | |
188 | 187 | | |
189 | | - | |
190 | 188 | | |
191 | 189 | | |
192 | 190 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
| 45 | + | |
50 | 46 | | |
51 | 47 | | |
52 | 48 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
354 | 354 | | |
355 | 355 | | |
356 | 356 | | |
357 | | - | |
358 | | - | |
| 357 | + | |
| 358 | + | |
359 | 359 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
160 | | - | |
| 160 | + | |
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
82 | | - | |
83 | | - | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
3 | 5 | | |
4 | 6 | | |
5 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
| |||
0 commit comments