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 e1ff56f commit 166faeeCopy full SHA for 166faee
src/reports/code-diff.ts
@@ -5,7 +5,7 @@ import {AaveV3Snapshot, AaveV3Config} from './snapshot-types';
5
export function downloadContract(chainId: number, address: string) {
6
const outPath = `/tmp/${chainId}_${address}`;
7
if (existsSync(outPath)) console.log('skipped download');
8
- const command = `cast etherscan-source --chain ${chainId} -d ${outPath} ${address}`;
+ const command = `cast source --chain ${chainId} -d ${outPath} ${address}`;
9
execSync(command);
10
return outPath;
11
}
0 commit comments