Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix: calculate burnchain reward reorgs correctly #2355

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

Open
rafaelcr wants to merge 4 commits into develop
base: develop
Choose a base branch
Loading
from fix/burn-rewards

Conversation

Copy link
Collaborator

@rafaelcr rafaelcr commented Oct 3, 2025
edited
Loading

Burnchain reward re-orgs were being calculated incorrectly based on old Stacks 2.x logic that no longer applies after 3.x. This was causing some rewards to disappear from our endpoints after being marked as non-canonical.

Copy link

github-actions bot commented Oct 3, 2025
edited
Loading

Copy link

codecov bot commented Oct 3, 2025
edited
Loading

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@rafaelcr rafaelcr marked this pull request as ready for review October 3, 2025 17:12
@rafaelcr rafaelcr changed the base branch from master to develop October 3, 2025 17:17
Copy link
Collaborator

@ASuciuX ASuciuX left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

I currently am testing the migration and how long it takes to finish in dev. The writer pod gets killed after an hour like you said, but I think it's because Istio is cutting off the connection rather than postgres. Upon restart of the writer, it crashes again saying a migration is already running, and I've confirmed this via PGHero. So it seems like Istio killing the connection and causing the writer to crash may be ok, since the migration continues.

I'll continue monitoring its progress, this will likely be a upgrade deployed next week.

rafaelcr reacted with heart emoji

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@ASuciuX ASuciuX ASuciuX approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

burnchain rewards endpoint pagination does not go back enough

AltStyle によって変換されたページ (->オリジナル) /