-
Notifications
You must be signed in to change notification settings - Fork 83
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
Conflict when multiple explorer API keys provided #568
Labels
bug
Something isn't working
Comments
Hi! thanks for the report. It looks like the optimism scanner includes the word "etherscan" on the URL, causing the check implemented here not be accurate: We should rework this to be more precise; maybe we can check the hostname from e.g. the list in |
Hi, I created a fix pr #569 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When you use the
--etherscan-apikey
along with other explorer API key parameters, such as--optim-apikey
, the etherscan API key will be added as the firstapikey
parameter, with other explorer's keys following. This will cause the etherscan key to be counted and loaded when requesting explorer API, which is not expected when used with other explorers such as Optim, and it will result in an invalid API key error.For example:
Expected Behavior:
It should work seamlessly, and the provided priority API key should adhere to the explorer's address prefix.
The text was updated successfully, but these errors were encountered: