eos
eos copied to clipboard
Unable to decode optional vector
trafficstars
The following is valid code according to eosio-cpp and compiles and executes fine but nodeos chokes when trying to use the ABI generated
using namespace std;
[[eosio::action]] void foo(optional<vector<string>> accounts) { .. }
Error 3015004: The type defined in the ABI is invalid
Error Details:
string[]?
Stack Trace:
abi_serializer.cpp:288 validate
abi_serializer.cpp:289 validate
abi_serializer.cpp:290 validate