EYBlockchain / nightfall_3

a mono-repo containing an optimistic version of nightfall
Creative Commons Zero v1.0 Universal
260 stars 57 forks source link

start-apps script can now select apps to start #1432

Open Westlad opened 1 year ago

Westlad commented 1 year ago

What does this implement/fix? Explain your changes.

The start-apps script previously ran up both the Proposer and Challenger apps. This is a little inflexible. One may wish just to run a Challenger for example. This change adds flexibility to the script to select which containers to start, either on the command line or via and environment variable.

This PR also contains a new environment file, suitable for running a challenger on Mumbai. It's not really connected to this R but too small a change (and purely additive) to be worth a separate PR.

Does this close any currently open issues?

No

What commands can I run to test the change?

You can use the script to start apps, do bin/start-apps -h for info. You don't need anything else running to see the containers start, although they will fail when they look for an optimist but the script has done it's work by then.