-
Notifications
You must be signed in to change notification settings - Fork 2
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
Add an expert mode splash screen before the parameter field of the transaction operation #192
Add an expert mode splash screen before the parameter field of the transaction operation #192
Conversation
379b2fa
to
64c9c5b
Compare
d129564
to
8619e03
Compare
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.
overall LGTM.
Step by step commits are great to understand incremental changes done.
TZ_OPERATION_FIELD("Destination", TZ_OPERATION_FIELD_DESTINATION), | ||
TZ_OPERATION_OPTION_FIELD("_Parameters", | ||
TZ_OPERATION_TUPLE_FIELD("_Parameters", | ||
TZ_OPERATION_FIELD("Entrypoint", TZ_OPERATION_FIELD_SMART_ENTRYPOINT, .complex=true), |
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 think Entrypoint
can be made complex=false
😄
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 agree, let's do it in another PR: #194
- tz_operation_descriptor to tz_operation_field_descriptor - field to field_index
21567e5
to
64bd107
Compare
- Use designated initializers notation: { .field=value }, this allows: - to have default value to false for the fields skip and complex - to make it easier to read - Use "_" in front of unused name
64bd107
to
80762b9
Compare
fixes #175