-
Notifications
You must be signed in to change notification settings - Fork 812
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
[planet-finance-v2] Voting Strategy updated for New V3 Farm #1402
Conversation
usersAquaInLending, | ||
usersNewAquaBtcbVaultBalances, | ||
usersNewAquaPoolBalances, | ||
usersEarningSharesInAquaBtcbPool |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will cross our limit of 5 network calls, refer to https://github.com/snapshot-labs/snapshot-strategies?tab=readme-ov-file#code
@ChaituVR - I have changed my code to use 5 network calls. Please review and merge my code. Thanks |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @defininja It still call 6 network calls, there is one at line 151
apart from 5 calls in promise.all
@ChaituVR - updated code to remove extra network call. Please check. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see a active proposal for this strategy
https://snapshot.org/#/planetfinance.eth/proposal/0x465d9939f333c6f5f778b29adfa25d19a8d6f9dbf1b616f01970a0cd85a8392a
Better to wait for it to be closed before merging this to avoid confusions with voting power.
@ChaituVR - Above proposal is closed now. Please approve the merge request. |
Fixes # .
Changes proposed in this pull request: