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: assert value is 0 at the end of load_bytecode #1290

Conversation

obatirou
Copy link
Collaborator

@obatirou obatirou commented Jul 19, 2024

Time spent on this PR:

Pull request type

Please check the type of change your PR introduces:

  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes
  • Other (please describe):

What is the current behavior?

Do not assert the value is 0 at the end of load_bytecode leading to prover being able to

Resolves #1279, resolves #1293

What is the new behavior?

assert value is 0 at the end of load_bytecode


This change is Reviewable

Copy link
Member

@ClementWalter ClementWalter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add missing condition

@obatirou obatirou force-pushed the oba/fix-assert-value-is-0-end-load_bytecode branch from 4921544 to 375b744 Compare July 23, 2024 15:57
tests/utils/hints.py Outdated Show resolved Hide resolved
Co-authored-by: Clément Walter <clement0walter@gmail.com>
@ClementWalter ClementWalter merged commit 29e3930 into kkrt-labs:main Jul 23, 2024
6 checks passed
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.

feat: add a patch_hint test util bug: assert value is 0 at the end of load_bytecode
2 participants