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

When adding a second contract if abi fetching fails, it exits and gives no further options. #1560

Open
HareemSaad opened this issue Jan 14, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@HareemSaad
Copy link

Which packages are impacted by your issue?

@graphprotocol/graph-cli

Describe the issue

When initializing a subgraph, I need to provide two contracts that are both verified on Sepolia. I can add the first one without any issues. However, when adding the second one, after entering the address and providing the contract name, the ABI fetching process consistently fails. Instead of prompting for a retry or a local path, it simply exits.

Reproduction

N/A (private)

Steps to Reproduce the Bug or Issue

  1. Add First Contract
  2. Say yes to adding another contract
  3. Add the second contract's address
  4. Enter the second contract's name
  5. No prompt just exists

Expected behavior

I expected retry prompts or to add abi locally, in actuality it just exit.

Screenshots or Videos

Screenshot from 2024-01-14 07-28-32

Platform

  • OS: Linux 23
  • NodeJS: 21.4.0
  • The Graph CLI (graph-cli): 0.65.0

Subgraph Manifest

No response

Subgraph GraphQL Schema

No response

Additional context

No response

@HareemSaad HareemSaad added the bug Something isn't working label Jan 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant