I have an action that needs to operate on a string:
void token::MyAction(std::string key);
so I would expect I can make the call like this:
cleos push action MyAccount MyAction '["burn"]' -p MyAccount@active
but when I make the call, I get an error:
Error 3050003: eosio_assert_message assertion failure Error Details: assertion failure with message: read pending console output:
how can I pass a string to an action?
for what it's worth, I also tried:
cleos push action MyAccount MyAction '{"key":"burn"}' -p MyAccount@active
which also failed