Commit 88586b75 authored by Mark Tyneway's avatar Mark Tyneway Committed by GitHub

contracts-bedrock, ci: remove slither (#9319)

* contracts-bedrock, ci: remove slither

Remove the committed in `slither-report.json` since it is not being used
as part of code review. Also remove running it as part of CI. We can
choose to add it back when we have the time for somebody to own making
it a first class tool, but since we haven't triaged the database yet
it only adds noise to PRs by adding extra diff and extra overhead by
forcing a regeneration of the report.

It hasn't found any issues in our code and our other checks are much
better at finding issues in the code.

Leaving the slither commands in the `package.json` for now but if we
do not commit to using slither in a way that is very helpful for us
in 6 months or so, then we should just remove the commands as well.

Maybe we can adopt a way of using slither where it is used before
doing releases of contracts or before going to audit. Having the diff
as part of code review is not super helpful for code reviewers.
It just adds noise in the current form.

* Kick build

---------
Co-authored-by: default avatarMatthew Slipper <me@matthewslipper.com>
parent 06d06428
......@@ -478,19 +478,6 @@ jobs:
exit 1
fi
contracts-bedrock-slither:
docker:
- image: <<pipeline.parameters.ci_builder_image>>
resource_class: medium
steps:
- checkout
- check-changed:
patterns: contracts-bedrock
- run:
name: slither
command: pnpm slither:check
working_directory: packages/contracts-bedrock
contracts-bedrock-validate-spaces:
docker:
- image: <<pipeline.parameters.ci_builder_image>>
......@@ -1382,7 +1369,6 @@ workflows:
- contracts-bedrock-checks:
requires:
- pnpm-monorepo
- contracts-bedrock-slither
- contracts-bedrock-validate-spaces:
requires:
- pnpm-monorepo
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment