Questions tagged [eosio2.1]
The eosio2.1 tag has no usage guidance.
2
questions
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 (...
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 ...