Skip to content

Conversation

@0237h
Copy link
Collaborator

@0237h 0237h commented Feb 7, 2025

This simplifies the lookup logic by not having to fetch RPC for the startBlock. Information returned by the lookup are still the same (abi, contract name, start block).

An additional check is added for the address format (must start with 0x prefix).

v2 endpoints documentation: https://docs.sourcify.dev/docs/api/#/Contract%20Lookup/get-contract

@0237h 0237h requested a review from YaroShkvorets February 7, 2025 16:03
@0237h 0237h self-assigned this Feb 7, 2025
@changeset-bot
Copy link

changeset-bot bot commented Feb 7, 2025

🦋 Changeset detected

Latest commit: ae02c51

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

@YaroShkvorets YaroShkvorets merged commit e4af888 into graphprotocol:main Feb 11, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants