fix
This commit is contained in:
@@ -2,12 +2,11 @@
|
||||
|
||||
set -e # Exit on failure
|
||||
|
||||
apt-get update && apt-get install -y curl
|
||||
|
||||
echo "MONIKER: $MONIKER"
|
||||
|
||||
# this goes first because it won't overwrite shit
|
||||
/usr/bin/beacond init ${MONIKER} --chain-id bepolia-beacon-80069 --consensus-key-algo bls12_381 --home /root/.beacond/
|
||||
if /usr/bin/beacond init ${MONIKER} --chain-id bepolia-beacon-80069 --consensus-key-algo bls12_381 --home /root/.beacond/; then
|
||||
apt-get update && apt-get install -y curl
|
||||
|
||||
# Define variables
|
||||
CONFIG_DIR="/root/.beacond/config"
|
||||
@@ -40,6 +39,9 @@ fi
|
||||
if [ -f "$CONFIG_DIR/app.toml" ]; then
|
||||
sed -i "s|^rpc-dial-url = \".*\"|rpc-dial-url = \"http://berachain-bepolia:8551\"|" "$CONFIG_DIR/app.toml"
|
||||
fi
|
||||
else
|
||||
echo "Already initialized, continuing!" >&2
|
||||
fi
|
||||
|
||||
# Execute beacond
|
||||
exec /usr/bin/beacond start --beacon-kit.kzg.trusted-setup-path /root/.beacond/config/kzg-trusted-setup.json --minimum-gas-prices 0atom "$@"
|
||||
|
||||
Reference in New Issue
Block a user