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
Improve testing coverage
  • Loading branch information
ernestognw committed Jun 23, 2023
commit ba44fa17e88989023967ad5df0faf0612d67b291
4 changes: 4 additions & 0 deletions test/governance/extensions/GovernorWithParams.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,8 @@ contract('GovernorWithParams', function (accounts) {
sig[69] ^= 0xff;
return sig;
},
reason: 'no particular reason',
params: encodedParams,
}),
'GovernorInvalidSigner',
[],
Expand All @@ -210,6 +212,8 @@ contract('GovernorWithParams', function (accounts) {
voter: this.voterBySig.address,
nonce: nonce.addn(1),
signature: this.signature,
reason: 'no particular reason',
params: encodedParams,
}),
// The signature check implies the nonce can't be tampered without changing the signer
'GovernorInvalidSigner',
Expand Down