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
which means that the prime from the program's compilation is not used and this particular prime is enforced. This is becoming a strong limitation with the upcoming Stwo prover using M31 as a base field.
What
Use the prime number as given in the compiled program instead of this hard coded one.
Why
Currently, the cairo vm has a hard-coded reference to the current starknet prime number
which means that the prime from the program's compilation is not used and this particular prime is enforced. This is becoming a strong limitation with the upcoming Stwo prover using M31 as a base field.
What
Use the prime number as given in the compiled program instead of this hard coded one.
How
The current prime value is hardcoded in various different places (see https://github.com/search?q=repo:lambdaclass/cairo-vm%20prime&type=code). I'm also not sure about the implication at the core crypto level (lib used, possibility to use native u32 for storing values).
The text was updated successfully, but these errors were encountered: