I'm new to the EOS platform.
For my use case I'm trying to pass a sha256 hash to a function in my contract and store it in a table which is indexed by that hash.
I've realized you can't have the primary key of a table be anything other than a uint64_t, but apparently you can create a secondary index with a 256 bit type.
Looks like I'm supposed to use a key256 type as my secondary index, can get my contract wasm to compile and deploy a contract using that. But when I go to use it I get "The type defined i n the ABI is invalid".
Looks like in the ABI it created this section:
"types": [
{
"new_type_name": "key256",
"type": "fixed_key<32>"
}
],
Something wrong with the abigen or am I using the wrong type for a hash?