hedera-services icon indicating copy to clipboard operation
hedera-services copied to clipboard

Consistently handle calls with value to system contracts

Open lukelee-sl opened this issue 9 months ago • 0 comments

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

lukelee-sl avatar May 14 '24 18:05 lukelee-sl