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: correctly calculate evaluations for predicate status #424

Merged
merged 3 commits into from
Oct 4, 2023

Conversation

MicaiahReid
Copy link
Contributor

Description

Previously, when the unconfirmed predicate status was set after the status originally was scanning, we were adding the number of evaluated blocks with the previous statuses number of blocks. When scanning, we have a running total of blocks scanned, so we don't need to use the previously stored data.


Checklist

  • All tests pass
  • Tests added in this PR (if applicable)

@MicaiahReid MicaiahReid requested a review from lgalabru October 3, 2023 18:50
Copy link
Contributor

@lgalabru lgalabru 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 @MicaiahReid!

@MicaiahReid MicaiahReid merged commit ec76f29 into develop Oct 4, 2023
1 check passed
@MicaiahReid MicaiahReid deleted the fix-evaluated-count branch October 4, 2023 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants