Refactor smart contract service's handling of gas and fees #13970
Open
Description
Problem
Currently, the code path for handling gas charges in exception scenarios is complex and difficult to maintain. Refactor and simplify.
Solution
- 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
Metadata
Assignees
Type
Projects
Status
Backlog