-
Notifications
You must be signed in to change notification settings - Fork 438
Open
Description
https://github.com/makerdao/dss/blob/effdda3657f71fd6efc3465dc661b375d1bacc3e/src/pot.sol#L138
This function is a no-op if rho == now
. Rather than wasting a bunch of effort (gas) executing this function in that case, it should just return early. While the caller can do if (pot.rho != now) pot.drip()
, it is much more expensive for them to do this than it is for this method to do that.
Metadata
Metadata
Assignees
Labels
No labels