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

refactor: extract transaction batching logic #1323

Closed
wants to merge 14 commits into from

Conversation

guibescos
Copy link
Contributor

@guibescos guibescos commented Feb 26, 2024

I wanted to use this batching logic in the pyth receiver sdk for Solana, so I'm moving it to a place where both xc-admin-common and pyth-receiver-solana can use it

Copy link

vercel bot commented Feb 26, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Ignored Deployments
Name Status Preview Comments Updated (UTC)
example-oracle-amm ⬜️ Ignored (Inspect) Visit Preview Feb 26, 2024 8:32pm
xc-admin-frontend ⬜️ Ignored (Inspect) Visit Preview Feb 26, 2024 8:32pm

@guibescos guibescos changed the title Solana/transaction logic refactor: extract transaction batching logic Feb 26, 2024
const allPythAccounts = await connection.getProgramAccounts(
getPythProgramKeyForCluster(cluster)
)
const allPythAccounts = [
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Drive-by CI fix

@@ -32,4 +32,4 @@ jobs:
- name: Run tests
run: cargo-test-sbf
- name: Run sdk tests
run: cargo test --p pyth-solana-sdk
run: cargo test --package pyth-solana-receiver-state
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Drive-by ci fix

@guibescos guibescos closed this Feb 28, 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

Successfully merging this pull request may close these issues.

2 participants