InitializeDiamond::initalizeSeason and InitReseed::Init not setting season start timestamp with consistent formula.
In InitializeDiamond::initalizeSeason current season is set to 1 and season start timestamp is set as
In InitReseed::Init current season is set to given season and season start timestamp is set as
Suppose for simplicity given season = 1, s.sys.season.current will set to 1 so season start timestamp will be
s.sys.season.start = ((s.sys.season.timestamp / s.sys.season.period) * s.sys.season.period) - s.sys.season.period
clearly formula used is not consistent at both places and season start set for given season at InitReseed::Init will not be what supposed to be during initialization of diamond.
setting wrong start timestamp may affect calculation of expected season number and incentive amount.
Manual review
Use Correct formula for start timestamp at InitializeDiamond::initalizeSeason as current season = 1 during initialization of diamond.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.