Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
0xDEnYO committed Oct 9, 2024
1 parent fc05e66 commit 670e46c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions script/utils/diamondEMERGENCYPauseGitHub.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ function handleNetwork() {
# check if the diamond is already paused by calling owner() function and analyzing the response
echo "[network: $NETWORK] Checking if diamond is already paused."
local RESPONSE=$(cast call "$DIAMOND_ADDRESS" "owner()" --rpc-url "$RPC_URL")
echo "RESPONSE: $RESPONSE"
if [[ "$RESPONSE" == *"$DIAMOND_IS_PAUSED_SELECTOR"* || "$RESPONSE" == *"DiamondIsPaused"* ]]; then
success "[network: $NETWORK] The diamond is already paused."
echo "<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< end network $NETWORK <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<"
Expand Down

0 comments on commit 670e46c

Please sign in to comment.