Skip to content

Fix score-history ordering test: advance ledger time between updates - #658

Merged
abayomicornelius merged 1 commit into
Heliobond:mainfrom
World-Changers-Service:fix/score-history-ordered-timestamps
Oct 1, 2026
Merged

abayomicornelius merged 1 commit into
Heliobond:mainfrom
World-Changers-Service:fix/score-history-ordered-timestamps

Conversation

@rhemy-arc

Copy link
Copy Markdown

test_score_history_multiple_updates_ordered asserted strictly increasing timestamps but made three back-to-back
update_impact_score calls at the same ledger timestamp, so the assertion is only true by accident. Advance the ledger timestamp by 1s between updates.

Summary

Linked issue

Closes #

Closes #515
Closes #514
Closes #511
Closes #512

Type of change

  • Bug fix
  • Feature
  • Tests
  • Docs / chore

Checklist

  • Tied to an accepted issue (Closes #…)
  • Tests pass locally
  • New behaviour is covered by tests
  • No secrets committed
  • Docs updated where relevant

test_score_history_multiple_updates_ordered asserted strictly
increasing timestamps but made three back-to-back
update_impact_score calls at the same ledger timestamp, so the
assertion is only true by accident. Advance the ledger timestamp
by 1s between updates.
@drips-wave

drips-wave Bot commented Sep 30, 2026

Copy link
Copy Markdown

@rhemy-arc 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

@abayomicornelius
abayomicornelius merged commit f151349 into Heliobond:main Oct 1, 2026
0 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment