Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/cli/src/command-helpers/abi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export const loadAbiFromEtherscan = async (
const scanApiUrl = getEtherscanLikeAPIUrl(network);
const result = await fetch(`${scanApiUrl}?module=contract&action=getabi&address=${address}`);
const json = await result.json();
logger("json result from etherscan: %O", json);

// Etherscan returns a JSON object that has a `status`, a `message` and
// a `result` field. The `status` is '0' in case of errors and '1' in
Expand Down