-
Notifications
You must be signed in to change notification settings - Fork 295
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
feat(avm): kernel output opcodes #6416
Merged
Merged
Changes from all commits
Commits
Show all changes
80 commits
Select commit
Hold shift + click to select a range
8853132
avm_logderivative
Maddiaa0 abc3cba
temp: chall line up
Maddiaa0 8b88dcd
fix: degree too low for lookup relations
Maddiaa0 c8d9601
chore: rename validate trace proof to check circuit, make another met…
Maddiaa0 c695905
chore: remove dangling code
Maddiaa0 40eeb8f
Merge branch 'master' into md/04-03-avm_logderivative
Maddiaa0 619175b
chore: further cleanup
Maddiaa0 65c3159
chore: from powdr codegen
Maddiaa0 61d10f6
temp
Maddiaa0 7e84550
feat: bb support for public input columns
Maddiaa0 c054aca
Merge branch 'master' into md/04-11-feat_bb_support_for_public_input_…
Maddiaa0 f38773f
merge fixy
Maddiaa0 a4262dc
chore: test structure
Maddiaa0 cf4bb86
🧹
Maddiaa0 12a9789
use pilgen
Maddiaa0 14d15cc
Merge branch 'master' into md/04-11-feat_bb_support_for_public_input_…
Maddiaa0 b0f8041
feat: example caller and address opcode
Maddiaa0 d5813a2
feat: generalise builder, move after review
Maddiaa0 6265c61
Merge branch 'master' into md/04-12-feat_example_caller_and_address_o…
Maddiaa0 59b221c
fix: add tests for all call context opcodes
Maddiaa0 b613cf5
Merge branch 'master' into md/04-11-feat_bb_support_for_public_input_…
Maddiaa0 81a2500
Merge branch 'md/04-11-feat_bb_support_for_public_input_columns' into…
Maddiaa0 c934c61
chore: update pil comments
Maddiaa0 a8ceaf8
fix: remove redundant comment
Maddiaa0 af343db
fix: some negative tests
Maddiaa0 9388ecc
temp
Maddiaa0 9e7aad0
Merge branch 'master' into md/04-12-feat_example_caller_and_address_o…
Maddiaa0 859a3df
chore: remove l1 gas - no longer exists
Maddiaa0 b4a47b3
chore: rearrange where relations live, based on review
Maddiaa0 79cf849
Merge branch 'master' into md/04-11-feat_bb_support_for_public_input_…
Maddiaa0 faac5b1
chore: update codegen
Maddiaa0 7e70e7d
Merge branch 'md/04-11-feat_bb_support_for_public_input_columns' into…
Maddiaa0 4bb42b8
feat: add cpp constants gen to calculate kernel offsets
Maddiaa0 bccfd67
feat: add global variable opcodes
Maddiaa0 2a74110
fix: transaction fee selector test
Maddiaa0 1285ccf
fix: update tags to line up with kernel
Maddiaa0 60836ca
Merge branch 'master' into md/04-12-feat_example_caller_and_address_o…
Maddiaa0 e2bcca8
feat: parallelise check circuit relations
Maddiaa0 7bff191
fix: forge fmt after constant gen
Maddiaa0 115f17c
fix: no futures for wasm builds
Maddiaa0 de663f1
feat: fix segfaults in parallel circuit checking
Maddiaa0 c910000
fix: missed log
Maddiaa0 fd728c7
fix: incorrect kernel tests
Maddiaa0 66f958e
Merge branch 'master' into md/04-11-feat_bb_support_for_public_input_…
Maddiaa0 ecdf742
🧹
Maddiaa0 3f31357
Merge branch 'md/04-11-feat_bb_support_for_public_input_columns' into…
Maddiaa0 d6aeda8
feat: use codegen, vector public inputs - pubs now misaligned
Maddiaa0 ea48aca
fix: update codegen
Maddiaa0 e1e2cb8
fix: remove legacy codegen files
Maddiaa0 3be1242
Merge branch 'master' into md/04-12-feat_example_caller_and_address_o…
Maddiaa0 bee84aa
fix: relation tags + removal of function opcode
Maddiaa0 449f3da
fmt fix
Maddiaa0 a6470d7
kernel_outputs
Maddiaa0 94269ae
feat: codegen cols
Maddiaa0 3d6633b
feat: first implementation of emit note hash
Maddiaa0 25e31bd
feat: add emit nullfier, l2 to l1 msg, unencrypted log
Maddiaa0 963dbf6
fix: mixup of emit l2 to l1 msg, l1 to l2 exists
Maddiaa0 d465a04
Merge branch 'master' into md/05-10-kernel_outputs
Maddiaa0 c45c666
feat: sload and sstore
Maddiaa0 036910e
merge master
Maddiaa0 9774d95
Merge branch 'master' into md/05-10-kernel_outputs
Maddiaa0 c1c4f21
fix: alter exists opcodes to all use fields
Maddiaa0 c88d5ef
fix: different in and out tags for exists opcodes
Maddiaa0 c5847b2
feat: use pil generated public input columns
Maddiaa0 70a6e86
Merge branch 'master' into md/05-10-kernel_outputs
Maddiaa0 f8e8349
fix: dirty merge
Maddiaa0 289c302
fix: annotate todos
Maddiaa0 17640ef
Merge branch 'master' into md/05-10-kernel_outputs
Maddiaa0 7e120ad
fix: incorrect offset in emitNoteHash test
Maddiaa0 0dc2c58
Merge branch 'master' into md/05-10-kernel_outputs
Maddiaa0 6b2bfd6
fix: review
Maddiaa0 3e85832
Merge branch 'master' into md/05-10-kernel_outputs
Maddiaa0 1922ccb
fix: add more constants to constant gen
Maddiaa0 9dca2e2
fix: add call_ptrs
Maddiaa0 f9cf428
fmt
Maddiaa0 cb1f006
Merge branch 'master' into md/05-10-kernel_outputs
Maddiaa0 1bdb64f
fix: share public inputs construction in executor
Maddiaa0 17c216b
fix: typo
Maddiaa0 c714d7f
Merge branch 'master' into md/05-10-kernel_outputs
Maddiaa0 b95b838
Merge branch 'master' into md/05-10-kernel_outputs
Maddiaa0 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 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 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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this crucial to start at zero? (Probably, otherwise a malicious prover might choose a huge value and then you get overflow/wraparound. Not sure about what the kernel is expecting.)
If yes, then we should have a constraint to enforce the initial value to be zero. (maybe sthg like: first * avm_kernel.side_effect_counter =0 )
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Side effect counter will be required to be constrained to the value of the start_side_effect_counter in the public inputs - this can be done with a copy constraint or via a lookup