We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38c1350 commit cceb340Copy full SHA for cceb340
contract_manager/scripts/batchDeployReceivers.ts
@@ -46,14 +46,9 @@ const parser = yargs(hideBin(process.argv))
46
});
47
48
async function memoize(key: string, fn: () => Promise<any>) {
49
- const cacheDir = './cache';
+ const cacheDir = '../../target_chains/ethereum/contracts/cache';
50
const path = `${cacheDir}/${key}.json`;
51
52
- // Ensure cache directory exists
53
- if (!fs.existsSync(cacheDir)) {
54
- fs.mkdirSync(cacheDir, { recursive: true });
55
- }
56
-
57
if (fs.existsSync(path)) {
58
return JSON.parse(fs.readFileSync(path).toString());
59
}
0 commit comments