Forge verify-contract
does not honor [etherscan]
configs in foundry.toml
for certain chains when using --chain
#3560
Labels
Component
Forge
Have you ensured that all of these are up to date?
What version of Foundry are you on?
forge 0.2.0 (9d64f1f 2022-10-26T00:08:20.899561012Z)
What command(s) is the bug in?
forge verify-contract
Operating System
Linux
Describe the bug
Given I have
[etherscan]
config settings infoundry.toml
like soWhen running
forge verify-contract --chain gnosis ...
I get the following errorWhen using
--chain mainnet
or--chain polygon
the command runs with no issues.I would expect that
forge verify-contract
would honor the configuration in myfoundry.toml
fileThe text was updated successfully, but these errors were encountered: