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

Address specification deficiency around expression bytes width #92

Merged
merged 13 commits into from
Jun 25, 2024
Merged

Conversation

gnidan
Copy link
Member

@gnidan gnidan commented Jun 25, 2024

The ethdebug/format/pointer/expression did not define any notion of bytes width for any expressions, leaving it to implementors to guess how many bytes should be used when representing the evaluation of a given expression.

This PR addresses that concern by defining an explicit { "$sized<N>": <expression> } expression that resolves to the resized (left-padded or left-truncated) equivalent of its subexpression.

@gnidan gnidan merged commit fb7cce7 into main Jun 25, 2024
4 checks passed
@gnidan gnidan deleted the sizes branch June 25, 2024 00:24
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

Successfully merging this pull request may close these issues.

1 participant