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

Enable snap sync #132

Closed
ghost opened this issue Oct 30, 2023 · 5 comments
Closed

Enable snap sync #132

ghost opened this issue Oct 30, 2023 · 5 comments
Labels
state: backlog This is pending further review type: enhancement New feature or request

Comments

@ghost
Copy link

ghost commented Oct 30, 2023

ethereum-optimism/optimism#6243 (comment)

Base nodes would be able to sync much quicker with snap sync but seems like it is disabled by default https://github.com/base-org/node/blob/main/geth-entrypoint#L62.

Also, it should have bootnodes for op-geth to connect each other.

@roberto-bayardo
Copy link
Contributor

Snap sync has yet to be sufficiently tested for op chains which is why it's disabled for now. Would be good to get it tested and activated however.

@ghost
Copy link
Author

ghost commented Oct 30, 2023

@roberto-bayardo Could you enable --state.scheme=path option for op-geth? It will reduce disk usage by more than 50% with my benchmarks

@roberto-bayardo
Copy link
Contributor

looking forward to enabling path-based state db as well when it's more battle tested. geth team recommends leaving it disabled for lower risk profile for the time being.

@wbnns wbnns added state: backlog This is pending further review type: enhancement New feature or request labels Oct 30, 2023
@mdehoog
Copy link
Contributor

mdehoog commented Nov 7, 2023

Added ability to set --state.scheme=path in #146

@HiroyukiNaito
Copy link

@kaliubuntu0206 Are there any updates about full mode snapshot or snap sync?

@ghost ghost closed this as completed Feb 26, 2024
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
state: backlog This is pending further review type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants