Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 11 additions & 6 deletions README_ESPRESSO.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`

Expand Down Expand Up @@ -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.
Expand Down
2 changes: 2 additions & 0 deletions espresso/scripts/cleanup.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Run this on `espresso/scripts`
rm -rf ../deployment/*