expectCall
cheatcode overloaded with msg.value
assertion
#1568
Labels
A-cheatcodes
Area: cheatcodes
C-forge
Command: forge
Cmd-forge-debug
Command: forge run
Cmd-forge-test
Command: forge test
D-easy
Difficulty: easy
good first issue
Good for newcomers
P-normal
Priority: normal
T-feature
Type: feature
Component
Forge
Describe the feature you would like
Currently
vm.expectCall
operates on a target address and the calldata it expectsWhen sending ETH through multiple contracts, it would be useful to have an overloaded
expectCall
that also accepts avalue
param 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
The text was updated successfully, but these errors were encountered: