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

Are these false positives? variable should be constant and contract does not implement functions #794

Closed
krasi-georgiev opened this issue Feb 25, 2021 · 1 comment
Labels
bug Something isn't working enhancement New feature or request

Comments

@krasi-georgiev
Copy link

The first fail is for this one
https://github.com/tellor-io/migrator/blob/69a67a1fc94067134dda0d935e5942e1e300931e/contracts/Main.sol#L13

The CI fail
https://github.com/tellor-io/migrator/runs/1979284937?check_suite_focus=true#step:9:26
how can this variable be a constant if the value is taken from the constructor?

The second fail is even more mysterious.
https://github.com/tellor-io/migrator/runs/1979284937?check_suite_focus=true#step:9:17

Where do these functions need to be implemented?

@montyly montyly added bug Something isn't working enhancement New feature or request labels Feb 25, 2021
@montyly
Copy link
Member

montyly commented Feb 25, 2021

Hi @krasi-georgiev. Thanks for reporting this.

The first one is a false positive (we need to treat immutable as constant).

The second one looks like a bug on our side, we will investigate why it happens. In the meantime, you can add

//slither-disable-next-line DETECTOR_NAME

Before the finding to disable the report(s)

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

No branches or pull requests

2 participants