Skip to content

Clean up DriftClientBackend initialization #34

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

Merged
merged 1 commit into from
May 9, 2024

Conversation

jordy25519
Copy link
Collaborator

@jordy25519 jordy25519 commented May 9, 2024

Removes the redundant getMultipleAccounts request using the data from the marketmaps instead

as a side affect it resolves issue for quicknode RPCs getting 413s

quicknode RPCs still getting 413s due to this request:

.get_multiple_accounts_with_config(&pubkeys, account_config)

can solve it by chunking the account requests but its hacky to maintain and may cause issue with other rpc providers

@jordy25519 jordy25519 merged commit 9b6252a into main May 9, 2024
1 check failed
@jordy25519 jordy25519 deleted the chore/clean-backend-init branch May 9, 2024 05:41
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