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

Bubbling Error reason when verifying #14

Merged
merged 2 commits into from
Aug 27, 2024
Merged

Conversation

cristovaoth
Copy link
Collaborator

This PR enhances error transparency for verification failures.

Different block explorers have varying configs regarding apikey requirements. Previously, we used a generic price call to determine if a key was invalid. However, for example block explorers on testnets or gnosisscan, do not require a key for reads. This causes our check to not detect an invalid key.

Therefore, we now display more info when the actual verify call fails.

Note: This PR also includes a version bump in preparation for the upcoming release.

@coveralls
Copy link

Pull Request Test Coverage Report for Build 10579710021

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 99.512%

Totals Coverage Status
Change from base Build 10561237195: 0.0%
Covered Lines: 122
Relevant Lines: 123

💛 - Coveralls

@samepant samepant self-requested a review August 27, 2024 17:29
@samepant samepant merged commit fb98551 into master Aug 27, 2024
1 of 2 checks passed
@samepant samepant deleted the api-key-error-bubbling branch August 27, 2024 17:30
@github-actions github-actions bot locked and limited conversation to collaborators Aug 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants