Skip to content

Accept parameter value null in neo-invoke.json interactive mode #161

@mialbu

Description

@mialbu

When trying to invoke the transfer method of the NeoToken, it is not intuitive what to do when one does not want to pass any data (i.e., the 4th parameter). I tried with simply null but that disregards that parameter and tries to invoke a method transfer with only 3 parameters (which doesn't exist and thus fails).

image

Suggestion: Allow passing a value in interactive mode which would translate to the opcode PUSHNULL in the invoke script. For example, simply null like mentioned above.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions