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

pallet-murmur: implement update wallet logic #15

Open
juangirini opened this issue Sep 17, 2024 · 2 comments · May be fixed by #22
Open

pallet-murmur: implement update wallet logic #15

juangirini opened this issue Sep 17, 2024 · 2 comments · May be fixed by #22
Assignees

Comments

@juangirini
Copy link
Contributor

No description provided.

@juangirini juangirini converted this from a draft issue Sep 17, 2024
@juangirini juangirini assigned juangirini and unassigned driemworks Sep 17, 2024
@driemworks
Copy link
Contributor

The 'update' extrinsic is basically a wrapper around the 'create' extrinsic. It is intended to allow for the data encoded on 'create' to be update. This is done by providing a zkp (a DLEQ proof) to the chain that prove you know the seed used to generate the MMR. Technically it doesn't need to be the seed, it's really just proving that you know some secret piece of information that the person who created the wallet also knew. Thus, this requires a new extrinsic that:

  • takes in a dleq proof bytes + merkle root + proxy name + mmr size
  • first verifies the dleq proof
  • then update the storage entry (mapping to by proxy name) with the new root and mmr size

@driemworks
Copy link
Contributor

This goes together with #31

@juangirini juangirini assigned driemworks and unassigned juangirini Oct 30, 2024
@juangirini juangirini linked a pull request Oct 30, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Review
Development

Successfully merging a pull request may close this issue.

2 participants