Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Eth2 does not work with --prune.r.older=2_000_000#2864

Merged
AskAlexSharov merged 1 commit into
erigontech:develfrom
jt9897253:update-readme
Oct 22, 2021
Merged

Eth2 does not work with --prune.r.older=2_000_000#2864
AskAlexSharov merged 1 commit into
erigontech:develfrom
jt9897253:update-readme

Conversation

@jt9897253

Copy link
Copy Markdown
Contributor

The recommended pruning parameter --prune.r.older=2_000_000 prunes too many blocks to successfully sync an Eth2 client.

Some days ago, we were at block 13411141. That means with the above prune parameter, recipes of blocks older than 11411141 are pruned. This misses some required blocks, as the deposit contract was deployed at block 11184524 (for example see option --contract-deployment-block from https://docs.prylabs.network/docs/prysm-usage/parameters/)

Instead, use --prune.r.before 11184524 option together with --prune htc

The recommended pruning parameter `--prune.r.older=2_000_000` prunes too many blocks to successfully sync an Eth2 client.

At the time of writing, we're at block 13411141. That means with the above prune parameter, recipes of blocks older than 11411141 are pruned. This misses some required blocks, as the deposit contract was deployed at block 11184524 (see option `--contract-deployment-block` from [here](https://docs.prylabs.network/docs/prysm-usage/parameters/))

Instead, use the new `--prune.r.before 11184524` option together with `--prune htc`
@AskAlexSharov

Copy link
Copy Markdown
Collaborator

Thank you! We waited this PR long time (really).

@AskAlexSharov AskAlexSharov merged commit ac04db8 into erigontech:devel Oct 22, 2021
@jt9897253 jt9897253 deleted the update-readme branch October 22, 2021 17:13
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