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

Refactor smart contract service's handling of gas and fees

Open lukelee-sl opened this issue 8 months ago • 1 comments

Problem

Currently, the code path for handling gas charges in exception scenarios is complex and difficult to maintain. Refactor and simplify.

Solution

  • [x] Look into removing AbortException and always charge gas as mono service fidelity is no longer required.
  • HandleException has a parameter called shouldRollbackStack which is processed by DispatchProcessor when handling ContractCall exceptions. Analyze and simplify

Alternatives

No response

lukelee-sl avatar Jun 21 '24 02:06 lukelee-sl