metaplex-foundation / beet

Borsh compatible De/Serializer
https://metaplex-foundation.github.io/beet/
35 stars 15 forks source link

chore: improve borsh compat #18

Closed thlorenz closed 2 years ago

thlorenz commented 2 years ago

This PR fixes incompatibilites around option types and points out an issue for others.

As part of the fix a FixableBeet was introduced which will become the new way to derive a fixed beet from one that needs sample data or values to determine its size.

Going Forward

After switching all dynamic beets to fixables we'll be able to pass the remaining compatibility tests.