Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

graph init: handle non-standard Etherscan API responses #1974

Merged
merged 1 commit into from
Feb 27, 2025

Conversation

YaroShkvorets
Copy link
Collaborator

Kaia returned non-standard Etherscan response, i.e. object instead of array of objects, number instead of string for start block. This resulted in unhandled graph init exception.
This PR fixes it.

Copy link

changeset-bot bot commented Feb 27, 2025

🦋 Changeset detected

Latest commit: bb6cf87

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

Copy link
Contributor

🚀 Snapshot Release (alpha)

The latest changes of this PR are available as alpha on npm (based on the declared changesets):

Package Version Info
@graphprotocol/graph-cli 0.96.1-alpha-20250227184351-bb6cf87645c242389bdf93ff0e60b2ef575ff145 npm ↗︎ unpkg ↗︎

@YaroShkvorets YaroShkvorets merged commit 31c25e7 into main Feb 27, 2025
9 checks passed
@YaroShkvorets YaroShkvorets deleted the yaro/non-standard-api branch February 27, 2025 20:12
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.

None yet

1 participant