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

docs: create pindexer readme and mention pindexer<>pd compat in errors #4768

Conversation

vacekj
Copy link
Member

@vacekj vacekj commented Jul 25, 2024

Describe your changes

adds some explanation for a common issue with pindexer

Issue ticket number and link

fixes #4765

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-only changes

@@ -52,7 +53,7 @@ CREATE TABLE IF NOT EXISTS block_details (
.bind(i64::try_from(pe.height)?)
.bind(
DateTime::from_timestamp(timestamp.seconds, u32::try_from(timestamp.nanos)?)
.ok_or(anyhow!("failed to convert timestamp"))?,
.ok_or(anyhow!("failed to convert timestamp." + PD_COMPAT))?,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
.ok_or(anyhow!("failed to convert timestamp." + PD_COMPAT))?,
.ok_or(anyhow!(format!("failed to convert timestamp. {PD_COMPAT}"))?,

Signed-off-by: Lúcás Meier <cronokirby@gmail.com>
Signed-off-by: Lúcás Meier <cronokirby@gmail.com>
Copy link
Contributor

@cronokirby cronokirby left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM once CI passes

@conorsch conorsch merged commit a4dc478 into main Jul 25, 2024
13 checks passed
@conorsch conorsch deleted the 4765-mention-pdpindexer-version-mismatch-in-missing-event-property-error branch July 25, 2024 18:56
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.

Mention pd<>pindexer version mismatch in missing event property error
3 participants