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

[Enhancement] Figure out a way to throw a lookup error when there aren't enough state-roots. #3126

Closed
ruseinov opened this issue Jul 5, 2023 · 0 comments · Fixed by #3137

Comments

@ruseinov
Copy link
Contributor

ruseinov commented Jul 5, 2023

Issue summary

The current problem is that we get a state mismatch on both lotus and forest if we don't have enough state-roots to compute something, instead of throwing a lookup error.

Other information and links

How to reproduce:

  1. load a snapshot_2986560_2989450_1688016756.car.zst into Forest
  2. cargo run --release --bin forest -- --encrypt-keystore false --import-snapshot snapshot_2986560_2989450_1688016756.car.zst --height=2987370 --head=2987371 --skip-load=true
  3. State mismatch!

How to have proper state:

  1. load a snapshot_2983680_2986570_1687930358.car.zst into Forest, before following the aforementioned steps.
    ..
  2. No state mismatch!
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 a pull request may close this issue.

1 participant