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

[Predictoor] Define max payout batch size #1073

Closed
trizin opened this issue May 21, 2024 · 0 comments · Fixed by #1074
Closed

[Predictoor] Define max payout batch size #1073

trizin opened this issue May 21, 2024 · 0 comments · Fixed by #1074
Labels
Type: Enhancement New feature or request

Comments

@trizin
Copy link
Contributor

trizin commented May 21, 2024

Define max payout batch size, this will prevent predictoor from trying to claim payout for too many slots and resulting in a failed tx.

@trizin trizin added the Type: Enhancement New feature or request label May 21, 2024
@trizin trizin linked a pull request May 21, 2024 that will close this issue
trizin added a commit that referenced this issue May 28, 2024
* Add payout batch size configuration for predictoor_ss

* Add batch processing for pending slots in find_shared_slots function

* Add tests for different batch sizes in find_shared_slots function

* Update find_shared_slots function to include payout_batch_size parameter

* Set gas limit

* Set default to 10

* Set gas limit to 8m

* Default size to 8

* Use get on dict

* Remove hardcoded gas

* Formatting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant