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

Serve limited RPC from test snapshot CAR #12848

Open
rvagg opened this issue Jan 25, 2025 · 0 comments
Open

Serve limited RPC from test snapshot CAR #12848

rvagg opened this issue Jan 25, 2025 · 0 comments

Comments

@rvagg
Copy link
Member

rvagg commented Jan 25, 2025

From Forest: https://docs.forest.chainsafe.io/developers/guides/rpc_test_snapshot/

If we can serve RPC from a CAR, we should also be able to do it from a minimal CAR that just has the blocks needed to serve a specific path. This might be tricky because it assumes that Forest and Lotus will require the same blocks to serve a call but it may be the case Lotus does more work to get some calls done (who knows why). But that would be interesting in itself and highlight wasteful work in Lotus, or deficiencies in Forest.

One thing to fix to make this work that I can think of is the tipset cache, if we don't have all the tipsets available then we shouldn't be priming the cache on startup because it'll error.

@github-project-automation github-project-automation bot moved this to 📌 Triage in FilOz Jan 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 📌 Triage
Development

No branches or pull requests

1 participant