Brief description of the finding.
Detailed description of the impact of this finding.
Provide direct links to all referenced code in GitHub. Add screenshots, logs, or any other relevant proof that illustrates the concept.
function testMax() public {
uint256 max = a.max(5, 10);
console.log("Max is =", max);
}
Max is : 10
- Incorporate the tests in
Contract name
- Execute:
forge test --mc contract-name --mt test-name -vvv
Manual review
Your suggested fix for the finding.