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

docs: minor - highlight "verify:sourcify" subtask, based on feedback … #4829

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions packages/hardhat-verify/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,16 @@ await hre.run("verify:verify", {

If the verification is not successful, an error will be thrown.

Note that the `"verify:verify"` subtask will *always* run the etherscan verifier, even when you have the following in your hardhat config file:
Copy link
Member

Choose a reason for hiding this comment

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

As the last published version of hardhat-verify this would be incorrect, see here. You can verify both providers with the same task, and control which one is executed through the config.

Copy link
Author

Choose a reason for hiding this comment

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

Ah ok, if so this PR is redundant. Closing!


```js
etherscan: {
enabled: false,
}
```

If you wish to run the sourcify verifier only, use the `"verify:sourcify"` subtask instead.

#### Providing libraries from a script or task

If your contract has libraries with undetectable addresses, you may pass the libraries parameter with a dictionary specifying them:
Expand Down
Loading