Repository navigation
feat(wasm-dpp): provide external entropy generator to document factory - #845
Merged
markin-io merged 4 commits intoMar 23, 2023
Conversation
antouhou
reviewed
Mar 22, 2023
antouhou
left a comment
Contributor
There was a problem hiding this comment.
I think all good, except I'd use a generic instead of dyn Box
markin-io
force-pushed
the
feat/wasm-dpp/provide-external-entropy-generator-to-document-factory
branch
from
March 23, 2023 09:26
3ace226 to
f22a878
Compare
Contributor
Author
|
Agreed to refactor |
antouhou
approved these changes
Mar 23, 2023
markin-io
deleted the
feat/wasm-dpp/provide-external-entropy-generator-to-document-factory
branch
March 23, 2023 11:43
4 of 6 tasks
4 of 5 tasks
QuantumExplorer
added a commit
that referenced
this pull request
Aug 31, 2026
…mit lifting Rework on grovedb 33a3ad34 (#844/#845): the limited inner page and the derived outer by-ids fetch are now proven as a SINGLE merged grovedb proof — prove_query_many merges them, with the inner query's global limit lifted into its branch's per-instance Query::limit (exact: the branch executes once). One proof means one root by construction, so the two-proof envelope, the verifier's root-equality check, and the Option<outer_proof> shape are gone. Verification becomes one pass: the caller supplies the server's CLAIMED join values as an untrusted bootstrap hint, the verifier re-derives the outer component from it, re-merges at the same grove version, and runs GroveDb::verify_query — grovedb enforces the lifted instance cap and range completeness, and the exact-set assembly against the PROVEN join values refuses any hint lie (dropped, injected, or substituted ids all covered by tests). The root-hash bracket survives in a smaller role: materialize and prove must read the same committed state or the proof's own branches disagree; the failure is now server-side only. ChainedProofBundle is gone; the with-proof surfaces return the merged proof bytes. proof_path_queries is the ONE component builder both prover and verifier call, so the merged query is byte-identical on both sides. Co-Authored-By: Claude Fable 5 <[email protected]>
4 of 5 tasks
QuantumExplorer
added a commit
that referenced
this pull request
Aug 31, 2026
…mit lifting Rework on grovedb 33a3ad34 (#844/#845): the limited inner page and the derived outer by-ids fetch are now proven as a SINGLE merged grovedb proof — prove_query_many merges them, with the inner query's global limit lifted into its branch's per-instance Query::limit (exact: the branch executes once). One proof means one root by construction, so the two-proof envelope, the verifier's root-equality check, and the Option<outer_proof> shape are gone. Verification becomes one pass: the caller supplies the server's CLAIMED join values as an untrusted bootstrap hint, the verifier re-derives the outer component from it, re-merges at the same grove version, and runs GroveDb::verify_query — grovedb enforces the lifted instance cap and range completeness, and the exact-set assembly against the PROVEN join values refuses any hint lie (dropped, injected, or substituted ids all covered by tests). The root-hash bracket survives in a smaller role: materialize and prove must read the same committed state or the proof's own branches disagree; the failure is now server-side only. ChainedProofBundle is gone; the with-proof surfaces return the merged proof bytes. proof_path_queries is the ONE component builder both prover and verifier call, so the merged query is byte-identical on both sides. Co-Authored-By: Claude Fable 5 <[email protected]>
4 of 5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue being fixed or feature implemented
PR addresses next issues:
What was done?
generate()functionHow Has This Been Tested?
Breaking Changes
Checklist:
For repository code-owners and collaborators only