Skip to content

fix: check for API key before attempting call #162

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

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

fubuloubu
Copy link
Member

@fubuloubu fubuloubu commented May 1, 2025

What I did

Noticed that when installed (as it is by default through eth-ape[recommended-plugins]) but without an ABI key, that it will try (and fail) to fetch contract types through the new API, but fail because the API does not support un-authenticated requests

How I did it

How to verify it

Checklist

  • Passes all linting checks (pre-commit and CI jobs)
    - [ ] New test cases have been added and are passing
    - [ ] Documentation has been updated
  • PR title follows Conventional Commit standard (will be automatically included in the changelog)

@fubuloubu fubuloubu requested a review from antazoey May 1, 2025 17:11
@fubuloubu fubuloubu changed the title fix(Client): check for API key before attempting call fix: check for API key before attempting call May 1, 2025
@fubuloubu fubuloubu force-pushed the fix/client/check-api-key branch from 81e5fe9 to b6e7656 Compare May 1, 2025 17:17
@fubuloubu fubuloubu force-pushed the fix/client/check-api-key branch 2 times, most recently from 9fdb832 to e778e4c Compare May 1, 2025 17:34
antazoey
antazoey previously approved these changes May 2, 2025
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