Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
DenisCarriere opened this issue Apr 17, 2020 · 0 comments
Open

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

DenisCarriere opened this issue Apr 17, 2020 · 0 comments

Comments

@DenisCarriere
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant