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

Bugfix: binary deserialization Felt #89

Merged
merged 4 commits into from
Sep 16, 2024
Merged

Conversation

xrvdg
Copy link
Contributor

@xrvdg xrvdg commented Aug 21, 2024

Felt supports both human readable and binary serialization, but the binary deserializer was missing.

Does this introduce a breaking change?

Yes, but likely no-one is affected by it as deserialization was not working. The (de)serialization is done with bytes rather than sequences.

Other information

The serialization and deserialization test have been combined. Serialization and deserialization should not be tested separately as that makes it too easy to miss a case.

This also changes the serialization from sequence to bytes, but given that the deserialization wasn't working this should be a safe change to make.
@xrvdg xrvdg requested a review from pefontana as a code owner August 21, 2024 08:22
@dan-starkware dan-starkware enabled auto-merge (squash) September 9, 2024 06:08
@dan-starkware dan-starkware merged commit 245907a into starknet-io:main Sep 16, 2024
4 checks passed
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.

3 participants