RiskProtocol / core-protocol

2 stars 0 forks source link

Static code analyzer: Slither #18

Closed mz7mz7mz7 closed 1 year ago

mz7mz7mz7 commented 1 year ago

Before we start implementing unit tests, let's do a static analysis of our code to find potential issues. We can use https://github.com/crytic/slither for it, as offered through Foundry https://book.getfoundry.sh/config/static-analyzers

After its configured and Solidity code runs over it, please share the report.

jiokeokwuosa commented 1 year ago

@mz7mz7mz7 This is the result of Slither -->

Image

I will work to rectify some of the warnings

jiokeokwuosa commented 1 year ago

Screenshot (1376) Screenshot (1377) Screenshot (1378) Screenshot (1379) Screenshot (1380) Screenshot (1381) Screenshot (1382) Screenshot (1383) Screenshot (1384)