Skip to content

allow padding of GAS / specifying GAS amount for invoke TX #196

@ixje

Description

@ixje

There are use-cases in which you would like to attach more GAS than required to just execute the main code path or exactly specify the attached GAS. This can be for example to allow the contract to burn the remaining GAS to the benefit of the NEO community (here is an example of such a contract that does this), or simply to debug insufficient GAS scenario's.

At this time all invocations seem to default to 20 GAS (as defined by TestModeGas)

: base(TriggerType.Application, container, new SnapshotCache(checkpointStore), persistingBlock, settings, TestModeGas, witnessChecker)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions