Skip to content

Commit b247c45

Browse files
committed
Remove Etherscan comments in Sourcify method
1 parent 8fa7f93 commit b247c45

File tree

1 file changed

+0
-3
lines changed
  • packages/cli/src/command-helpers

1 file changed

+0
-3
lines changed

packages/cli/src/command-helpers/abi.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@ export const loadAbiFromSourcify = async (
2121
const result = await fetch(`https://repo.sourcify.dev/contracts/full_match/${chainId}/${address}/metadata.json`);
2222
const json = await result.json();
2323

24-
// Etherscan returns a JSON object that has a `status`, a `message` and
25-
// a `result` field. The `status` is '0' in case of errors and '1' in
26-
// case of success
2724
if (result.ok) {
2825
return new ABICtor('Contract', undefined, immutable.fromJS(json.output.abi));
2926
}

0 commit comments

Comments
 (0)