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

Fix jump_to #453

Merged
merged 2 commits into from
Jul 29, 2024
Merged

Fix jump_to #453

merged 2 commits into from
Jul 29, 2024

Conversation

LindaGuiga
Copy link
Contributor

@LindaGuiga LindaGuiga commented Jul 29, 2024

stack_peek throws an exception if the stack is too small. But we also use stack_peek for debugging purposes, which might throw unwanted exceptions. This PR fixes this by ensuring the stack is not empty before carrying out the debugging operations.

@LindaGuiga LindaGuiga added the bug Something isn't working label Jul 29, 2024
@github-actions github-actions bot added the crate: evm_arithmetization Anything related to the evm_arithmetization crate. label Jul 29, 2024
evm_arithmetization/src/generation/state.rs Outdated Show resolved Hide resolved
@Nashtare Nashtare enabled auto-merge (squash) July 29, 2024 19:44
@Nashtare Nashtare merged commit 8f5c343 into develop Jul 29, 2024
15 checks passed
@Nashtare Nashtare deleted the fix-jump-to branch July 29, 2024 19:59
Nashtare pushed a commit that referenced this pull request Aug 1, 2024
* Fix jump_to

* Apply comments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working crate: evm_arithmetization Anything related to the evm_arithmetization crate.
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants