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

bug: CustomHint("Edge bottom not found in preimage") #363

Open
HermanObst opened this issue Sep 10, 2024 · 0 comments
Open

bug: CustomHint("Edge bottom not found in preimage") #363

HermanObst opened this issue Sep 10, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@HermanObst
Copy link
Collaborator

SNOS version:
0.13.2

Current behavior:
Failing with Hint((0, CustomHint("Edge bottom not found in preimage"))) while trying to execute the SNOS in multiple blocks (e.g: 155016)

Process to start exploring the issue

  1. Identify the problematic trie, it's typically a storage trie but make sure of what is the actual problem.
  2. Looking at the modifications helps a lot, add some logs in the BUILD_DESCENT_MAP hint to print the content of the modifications dictionary. Add a prev_value read in the logic and just print every modification, it's very useful.
  3. This will probably not be enough, probably we would need to fetch additional storage proofs as we are missing data.

Hypotesis
Could be a bug in get_key_following_edge ? There is a log "Fetching modified key {} for key {}", this could lead to interesting results.

@HermanObst HermanObst added the bug Something isn't working label Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant