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

cleanup reloading/backsyncing #627

Open
franzns opened this issue Jan 3, 2024 · 0 comments
Open

cleanup reloading/backsyncing #627

franzns opened this issue Jan 3, 2024 · 0 comments
Assignees

Comments

@franzns
Copy link
Contributor

franzns commented Jan 3, 2024

For fields on a pool that are added later, we need to back sync for all previously created pools. Such examples are:

  • rateproviders
  • pool versions
  • gyro specific data
  • etc

Various reload/sync functions have been implemented for this, e.g. syncPoolTypeAndVersionForAllPools or syncProtocolYieldFeeExemptionsForAllPools or things like this have been added https://github.com/beethovenxfi/beethovenx-backend/blob/v3-main/modules/pool/lib/pool-creator.service.ts#L39-L72

this should be cleaned up in a general "updateAllPoolFields" approach. Also discussed here #598 (review)

@franzns franzns changed the title cleanup realoading/backsyncing cleanup reloading/backsyncing Jan 3, 2024
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

No branches or pull requests

2 participants