Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 2.05 KB

sip-259.md

File metadata and controls

31 lines (24 loc) · 2.05 KB
sip title network status type author implementor release created proposal
259
Overflow in Issuer when `rateStalePeriod` > current unix timestamp
Ethereum
Implemented
Governance
Daniel Beal (@dbeal-eth)
MEB (@barrasso)
Tiaki (v2.75) release
2022-07-13

Simple Summary

There is a bug in Issuer which causes a subtraction overflow when rateStalePeriod setting is set greater than the current timestamp. To prevent issues when running tests, fix the code so that it will allow any timestamp if rateStalePeriod is greater than current timestamp.

Motivation

Though this fix has no effect on a live network (unless for some reason rate stale period was set too large by accident), this will make it much easier to test synthetix contracts in a local network setting.

Copyright

Copyright and related rights waived via CC0.