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: don't crash pindexer on blocks without a timestamp #4764

Merged
merged 1 commit into from
Jul 26, 2024

Conversation

vacekj
Copy link
Member

@vacekj vacekj commented Jul 25, 2024

Describe your changes

this sets timestamp to default for blocks without one to

Issue ticket number and link

fixes #4761

Checklist before requesting a review

  • If this code contains consensus-breaking changes, I have added the "consensus-breaking" label. Otherwise, I declare my belief that there are not consensus-breaking changes, for the following reason:

indexer changes only

@vacekj vacekj linked an issue Jul 25, 2024 that may be closed by this pull request
@vacekj vacekj requested review from conorsch, ejmg and aubrika July 25, 2024 15:58
@cronokirby
Copy link
Contributor

Crashing is good, it indicates that you have the wrong version of pd, before the event was added.

@cronokirby cronokirby closed this Jul 25, 2024
@vacekj vacekj deleted the 4761-pindexerblock-panics-on-timestamp branch July 25, 2024 16:17
@hdevalence hdevalence restored the 4761-pindexerblock-panics-on-timestamp branch July 26, 2024 05:19
@hdevalence
Copy link
Member

No, it's not, this fixes a problem that messes up the software in prod.

@hdevalence hdevalence merged commit 47a1ba1 into main Jul 26, 2024
27 checks passed
@hdevalence hdevalence deleted the 4761-pindexerblock-panics-on-timestamp branch July 26, 2024 05:38
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.

pindexer::block panics on timestamp
3 participants