Skip to content

Conversation

@elopez
Copy link
Collaborator

@elopez elopez commented Dec 3, 2025

Description

This also bumps the Solidity version used in tests to be able to compile an example with CLZ

Checklist

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

@elopez
Copy link
Collaborator Author

elopez commented Dec 3, 2025

It is worth noting that this does not implement CLZ on the SMT, help is welcome on that regard 😄

@elopez elopez mentioned this pull request Dec 3, 2025
13 tasks
This also bumps the Solidity version used in tests to be able to
compile an example with CLZ
src/EVM/Expr.hs Outdated
| v == (Lit 0) = v
| otherwise = sar a v
go (CLZ v)
| v == (Lit 0) = Lit 256
Copy link
Collaborator

Choose a reason for hiding this comment

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

There is no reason for this -- clz will do that itself, so I'm removing.

@msooseth
Copy link
Collaborator

OK, this should now work, but the ethereum-tests have moved, and have changed format, so that needs to be updated, as per @elopez

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