From 87d560c8493bafd8026861ab9cad1cadbc665f83 Mon Sep 17 00:00:00 2001 From: storywithoutend Date: Wed, 16 Oct 2024 11:54:44 +0800 Subject: [PATCH] more cleanup --- packages/ens-test-env/src/manager.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/ens-test-env/src/manager.js b/packages/ens-test-env/src/manager.js index cdb0ad2a..568910b5 100644 --- a/packages/ens-test-env/src/manager.js +++ b/packages/ens-test-env/src/manager.js @@ -254,9 +254,6 @@ export const main = async (_config, _options, justKill) => { await awaitCommand('deploy', config.deployCommand) - // wait for anvil deploy to finish - await new Promise((resolve) => setTimeout(resolve, 100)) - // remove block timestamp interval after deploy await rpcFetch('anvil_removeBlockTimestampInterval', []) @@ -395,6 +392,8 @@ export const main = async (_config, _options, justKill) => { } } + await new Promise((resolve) => setTimeout(resolve, 100)) + if (!options.save && cmdsToRun.length > 0 && options.scripts) { /** * @type {import('concurrently').ConcurrentlyResult['result']}