8000 Halmos throws `Counterexample: unknown` warning on solc versions < 0.8.17 · Issue #180 · a16z/halmos · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Halmos throws Counterexample: unknown warning on solc versions < 0.8.17 #180
Open
@PraneshASP

Description

@PraneshASP

Describe the bug
I was recently trying to replicate Solmate's SignedWadMath.sol contract's wadMul() bug (see @karmacoma-eth's tweet). When I ran halmos --smt-div the tests PASSED with the following output:

Screenshot from 2023-08-16 00-37-10

Expected behavior: The test should fail.

To Reproduce

Environment:

  • OS: Linux - Ubuntu 20.04
  • Python version: Python 3.9.17
  • Halmos and other dependency versions: Halmos 0.1.3.dev3+gd2c5d27

Additional context
Halmos produced expected counterexamples when solc version was >= 0.8.17

Screenshot from 2023-08-16 01-09-17

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0