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

Solidity compilation can sometimes fail with error about isDevMode() #26

Closed
nategraf opened this issue Feb 29, 2024 · 2 comments
Closed
Assignees

Comments

@nategraf
Copy link
Contributor

No description provided.

@Cardosaum
Copy link

This issue can happen in the definition of devMode (source file)

The current function signature is function devMode() internal view returns (bool), a view function.
The problem arises by the fact that forge fails to compile the function complaining that this function can not be view, but we didn't see this compilation error in CI and it doesn't seem clear why this function should not be view.

It's not clear if the problem is a compiler version mismatch or something else.

@capossele
Copy link
Contributor

Fixed by #37

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

No branches or pull requests

3 participants