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

Add legacy geth syncing #27

Merged
merged 4 commits into from
May 14, 2024
Merged

Add legacy geth syncing #27

merged 4 commits into from
May 14, 2024

Conversation

Marketen
Copy link
Contributor

op-geth will now sync in snap dir or legacy dir, depending if legacy l2geth is enabled or not.

if legacy l2geth is installed, op-geth will remove any existing snap datadir & sync in archival (implies downloading bedrock datadir)
if legacy l2geth is not installed, op-geth will remove any existing archival datadir & sync in snap mode

@Marketen Marketen self-assigned this May 10, 2024
op-geth/entrypoint.sh Outdated Show resolved Hide resolved
echo "[INFO - entrypoint] Removing preloaded data file. Not needed anymore."
rm -rf $PRELOADED_DATA_FILE
EXTRA_FLAGS="--rollup.historicalrpc $HISTORICAL_RPC_URL --gcmode archive --syncmode full --datadir $ARCHIVAL_DATA_DIR"
# EXTRA_FLAGS="--datadir.ancient $ARCHIVAL_DATA_DIR/geth/chaindata/ancient"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We must check if this is needed. I had to add it in the past to make the node work

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added as an issue

@Marketen Marketen merged commit 612a4b9 into main May 14, 2024
2 checks passed
@Marketen Marketen deleted the marc/add_legacy-geth-syncing branch May 14, 2024 15:00
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