optimism icon indicating copy to clipboard operation
optimism copied to clipboard

Implement e2e test infrastructure for running the op-program

Open Inphi opened this issue 1 year ago • 1 comments

It should be feasible to easily run VMs on the op-program (with valid inputs) without instantiating the op-challenger and dispute games.

Inphi avatar Aug 20 '24 15:08 Inphi

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.

ajsutton avatar Aug 21 '24 00:08 ajsutton

Closing as not needed. We have a fully working VM and the vm-runner also makes it easy to run the op-program on real workloads.

Inphi avatar Nov 18 '24 18:11 Inphi