Component
Forge
Have you ensured that all of these are up to date?
What version of Foundry are you on?
7f93bae
What version of Foundryup are you on?
No response
What command(s) is the bug in?
forge test
Operating System
macOS (Apple Silicon)
System Specifications
M3 Max, 64GB
Describe the bug
When using a library directly in a test script, execution reverts, and we also get an error that the bytecode at the given address (done thru deletegatecall) is empty.
Here's a repro example:
direct_use.patch