Skip to content

Conversation

@0237h
Copy link
Collaborator

@0237h 0237h commented Nov 19, 2024

If a value was retrieved via Etherscan-like APIs for startBlock and contractName, their value couldn't be overwritten by the user in the prompt.

This change corrects that behavior. The prompt can still be skipped by passing those values from the init command line directly (e.g. --start-block=<value>).

@changeset-bot
Copy link

changeset-bot bot commented Nov 19, 2024

🦋 Changeset detected

Latest commit: 1a3a638

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

Specifically for `startBlock` and `contractName`.
@0237h 0237h force-pushed the fix/confirm-etherscan-fetched-entries branch from 55061c8 to 1a3a638 Compare November 19, 2024 17:44
@0237h 0237h requested a review from YaroShkvorets November 19, 2024 18:00
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 6f2cb45 into graphprotocol:main Nov 19, 2024
9 checks passed
@0237h 0237h deleted the fix/confirm-etherscan-fetched-entries branch November 19, 2024 23:04
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