Skip to content

Conversation

@0237h
Copy link
Collaborator

@0237h 0237h commented Nov 5, 2024

Help debugging when Etherscan ABI lookups fail.

Before

DEBUG=* graph init

No useful message, even with DEBUG on.
screenshot_2024-11-05_13-52-25

After

DEBUG=* graph init

Error shows what when wrong when fetching contract's ABI.
screenshot_2024-11-05_15-09-16

Shows status, url and output of failed Etherscan request.
@0237h 0237h self-assigned this Nov 5, 2024
@changeset-bot
Copy link

changeset-bot bot commented Nov 5, 2024

🦋 Changeset detected

Latest commit: c417b82

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@graphprotocol/graph-cli Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@0237h 0237h mentioned this pull request Nov 5, 2024
@0237h 0237h requested a review from YaroShkvorets November 5, 2024 20:11
Copy link
Collaborator

@YaroShkvorets YaroShkvorets left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@0237h 0237h merged commit 1d4217a into graphprotocol:main Nov 11, 2024
9 checks passed
@0237h 0237h deleted the fix/debugging-etherscan-lookup-fail branch November 11, 2024 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants