hedera-services
hedera-services copied to clipboard
Consistently handle calls with value to system contracts
Problem
Right now, there is code to surface an error to the caller (INVALID_FEE_SUBMITTED
) when a call is made to a system contract with value. Each system contract is responsible to detecting this error condition and responding. A universal check was later added but the checks inside the system contract still remain.
Solution
- Re-examine if
INVALID_FEE_SUBMITTED
is the appropriate error code to return to the user. - Remove checks for value transfer from within system contracts
Alternatives
No response