Skip to content

Conversation

@ali-behjati
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-behjati ali-behjati requested a review from guibescos April 25, 2024 11:02
@ali-behjati ali-behjati merged commit 58fc0ff into main Apr 25, 2024
@ali-behjati ali-behjati 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.

3 participants