Open ClementWalter opened 1 year ago
Some tests are passing because the post state is the right one, but the Cairo VM reverts. We should assert as well that the Cairo VM exit 0.
The Cairo VM should not revert when used regularly, ie when facing a REVERT opcode (see https://github.com/kkrt-labs/kakarot/issues/766).
We will still have few revert cases (Stack overflow, underflow) that we may want to handle as well (need to check what geth does).
is it still to be done @greged93 ?
@enitrat
Feature Request
Describe the Feature Request
Some tests are passing because the post state is the right one, but the Cairo VM reverts. We should assert as well that the Cairo VM exit 0.
Additional Context
The Cairo VM should not revert when used regularly, ie when facing a REVERT opcode (see https://github.com/kkrt-labs/kakarot/issues/766).
We will still have few revert cases (Stack overflow, underflow) that we may want to handle as well (need to check what geth does).