Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update .changeset/sixty-numbers-reply.md
Co-authored-by: Francisco <[email protected]>
  • Loading branch information
ernestognw and frangio authored Jun 29, 2023
commit 3f6e520674a7520834f28548663cdd2200879b48
2 changes: 1 addition & 1 deletion .changeset/sixty-numbers-reply.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
'openzeppelin-solidity': major
---

`Governor`: Add a `voter` parameter to the `castVoteBySig` and `castVoteWithReasonAndParamsBySig` functions to avoid forging signatures for random addresses and allow the use of an internal nonce for invalidating signatures.
`Governor`: Add `voter` and `nonce` parameters in signed ballots, to avoid forging signatures for random addresses, prevent signature replay, and allow invalidating signatures. Add `voter` as a new parameter in the `castVoteBySig` and `castVoteWithReasonAndParamsBySig` functions.