From f108c061d935c4f670ebbbb42022eb2e694d29ac Mon Sep 17 00:00:00 2001 From: Tim Date: Wed, 3 Apr 2024 19:15:39 -0400 Subject: [PATCH] always use run-latest.json --- chain.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chain.js b/chain.js index de6fe7d..d4cd0d5 100644 --- a/chain.js +++ b/chain.js @@ -14,7 +14,7 @@ const _chains = [ ] for (const chain of _chains) { - const path = `../contract/broadcast/Deploy.sol/${chain.id}/run-${process.env['DEXORDER_DEPLOYMENT_' + chain.id]}.json`; + const path = `../contract/broadcast/Deploy.sol/${chain.id}/run-latest.json`; let deployment try { deployment = JSON.parse(fs.readFileSync(path, 'utf8')) //null synchronous is ok we only do this once on init