Closed bitparadigm closed 3 years ago
question: why are both the push
and pull_request
being run by this pull request.
Expected behaviour would be only the pull_request
runs with a pull request, push
being run on main
when the PR is merged across.
e.g. Checks run in this PR https://github.com/windranger-io/windranger-treasury/pull/69
I was able to run Slither locally. It indeed shows some 2 red suggestions and 3 yellow suggestions, which needs to be updated, but it's a whole separate PR and more than 10 green suggestions.
Interesting that it shows red error in OZ code, so I might not be able to do anything about it.
Dangerous calls:
- (success) = target.call{value: value}(data) (node_modules/@openzeppelin/contracts/governance/TimelockController.sol#331)
Reference: https://github.com/crytic/slither/wiki/Detector-Documentation#functions-that-send-ether-to-arbitrary-destinations```
whole separate PR
Sounds good 👍
error in OZ code
When running Slither
it'll be worthwhile excluding certain paths (such as OZ) with the --filter-paths
option
e.g.
slither . --filter-paths "BitDAO.sol|node_modules"
Closes https://github.com/windranger-io/windranger-governance/issues/55.