-
Notifications
You must be signed in to change notification settings - Fork 1
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
How to get initial commitment #50
Comments
Hey, yes that looks correct -- if its never been inserted before then it should have a value of zero, so the code you snippeted would be updating the value from zero to a value of using |
@acolytec3 if not too complicated/distracting right now maybe you can add a unit test for this on the JS side. |
@kevaundray I have a further question here. Does the So take the extension node node diagram from the verkle trie If I take the commitment for the extension node and want to update the value for If so, is there a |
One additional question here. For the 4 element vector used to derive the commitment for a leaf node, we are supposed to use |
@kevaundray wondering if this is a question you can answer but how do we get the initial commitment for a value we want to store in the verkle trie where it's for a key that has never been touched before? Should I use
updateCommitment
something like this:or do I need to use the
verkleFFI.commitTo16ByteScalars
method?The text was updated successfully, but these errors were encountered: