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

multi: concretely define split commitments, add routines to generate+verify them #52

Merged
merged 9 commits into from
Jun 24, 2022

Conversation

Roasbeef
Copy link
Member

@Roasbeef Roasbeef commented Jun 24, 2022

Split off from #27.

Fixes #3


// RootAsset is the asset containing the root of the split commitment
// tree from which the `Proof` above was computed from.
RootAsset Asset
Copy link
Member Author

Choose a reason for hiding this comment

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

Leaving this trail here, but: we could opt to just leave this out of the actual encoding as the proof file and VM context will be able to obtain this information for verification purposes. Leaving it in place for now tho.

wpaulino and others added 9 commits June 23, 2022 18:38
Doesn't seem to be working properly, and we'll also need to manually
handle some files due to an issue in SQL itself.
…tSet

We actually want a real type here: this isn't attempting to be used for refactoring or references some external concrete type.
One other case we need to address is fully spending an input Taro UTXO using the on-chain address flow: in this case the sender no longer has an asset to use to commit to the new split set. They may need to retain a dummy zero value asset split just for that transition, then can drop it later.
@Roasbeef
Copy link
Member Author

Pushed up some commits adding bread crumbs and fixing up some of my comments from the old PR.

@Roasbeef Roasbeef merged commit 9d7234b into main Jun 24, 2022
@guggero guggero deleted the split-commitments branch July 14, 2022 11:12
dstadulis pushed a commit that referenced this pull request May 16, 2023
…handling

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

Successfully merging this pull request may close these issues.

leaves: further specify the split proof format and unroll the split_commitment field?
2 participants