Skip to content

Commit

Permalink
chore: shell if style
Browse files Browse the repository at this point in the history
  • Loading branch information
minhd-vu committed Oct 25, 2024
1 parent 4a80813 commit 7b14837
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/contract-deploy/run-l2-contract-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ cast send \
"$deployer_address" \
"$salt$bytecode"
l1_actual=$(cast call --rpc-url "{{.l1_rpc_url}}" "$contract_address" "$contract_method_signature")
if [ "$expected" != "$l1_actual" ]; then
if [[ "$expected" != "$l1_actual" ]]; then
echo_ts "Failed to deploy deterministic deployment proxy on l1 (expected: $expected, actual $l1_actual)"
exit 1
fi
Expand Down

0 comments on commit 7b14837

Please sign in to comment.