Component
Forge
Describe the feature you would like
Currently vm.expectCall operates on a target address and the calldata it expects
function expectCall(address,bytes calldata) external;
When sending ETH through multiple contracts, it would be useful to have an overloaded expectCall that also accepts a value param that also asserts on call context's value (msg.value)
function expectCall(address,uint256 value,bytes calldata) external;
Didn't see this mentioned in any open issues, including #876
Additional context
No response
Component
Forge
Describe the feature you would like
Currently
vm.expectCalloperates on a target address and the calldata it expectsWhen sending ETH through multiple contracts, it would be useful to have an overloaded
expectCallthat also accepts avalueparam that also asserts on call context's value (msg.value)Didn't see this mentioned in any open issues, including #876
Additional context
No response