Skip to content
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

Compute stack_len_bounds_aux correctly in generate_exception #1115

Conversation

hratoanina
Copy link
Contributor

@hratoanina hratoanina commented Jul 6, 2023

In generate_exception, after reverting the current row, stack_len_bounds_aux was computed incorrectly. This made the corresponding constraint in stack_bounds.rs fail.

An example is the JUMP_Bounds2 test from the EVM test suite: the state is computed correctly but the proof isn't valid.

@nbgl
Copy link
Contributor

nbgl commented Jul 8, 2023

Thank you for this!! Closing in favor of #1119, which has a minor change.

@nbgl nbgl closed this Jul 8, 2023
nbgl added a commit that referenced this pull request Jul 10, 2023
…k_len_bounds_aux_error

Fix `generate_exception` (#1115 replacement)
@Nashtare Nashtare deleted the stack_len_bounds_aux_error branch October 9, 2023 21:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants