ziggy-starkdust icon indicating copy to clipboard operation
ziggy-starkdust copied to clipboard

feat: implement `fromReference` method for `HintReference`

Open tcoratger opened this issue 1 year ago • 1 comments

In order to transform a Reference instance into a HintReference instance:

  • Reference structure https://github.com/keep-starknet-strange/ziggy-starkdust/blob/9cf73c8ae676ee7864fd66d76d5934c7470a0c48/src/vm/types/programjson.zig#L185-L192

  • HintReference structure https://github.com/keep-starknet-strange/ziggy-starkdust/blob/9cf73c8ae676ee7864fd66d76d5934c7470a0c48/src/hint_processor/hint_processor_def.zig#L13-L61

we need a fromReference method similar to:

https://github.com/lambdaclass/cairo-vm/blob/8a2ef24c1ca258f1d1d230cbbd1478cd1d4cf9db/vm/src/hint_processor/hint_processor_definition.rs#L133-L153

tcoratger avatar Dec 23 '23 20:12 tcoratger

There hasn't been any activity on this issue recently, and in order to prioritize active issues, it will be marked as stale. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a 👍 Because this issue is marked as stale, it will be closed and locked in 7 days if no further activity occurs. Thank you for your contributions!

github-actions[bot] avatar Jan 26 '24 00:01 github-actions[bot]