Use DB to get pool addresses for fee claims - #13287
Merged
Merged
Conversation
|
DejayJD
reviewed
Oct 21, 2025
Comment on lines
+78
to
+79
| const poolState = await cpAmm.fetchPoolState(new PublicKey(poolAddress)) | ||
| if (!poolState) { |
DejayJD
approved these changes
Oct 21, 2025
DejayJD
left a comment
Contributor
There was a problem hiding this comment.
LGTM - so much nicer with the DB changes
audius-infra
pushed a commit
that referenced
this pull request
Oct 24, 2025
[292123d] Use DB to get pool addresses for fee claims (#13287) Marcus Pasell [ccde6ec] [PE-7221] Fix remove linked wallet (#13300) Dylan Jeffers [b9b22cd] [PE-7204] Associate wallets on solana /relay calls (#13299) JD Francis [86198ae] [PE-7202] Add indexing support for `user.coin_flair_mint` (#13296) Randy Schott
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Instead of querying for all pools, use the DB to grab the pool state for both DAMM v2 and DBC pools.
Tested by running solana-relay locally and using stage config w/ prod wAUDIO mint (follow-up pr incoming to use prod wAUDIO on stage)