There is no nonce by default for castVoteWithReasonAndParamsBySig and _castVote depends on voting only once. This is fine for the normal flow, but partial votes by sig can be replayed in GovernorCountingFractional as long as they are still under the total voting weight of that user. Adding a nonce to bytes memory params and enforcing it would fix this issue.
There is no nonce by default for
castVoteWithReasonAndParamsBySig
and_castVote
depends on voting only once. This is fine for the normal flow, but partial votes by sig can be replayed inGovernorCountingFractional
as long as they are still under the total voting weight of that user. Adding a nonce tobytes memory params
and enforcing it would fix this issue.