diff --git a/README_ESPRESSO.md b/README_ESPRESSO.md index 5ecf2bbc56f..5c5003ad574 100644 --- a/README_ESPRESSO.md +++ b/README_ESPRESSO.md @@ -353,6 +353,17 @@ docker compose down -v docker volume prune -a ``` +* If encountering an issue related to outdated deployment files, remove those files before +restarting. + * Go to the scripts directory. + ```console + cd espresso/scripts + ``` + * Run the script. + ```console + ./cleanup.sh + ``` + * If you have changed OP contracts, you will have to start the devnet fresh and re-generate the genesis allocations by running `prepare-allocs.sh` @@ -447,12 +458,6 @@ OP_RPC_CAFF=http://caff.example.com:4545 \ ```console cd espresso/scripts ``` -* Allow access to scripts. -```console -chmod +x startup.sh -chmod +x logs.sh -chmod +x shutdown.sh -``` ### Prebuild Everything and Start All Services Note that `l2-genesis` is expected to take around 2 minutes. diff --git a/espresso/scripts/cleanup.sh b/espresso/scripts/cleanup.sh new file mode 100755 index 00000000000..c8e1deb2a11 --- /dev/null +++ b/espresso/scripts/cleanup.sh @@ -0,0 +1,2 @@ +# Run this on `espresso/scripts` +rm -rf ../deployment/*