Use Trace208 in Votes to support ERC6372 clocks (#4539)

Co-authored-by: Francisco <fg@frang.io>
This commit is contained in:
Hadrien Croubois
2023-08-30 19:25:17 +02:00
committed by GitHub
parent 812404cee8
commit cd67894914
9 changed files with 339 additions and 31 deletions

View File

@ -48,7 +48,7 @@ contract('ERC20Votes', function (accounts) {
});
it('minting restriction', async function () {
const value = web3.utils.toBN(1).shln(224);
const value = web3.utils.toBN(1).shln(208);
await expectRevertCustomError(this.token.$_mint(holder, value), 'ERC20ExceededSafeSupply', [
value,
value.subn(1),