Closed thlorenz closed 1 year ago
Adding support for HashSet and BTreeSet.
HashSet
BTreeSet
They are added to the IDL as follows:
{ "type": { "kind": "struct", "fields": [ { "name": "u8Set", "type": { "hashSet": "u8" } } ] } }
"type": { "kind": "struct", "fields": [ { "name": "vecHashMapU8", "type": { "vec": { "hashSet": "u8" } } }, { "name": "optionBtreeMapU8", "type": { "option": { "bTreeSet": "u8" } } } ] }
Related PR: https://github.com/metaplex-foundation/shank/pull/30 where the same was implemented for maps.
Helps resolve: https://github.com/metaplex-foundation/solita/issues/85
Summary
Adding support for
HashSet
andBTreeSet
.They are added to the IDL as follows:
Related PR: https://github.com/metaplex-foundation/shank/pull/30 where the same was implemented for maps.
Helps resolve: https://github.com/metaplex-foundation/solita/issues/85