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

Verification plugin: Disable verification when Etherscan is selected and no constructor arguments are provided #5808

Merged

Conversation

manuelwedler
Copy link
Contributor

We wanted to improve the user feedback on the verification plugin a little. Etherscan is the only verifier that requires constructor arguments. Before this change, the user could hit the verify button even if no constructor arguments are provided. With this change, the verify button gets disabled if Etherscan is selected and no constructor arguments are provided.

Copy link

netlify bot commented Feb 25, 2025

👷 Deploy request for remixproject pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 1e340e6

@kuzdogan
Copy link
Member

Should we be a bit more explicit by saying "Etherscan requires constructor arguments" ?

@manuelwedler
Copy link
Contributor Author

Should we be a bit more explicit by saying "Etherscan requires constructor arguments" ?

What do you have in mind? Something like "Please provide the constructor arguments when verifying with Etherscan."?

@kuzdogan
Copy link
Member

@manuelwedler not like please do this but more Etherscan verification requires this.

How about: "Must provide constructor arguments if verifying on Etherscan"

Copy link
Collaborator

@Aniket-Engg Aniket-Engg left a comment

Choose a reason for hiding this comment

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

Functionality wise it looks fine

@manuelwedler manuelwedler force-pushed the etherscan-require-constructor-args branch from c9b3b58 to 1e340e6 Compare March 5, 2025 10:17
@Aniket-Engg Aniket-Engg merged commit b1d24c6 into ethereum:master Mar 5, 2025
26 of 29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants