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

Implement binary serialization and deserialization for every type #945

Open
kushti opened this issue Dec 26, 2023 · 2 comments
Open

Implement binary serialization and deserialization for every type #945

kushti opened this issue Dec 26, 2023 · 2 comments
Labels
6.0 soft-fork Implementation requires soft-fork
Milestone

Comments

@kushti
Copy link
Member

kushti commented Dec 26, 2023

Serialization and deserialization already available for following types :

  • Box - bytes and bytesWithoutRef methods
  • GroupElement - getElement | decodePoint in global methods
  • SigmaProp - propBytes (and there are options to deserialize it along with execution via executeFrom* only)
  • Byte, Short, Int, Long, BigInt (numeric types) - toBytes | byteArrayToBigInt and byteArrayToLong

So there is need for:

  • Box deserialization
  • Header serialization and deserialization
  • byteArrayToInt and byteArrayToShort
  • SigmaProp deserialization
  • AVLTree serialization and deserialization
@kushti kushti added soft-fork Implementation requires soft-fork 6.0 labels Dec 26, 2023
@kushti kushti added this to the v6.0 milestone Dec 26, 2023
@kushti
Copy link
Member Author

kushti commented May 13, 2024

Deserialization of everything mentioned is done in #979 . Header.toBytes done in #975

@kushti
Copy link
Member Author

kushti commented Jun 9, 2024

Serialization of everything mentioned and more done in #979 and #989.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.0 soft-fork Implementation requires soft-fork
Projects
None yet
Development

No branches or pull requests

1 participant