Skip to content

Commit

Permalink
build: update script to deploy SablierV2Batch and SablierV2MerkleStre…
Browse files Browse the repository at this point in the history
…amerFactory only
  • Loading branch information
smol-ninja committed Dec 13, 2023
1 parent 16866e3 commit a0e8b39
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions shell/deploy-multi-chains.sh
Original file line number Diff line number Diff line change
Expand Up @@ -159,21 +159,17 @@ for chain in "${requested_chains[@]}"; do
if [[ $DETERMINISTIC_DEPLOYMENT == true ]]; then
echo -e "\n${IC}Deploying deterministic contracts to $chain...${NC}"
# Construct the command
deployment_command="forge script script/DeployDeterministicProtocol2.s.sol \
deployment_command="forge script script/DeployDeterministicPeriphery.s.sol \
--rpc-url $rpc_url \
--sig run(string,address,address) \
--sig run(string) \
\"ChainID_${chain_id}_Version_1.1.0\" \
$admin \
$comptroller \
-vvv"
else
echo -e "\n${IC}Deploying contracts to $chain...${NC}"
# Construct the command
deployment_command="forge script script/DeployProtocol2.s.sol \
deployment_command="forge script script/DeployPeriphery.s.sol \
--rpc-url $rpc_url \
--sig run(address,address) \
$admin \
$comptroller \
--sig run() \
-vvv"
fi

Expand Down

0 comments on commit a0e8b39

Please sign in to comment.