code-423n4 / 2022-10-thegraph-findings

0 stars 0 forks source link

Gas Optimizations #214

Closed code423n4 closed 1 year ago

code423n4 commented 1 year ago

Use != 0 instead of > 0 for Unsigned Integer Comparison

Location

https://github.com/code-423n4/2022-10-thegraph/blob/309a188f7215fa42c745b136357702400f91b4ff/contracts/gateway/L1GraphTokenGateway.sol#L201