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: remove duplicate function get_val #1800

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

zmalatrax
Copy link

@zmalatrax zmalatrax commented Jul 1, 2024

Remove duplicate function get_val from Cairo1HintProcessor

Description

The function get_val is a duplicate of res_operand_get_val, both only used in the Cairo1HintProcessor to fetch values from hint parameters. get_val is only used in the hints u256_inv_mod_n and uint256_div_mod and should be replaced by res_operand_get_val.

@zmalatrax zmalatrax force-pushed the refactor/remove-duplicate-fn-get_val branch from 57b4822 to 0ec47da Compare July 30, 2024 08:20
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