Component
Forge
Have you ensured that all of these are up to date?
What version of Foundry are you on?
nightly 0e72b71
What command(s) is the bug in?
forge script --debug
Operating System
Linux
Describe the bug
Source code debugging seems to have recently broken. In the current nightly (0e72b71), I can do the following:
foundryup --commit 0e72b71
forge init
forge script --debug script/Counter.s.sol
..and where the source should be, it says "Unknown contract at address 0x5b73...0519"
Earlier versions, for example 288ab2e from about 2 week ago, correctly show and step through the source.
Also, I have not been able to get any recent versions to show source code when stepping into on-chain contracts, even though I've set my ETHERSCAN_API_KEY in env and toml.
Component
Forge
Have you ensured that all of these are up to date?
What version of Foundry are you on?
nightly 0e72b71
What command(s) is the bug in?
forge script --debug
Operating System
Linux
Describe the bug
Source code debugging seems to have recently broken. In the current nightly (0e72b71), I can do the following:
..and where the source should be, it says "Unknown contract at address 0x5b73...0519"
Earlier versions, for example 288ab2e from about 2 week ago, correctly show and step through the source.
Also, I have not been able to get any recent versions to show source code when stepping into on-chain contracts, even though I've set my ETHERSCAN_API_KEY in env and toml.