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

fix: prevent compute unit calculations to exceed the max cp limit #26

Merged
merged 1 commit into from
Feb 6, 2025

Conversation

eloylp
Copy link
Member

@eloylp eloylp commented Feb 6, 2025

Describe the changes
It adds and upper limit to computre unit calculations, aligned with Solana limits.

Related Issue(s)
#22

Checklist

  • Tests have been added/updated for the changes.
  • Documentation has been updated for the changes (if applicable).
  • The code follows Rust's style guidelines.

@eloylp eloylp force-pushed the relayer-add-compute-unit-top branch from e05459f to 9611092 Compare February 6, 2025 13:25
@eloylp eloylp force-pushed the relayer-add-compute-unit-top branch from 9611092 to df98cfa Compare February 6, 2025 14:12
Copy link
Member

@roberts-pumpurs roberts-pumpurs left a comment

Choose a reason for hiding this comment

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

🚀

@eloylp eloylp merged commit 38c94f3 into main Feb 6, 2025
6 checks passed
@eloylp eloylp deleted the relayer-add-compute-unit-top branch February 6, 2025 14:49
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