Improve revert message in Governor (#3275)

* Fixed typo

* fix testing and adding changelog

Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
This commit is contained in:
Mihir Wadekar
2022-03-25 03:02:15 -07:00
committed by GitHub
parent bfff03c0d2
commit 76eee35971
3 changed files with 4 additions and 3 deletions

View File

@ -218,7 +218,7 @@ contract('GovernorCompatibilityBravo', function (accounts) {
it('if proposal does not meet proposalThreshold', async function () {
await expectRevert(
this.helper.propose({ from: other }),
'GovernorCompatibilityBravo: proposer votes below proposal threshold',
'Governor: proposer votes below proposal threshold',
);
});
});