4298efeb23
## Proposed Changes A couple of minor fixes to the testnet scripts. First, `clean.sh` only attempts to remove the directory if it exists. This ensures a good exit code even if the directory is not present. Second, `setup.sh` uses an updated deposit contract address to match that in the generated spec to allow the chain to start.
12 lines
137 B
Bash
Executable File
12 lines
137 B
Bash
Executable File
#!/bin/bash
|
|
|
|
#
|
|
# Deletes all files associated with the local testnet.
|
|
#
|
|
|
|
source ./vars.env
|
|
|
|
if [ -d $DATADIR ]; then
|
|
rm -r $DATADIR
|
|
fi
|