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

Add Compute Budget Instructions #403

Closed

Conversation

MHHukiewitz
Copy link

GM!

Due to the dire need for priority fees to have any chance at landing transactions, I decided to implement the Compute Budget program's instructions for solder.

I added them under the spl module, even though that is not technically correct, but I assume that is where people would be looking for those instructions.

For some reason regarding docker, I couldn't run the integration tests directly on my machne. Maybe the CI/CD of this repo can catch the errors I might have made.

I based this implementation and its layouts on the Typescript implementation of solana-labs/solana-web3.js.

Suggestions welcome!

@michaelhly
Copy link
Owner

michaelhly commented Mar 20, 2024

@MHHukiewitz Thanks for the PR. These instructions already exist in Solders, would you mind wrapping the Solders instructions instead of using construct-py?

https://kevinheavey.github.io/solders/api_reference/compute_budget.html

@kevinheavey
Copy link
Collaborator

It's worth considering whether there's anything that should be added at all here vs just using what's in Solders

@MHHukiewitz
Copy link
Author

Oh Christ, I didn't notice. Yeah, I think this PR is superfluous then.

@MHHukiewitz MHHukiewitz deleted the add-compute-budget-ixns branch March 21, 2024 11:52
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.

3 participants