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

251: Remove uses of canonical_header_hash() and get_storage_at() fns in light of v5 schema updates. #253

Merged
merged 3 commits into from
Aug 3, 2023

Conversation

telackey
Copy link
Contributor

@telackey telackey commented Jul 31, 2023

This refactors a number of queries in light of v5 schema updates. In particular it removes all uses of the canonical_header_hash() and get_storage_at() functions.

I have EXPLAIN ANALYZED all the new queries, and they seem reasonably efficient with no major red flags, though undoubtedly efficiency can be improved with more analysis.

@telackey telackey self-assigned this Jul 31, 2023
@telackey telackey changed the title WIP: Remove canonical_header_hash() uses and update SQL queries for latest v5 schema. 251: Remove uses of canonical_header_hash() and get_storage_at() fns in light of v5 schema updates. Aug 2, 2023
@telackey telackey marked this pull request as ready for review August 2, 2023 19:04
Copy link
Collaborator

@i-norden i-norden left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@telackey telackey merged commit 6470bf2 into v5 Aug 3, 2023
5 checks passed
@telackey telackey deleted the telackey/251 branch August 3, 2023 19:45
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