Description
Cap::setEpochCap() reverts when nextCap < $.cap[i], allowing the next cap to be equal to the current cap, which does not seem intended according to the error reason 'cap should be greater than previous cap'.
Recommendation
Replace the inequality check with less or equal to.
Status
Addressed in #ef1aa9a.