Skip to content

Refactor smart contract service's handling of gas and fees #13970

Open
@lukelee-sl

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 called shouldRollbackStack which is processed by DispatchProcessor when handling ContractCall exceptions. Analyze and simplify

Alternatives

No response

Metadata

Assignees

No one assigned

    Labels

    EpicA body of work that can be broken down into specific tasks.

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions