Skip to content

Fix/report window period - #717

Open
pchieneye wants to merge 2 commits into
RevoraOrg:masterfrom
pchieneye:fix/report-window-period-id
Open

Fix/report window period#717
pchieneye wants to merge 2 commits into
RevoraOrg:masterfrom
pchieneye:fix/report-window-period-id

Conversation

@pchieneye

@pchieneye pchieneye commented Jul 30, 2026

Copy link
Copy Markdown

Closes #604


Fix/report window period

What changed

  • Added deterministic report-period resolution for reports submitted while an offering’s reporting window is open.
  • Reports within the same open window now canonicalize to the window’s end timestamp, so out-of-order submissions map to the same effective period.
  • Added a regression test covering reports arriving before, inside, and around the window boundary.

Files updated

  • lib.rs
  • test_period_id_boundary.rs

@drips-wave

drips-wave Bot commented Jul 30, 2026

Copy link
Copy Markdown

@pchieneye Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

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.

Add deterministic period_id assignment when reports arrive out of order within a window

2 participants