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

Optimize subgraph ptr update #5317

Merged
merged 2 commits into from
Apr 4, 2024
Merged

Conversation

leoyvens
Copy link
Collaborator

@leoyvens leoyvens commented Apr 4, 2024

And also drastically reduce the number of unfail calls.

Read with whitespace diff disabled.

@leoyvens leoyvens merged commit 31943fc into master Apr 4, 2024
7 checks passed
},
// No matching rows were found. This is logically impossible, as the `block_ptr` would have
// caught a non-existing deployment.
0 => Err(StoreError::Unknown(anyhow!(
Copy link
Collaborator

Choose a reason for hiding this comment

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

Minor note, but for internal errors of the "can't happen" type, I usually use StoreError::ConstraintViolation. Looks good otherwise though.

@incrypto32 incrypto32 deleted the leo/optimize-subgraph-ptr-update branch June 21, 2024 09:13
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