Skip to content

Commit 166faee

Browse files
authored
fix: in foundry stable the command was renamed given it supports other explorers as well (#189)
1 parent e1ff56f commit 166faee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/reports/code-diff.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import {AaveV3Snapshot, AaveV3Config} from './snapshot-types';
55
export function downloadContract(chainId: number, address: string) {
66
const outPath = `/tmp/${chainId}_${address}`;
77
if (existsSync(outPath)) console.log('skipped download');
8-
const command = `cast etherscan-source --chain ${chainId} -d ${outPath} ${address}`;
8+
const command = `cast source --chain ${chainId} -d ${outPath} ${address}`;
99
execSync(command);
1010
return outPath;
1111
}

0 commit comments

Comments
 (0)