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

chore: update max compute unit config and bump version #119

Merged
merged 1 commit into from
Apr 25, 2024

Conversation

ali-bahjati
Copy link
Collaborator

This change updates the CU limit to make sure that price updates with more than 32 publishers have enough CU. Number 38k is obtained based on adjusting test_full_publisher_set test on the oracle to run in multiple rounds with random price updates to make sure worst case sorting is reached. Unfortunately there was no way to test it with CPI to accumulator (message buffer) and that number is taken based on current tx usage and the extra buffer is there because there are some extra logic in the oracle for oracle as well and the CU limit is not applied in transaction scheduling.

@ali-bahjati ali-bahjati requested a review from guibescos April 25, 2024 11:02
@ali-bahjati ali-bahjati merged commit 58fc0ff into main Apr 25, 2024
2 checks passed
@ali-bahjati ali-bahjati deleted the chore/set-max-cu-config branch April 25, 2024 12: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