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

Unsupported cheatcode error #321

Closed
nican0r opened this issue Jun 28, 2024 · 2 comments
Closed

Unsupported cheatcode error #321

nican0r opened this issue Jun 28, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@nican0r
Copy link

nican0r commented Jun 28, 2024

Describe the bug
I’m working on adding halmos to this existing foundry repo: https://github.com/Recon-Fuzz/create-chimera-app/tree/halmos

But when I try to use the eq assertion provided by the chimera framework I get an unsupported cheatcode error even though when I trace through the definition of eq there are no cheatcodes used.

I know I could just use a standard solidity assertion instead but would really like to use the one from chimera because the repo’s meant to be a demonstration of it and would like to clarify if this is an issue in my implementation or a bug.

Pasted Graphic

Implementation:
image

HalmosAsserts::eq
image

The above inherits from forge-std/test.sol:
image

To Reproduce
Use the following repo: https://github.com/Recon-Fuzz/create-chimera-app/tree/halmos
Run: halmos --mc HalmosTester from root

Environment:

  • OS: macOS Sonoma 14.5
  • Python version: Python 3.10.10
@nican0r nican0r added the bug Something isn't working label Jun 28, 2024
@daejunpark
Copy link
Collaborator

we're working on this in #323

@karmacoma-eth
Copy link
Collaborator

should be fixed now that #323 is merged and should be available in the soon-to-be-released halmos v0.1.14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants