-
Notifications
You must be signed in to change notification settings - Fork 381
fix(brillig_vm): Remove slice padding for foreign call inputs #9321
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
Merged
Merged
Changes from all commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
c340cb2
Add comments
aakoshh 36066ed
Add integration test
aakoshh 0167a64
Special flattening and parsing to handle slices
aakoshh f8c364a
Add insta
aakoshh 678f686
Multi-dimensional arrays are flattened
aakoshh 245d134
Try prefixing just slices
aakoshh e92e552
Length can be zero
aakoshh 7cba8ac
Track number of consumed fields
aakoshh f7a7729
Merge branch 'af/9271-fix-print-slice' into af/9271-fix-print-slice-alt
aakoshh a40400a
Clippy
aakoshh 7654e4a
Merge branch 'af/9271-fix-print-slice' into af/9271-fix-print-slice-alt
aakoshh 3807428
Only the top array needs to be length encoded
aakoshh 24e446d
Merge branch 'af/9271-fix-print-slice' into af/9271-fix-print-slice-alt
aakoshh 86ec160
Figure out the number of items to consume by looking at the capacity
aakoshh e456a5d
Add example to integration test
aakoshh b8f4f07
In this version we prefix with the field count, not the capacity
aakoshh 4ba85f2
Update integration test
aakoshh 7eaa64c
Merge branch 'af/9271-fix-print-slice' into af/9271-fix-print-slice-alt
aakoshh e551e90
Update unit tests
aakoshh d88542d
Merge branch 'master' into af/9271-fix-print-slice
aakoshh a0bcea7
Merge branch 'af/9271-fix-print-slice' into af/9271-fix-print-slice-alt
aakoshh 2c4dfd3
Slice, Array and String are just 1 wide
aakoshh c176866
remove slice padding in the brillig vm instead of changing the encodi…
vezenovm 216acae
fmt
vezenovm 4ea6a3e
remove type width test
vezenovm 407f7c8
Roll back unit test changes
aakoshh b43f943
Implement the truncation in read_slice_of_values_from_memory as well
aakoshh bd3215f
Implement the truncation in the interpreter
aakoshh c41c828
Add comment about expected output to the integration test
aakoshh 5a3f08f
Clippy
aakoshh eb547e1
Fix comments
aakoshh 78e0665
Merge remote-tracking branch 'origin/master' into mv/remove-padding-i…
aakoshh bef54a0
Update insta
aakoshh bcd9ef1
Simplify comparison_field to finish faster
aakoshh a51916d
Update insta
aakoshh 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
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.