Clear signing definitions pipeline: 1. Firmware prerequisites#6748
Merged
Clear signing definitions pipeline: 1. Firmware prerequisites#6748
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
f333dae to
f7de9c2
Compare
ad41024 to
b6eee2f
Compare
b6eee2f to
ef5fd73
Compare
This was referenced Apr 24, 2026
PrisionMike
approved these changes
Apr 24, 2026
Contributor
PrisionMike
left a comment
There was a problem hiding this comment.
LGTM. Just a nit and a point of clarification.
| return Array( | ||
| Tuple( | ||
| tuple(_get_leaf_parser(f) for f in element.tuple.fields), | ||
| is_dynamic=False, # Tuples inside Arrays are always parsed as static! |
Contributor
There was a problem hiding this comment.
Is this an EVM thing or is it our limitation?
Contributor
Author
There was a problem hiding this comment.
It's not really a limitation, but a way of parsing calldata. It's both an EVM thing and also due to our implementation. I am guessing we could have had implemented it in a way that would not require this flag to be set (depending on how we compute pointers inside containers). Can be changed any time, it's just an implementation detail of the parsing code, after all.
5071780 to
17a2d09
Compare
347bce5 to
17a2d09
Compare
They are the same thing, but we are actually referring the fields by index. [no changelog]
[no changelog]
[no changelog]
[no changelog]
[no changelog]
Add a callable that will be invoked on every page of the default input flow. Can be used for extra checks while confirming everything. [no changelog]
[no changelog]
[no changelog]
[no changelog]
[no changelog]
[no changelog]
Go back to having a single `token` passed with the definitions up-front like we had before e059db5. [no changelog]
[no changelog]
17a2d09 to
d350121
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.




























































































































































Follow up for #6235
Besides the existing Ethereum
networkandtokendefinitions add a new one:ETHEREUM_ERC7730_DISPLAY_FORMAT.Note: the protobuf serialization of
DisplayFormat(EthereumERC7730DisplayFormatInfo) is meant to be future proof and support nested arrays / tuples, but the actual implementation ofDisplayFormatin the clear signing code does not support that as of now.The ability for firmware to request extra definitions during signing has been moved to a new PR (#6798) that will be merged after this, for simplicity.