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

- Possible truncation in rare scenario #208

Open
Tracked by #187
ControlCplusControlV opened this issue Sep 16, 2023 · 2 comments
Open
Tracked by #187

- Possible truncation in rare scenario #208

ControlCplusControlV opened this issue Sep 16, 2023 · 2 comments

Comments

@ControlCplusControlV
Copy link
Contributor

No description provided.

@sandybradley
Copy link
Contributor

I contest this is an issue.

In the event eth supply exceeds 2^128 we can re-deploy contracts. This event is not anticipated. To give context:

  • Current total eth supply ~ 120 million (or 120,000,000,000,000,000,000,000,000 wei), which is not expected to increase much.
  • uint88 max = 309,485,009,821,345,068,724,781,055 (about 3 times eth supply)
  • uint128 max = 340,282,366,920,938,463,463,374,607,431,768,211,455

@ControlCplusControlV
Copy link
Contributor Author

If we achieve 2^128 we've become an existential risk to Ethereum and the solution should be determined at ACD, consider this truncation a "safety mechanism" for Ethereum 😆

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants