forked from scroll-tech/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.
Merge upstream u64-overflow PR back to develop (scroll-tech#496)
* Fix to handle successful run with Uint64 overflow in multiple opcodes. * Fix lint. * Fix failed cases. * Fix failed tests. * Try to trigger CI for network failure. * Revert "Try to trigger CI for network failure." This reverts commit c17ba9d. * Fix lint. * Delete `debug_assert!(VALID_BYTES < 32)` in `assign` and `valid_value` function (only leave it in `construct`). * Delete redundant constraint `JUMPI condition must be 0 if destination is Uint64 overflow` in `jumpi`. * Rename `within_range` to `not_overflow`. * Replace `checked_add` and `unwrap` with just adding. * Update some comments to retry CI. --------- Co-authored-by: Zhang Zhuo <[email protected]>
- Loading branch information
1 parent
7e456d0
commit d0cc1e9
Showing
4 changed files
with
37 additions
and
43 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