forked from privacy-scaling-explorations/zkevm-circuits
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove code duplication between returndatacopy and others (privacy-sc…
…aling-explorations#1340) ### Description Remove code duplication between returndatacopy and others as they use similar test codes to construct bytecode for testing. ### Issue Link privacy-scaling-explorations#1324 ### Type of change - [x] Refactor code ### Contents Remove code duplication in unit tests between returndatacopy, balance, calldataload and others. The unit tests should behave the same. ### Rationale It's easier to manage the mock bytecode when we move similar code into one place. ### How Has This Been Tested? Use the command `make test` to run unit tests <hr> --------- Co-authored-by: Brecht Devos <[email protected]>
- Loading branch information
Showing
23 changed files
with
380 additions
and
471 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
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.