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] Infinite token approval and cache allowance #48

Merged
merged 6 commits into from
Aug 16, 2023

Conversation

trizin
Copy link
Contributor

@trizin trizin commented Aug 16, 2023

Fixes #47

Changes proposed in this PR:

  • Infinite approval and cache allowance
  • Cache contract objects

Predictoor is tasked to submit a prediction for every block during the last x seconds before epoch closes. The approve calls and allowance checks add a significant delay.

@trizin trizin linked an issue Aug 16, 2023 that may be closed by this pull request
@trizin trizin marked this pull request as ready for review August 16, 2023 11:29
@trizin trizin requested a review from trentmc August 16, 2023 11:31
@trizin trizin merged commit 11e0fea into main Aug 16, 2023
5 checks passed
@trizin trizin deleted the issue47-predictoor-approve-max-amount-of-tokens branch August 16, 2023 12:09
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.

[predictoor] Approve max amount of tokens
2 participants