1

I can have a string vector by manually changing the type in my abi file to string[] but if I try string[][] I get an ABI error in my node:

Error 3015004: The type defined in the ABI is invalid

Any thoughts?

  • What kind of error? – damianodamiano Oct 22 '18 at 15:56
  • Error 3015004: The type defined in the ABI is invalid – Savvas Vezyridis Oct 22 '18 at 16:06
1

OK I found the answer in developers telegram. If anyone has the same problem you can use: vector<vector<foo>> and in the abi file you define a new type foo_vector of type foo[] and then on your table you define it as foo_vector[]

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.