kkrt-labs/cairo-vm-ts

test: add a program that crashes the runtime

Closed this issue · 1 comments

Add a cairo program that compiles but throws a runtime error to verify that we correctly catch them.

MWE

func main() {
    assert 0 = 1;
}

func main() {
    tempvar x;
    tempvar y:
    assert x = y;
}

Hey @greged93, I would like to work on it