Skip to content

feature/implement verkle tree follow commitment scheme interface#84

Open
nguyen-xuan-quoc wants to merge 18 commits intoorochi-network:mainfrom
nguyen-xuan-quoc:feature/commitment_interface_for_verkle_tree
Open

feature/implement verkle tree follow commitment scheme interface#84
nguyen-xuan-quoc wants to merge 18 commits intoorochi-network:mainfrom
nguyen-xuan-quoc:feature/commitment_interface_for_verkle_tree

Conversation

@nguyen-xuan-quoc
Copy link
Copy Markdown
Contributor

@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
Copy Markdown
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