Skip to content

Conversation

@blishko
Copy link
Collaborator

@blishko blishko commented Sep 17, 2025

Description

The extra constraints are not necessary because the proper range should be enforced directly in the bytecode.
Moreover, the constraints added by inRangeSigned were equivalent to True anyway.

Checklist

  • tested locally
  • added automated tests
  • updated the docs
  • updated the changelog

The extra constraints are not necessary because the proper range should
be enforced directly in the bytecode.

Moreover, the constraints added by `inRangeSigned` were equivalent to
True anyway.
@blishko blishko requested a review from msooseth September 17, 2025 14:37
@blishko blishko force-pushed the cleanup-symbolic-abi branch 2 times, most recently from c19c9d4 to 078f2ca Compare September 17, 2025 14:43
Copy link
Collaborator

@msooseth msooseth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@blishko blishko merged commit f29b701 into main Sep 17, 2025
7 checks passed
@blishko blishko deleted the cleanup-symbolic-abi branch September 17, 2025 15:25
@gustavo-grieco
Copy link
Collaborator

Are these constraints always enforced in the bytcode or just in the code produced by solc?

@blishko
Copy link
Collaborator Author

blishko commented Sep 17, 2025

They should be enforced by solc, because these types are solc constructs.
EVM has no concept of, e.g., int8.

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.

4 participants