-
Notifications
You must be signed in to change notification settings - Fork 133
feat: implement setting multiple note attachments #2795
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
Open
PhilippGackstatter
wants to merge
58
commits into
next
Choose a base branch
from
pgackst-multiple-note-attachments
base: next
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
58 commits
Select commit
Hold shift + click to select a range
33c13ef
feat: Prepare note structs for multiple note attachments
PhilippGackstatter b114c18
chore: update block and batch note trees
PhilippGackstatter 4b42abc
feat: extend private note header with attachments and rename
PhilippGackstatter deaff66
chore: update note kernel memory layout
PhilippGackstatter ed01038
feat: update set_attachment kernel proc to add_attachment
PhilippGackstatter 59020c6
chore: update miden::protocol attachment handlers
PhilippGackstatter d378e13
chore: introduce dedicated attachment error variants
PhilippGackstatter 5d8a4ea
feat: update standards types for multiple attachments
PhilippGackstatter bba9952
feat: update tx host attachment handler for multiples
PhilippGackstatter 5147042
chore: update agglayer code for multiple attachments
PhilippGackstatter 52f8b96
chore: update tests for multiple attachments
PhilippGackstatter d209a77
chore: rename word_size to num_words
PhilippGackstatter 69a3654
chore: refactor array attachment to contain Vec<Word>
PhilippGackstatter 4fd0a6e
chore: move MAX_NUM_WORDS from header to NoteAttachment
PhilippGackstatter cd1389a
feat: define attachments commitment over attachment commitments
PhilippGackstatter 9260d37
chore: rename input note memory attachments comm offset
PhilippGackstatter 60f3bfa
fix: num words extraction from metadata header
PhilippGackstatter 1b66078
feat: always hash attachments
PhilippGackstatter 002a4d4
fix: broken doc links
PhilippGackstatter f0eccbc
chore: add changelog
PhilippGackstatter e1fdeb5
chore: update PSWAP note with multiple attachments
PhilippGackstatter 4e0495f
fix: default to empty attachments in pswap conversion
PhilippGackstatter afcc87d
Merge remote-tracking branch 'origin/next' into pgackst-multiple-note…
PhilippGackstatter 9a347ac
fix: post-merge NoteAttachment -> NoteAttachments
PhilippGackstatter 34367bc
Merge remote-tracking branch 'origin/next' into pgackst-multiple-note…
PhilippGackstatter 3887e3d
chore: remove num_words encoding from kernel MASM
PhilippGackstatter 4d0aba0
chore: drop num words from note attachment header
PhilippGackstatter c175c69
chore: MAX_ATTACHMENT_WORD_SIZE -> MAX_ATTACHMENT_WORDS
PhilippGackstatter b4a5af7
chore: use ATTACHMENT_COMMITMENT over just ATTACHMENT
PhilippGackstatter 1f64760
chore: remove unused code
PhilippGackstatter 84cfd6a
fix: typo in output note memory layout
PhilippGackstatter 30901e1
chore: update `Note` docs
PhilippGackstatter f7c4db2
Merge remote-tracking branch 'origin/next' into pgackst-multiple-note…
PhilippGackstatter bbf00b8
chore: validate attachment scheme is not 0
PhilippGackstatter 146e9fe
Merge remote-tracking branch 'origin/next' into pgackst-multiple-note…
PhilippGackstatter 6fa4468
fix: assert scheme is _not_ zero
PhilippGackstatter 9e15c89
chore: add tests for scheme = 0 and invalid num elements
PhilippGackstatter c0a3a41
chore: increase max words per attachment to 256
PhilippGackstatter 30a774d
Merge remote-tracking branch 'origin/next' into pgackst-multiple-note…
PhilippGackstatter fdb0d62
fix: typo in test name
PhilippGackstatter b493c55
chore: serialize num words in attachment as u8
PhilippGackstatter 192c15f
chore: improve docs on Note and NoteAttachmentHeader
PhilippGackstatter e7a51ad
chore: add docs around validation on attachment scheme
PhilippGackstatter 2950f7c
chore: improve name of attachments_to_commitment_elements
PhilippGackstatter b188402
Merge remote-tracking branch 'origin/next' into pgackst-multiple-note…
PhilippGackstatter 1230499
fix: typo in scheme docs
PhilippGackstatter 767b85c
Merge remote-tracking branch 'origin/next' into pgackst-multiple-note…
PhilippGackstatter 2124cc9
chore: add ATTACHMENT_SCHEME_NONE constant
PhilippGackstatter 0689724
fix: remove outdated num_words reference
PhilippGackstatter 4be6b5e
fix: update num words from 254 to 256
PhilippGackstatter 90514d1
chore: validate all attachments conditions in note builder
PhilippGackstatter 7b4bad7
Merge remote-tracking branch 'origin/next' into pgackst-multiple-note…
PhilippGackstatter 039cf03
Merge remote-tracking branch 'origin/next' into pgackst-multiple-note…
PhilippGackstatter c9fbf93
Update crates/miden-protocol/asm/kernels/transaction/lib/output_note.…
PhilippGackstatter 982e57e
chore: remove cached commitment from note attachments
PhilippGackstatter de35595
chore: add `NoteAttachments::find`
PhilippGackstatter 83f4b4b
Merge remote-tracking branch 'origin/next' into pgackst-multiple-note…
PhilippGackstatter 151ad51
fix: clippy lint
PhilippGackstatter File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.