makerdao / dss-auto-line

GNU Affero General Public License v3.0
7 stars 14 forks source link

Is time the good metric Vs block.number #10

Closed alexisgayte closed 3 years ago

alexisgayte commented 3 years ago

https://github.com/makerdao/dss-auto-line/blob/4dbe8244df80b33a2960fba605e1a31fffebafda/src/DssAutoLine.sol#L16

As time can be manipulated by -+15 min and those params quite sensitive. I am wondering if block number shouldn't be more appropriate.

alexisgayte commented 3 years ago

Close it down