Commit 6084ed30 authored by Matt Solomon's avatar Matt Solomon

chore: additional lint fixes suggested by code review

parent f2a1266e
......@@ -32,7 +32,7 @@ cleanup(){
--datadir "${DATADIR}" \
--game-factory-address "$DISPUTE_GAME_PROXY" \
--game-allowlist "$FAULT_GAME_ADDRESS" \
--private-key $CHARLIE_KEY \
--private-key "$CHARLIE_KEY" \
--num-confirmations 1 \
--metrics.enabled --metrics.port=7304 \
--pprof.enabled --pprof.port=6064 \
......
......@@ -45,10 +45,10 @@ echo " - Balance: $(cast balance 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266)"
echo "----------------------------------------------------------------"
echo "Funding Charlie"
cast send $CHARLIE_ADDRESS --value 5ether --private-key $DEVNET_SPONSOR
cast send "$CHARLIE_ADDRESS" --value 5ether --private-key "$DEVNET_SPONSOR"
echo "Funding Mallory"
cast send $MALLORY_ADDRESS --value 5ether --private-key $DEVNET_SPONSOR
cast send "$MALLORY_ADDRESS" --value 5ether --private-key "$DEVNET_SPONSOR"
# Loop and wait until there are at least 2 outputs in the l2 output oracle
echo "Waiting until 2 output proposals are in the l2 output oracle..."
......
......@@ -32,7 +32,7 @@ cleanup(){
--datadir "${DATADIR}" \
--game-factory-address "$DISPUTE_GAME_PROXY" \
--game-allowlist "$FAULT_GAME_ADDRESS" \
--private-key $MALLORY_KEY \
--private-key "$MALLORY_KEY" \
--num-confirmations 1 \
--metrics.enabled --metrics.port=7305 \
--pprof.enabled --pprof.port=6065 \
......
......@@ -5,7 +5,7 @@ set -euo pipefail
RPC="${1:?Must specify RPC address}"
FAULT_GAME_ADDRESS="${2:?Must specify game address}"
DIR=$(cd $(dirname "${BASH_SOURCE[0]}") && pwd)
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
DIR=$(echo "${DIR%/*/*}")
cd "$DIR"/packages/contracts-bedrock
......@@ -13,4 +13,4 @@ forge script scripts/FaultDisputeGameViz.s.sol \
--sig "remote(address)" "$FAULT_GAME_ADDRESS" \
--fork-url "$RPC"
mv dispute_game.svg "$dir"
mv dispute_game.svg "$DIR"
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