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

[Interop] Lock Commitment #710

Open
Therecanbeonlyone1969 opened this issue Jul 14, 2023 · 1 comment
Open

[Interop] Lock Commitment #710

Therecanbeonlyone1969 opened this issue Jul 14, 2023 · 1 comment
Assignees

Comments

@Therecanbeonlyone1969
Copy link
Collaborator

We need to finalize a decision on Lock Commitment for the BPI State Object the Interop Worksteps are working on:

Suggestion:

Use Sparse Merkle Tree (SMT) since this allows proof-of-non-membership of the hash of the BPI State Object.

That then needs a separate Smart Contract to

  • store the Merkle Proof & verify it
  • verification function that proof is correct (proof has to be verified onchain only once, and then we just need a mapping that says that the proof for this commitment was verified
  • Store function only for owning BPI
  • Verification function open to public
@Therecanbeonlyone1969
Copy link
Collaborator Author

Therecanbeonlyone1969 commented Jul 21, 2023

Interop WG Meeting 7/21 agrees to use SMTs for lock commitments. @Therecanbeonlyone1969 to write the contract and PR it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant