Skip to content

Commit

Permalink
Report for issue #73 updated by ne0n
Browse files Browse the repository at this point in the history
  • Loading branch information
code423n4 committed Aug 30, 2022
1 parent f6177e1 commit f4a3c63
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion data/ne0n-G.md
Expand Up @@ -5,4 +5,11 @@ In the *for* loop in the function `_setPolicyPermissions`, the iterator `i` is i

Similarly, in KernelUtils.sol also this happpens
(https://github.com/code-423n4/2022-08-olympus/blob/main/src/utils/KernelUtils.sol#L40)
(https://github.com/code-423n4/2022-08-olympus/blob/main/src/utils/KernelUtils.sol#L55)
(https://github.com/code-423n4/2022-08-olympus/blob/main/src/utils/KernelUtils.sol#L55)

# Using ++i instead of i++ for optimizing gas

Using ++i instead of i++ can save gas

(https://github.com/code-423n4/2022-08-olympus/blob/main/src/utils/KernelUtils.sol#L49)
(https://github.com/code-423n4/2022-08-olympus/blob/main/src/utils/KernelUtils.sol#L64)

0 comments on commit f4a3c63

Please sign in to comment.