Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Experimental use of flatbuffers #81

Closed
wants to merge 1 commit into from
Closed

Experimental use of flatbuffers #81

wants to merge 1 commit into from

Conversation

0x0ece
Copy link
Contributor

@0x0ece 0x0ece commented Apr 21, 2024

With anchor 0.30.0 and new IDL we can use custom serde.
Unfortunately it seems that the support is still a bit immature.
The rust code seems to work, i.e. we can serde with flatbuffers.
But the js sdk throws an error on borsh deser, even if the new struct is correctly set with "serialization": {"custom": "flatbuffers"},.
Leaving this here for future reference.

@0x0ece 0x0ece closed this Apr 21, 2024
@0x0ece 0x0ece deleted the flattbuffers branch July 7, 2024 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant