Skip to content

fix: avoid pool cleanup epoch races - #3869

Merged
mkoura merged 1 commit into
masterfrom
fix/pool-cleanup-retirement-epoch
Nov 25, 2026
Merged

mkoura merged 1 commit into
masterfrom
fix/pool-cleanup-retirement-epoch

Conversation

@mkoura

@mkoura mkoura commented Nov 25, 2026

Copy link
Copy Markdown
Collaborator

Schedule stake pool cleanup two epochs ahead instead of relying on a 40-second buffer. This keeps retirement certificates valid when a transaction remains unconfirmed across one epoch boundary.

Apply the offset consistently to pool cleanup finalizers without changing tests that explicitly check retirement timing.

Schedule stake pool cleanup two epochs ahead instead of relying on a
40-second buffer. This keeps retirement certificates valid when a
transaction remains unconfirmed across one epoch boundary.

Apply the offset consistently to pool cleanup finalizers without
changing tests that explicitly check retirement timing.
@mkoura
mkoura requested a review from saratomaz as a code owner November 25, 2026 14:01
@mkoura
mkoura merged commit dfc927d into master Nov 25, 2026
3 checks passed
@mkoura
mkoura deleted the fix/pool-cleanup-retirement-epoch branch November 25, 2026 14:04
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.

1 participant