NEWTON

NEWTON


Popular tags

    Expect function call to fail in cairo?

    Asked

    4 months ago

    4

    views


    0

    Is there a way to call another function or contract and 'expect it to fail' without failing the whole transaction?

    This question was originally posted on Triality

      cairostarknet

    1 answers

    0

    No, currently the prover can't prove programs that fail. That is why Cairo can't have try/catch, for example.

    This answer was originally posted on Triality

    answered

    4 months ago

    Your answer

    NEWTON

    NEWTON