Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enum primitives and empty enum variants (#2)
* Implement empty enum - working with tests TODO: Ensure primitive types are working with enums * Add further test for enums with primitives * go fmt * Rename BorshEnumEmpty -> EmptyVariant Resolves PR Comment * Remove isEnumEmpty check -> use marshal interface Resolving PR comments * go fmt * Refactor error checking on encodePrimitive Resolving PR comments * Remove redundant breaks
- Loading branch information
Showing
2 changed files
with
133 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters