Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add UserBalanceChange table and add code to handle tier change notifications #1930

Conversation

Kyle-Shanks
Copy link
Contributor

Description

  • Add user_balance_change table to track balance updates for users
  • Add notification code for tier changes based on user_balance_changes table

Tests

Tests can be added to verify that indexing works properly

Copy link
Contributor

@sddioulde sddioulde left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm pending the balance sum comment

@Kyle-Shanks Kyle-Shanks force-pushed the kj-Add-UserBalanceChange-table-and-tier-change-notification-indexing branch from 18df1f5 to 0341b28 Compare October 25, 2021 17:41
@Kyle-Shanks Kyle-Shanks force-pushed the kj-Add-UserBalanceChange-table-and-tier-change-notification-indexing branch 4 times, most recently from a38e02b to 915141a Compare October 25, 2021 19:56
@Kyle-Shanks Kyle-Shanks force-pushed the kj-Add-UserBalanceChange-table-and-tier-change-notification-indexing branch from 915141a to 35e50ea Compare November 4, 2021 15:09
)
)

# user_balance.balance = owner_wallet_balance
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment

@Kyle-Shanks Kyle-Shanks force-pushed the kj-Add-UserBalanceChange-table-and-tier-change-notification-indexing branch from 35e50ea to e82a0a7 Compare November 22, 2021 19:53
@Kyle-Shanks Kyle-Shanks force-pushed the kj-Add-UserBalanceChange-table-and-tier-change-notification-indexing branch from e82a0a7 to 3ac4bd7 Compare November 22, 2021 20:04
@Kyle-Shanks Kyle-Shanks merged commit 3dbb5a1 into master Nov 22, 2021
@Kyle-Shanks Kyle-Shanks deleted the kj-Add-UserBalanceChange-table-and-tier-change-notification-indexing branch November 22, 2021 20:57
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.

None yet

3 participants