Skip to content

fix[venom]: correct signed division range bounds#5130

Draft
Federicorao wants to merge 1 commit into
vyperlang:masterfrom
Federicorao:codex/fix-sdiv-negative-range
Draft

fix[venom]: correct signed division range bounds#5130
Federicorao wants to merge 1 commit into
vyperlang:masterfrom
Federicorao:codex/fix-sdiv-negative-range

Conversation

@Federicorao

Copy link
Copy Markdown

Fixes #4943.

Summary

  • Correct signed-division range bounds for all-negative dividend intervals.
  • Add regression coverage for the signed division range evaluator.

Verification

  • Direct evaluator smoke test for the changed range case.

Full pytest was not run locally because installing the required test dependencies attempted to build pyrevm, which requires Cargo in this environment.

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.

Compiling a valid program with venom results in AssertionError: BOT has no lo bound

1 participant