Skip to content

Commit

Permalink
fix: fix deploy script
Browse files Browse the repository at this point in the history
  • Loading branch information
mariocao committed Jun 25, 2024
1 parent c6cb33e commit e7d11d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions script/1-deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ source "${parent_path}/common.sh"
check_commands forge

# Required variables
check_env_vars EVM_RPC EVM_PRIVATE_KEY
check_env_vars EVM_RPC EVM_PRIVATE_KEY EVM_ADMIN_ADDRESS

# Set verify flag
if [ -z "$ETHERSCAN_API_KEY" ]; then
Expand All @@ -20,7 +20,7 @@ else
VERIFY_FLAGS="--verify --verifier-url $EVM_VERIFIER_URL --etherscan-api-key $ETHERSCAN_API_KEY"
fi;

command="forge create $VERIFY_FLAGS --rpc-url $EVM_RPC --private-key $EVM_PRIVATE_KEY src/SedaOracle.sol:SedaOracle --constructor-args $EVM_ADMIN_ADDRESS \[$EVM_ADMIN_ADDRESS\]"
command="forge create $VERIFY_FLAGS --rpc-url $EVM_RPC --private-key $EVM_PRIVATE_KEY src/SedaOracle.sol:SedaOracle --constructor-args $EVM_ADMIN_ADDRESS [$EVM_ADMIN_ADDRESS]"
echo $command
output=$($command)

Expand Down

0 comments on commit e7d11d9

Please sign in to comment.