foundry
foundry copied to clipboard
bug: logs emitted on RPC failures when forking are not descriptive enough
Component
Forge
Describe the feature you would like
It's quite common in our codebase to experience CI failures related to RPC errors. For example:
Could not instantiate forked environment with fork url: ***
or
[FAIL. Reason: backend: failed while inspecting]
Here are some logs for more context https://github.com/moonwell-fi/moonwell-contracts-v2/actions/runs/10927647686/job/30334305230?pr=350 https://github.com/moonwell-fi/moonwell-contracts-v2/actions/runs/10944099346/job/30385149157
It would be really great if the error messages from Forge could give us more details. We are not Rust engineers, so it's tough for us to figure out what's causing the issue.
Thank you!
Additional context
No response