Skip to content

Clarify same-side reward-boundary ordering in escalation tests#419

Open
KillariDev wants to merge 3 commits into
mainfrom
t3code/0bbbddcf
Open

Clarify same-side reward-boundary ordering in escalation tests#419
KillariDev wants to merge 3 commits into
mainfrom
t3code/0bbbddcf

Conversation

@KillariDev

Copy link
Copy Markdown
Collaborator

Summary

  • Renamed escalation test case descriptions to explicitly state that first-come ordering applies to safety-boundary attribution for same-side winning deposits.
  • Added explanatory comments in solidity/ts/tests/escalationGame.test.ts to document that deposits on the same side consume reward windows in append order.
  • Added parallel clarifying comments in solidity/ts/tests/peripherals/vaultAccounting.test.ts to capture the intended behavior when multiple winners on one side deposit in sequence.
  • No functional test logic changed; this PR documents and names behavior more precisely in existing tests.

Testing

  • Not run (not requested).

- Update escalation and vault accounting test names to specify first-come/append-order safety-boundary behavior.
- Add comments documenting that bonus-reward slices are consumed by earliest winning deposits on the same side.
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