Skip to content

Can't create/push action without any params #150

@DenisCarriere

Description

@DenisCarriere

Smart contract example

#include <eosio/eosio.hpp>

class [[eosio::contract]] hello : public eosio::contract {
public:
    using contract::contract;

    [[eosio::action]]
    void world( ) {
        eosio::print( "hello" );
    }
};

Can't push action with empty params

$ eosc -u http://localhost:8888 tx create hello world '{}' -p eosio    

ERROR: signing transaction: get_required_keys: Internal Service Error: Invalid packed transaction: Failed to deserialize data for hello:world: Failed to deserialize variant: Invalid transaction

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