-
Notifications
You must be signed in to change notification settings - Fork 3
chore(*): add remaining StructTag getters and ctors
#334
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
chore(*): add remaining StructTag getters and ctors
#334
Conversation
StructTag ctorsStructTag getters and ctors
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to rebuild bindings
|
I will review this quickly before it's merged please |
| add_struct_tag_ctor_from_type_tag!(FRAMEWORK, "balance", "Balance"); | ||
| add_struct_tag_ctor_from_type_tag!(FRAMEWORK, "timelock", "TimeLock"); | ||
| add_struct_tag_ctor_from_type_tag!(FRAMEWORK, "config", "Setting", "with-module"); | ||
| add_struct_tag_ctor_from_type_tag!(FRAMEWORK, "dynamic_object_field", "Wrapper", "with-module"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I still don't like the string differencier but that's fine
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
at least we can change that part later without a breaking change.
* add ctors * add getters * update libs * add ctors to bindings * Apply suggestion from @thibault-martinez * make 3 * add remaining 5 * new_iota_coin_name * some ux improvements and additional struct tags * iota coin TYPE --------- Co-authored-by: Thibault Martinez <[email protected]>
Closes #259
Also adds remaining constructors. I prepended the constructors with
new_, so it becomes easier to distinguish them from the getters.