Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
.setAction(async (args, hre: any) => {
const l2Provider = new ethers.providers.JsonRpcProvider(args.l2NodeUrl)
const signer = new LedgerSigner(
l2Provider,
'default',
args.ledgerHdPath
)
return await executeActionsFromConfig({
hre,
signer,
chugsplashDeployerAddress: args.chugsplashDeployerAddress,
upgradeConfigPath: args.upgradeConfigPath,
timeoutInMs: args.timeoutInMs,
retryIntervalInMs: args.retryIntervalInMs
})
})