Skip to content

Commit

Permalink
Report for issue #79 updated by chaduke
Browse files Browse the repository at this point in the history
  • Loading branch information
code423n4 committed Dec 14, 2022
1 parent ae9ce7a commit e183010
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion data/chaduke-G.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,7 @@ Eliminating the first condition can save gas since the second condition + the un
if ( _settings.drawingTokenEndId - _settings.drawingTokenStartId < 2 )
revert DRAWING_TOKEN_RANGE_INVALID();
```
```

G9. https://github.com/code-423n4/2022-12-forgeries/blob/fc271cf20c05ce857d967728edfb368c58881d85/src/VRFNFTRandomDraw.sol#L230-L233
Caching ``setting`` can save gas for this function.

0 comments on commit e183010

Please sign in to comment.