hedera-services
hedera-services copied to clipboard
Refactor smart contract service's handling of gas and fees
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 calledshouldRollbackStack
which is processed byDispatchProcessor
when handling ContractCall exceptions. Analyze and simplify
Alternatives
No response