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

feat: extensive hint init #62

Merged
merged 16 commits into from
Jan 4, 2024
Merged

feat: extensive hint init #62

merged 16 commits into from
Jan 4, 2024

Conversation

drspacemn
Copy link
Contributor

@drspacemn drspacemn commented Jan 2, 2024

Issue Number: #58

Type

  • feature
  • bugfix
  • dev (no functional changes, no API changes)
  • fmt (formatting, renaming)
  • build
  • docs
  • testing

Description

Allow for extensive hints in our hint processor by implementing the VM trait.

/// Hint Extensions extend the current map of hints used by the VM.
/// This behaviour achieves what the `vm_load_data` primitive does for cairo-lang
/// and is needed to implement os hints like `vm_load_program`.

Breaking changes?

  • yes
  • no

@drspacemn drspacemn force-pushed the feat/extensive_hint_init branch from bf00238 to a9e86e4 Compare January 2, 2024 23:51
src/hints/mod.rs Outdated Show resolved Hide resolved
src/hints/mod.rs Outdated Show resolved Hide resolved
src/hints/block_context.rs Outdated Show resolved Hide resolved
src/hints/block_context.rs Outdated Show resolved Hide resolved
@drspacemn drspacemn merged commit 8479c52 into main Jan 4, 2024
4 checks passed
@drspacemn drspacemn deleted the feat/extensive_hint_init branch January 4, 2024 15:12
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.

3 participants