Open mds1 opened 2 years ago
I think the problem here is that the etherscan trace identifier is instantiated using project config / defaults:
which defaults to mainnet chain and so most calls to etherscan will return "not verified" responses:
TRACE etherscanidentifier: using etherscan identifier chain=Some(Named(Mainnet)) url="https://api.etherscan.io/api"
TRACE etherscanidentifier: identify 16 addresses
TRACE etherscanidentifier: fetching info for 0x92bac115d89ca17fd02ed9357ceca32842acb4c2
...
WARN etherscanidentifier: could not get etherscan info: ContractCodeNotVerified(0x92bac115d89ca17fd02ed9357ceca32842acb4c2)
...
Ah yep you are right. So I think we should both:
--etherscan-api-key
CLI arg
Component
Cast
Have you ensured that all of these are up to date?
What version of Foundry are you on?
No response
What command(s) is the bug in?
cast run
Operating System
No response
Describe the bug
If you look up 0xE8c41bE1A167314ABAF2423b72Bf8da826943FFD you'll notice that contract has a name of
SystemStatus
, but this does not show up in the trace