Open Inphi opened 3 weeks ago
We can do this for op-program
natively already: https://github.com/ethereum-optimism/optimism/blob/b7f818877805b8c89eb27f7480e1b7b817c9f467/op-e2e/system_fpp_test.go#L299
Would need an extra helper to execute cannon since it can't be directly called like op-program can but should be fairly straight forward. Adding some helpers to abstract the test from the details of invoking op-program would make sense too, some of which is basically what the testFaultProofProgramScenario
is trying to do.
It should be feasible to easily run VMs on the op-program (with valid inputs) without instantiating the op-challenger and dispute games.