Open zZoMROT opened 17 hours ago
@zZoMROT thanks for reporting! Looks like this was an oversight from the local project on the machine where we did the deployment since this specific file is part of the OZ libraries and is ignored in our repo. This should be fixed in the upcoming 1.0.1 update.
Description:
The current implementation of xrETH contains four
console.log
debug statements. These statements are resulting in unnecessary static calls to an address where no code exists. This redundancy is causing a notable increase in gas consumption:Impact:
This results in a total overhead of approximately 2700 gas per method call that relies on this logic.
Request:
Please update implementation to remove or disable these debug
console.log
statements to optimize gas usage, benefiting all calls that invoke this method.