Skip to content

Conversation

ERoydev
Copy link
Collaborator

@ERoydev ERoydev commented Sep 10, 2025

Initial commit changes taken from our codama fork here.

  • This branch is extended from Aleksandar’s initial implementation. I have added support for handling vectors, structs, and nested data structures.
  • This is just the right template method placeholder implementation, rather than fully working functionality when it comes to client serialization and deserialization of the blockchain state.
  • Currently user can just invoke his instructions using our tool

@ERoydev ERoydev requested a review from failfmi September 10, 2025 11:33
* refactor(typeManifest): Handle fixed-sized fields when extracting fields for template rendering

* fix(): Handle fixed-sized optional fields in optionTypeNode Visitor

* ref(sharedTemplate): Added deserializing functions and one reusable to handle fixed arrays

* add(): Applied discriminator functions instead of array used ones

* fix(macros): Nesting depth for recursive borsh and sizes passed to borsh methods

* fix(templates): Use snakeCase and reuse broshMethods for serializing

* Dart numbers borsh support (#4)

* add(typeManifest): Regex handler added for number formats

* add(): NumberTypeNodes return int type with exact rust integer type as a comment

* add(macros): Added formats handling in macros
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