Skip to content

Commit

Permalink
fix: Don't default the value of --oapp-config
Browse files Browse the repository at this point in the history
  • Loading branch information
janjakubnanista committed Feb 6, 2024
1 parent f680109 commit bacf90b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,6 @@ task(
TASK_LZ_OAPP_CONFIG_CHECK,
'outputs visual console table to show current state of oapp connections via configuration'
)
.addParam('oappConfig', 'Path to your LayerZero OApp config', './layerzero.config', types.string)
.addParam('oappConfig', 'Path to your LayerZero OApp config', undefined, types.string)
.addParam('logLevel', 'Logging level. One of: error, warn, info, verbose, debug, silly', 'info', types.logLevel)
.setAction(checkWire)
Original file line number Diff line number Diff line change
Expand Up @@ -113,5 +113,5 @@ task(
'Outputs the default Send and Receive Messaging Library versions and the default application config'
)
.addParam('logLevel', 'Logging level. One of: error, warn, info, verbose, debug, silly', 'info', types.logLevel)
.addParam('oappConfig', 'Path to your LayerZero OApp config', './layerzero.config', types.string)
.addParam('oappConfig', 'Path to your LayerZero OApp config', undefined, types.string)
.setAction(getOAppConfig)
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ const action: ActionType<TaskArgs> = async ({ logLevel = 'info' }, hre): Promise

if (process.env.LZ_ENABLE_EXPERIMENTAL_TASK_LZ_OAPP_CONFIG_INIT) {
task(TASK_LZ_OAPP_CONFIG_INIT, 'Initialize an OApp configuration file')
.addParam('oappConfig', 'Path to the new LayerZero OApp config', './layerzero.config', types.string)
.addParam('oappConfig', 'Path to the new LayerZero OApp config', undefined, types.string)
.addParam('logLevel', 'Logging level. One of: error, warn, info, verbose, debug, silly', 'info', types.logLevel)
.addParam(
'ci',
Expand Down
2 changes: 1 addition & 1 deletion packages/ua-devtools-evm-hardhat/src/tasks/oapp/wire.ts
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ const action: ActionType<TaskArgs> = async ({
return [successfulTransactions, errors, transactionsToSign]
}
task(TASK_LZ_OAPP_WIRE, 'Wire LayerZero OApp')
.addParam('oappConfig', 'Path to your LayerZero OApp config', './layerzero.config', types.string)
.addParam('oappConfig', 'Path to your LayerZero OApp config', undefined, types.string)
.addParam('logLevel', 'Logging level. One of: error, warn, info, verbose, debug, silly', 'info', types.logLevel)
.addParam(
'ci',
Expand Down

0 comments on commit bacf90b

Please sign in to comment.