Skip to content

Add GasLeft() function #239

@kroggen

Description

@kroggen

Add function for contracts to return the amount of remaining gas on the current transaction execution

  local remaining_gas = contract.gasLeft()

Metadata

Metadata

Assignees

No one assigned

    Labels

    V4To be released on hardfork V4featureNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions