You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, we use a single raw snake_cased_name string as hint it and match this string both in python and in rust. This is limiting to have more generic hints like memory[ap + i] = const where we currently need one hint per i.
Why
Currently, we use a single raw
snake_cased_name
string as hint it and match this string both in python and in rust. This is limiting to have more generic hints likememory[ap + i] = const
where we currently need one hint peri
.What
Make hints parametrized as Cairo 1 hints are, see also https://github.com/starkware-libs/cairo/blob/40a7b60687682238f7f71ef7c59c986cc5733915/crates/cairo-lang-runner/src/casm_run/mod.rs#L1681
How
Consider that the raw string is a json string and not just an idea. serde this string both in python and rust to get the hint implementation.
The text was updated successfully, but these errors were encountered: