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

Use generated field name for subchain queries in extract_blocks #14422

Merged
merged 4 commits into from
Nov 2, 2023

Conversation

psteckler
Copy link
Member

@psteckler psteckler commented Oct 24, 2023

extract_blocks was broken because of field changes in the record type Processor.Block.t. The hand-written SQL did not account for those changes.

Use the field names generated by deriving fields so this kind of error won't occur in the future.

Making this PR against rampup, because it should be available for the next ITN release.

Tested by extracting a block from the ITN archive db.

Closes #14457.

@psteckler psteckler requested a review from a team as a code owner October 24, 2023 23:00
@psteckler
Copy link
Member Author

!ci-build-me

@deepthiskumar
Copy link
Member

!ci-build-me

@deepthiskumar
Copy link
Member

!approved-for-mainnet

@psteckler psteckler merged commit f6fb903 into rampup Nov 2, 2023
25 checks passed
@psteckler psteckler deleted the fix/auto-block-fields-extract-blocks branch November 2, 2023 01:37
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.

None yet

3 participants