ethdebug / format

Smart contract debugging data format – Standards development working group
https://ethdebug.github.io/format/
43 stars 4 forks source link

Address specification deficiency around expression bytes width #92

Closed gnidan closed 2 months ago

gnidan commented 2 months ago

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.