Invalid function `epochOf()`
ducthotran2010 opened this issue · 1 comments
ducthotran2010 commented
This looks incorrect but has no impacts, so block 0 -> epoch 0, block 1,2,3,... -> epoch 1?
Originally posted by @minh-bq in #22 (comment)
ronin-dpos-contracts/contracts/ronin/validator/RoninValidatorSet.sol
Lines 338 to 340 in 2ef51c7
ducthotran2010 commented
These might break if the `_numberOfBlocksInEpoch` and `_numberOfEpochsInPeriod` change.
Originally posted by @nxqbao in #22 (comment)
ronin-dpos-contracts/contracts/ronin/validator/RoninValidatorSet.sol
Lines 498 to 502 in 2ef51c7
Update: This issue is fixed in #80