Closed quasilyte closed 8 months ago
This program fails too:
%builtins range_check
from starkware.cairo.common.math import assert_le_felt
func main{range_check_ptr}() {
ret;
}
Error: The stop pointer of the missing builtin "range_check" must be 0.
Reach out to the SW team about this.
Two things are making this code not working as we expected it to work.
ret
is not going to work here: return
must be used instead.From the docs:
The plain layout, which is the default layout, has no builtins.
Just a reminder that this case could be worth investigating.
Our VM executed the given code without an error with and without a proof mode.
cairo-run
doesn't want to execute it in proof mode. It could be either an error on our side, or maybe an implementation issue on cairo0 side; or perhaps the code itself is invalid (it still needs an explanation).Tested on: