This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Tvl pool staking #14775
base: master
Are you sure you want to change the base?
Tvl pool staking #14775
Changes from 13 commits
f435c64
8b4c90d
fdd0f52
b80f63a
1461e0c
2e8027e
8c69fb8
6ead93a
bcffd00
e936de8
6116180
cb69b5c
5a463c3
c332c0c
ec91ce2
db59e96
35027bc
5098b18
2d7a7b1
672909f
6aa682a
53e99a0
de98dd6
4db0054
4c0dece
db8f4af
f0dc257
ed63e99
69e259e
605838c
6402f1f
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
Rather than spread the try_state logic for expected TVL across multiple areas of the try-state hook, could you please move it all together?
It's fine to iterate over pools again for this purpose.
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 put the TVL checks into one place now but the check for TVL integrity is now done via the PoolMembers instead of all BondingPools. I would love some feedback on the way it's done now.