diff --git a/v3/tasks/20241204-v3-vault/index.ts b/v3/tasks/20241204-v3-vault/index.ts index ddfff1a0..c9d3ad2d 100644 --- a/v3/tasks/20241204-v3-vault/index.ts +++ b/v3/tasks/20241204-v3-vault/index.ts @@ -21,9 +21,9 @@ export default async (task: Task, { force, from }: TaskRunOptions = {}): Promise const vaultAddress = await vaultFactory.getDeploymentAddress(input.salt); - // if (vaultAddress !== input.targetVaultAddress) { - // throw Error('Incorrect target address'); - // } + if (vaultAddress !== input.targetVaultAddress) { + throw Error('Incorrect target address'); + } // Skip deployment if it's already done if ((await vaultFactory.isDeployed(vaultAddress)) === false) {