Skip to content

Commit

Permalink
remove silly mistakes
Browse files Browse the repository at this point in the history
  • Loading branch information
rahul-kothari committed Oct 13, 2023
1 parent 9a86073 commit b311b0b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions yarn-project/aztec-sandbox/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,11 @@ version: '3'
services:
ethereum:
image: ghcr.io/foundry-rs/foundry@sha256:29ba6e34379e79c342ec02d437beb7929c9e254261e8032b17e187be71a2609f
command: '"anvil --silent -p 8545 --host 0.0.0.0 --chain-id 31337"'
command: >
sh -c '
if [ -n "$FORK_BLOCK_NUMBER" ] && [ -n "$FORK_URL" ]; then
exec anvil -p 8545 --host 0.0.0.0 --chain-id 31337 --fork-url "$FORK_URL" --fork-block-number "$FORK_BLOCK_NUMBER"
elif [ -n "$FORK_BLOCK_NUMBER" ]; then
elif [ -n "$FORK_URL" ]; then
exec anvil -p 8545 --host 0.0.0.0 --chain-id 31337 --fork-url "$FORK_URL"
else
exec anvil -p 8545 --host 0.0.0.0 --chain-id 31337
Expand Down

0 comments on commit b311b0b

Please sign in to comment.