From f63e4a445dc2ab0d042daee9253a2066e4bd797e Mon Sep 17 00:00:00 2001 From: storywithoutend Date: Mon, 14 Oct 2024 11:47:00 +0800 Subject: [PATCH] add dependencies to delete names deploy script --- packages/ensjs/deploy/01_delete_names.cjs | 1 + packages/ensjs/src/functions/subgraph/getSubnames.test.ts | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ensjs/deploy/01_delete_names.cjs b/packages/ensjs/deploy/01_delete_names.cjs index 644dba00..5520825e 100644 --- a/packages/ensjs/deploy/01_delete_names.cjs +++ b/packages/ensjs/deploy/01_delete_names.cjs @@ -60,6 +60,7 @@ const func = async function (hre) { func.id = 'delete-names' func.tags = ['delete-names'] +func.dependencies = ['register-unwrapped-names'] func.runAtTheEnd = true module.exports = func diff --git a/packages/ensjs/src/functions/subgraph/getSubnames.test.ts b/packages/ensjs/src/functions/subgraph/getSubnames.test.ts index 3e5fbb26..5654d694 100644 --- a/packages/ensjs/src/functions/subgraph/getSubnames.test.ts +++ b/packages/ensjs/src/functions/subgraph/getSubnames.test.ts @@ -97,7 +97,6 @@ it('does not include deleted names by default', async () => { name: 'deletable.eth', }) if (!result.length) throw new Error('No names found') - console.log(result) expect(result.length).toBe(2) }) it('allows including deleted names', async () => {