Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERC20 Premint field has no upper bound #241

Open
mark1yo opened this issue Apr 10, 2023 · 0 comments
Open

ERC20 Premint field has no upper bound #241

mark1yo opened this issue Apr 10, 2023 · 0 comments
Labels
good first issue Good for newcomers

Comments

@mark1yo
Copy link

mark1yo commented Apr 10, 2023

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.

@frangio frangio added the good first issue Good for newcomers label May 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants