Skip to content

Add concurrent tipping state consistency tests#183

Merged
Mosas2000 merged 1 commit intomainfrom
test/concurrent-tipping
Feb 26, 2026
Merged

Add concurrent tipping state consistency tests#183
Mosas2000 merged 1 commit intomainfrom
test/concurrent-tipping

Conversation

@Mosas2000
Copy link
Copy Markdown
Owner

Summary

Add tests simulating multiple users tipping in the same block sequence to verify state consistency.

Tests Added

  • State consistency: Three wallets send tips, verify all platform stats aggregate correctly and per-user sent/received counts are accurate
  • Sequential IDs: Confirm tip IDs increment sequentially regardless of which wallet sends the tip

All 37 tests pass.

Closes #73

Verify that platform stats (total-tips, total-volume, platform-fees)
and per-user stats remain consistent when three different wallets
send tips in the same sequence. Confirm sequential tip ID assignment
across concurrent senders. All 37 tests pass.
@Mosas2000 Mosas2000 merged commit 07039b6 into main Feb 26, 2026
3 of 5 checks passed
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.

No test for concurrent tipping from multiple users to verify state consistency

1 participant