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

feat(verify): default to sourcify if etherscan key not provided #9630

Merged
merged 3 commits into from
Jan 7, 2025

Conversation

yash-atreya
Copy link
Member

Motivation

Closes #4944

Solution

  1. Default to sourcify if no --verifier or --etherscan-api-key is provided.
  2. Use etherscan if --etherscan-api-key is passed.
  3. If --verifier is passed, use that.

The above adds sourcify as the default verification provider without inhibiting existing etherscan workflows requiring an API key.

Co-authored-by: zerosnacks <[email protected]>
@grandizzy grandizzy added T-feature Type: feature C-forge Command: forge labels Jan 6, 2025
Copy link
Collaborator

@grandizzy grandizzy left a comment

Choose a reason for hiding this comment

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

lgtm!

@zerosnacks zerosnacks self-requested a review January 7, 2025 17:06
Copy link
Member

@zerosnacks zerosnacks left a comment

Choose a reason for hiding this comment

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

lgtm!

@yash-atreya yash-atreya merged commit 95442fa into master Jan 7, 2025
22 checks passed
@yash-atreya yash-atreya deleted the yash/fix-4944 branch January 7, 2025 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-forge Command: forge T-feature Type: feature
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

Feature: Verify contracts on Sourcify by default
4 participants