Skip to content

Instantly share code, notes, and snippets.

@0xalpharush
Created November 7, 2022 03:59
Show Gist options
  • Save 0xalpharush/e32ffa9f583b78a0612730196d350584 to your computer and use it in GitHub Desktop.
Save 0xalpharush/e32ffa9f583b78a0612730196d350584 to your computer and use it in GitHub Desktop.

Generated with:

slither tests/detectors/constable-states/0.8.0/const_state_variables.sol --detect constable-states --checklist --markdown-root https://github.com/crytic/slither/blob/faed6d7fb2039c231d4631dbed625c7c3d6ae6b5/

Summary

constable-states

Impact: Optimization Confidence: High

https://github.com/crytic/slither/blob/faed6d7fb2039c231d4631dbed625c7c3d6ae6b5/tests/detectors/constable-states/0.8.0/const_state_variables.sol#L42

https://github.com/crytic/slither/blob/faed6d7fb2039c231d4631dbed625c7c3d6ae6b5/tests/detectors/constable-states/0.8.0/const_state_variables.sol#L12

https://github.com/crytic/slither/blob/faed6d7fb2039c231d4631dbed625c7c3d6ae6b5/tests/detectors/constable-states/0.8.0/const_state_variables.sol#L24

https://github.com/crytic/slither/blob/faed6d7fb2039c231d4631dbed625c7c3d6ae6b5/tests/detectors/constable-states/0.8.0/const_state_variables.sol#L43

https://github.com/crytic/slither/blob/faed6d7fb2039c231d4631dbed625c7c3d6ae6b5/tests/detectors/constable-states/0.8.0/const_state_variables.sol#L5

https://github.com/crytic/slither/blob/faed6d7fb2039c231d4631dbed625c7c3d6ae6b5/tests/detectors/constable-states/0.8.0/const_state_variables.sol#L40

https://github.com/crytic/slither/blob/faed6d7fb2039c231d4631dbed625c7c3d6ae6b5/tests/detectors/constable-states/0.8.0/const_state_variables.sol#L46

https://github.com/crytic/slither/blob/faed6d7fb2039c231d4631dbed625c7c3d6ae6b5/tests/detectors/constable-states/0.8.0/const_state_variables.sol#L44

https://github.com/crytic/slither/blob/faed6d7fb2039c231d4631dbed625c7c3d6ae6b5/tests/detectors/constable-states/0.8.0/const_state_variables.sol#L41

https://github.com/crytic/slither/blob/faed6d7fb2039c231d4631dbed625c7c3d6ae6b5/tests/detectors/constable-states/0.8.0/const_state_variables.sol#L45

  • ID-10 A.test should be constant

https://github.com/crytic/slither/blob/faed6d7fb2039c231d4631dbed625c7c3d6ae6b5/tests/detectors/constable-states/0.8.0/const_state_variables.sol#L8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment