feat(cheatcodes
): add support for vm.expectCall
on internal calls
#8474
Labels
cheatcodes
): add support for vm.expectCall
on internal calls
#8474
Component
Forge
Describe the feature you would like
Currently,
expectCall
doesn’t work for internal calls.This limitation is highlighted in the documentation, but seems like there is no open issue addressing this (issue #432 is closed).
I wonder if there is a workaround for achieving this in Foundry.
In case there isn't, I believe this would be a very helpful feature that would simplify the testing process significantly.
Having
expectCall
support internal calls would enhance the functionality and flexibility of Foundry's testing capabilities.Additional context
No response
The text was updated successfully, but these errors were encountered: