-
Notifications
You must be signed in to change notification settings - Fork 30
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
[feat] Add script that extends program arguments with Utreexo state and inclusion proofs #220
[feat] Add script that extends program arguments with Utreexo state and inclusion proofs #220
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Yeah, there's no reference to compare unfortunately, but the point here mostly is to test that our Cairo accumulator behaves as expected. What is the exact issue with cached field? |
When I hash the outpoint to delete, the cache is not the same as when I added it, so booom. example: block9 (original) I don't really understand why we have values set to true when retrieving data from the RPC, is that normal? |
|
Yes, that's right, sorry I wrote nonsense. Maybe an error in generate_data or I missed something |
e5b95b2
to
2de0a1c
Compare
Basically, if you see an output with |
1eca136
to
45b8ca7
Compare
I think the problem came from the generate_data.py script l284 |
Execute script
.client_cache
fileclient/tests/utreexo
Hash outpoint from Cairo corelib
Hash outpoint from Python script
The hash appears to be correctly created, added to the Utreexo, and then deleted from the Utreexo in block 170.