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

Mutant Solidity ERROR triggered when trying to mutate type(uint256) #15

Open
tomrpl opened this issue Jan 24, 2024 · 0 comments
Open

Mutant Solidity ERROR triggered when trying to mutate type(uint256) #15

tomrpl opened this issue Jan 24, 2024 · 0 comments

Comments

@tomrpl
Copy link

tomrpl commented Jan 24, 2024

In some snippets for instance here:

the mutants is view neither as KILLED nor LIVED but considered as an error with the terminal displaying:
"WARNING:root:Error: "

And the mutants pasted in an output file described as:

Mutation:
    File: /PATH_TO_REPO/morpho-blue-snippets/src/morpho-blue/MorphoBlueSnippets.sol
    Line nr: 149
    Result: Error
    Original line:
                 if (borrowed == 0) return type(uint256).max;

    Mutated line:
                 if (borrowed == 0) return max;```
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

1 participant