Submitted by gzeon
Note: This audit was preceded by a Code4rena Test Coverage competition. While auditing was not the purpose of the testing phase, relevant and valuable findings reported during that phase were eligible to be judged. This finding [M-02] was discovered during that period and is being included here for completeness.
In most other places, locks are created with the end time rounded down to nearest weekly increment using the _floorToWeek function.
https://github.com/OpenCoreCH/test-squad-verwa/blob/461b7d99a30e8fee57ba97c2262f6b0c5e4704b6/src/VotingEscrow.sol#L422-L426
However in IncreaseAmount, it is simply set to block.timestamp + LOCKTIME without the rounding:
https://github.com/OpenCoreCH/test-squad-verwa/blob/461b7d99a30e8fee57ba97c2262f6b0c5e4704b6/src/VotingEscrow.sol#L301-L302
__141345__ (Lookout) commented:
OpenCoreCH (veRWA) confirmed and commented:
alcueca (Judge) commented:
