-
Notifications
You must be signed in to change notification settings - Fork 3
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
Zksync era integration tests #208
Merged
Merged
Changes from 22 commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
c862649
adapt to zksync-era tests
juan518munoz bbac76d
Remove hash_map from Storage trait
MarcosNicolau 5ca9edf
Fix increment_tx_number not cleaning transient_storage
MarcosNicolau 01c6eb6
Fix decommit opcode
MarcosNicolau be5024f
Various far_call fixes
MarcosNicolau cdfcd92
Add stipend param to frame and decrease it in panics and reverts
MarcosNicolau 5be7e35
Add no refund storage_read for far_call decommit_code_hash
MarcosNicolau 29c184a
Remove rollbacks from main context
MarcosNicolau 679d38d
Reimplement vec snapshots
MarcosNicolau 1c9a4b2
Add external snapshot(whole vm)
MarcosNicolau f6f2829
Add storage cache and util functio to get storage changes from initial
MarcosNicolau 8747004
Refactor state pub fields
MarcosNicolau 2a28162
Add new function to get storage changes from snapshot or initial
MarcosNicolau 6509f4a
Merge branch 'main' into zksync-era-integration-tests
MarcosNicolau 41db1b5
Update zksync-era submodule
MarcosNicolau fe7a666
Update era-compiler-tester submodule
MarcosNicolau 18c5199
Address clippy warnings
MarcosNicolau 897eb16
More clippy warnings
MarcosNicolau 4efc066
Update zksync-era submodule
MarcosNicolau b512b31
ci: add submodule step for era
fkrause98 a5700ea
Address review comments
MarcosNicolau c30ea73
Add cache to storage_read
MarcosNicolau cd451dd
Update zksync-era submodule
MarcosNicolau ee97d09
Address review comments
MarcosNicolau 5baf370
Add docs to state
MarcosNicolau aea62fe
Fix storage_read
MarcosNicolau e6b1c19
Merge remote-tracking branch 'origin' into zksync-era-integration-tests
MarcosNicolau 4730ef4
Fix initial value read in storage_changes
MarcosNicolau 807648a
Merge branch 'main' into zksync-era-integration-tests
MarcosNicolau afeefee
Update era-compiler-tester submodule
MarcosNicolau 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
Submodule era-compiler-tester
updated
1 files
+33 −30 | compiler_tester/src/vm/eravm/lambda_vm_adapter.rs |
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
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
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.
If you extract the program, then the
ExecutionSnapshot
becomes just a clone of this. Maybe we could move the program out and turnExecutionSnapshot
in a simple wrapper?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.
Yes I thought of that as well, but I didn't want to change the vm initial struct tbh. If you consider this change to be worth it, I'll go ahead and make the appropriate changes. I would prefer to leave it for a later general code refactor thou, but you call the shots!! 😉.