Skip to content

Add minimum to attach unused gas in Promise #1395

@ilblackdragon

Description

@ilblackdragon

Currently when calling with_unused_gas_weight there is no way to validate that there is enough gas left. Add optional argument to specify minimum unused gas that should left - otherwise it should panic with not enough gas.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    NEW❗

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions