Open andrew54068 opened 2 days ago
@andrew54068 are the forks selected within deploy script using cheatcodes?
Side note you can drop the --etherscan-api-key
from single commands and use only
forge verify-contract \
<contract_address> \
src/x.sol:x \
--chain bsc
thank you!
bump @andrew54068 could you please provide sorce code sample to replicate the issue. Thank you!
Component
Forge
Have you ensured that all of these are up to date?
What version of Foundry are you on?
forge 0.2.0 (896794a 2024-11-10T00:22:42.580055000Z)
What command(s) is the bug in?
forge script
Operating System
macOS (Apple Silicon)
Describe the bug
I'm using ledger to deploy to multi-chain and verify, the first one will be verified successfully but the second one will always failed. I'm sure it's not an issue with the Ledger, as it also happens with the private key.
so I have to use this commend one by one
And this will succeed, so it means my api key is correct.
This is my foundry.toml
Not sure where do I do wrong. or did I miss some flag here?