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

feat: 1200 less getCode calls @ startup #668

Merged
merged 1 commit into from
Nov 12, 2023
Merged

Conversation

BobTheBuidler
Copy link
Collaborator

@BobTheBuidler BobTheBuidler commented Nov 12, 2023

Related issue # (if applicable):

What I did:

Swap out contract for Contract, both are lru_cached but Contract for each of these contracts will be inited during ypm initialization so it makes no sense to load both for each curve pool / iearn token

YOLO merged on sunday so prod can defeat the rate limits easier

How I did it:

How to verify it:

Checklist:

  • I have tested it locally and it works
  • I have included any relevant documentation for the repo maintainers
  • (If fixing a bug) I have added a test to the test suite to test for this particular bug

Adding a Network

If the purpose of your PR is to add support for a new network, please copy the checklist from here into this PR conversation, and use it to track your changes.

@BobTheBuidler BobTheBuidler merged commit fd51fe1 into master Nov 12, 2023
0 of 18 checks passed
@BobTheBuidler BobTheBuidler deleted the reduce-startup-load branch November 12, 2023 18:36
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.

1 participant