You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It'd be great to know when a mock is called, what was the raw shape of the msg structure.
In our case, we need to check that a payable function was called with the correct amount of funds.
The text was updated successfully, but these errors were encountered:
wei3erHase
changed the title
Payable Stuff
feat request: add reading calls msg data and value
Jun 17, 2022
Same here, I'm trying to test a contract that sends assets to another, and depending if the token is ERC20 or native coin I need to check the value to see if it's correct. I didn't find a way to do it :/
It'd be great to know when a mock is called, what was the raw shape of the
msg
structure.In our case, we need to check that a
payable
function was called with the correct amount of funds.The text was updated successfully, but these errors were encountered: