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

bpt balances #1211

Open
wants to merge 7 commits into
base: v3-canary
Choose a base branch
from
Open

bpt balances #1211

wants to merge 7 commits into from

Conversation

gmbronco
Copy link
Collaborator

@gmbronco gmbronco commented Dec 3, 2024

BPT balance syncing refactoring along long-term goal to centralise action flows for easier maintenance and improve modularity.

Biggest changes:

  • Balances used to be synced only from RPC, now they are synced from subgraph with a fallback to RPC when subgraph is not available or falls behind
  • Centralised controller actions
  • Splitting syncs into v2/v3/cow/fbeets modules with separate syncing block status
  • Issue: duplicated entries in the DB where the balance is with the id of an poolId or poolAddress. Since now all IDs are created in one place (balanceToDb) and use poolAddresses. Need to cleanup the DB after deployment

Copy link

changeset-bot bot commented Dec 3, 2024

🦋 Changeset detected

Latest commit: 79dcfec

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
backend Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

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