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

Offline RPC from multiple snapshots #4058

Closed
davidgasquez opened this issue Mar 14, 2024 · 2 comments · Fixed by #4059
Closed

Offline RPC from multiple snapshots #4058

davidgasquez opened this issue Mar 14, 2024 · 2 comments · Fixed by #4059
Assignees
Labels

Comments

@davidgasquez
Copy link

Describe the bug

Can't load multiple snapshots with forest-tool api serve

To Reproduce Steps to reproduce the behaviour:

  1. Get two snapshots or more.
mkdir data
wget https://forest-archive.chainsafe.dev/mainnet/diff/forest_diff_mainnet_2020-08-24_height_0+3000.forest.car.zst -P data
wget https://forest-archive.chainsafe.dev/mainnet/lite/forest_snapshot_mainnet_2020-08-24_height_0.forest.car.zst -P data
  1. Serve them.
forest-tool api serve data/forest_snapshot_mainnet_2020-08-24_height_0.forest.car.zst data/forest_diff_mainnet_2020-08-24_height_0+3000.forest.car.zst 

Log output

Log Output
error: unexpected argument 'data/forest_diff_mainnet_2020-08-24_height_0+3000.forest.car.zst' found

Usage: forest-tool api serve [OPTIONS] [SNAPSHOT_FILE]

For more information, try '--help'.

Expected behaviour

RPC being served from these snapshots

Environment (please complete the following information):

  • OS: Running from ghcr.io/chainsafe/forest:edge
  • Branch/commit: ghcr.io/chainsafe/forest:edge
@LesnyRumcajs
Copy link
Member

Hey, @davidgasquez, this will be resolved via #4059.

@davidgasquez
Copy link
Author

Thanks for the quick fix @LesnyRumcajs!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants