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

Node/CCQ: Solana library not honoring min context slot #3743

Merged
merged 1 commit into from
Jan 25, 2024

Conversation

bruce-riley
Copy link
Contributor

@bruce-riley bruce-riley commented Jan 25, 2024

The Solana library we are using does not honor the MinConextSlot option on the GetMultipleAccountsWithOpts call like it does on the GetAccountWithOpts call.

An issue has been opened against the library. In the meantime, the troublesome function has been copied into the watcher and tweaked to support the parameter.

Note to reviewers: The function is basically the same as the one in the library with this addition.

@bruce-riley bruce-riley marked this pull request as ready for review January 25, 2024 20:13
Copy link
Collaborator

@evan-gray evan-gray left a comment

Choose a reason for hiding this comment

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

wonder if there's some way to add integration tests to cover these cases to avoid regressions

@bruce-riley bruce-riley merged commit 0c15b07 into main Jan 25, 2024
22 checks passed
@bruce-riley bruce-riley deleted the node/ccq_solana_not_honoring_min_context_slot branch January 25, 2024 21:13
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