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

Fix time based upgrade #1826

Merged
merged 3 commits into from
Aug 6, 2024
Merged

Fix time based upgrade #1826

merged 3 commits into from
Aug 6, 2024

Conversation

imabdulbasit
Copy link
Contributor

@imabdulbasit imabdulbasit commented Aug 6, 2024

  • building OffsetDateTime from i64::MAX panics as the upper bound on the timestamp range is much smaller than that so this is fixed by using the from_utc() function. This function is internally used by from_unix_timestamp()
  • adds test for time based chain config upgrade

@imabdulbasit imabdulbasit merged commit d342aff into main Aug 6, 2024
14 checks passed
@imabdulbasit imabdulbasit deleted the ab/fix-timestamp-max branch August 6, 2024 18:25
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

Successfully merging this pull request may close these issues.

2 participants