Include EIP-5267 discovery in EIP-712 (#3969)

Co-authored-by: Francisco <frangio.1@gmail.com>
Co-authored-by: Francisco <fg@frang.io>
This commit is contained in:
Hadrien Croubois
2023-02-08 15:53:57 +01:00
committed by GitHub
parent 8177c4620e
commit d625cb45ea
16 changed files with 358 additions and 325 deletions

View File

@ -84,7 +84,7 @@ class GovernorHelper {
? // if signature, and either params or reason →
vote.params || vote.reason
? vote
.signature({
.signature(this.governor, {
proposalId: proposal.id,
support: vote.support,
reason: vote.reason || '',
@ -96,7 +96,7 @@ class GovernorHelper {
),
)
: vote
.signature({
.signature(this.governor, {
proposalId: proposal.id,
support: vote.support,
})