You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While testing Halmos on a DeFi protocol, Halmos was not able to generate valid paths due to the contracts being deployed with CREATE3.
To Reproduce
I created a MWE with this issue
$ git clone https://github.com/aviggiano/property-based-testing-benchmark
$ cd projects/create3
# will succeed
$ forge test --match-test test
Running 1 test for test/Create3.t.sol:Create3Test
[PASS] test_create3() (gas: 183018)
Test result: ok. 1 passed; 0 failed; 0 skipped; finished in 4.91ms
Ran 1 test suites: 1 tests passed, 0 failed, 0 skipped (1 total tests)
# will fail
$ halmos --function test
Running 1 tests for test/Create3.t.sol:Create3Test
[FAIL] test_create3() (paths: 0/0, time: 0.22s, bounds: [])
Symbolic test result: 0 passed; 1 failed; time: 0.24s
Environment:
OS: macOS
Python version: Python 3.11.4
Halmos and other dependency versions: Halmos 0.1.10.dev2+g44dca2e
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Describe the bug
While testing Halmos on a DeFi protocol, Halmos was not able to generate valid paths due to the contracts being deployed with CREATE3.
To Reproduce
I created a MWE with this issue
Environment:
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: