-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make
Rollbackable
fields private (#209)
* Derive partial-eq for VmState * Add initial gas param for VmState new * Update era-compiler-tester branch * fix test bytecode_publishing * Store changes for get_used_contracts tests * adapt to zksync-era tests * Remove hash_map from Storage trait * Fix increment_tx_number not cleaning transient_storage * Fix decommit opcode Fixes decommit opcode, which was not account for if the code had already been decommitted * Various far_call fixes Adds mandated gass, handles decommit cost err, and fixes the params of mimic call * Add stipend param to frame and decrease it in panics and reverts * Add no refund storage_read for far_call decommit_code_hash * Remove rollbacks from main context * Reimplement vec snapshots * Add external snapshot(whole vm) * Add storage cache and util functio to get storage changes from initial * Refactor state pub fields * Add new function to get storage changes from snapshot or initial * Update zksync-era submodule * Update era-compiler-tester submodule * Address clippy warnings * More clippy warnings * Update zksync-era submodule * ci: add submodule step for era * initial commit * Address review comments * Add cache to storage_read * Update zksync-era submodule * Add full tracers implementation * Refactor how the vm handles tracers * Update era-compiler-tester submodule * Update zksync-era submodule * Address clippy warnings * Add default function in Tracer trait * Address clippy warnings * Address review comments * Add docs to state * Address review comments * Remove optional from run with tracers * Update era-compiler-tester submodule * Update era-compiler-tester submodule * Address clippy warnings * Fix storage_read * update zksync era submodule * Implement statistics (#213) * Add vm statistics * Add tracking of precompiles cycles * Add storage and decommit cycles * Make opcode variant pub * Add cycles counter * Update zksync-era submodule * Address clippy warnings * Update era-compiler-tester submodule * Update zksync-era submodule * Fix initial value read in storage_changes * Expose opcode variants * Update zksync-era submodule * Address review comments * Update zksync-era submodule * Move storage param to vm run * Update zksync era submodule * Update compiler tester submodule * Lint * Remove print * Update zksync era submodule * Add heap size optimization * Update submodules * Address comments * Lint * Update submodule --------- Co-authored-by: Marcos Nicolau <[email protected]> Co-authored-by: Fran <[email protected]> Co-authored-by: Marcos Nicolau <[email protected]> Co-authored-by: Gianbelinche <[email protected]>
- Loading branch information
1 parent
e2c56ac
commit ddf0794
Showing
3 changed files
with
104 additions
and
56 deletions.
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