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

fix: do not request verification info when running local node #53

Merged
merged 8 commits into from
Oct 16, 2023

Conversation

JackHamer09
Copy link
Member

What ❔

  • Do not request contract verification info when running against local node

Why ❔

  • Since contract verification is not yet implemented in the Block Explorer API the request simply fails and any contract page becomes unavailable

@github-actions
Copy link

github-actions bot commented Oct 13, 2023

API E2E Test Results

185 tests   185 ✔️  28s ⏱️
  12 suites      0 💤
    1 files        0

Results for commit 5d9dadb.

♻️ This comment has been updated with latest results.

@github-actions
Copy link

github-actions bot commented Oct 13, 2023

Unit Test Results

       3 files     237 suites   2m 37s ⏱️
1 823 tests 1 822 ✔️ 1 💤 0
1 848 runs  1 847 ✔️ 1 💤 0

Results for commit 5d9dadb.

♻️ This comment has been updated with latest results.

@github-actions
Copy link

github-actions bot commented Oct 13, 2023

Visit the preview URL for this PR (updated for commit 1d619be):

(expires Mon, 23 Oct 2023 10:00:48 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: e508f9012944951194447cb8885950b451a24403

Copy link
Collaborator

@vasyl-ivanchuk vasyl-ivanchuk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. verificationApiUrl should also be removed from /packages/app/src/configs/dev.config.json for local network.
  2. we have tests that check verificationInfo in both useAddress and useContractAPI, please add a case to check that null value is returned if there is no verificationApiUrl configured.

@JackHamer09 JackHamer09 force-pushed the do-not-request-verification-info-locally branch from 21aa7a2 to 1d619be Compare October 16, 2023 09:51
@vasyl-ivanchuk vasyl-ivanchuk merged commit 8f42c78 into main Oct 16, 2023
24 checks passed
@vasyl-ivanchuk vasyl-ivanchuk deleted the do-not-request-verification-info-locally branch October 16, 2023 10:08
@github-actions
Copy link

🎉 This PR is included in version 2.14.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

pcheremu pushed a commit that referenced this pull request Feb 15, 2024
# What ❔
- Do not request contract verification info when running against local
node

## Why ❔
- Since contract verification is not yet implemented in the Block
Explorer API the request simply fails and any contract page becomes
unavailable

---------

Co-authored-by: Vasyl Ivanchuk <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants