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

Define a macro of substrate primitive types #146

Open
osuketh opened this issue Aug 11, 2019 · 0 comments
Open

Define a macro of substrate primitive types #146

osuketh opened this issue Aug 11, 2019 · 0 comments

Comments

@osuketh
Copy link
Member

osuketh commented Aug 11, 2019

There is some redundant code to define primitive types. Define macros for such types to implement some trait like Encode, Decode, TryFrom, Serialize, Deserialize, AsBytesRef.
https://github.com/LayerXcom/zero-chain/tree/master/core/primitives/src

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

No branches or pull requests

1 participant