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

feature/implement verkle tree follow commitment scheme interface #84

Open
wants to merge 18 commits into
base: main
Choose a base branch
from

Conversation

nguyen-xuan-quoc
Copy link
Collaborator

@nguyen-xuan-quoc nguyen-xuan-quoc commented Sep 10, 2024

  • Add VerkleTreeVerifier
  • Implement commitment scheme interface for verkle tree
  • Modify original commit function to return (commitment_list, proof, root)

@nguyen-xuan-quoc nguyen-xuan-quoc marked this pull request as ready for review September 10, 2024 10:50
@nguyen-xuan-quoc nguyen-xuan-quoc marked this pull request as draft September 10, 2024 10:51
@nguyen-xuan-quoc nguyen-xuan-quoc changed the title draft of commitment scheme interface for verkle tree feature/implement verkle tree follow commitment scheme interface Sep 20, 2024
let (circuit, root) = create_verkle_tree_proof(leaf, indices);

let k = 10;
let params: ParamsKZG<Bn256> = ParamsKZG::<Bn256>::setup(k, OsRng);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is it possible to put this params initialization inside the prover init? (VerkleTreeProver::new(...))

@NOOMA-42 NOOMA-42 marked this pull request as ready for review October 3, 2024 08:40
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 this pull request may close these issues.

2 participants