Fix typos in the tests (#4452)
This commit is contained in:
@ -147,7 +147,7 @@ contract('GovernorWithParams', function (accounts) {
|
|||||||
ethSigUtil.signTypedMessage(privateKey, { data: await this.data(contract, message) });
|
ethSigUtil.signTypedMessage(privateKey, { data: await this.data(contract, message) });
|
||||||
});
|
});
|
||||||
|
|
||||||
it('suports EOA signatures', async function () {
|
it('supports EOA signatures', async function () {
|
||||||
await this.token.delegate(this.voterBySig.address, { from: voter2 });
|
await this.token.delegate(this.voterBySig.address, { from: voter2 });
|
||||||
|
|
||||||
const weight = web3.utils.toBN(web3.utils.toWei('7')).sub(rawParams.uintParam);
|
const weight = web3.utils.toBN(web3.utils.toWei('7')).sub(rawParams.uintParam);
|
||||||
|
|||||||
@ -81,7 +81,7 @@ class GovernorHelper {
|
|||||||
...concatOpts(proposal.shortProposal, opts),
|
...concatOpts(proposal.shortProposal, opts),
|
||||||
);
|
);
|
||||||
default:
|
default:
|
||||||
throw new Error(`unsuported visibility "${visibility}"`);
|
throw new Error(`unsupported visibility "${visibility}"`);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user