Skip to content

Document history pruning modes and the EraE format - #355

Merged
svlachakis merged 3 commits into
mainfrom
docs/history-pruning-modes-and-erae
Aug 18, 2026
Merged

Document history pruning modes and the EraE format#355
svlachakis merged 3 commits into
mainfrom
docs/history-pruning-modes-and-erae

Conversation

@svlachakis

@svlachakis svlachakis commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

Two gaps on the history pruning page.

Pruning modes. History.Pruning was undocumented, so there was no description of Rolling anywhere, even though it has shipped since 1.33. Added the three modes, the retention floor rule, and the genesis/sync-pivot guarantee.

Wording of the intro note. It said history pruning is enabled by default, which reads as "stored history is deleted by default". What is on by default is the barrier-limited download; deleting stored history is opt-in via History.Pruning. Split the two.

EraE format. The page only covered Era1. Added the post-Merge format: layout, slim receipts, .ere extension with the noproofs profile, the EraE.* import/export options, and remote archive downloads.

The page names admin_importEraHistory and admin_exportEraHistory without linking into the JSON-RPC reference, because that reference is generated and does not contain them yet: DocGen's assembly list omits Nethermind.EraE, so the two methods have never been emitted even though they ship. NethermindEth/nethermind#12873 fixes the generator, and the entries appear the next time the reference is regenerated.

Rolling pruning and the EraE archive format were both missing from the
history pruning page, and the two EraE admin methods were missing from the
JSON-RPC reference because the doc generator does not scan Nethermind.EraE.
@svlachakis
svlachakis marked this pull request as ready for review August 18, 2026 11:15
@svlachakis
svlachakis requested a review from rubo as a code owner August 18, 2026 11:15
svlachakis and others added 2 commits August 18, 2026 17:31
admin.md is produced by DocGen, so hand-inserting the two EraE methods
would be overwritten on the next regeneration. NethermindEth/nethermind#12873
makes the generator emit them; until that runs, the page names the methods
without linking into the reference.
@svlachakis
svlachakis merged commit 0cb0d6f into main Aug 18, 2026
1 check passed
@svlachakis
svlachakis deleted the docs/history-pruning-modes-and-erae branch August 18, 2026 19:41
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.

4 participants