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

feat[test]: add hevm harness for venom passes #4460

Open
wants to merge 24 commits into
base: master
Choose a base branch
from

Conversation

charles-cooper
Copy link
Member

What I did

draft, add hevm equivalence checking for venom optimizations

How I did it

How to verify it

Commit message

Commit message for the final, squashed PR. (Optional, but reviewers will appreciate it! Please see our commit message style guide for what we would ideally like to see in a commit message.)

Description for the changelog

Cute Animal Picture

Put a link to a cute animal picture inside the parenthesis-->

Copy link

codecov bot commented Jan 22, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.09%. Comparing base (1b0fa5b) to head (50bcaa8).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #4460   +/-   ##
=======================================
  Coverage   92.09%   92.09%           
=======================================
  Files         119      119           
  Lines       16931    16931           
  Branches     2865     2865           
=======================================
  Hits        15593    15593           
  Misses        919      919           
  Partials      419      419           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@charles-cooper charles-cooper force-pushed the feat/venom/hevm-equivalence branch from ab27245 to 1e02f4c Compare January 31, 2025 21:57
@charles-cooper charles-cooper marked this pull request as ready for review January 31, 2025 21:57
self.updater._update(inst, "eq", [operands[1], IRLiteral(never)])
# canary:
# self.updater._update(inst, "eq", [operands[1], IRLiteral(lo)])
Copy link
Collaborator

Choose a reason for hiding this comment

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

Do you want to leave this here or could be revert this?

Copy link
Member Author

Choose a reason for hiding this comment

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

I'll leave it for people to review then remove

tests/hevm.py Outdated
ctx = parse_from_basic_block(venom_source_code)

num_calldataloads = 0
num_return_values = 0
Copy link
Collaborator

Choose a reason for hiding this comment

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

you could remove this one right (num_return_values)?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yea, looks like it

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.

3 participants