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

Refactor verify_secure_runner #768

Merged
merged 50 commits into from
Jan 25, 2023
Merged

Refactor verify_secure_runner #768

merged 50 commits into from
Jan 25, 2023

Conversation

fmoletta
Copy link
Contributor

@fmoletta fmoletta commented Jan 23, 2023

  • Refactor verify_secure_runner
  • Simplify CairoRunner::get_segment_info & BuiltinRunner::get_memory_addresses
  • Apply a quickfix for builtin's stop_ptr not being updated when calling BuiltinRunner::final_stack inside CairoRunner::read_return_values (Note: significant refactor needed to fix in a clean way, may affect cairo_rs_py)
  • Add tests for affected methods

TODO in a next PR: integrate verify_secure_runner into cairo_run

CHANGELOG.md Outdated Show resolved Hide resolved
@fmoletta fmoletta changed the title Refactor verfify_secure_runner Refactor verify_secure_runner Jan 24, 2023
CHANGELOG.md Show resolved Hide resolved
src/vm/security.rs Show resolved Hide resolved
src/vm/security.rs Show resolved Hide resolved
src/vm/security.rs Show resolved Hide resolved
Copy link
Contributor

@Jrigada Jrigada left a comment

Choose a reason for hiding this comment

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

Just some small typos! I made the suggestions

CHANGELOG.md Show resolved Hide resolved
src/vm/errors/vm_errors.rs Outdated Show resolved Hide resolved
src/vm/runners/builtin_runner/mod.rs Outdated Show resolved Hide resolved
@fmoletta fmoletta requested a review from Oppen January 25, 2023 13:53
@fmoletta fmoletta merged commit 9d239eb into main Jan 25, 2023
@fmoletta fmoletta deleted the refactor-verify-secure-runner branch January 25, 2023 17:52
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.

4 participants