Commit 26f2a013 authored by Jason Yellick's avatar Jason Yellick

Add cannon-prestate as prereq to devnet-up

The devnet-up ultimately requires the cannont-prestate target to have
already executed, or the script errors out.  Consequently, for someone
checking out the repo if they simply do a:

```
make && make devnet-up
```

Things still fail.  This change simply mirrors a similar check added to
the e2e Makefile.
parent 28be4fa2
......@@ -86,6 +86,9 @@ nuke: clean devnet-clean
.PHONY: nuke
devnet-up:
@if [ ! -e op-program/bin ]; then \
make cannon-prestate; \
fi
$(shell ./ops/scripts/newer-file.sh .devnet/allocs-l1.json ./packages/contracts-bedrock)
if [ $(.SHELLSTATUS) -ne 0 ]; then \
make devnet-allocs; \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment