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

Add parity-scale-codec serialization for Felts #30

Merged
merged 3 commits into from
Dec 21, 2023
Merged

Add parity-scale-codec serialization for Felts #30

merged 3 commits into from
Dec 21, 2023

Conversation

damip
Copy link
Contributor

@damip damip commented Dec 21, 2023

Adds parity-scale-codec binary serialization and de-serialization for Felts under the parity-scale-codec feature flag.

Pull Request type

  • Feature

What is the current behavior?

Currently, there is no support for the parity-scale-codec serialization framework.

What is the new behavior?

This PR enabled transparent support for parity-scale-codec binary (de-)serialization of Felts when the parity-scale-codec feature flag is enabled.

Does this introduce a breaking change?

No, the parity-scale-codec flag is disabled by default.

Adds parity-scale-codec binary serialization and deserialization
for Felts under the parity-scale-codec feature flag.
crates/starknet-types-core/src/felt.rs Outdated Show resolved Hide resolved
@0xLucqs 0xLucqs merged commit 43e3023 into starknet-io:main Dec 21, 2023
2 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.

2 participants