Skip to content

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

Merged
YaroShkvorets merged 1 commit intomainfrom
yaro/non-standard-api
Feb 27, 2025
Merged

graph init: handle non-standard Etherscan API responses#1974
YaroShkvorets merged 1 commit intomainfrom
yaro/non-standard-api

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.

@changeset-bot
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

@github-actions
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.

1 participant