diff --git a/reports/ccip-functions-report.md b/reports/ccip-functions-report.md index 3367cdd7a..b6e995435 100644 --- a/reports/ccip-functions-report.md +++ b/reports/ccip-functions-report.md @@ -25,7 +25,6 @@ This report was generated by [Aderyn](https://github.com/Cyfrin/aderyn), a stati - [L-11: Contract still has TODOs](#l-11-contract-still-has-todos) - [L-12: Unused Custom Error](#l-12-unused-custom-error) - [L-13: Loop contains `require`/`revert` statements](#l-13-loop-contains-requirerevert-statements) - - [L-14: Potentially unused `private` / `internal` state variables found.](#l-14-potentially-unused-private--internal-state-variables-found) # Summary @@ -102,7 +101,7 @@ This report was generated by [Aderyn](https://github.com/Cyfrin/aderyn), a stati | Category | No. of Issues | | --- | --- | | High | 3 | -| Low | 14 | +| Low | 13 | # High Issues @@ -2451,20 +2450,3 @@ Avoid `require` / `revert` statements in a loop because a single bad item can ca -## L-14: Potentially unused `private` / `internal` state variables found. - -State variable appears to be unused. No analysis has been performed to see if any inilne assembly references it. So if that's not the case, consider removing this unused variable. - -
1 Found Instances - - -- Found in src/v0.8/functions/v1_0_0/ocr/OCR2Base.sol [Line: 22](../tests/ccip-contracts/contracts/src/v0.8/functions/v1_0_0/ocr/OCR2Base.sol#L22) - - ```solidity - uint256 private constant maxUint32 = (1 << 32) - 1; - ``` - -
- - - diff --git a/reports/templegold-report.md b/reports/templegold-report.md index a2c188454..d95396fe6 100644 --- a/reports/templegold-report.md +++ b/reports/templegold-report.md @@ -8658,7 +8658,7 @@ Remove the redundant statements because no code will be generated and it just co State variable appears to be unused. No analysis has been performed to see if any inilne assembly references it. So if that's not the case, consider removing this unused variable. -
3 Found Instances +
2 Found Instances - Found in contracts/fakes/templegold/TempleGoldStakingMock.sol [Line: 71](../tests/2024-07-templegold/protocol/contracts/fakes/templegold/TempleGoldStakingMock.sol#L71) @@ -8673,12 +8673,6 @@ State variable appears to be unused. No analysis has been performed to see if an mapping(address account => EnumerableSet.UintSet indexes) private _accountStakes; ``` -- Found in contracts/templegold/AuctionBase.sol [Line: 13](../tests/2024-07-templegold/protocol/contracts/templegold/AuctionBase.sol#L13) - - ```solidity - uint256 internal _currentEpochId; - ``` -