Questions tagged [eosio2.1]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3 votes
3 answers
511 views

Set source file properties called with incorrect number of arguments

When attempting to compile a new contract, I am getting this error. I'm using eosio version 2.1 for this. CMake Error at /home/michael/eosio.cdt/build/lib/cmake/eosio.cdt/EosioCDTMacros.cmake:18 (...
Michael Nash's user avatar
3 votes
1 answer
230 views

Returning values from actions

I am trying to return a value from an action as follows: [[eosio::action("test2")]] int test2(int x) { return x; } The code compiles correctly, and the ABI file shows the correct action ...
Phillip Hamnett - EOS42's user avatar