Raise warning if value=
is specified for a non payable method [APE-1301]
#1610
Labels
category: feature
New feature or request
Overview
This is similar to #1396. Currently, the proper error message will only trigger when we try to send funds to a
non payable constructor
. The implementation will be similar to #1599Specification
Raising a warning and not an error is better because sometimes you might mean to do this, and it should raise another exception e.g. ContractLogicError or something compiler-specific during gas estimation
Dependencies
N/A
The text was updated successfully, but these errors were encountered: