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

tests for oracle sources #212

Merged
merged 3 commits into from
Dec 16, 2024
Merged

Conversation

crispheaney
Copy link
Member

No description provided.

@SinaKhalili
Copy link
Contributor

SinaKhalili commented Dec 16, 2024

We'll need to modify unsubscribe on polling since it'll be the new oracle style to something like maybe

    async def unsubscribe(self):
        for pubkey_str, callback_id in self.callbacks.items():
            if "-" in pubkey_str:
                pubkey_str = pubkey_str.split("-")[0]
            self.bulk_account_loader.remove_account(
                Pubkey.from_string(pubkey_str), callback_id
            )
        self.callbacks.clear()

@SinaKhalili SinaKhalili merged commit 4c98403 into master Dec 16, 2024
3 of 4 checks passed
@SinaKhalili SinaKhalili deleted the crispheaney/oracle-source-test branch December 16, 2024 23:55
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.

2 participants