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
Could we make the exposed library functions payable?
I have an internal library function that considers msg.value, the library function itself cannot by payable (and it wouldn't be require). But to test this library call, I need to be able to pass value. It seems like it would be okay to make all exposed library calls payable so that tests have the option of specifying a value.
e.g. current output:
function $transferFunds(addresspaymentToken,addressfrom,addressto,uint256amount) external { ... }
Desired:
function $transferFunds(addresspaymentToken,addressfrom,addressto,uint256amount) externalpayable { ... }
Just started toying around with this plugin, seems super useful - thanks!
The text was updated successfully, but these errors were encountered:
Could we make the exposed library functions payable?
I have an internal library function that considers msg.value, the library function itself cannot by payable (and it wouldn't be require). But to test this library call, I need to be able to pass value. It seems like it would be okay to make all exposed library calls payable so that tests have the option of specifying a value.
e.g. current output:
Desired:
Just started toying around with this plugin, seems super useful - thanks!
The text was updated successfully, but these errors were encountered: