OpenZeppelin/contracts-wizard

ERC20 Premint field has no upper bound

mark1yo opened this issue ยท 0 comments

Hi ๐Ÿ˜ƒ
There is a potential bug in generating an ERC20 token. The "Premint" field has no upper bound, which allows you to mint 999...9 token.

When you try to compile the generate contract, for example in Remix, you get "Literal too large" error.