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

Update ERC-7683: Use uint40 for timestamps instead of uint32 #772

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Zodomo
Copy link

@Zodomo Zodomo commented Dec 14, 2024

Uint40 should be used for timestamps instead of uint32. In systems that use signed integers, an int32 value is only good until the year 2038. External systems might use signed alternatives because it allows them to utilize timestamps from before the Unix epoch. Uint40 would allow systems that use signed integers to be functional until the year ~19000. Such a simple change to enable these systems to be resilient for more than 14 years in this regard seems like a no-brainer.

@eip-review-bot
Copy link
Collaborator

eip-review-bot commented Dec 14, 2024

File ERCS/erc-7683.md

Requires 1 more reviewers from @marktoda, @mrice32, @nicholaspai

@eip-review-bot eip-review-bot changed the title ERC-7683: Use uint40 for timestamps instead of uint32 Update ERC-7683: Use uint40 for timestamps instead of uint32 Dec 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants