Skip to content

Commit

Permalink
chore: remove deploy options
Browse files Browse the repository at this point in the history
  • Loading branch information
npty committed Aug 1, 2024
1 parent 93e0b1e commit eaaac90
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions sui/deploy-contract.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ const PACKAGE_DIRS = ['gas_service', 'test', 'axelar_gateway', 'operators'];
*/
const PACKAGE_CONFIGS = {
cmdOptions: {
AxelarGateway: () => [...DEPLOY_CMD_OPTIONS, ...GATEWAY_CMD_OPTIONS],
GasService: () => DEPLOY_CMD_OPTIONS,
Test: () => DEPLOY_CMD_OPTIONS,
Operators: () => DEPLOY_CMD_OPTIONS,
AxelarGateway: () => GATEWAY_CMD_OPTIONS,
GasService: () => [],
Test: () => [],
Operators: () => [],
},
postDeployFunctions: {
AxelarGateway: postDeployAxelarGateway,
Expand Down Expand Up @@ -289,6 +289,9 @@ const addDeployOptions = (program) => {
// Add the options to the program
options.forEach((option) => program.addOption(option));

// Add the base deploy options to the program
DEPLOY_CMD_OPTIONS.forEach((option) => program.addOption(option));

return program;
};

Expand Down

0 comments on commit eaaac90

Please sign in to comment.